应用层PC端前端服务

caseList.vue 32KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818
  1. <template>
  2. <div class="app-container">
  3. <el-form :model="queryParams" ref="queryForm" size="small" :inline="true" label-width="98px">
  4. <el-form-item label="案件编号" prop="caseNum">
  5. <el-input v-model="queryParams.caseNum" placeholder="请输入案件编号" clearable @keyup.enter.native="handleQuery" />
  6. </el-form-item>
  7. <el-form-item label="申请人(机构)" prop="applicantName">
  8. <!-- <el-input
  9. v-model="queryParams.applicantName"
  10. placeholder="请输入机构名称"
  11. clearable
  12. @keyup.enter.native="handleQuery"
  13. /> -->
  14. <el-cascader v-model="queryParams.nameId" :options="options" @change="changeDept" :props="{ checkStrictly: true }"
  15. clearable></el-cascader>
  16. </el-form-item>
  17. <el-form-item label="案件状态" prop="caseStatus">
  18. <el-select :disabled="caseStatusType" v-model="queryParams.caseStatus" placeholder="请选择案件状态" clearable
  19. @keyup.enter.native="handleQuery">
  20. <el-option v-for="dict in caseStatus" :key="dict.dictSort" :label="dict.dictLabel"
  21. :value="dict.dictSort"></el-option>
  22. </el-select>
  23. </el-form-item>
  24. <el-form-item label="是否完成" prop="selectCaseStatus">
  25. <el-select v-model="queryParams.selectCaseStatus" placeholder="请选择状态" clearable @keyup.enter.native="handleQuery">
  26. <el-option v-for="dict in selectCaseStatusList" :key="dict.value" :label="dict.label"
  27. :value="dict.value"></el-option>
  28. </el-select>
  29. </el-form-item>
  30. <!-- <el-form-item label="开庭日期" prop="hearDate">
  31. <el-date-picker
  32. v-model="queryParams.hearDate"
  33. type="daterange"
  34. range-separator="至"
  35. start-placeholder="开始日期"
  36. end-placeholder="结束日期"
  37. >
  38. </el-date-picker>
  39. </el-form-item> -->
  40. <el-form-item>
  41. <el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery">搜索</el-button>
  42. <el-button icon="el-icon-refresh" size="mini" @click="resetQuery">重置</el-button>
  43. </el-form-item>
  44. </el-form>
  45. <el-row :gutter="10" class="mb8">
  46. <el-col :span="1.5">
  47. <el-button type="primary" plain icon="el-icon-plus" size="mini" @click="filingApplication"
  48. v-hasPermi="['caseManagement:list:add']">案件录入</el-button>
  49. <el-button type="primary" plain icon="el-icon-plus" size="mini" @click="batchApplication"
  50. v-hasPermi="['caseManagement:list:import']">案件批量导入</el-button>
  51. <el-button type="primary" plain icon="el-icon-plus" size="mini" @click="operateClick(0)"
  52. v-hasPermi="['caseManagement:list:Batchsubmit']">案件批量提交</el-button>
  53. <el-button type="primary" plain icon="el-icon-plus" size="mini" @click="operateClick(1)"
  54. v-hasPermi="['caseManagement:list:delete']">案件批量删除</el-button>
  55. <el-button type="primary" plain icon="el-icon-plus" size="mini" @click="operateClick(2)"
  56. v-hasPermi="['caseManagement:list:check']">案件批量立案审查</el-button>
  57. <el-button type="primary" plain icon="el-icon-plus" size="mini" @click="operateClick(4)"
  58. v-hasPermi="['caseManagement:list:Batchgeneration']">批量生成裁决书</el-button>
  59. </el-col>
  60. </el-row>
  61. <el-table v-loading="loading" :data="dataList" style="width: 100%">
  62. <el-table-column type="selection">
  63. </el-table-column>
  64. <el-table-column label="序号" type="index" align="center">
  65. <template slot-scope="scope">
  66. <span>{{
  67. (queryParams.pageNum - 1) * queryParams.pageSize + scope.$index + 1
  68. }}</span>
  69. </template>
  70. </el-table-column>
  71. <el-table-column label="案件编号" align="center" prop="caseNum" :show-overflow-tooltip="true" />
  72. <el-table-column label="申请人(机构)" align="center" prop="applicantName" :show-overflow-tooltip="true" />
  73. <el-table-column label="案件标的" align="center" prop="caseSubjectAmount" />
  74. <el-table-column label="仲裁方式" align="center" prop="arbitratMethodName" :show-overflow-tooltip="true" />
  75. <!-- 仲裁员 -->
  76. <el-table-column label="仲裁员" align="center" prop="arbitratorName" />
  77. <!-- 开庭日期 -->
  78. <el-table-column label="开庭日期" align="center" prop="hearDate" :show-overflow-tooltip="true" />
  79. <el-table-column label="案件状态" align="center" prop="caseStatusName">
  80. <template slot-scope="scope">
  81. <el-tag type="success">{{ scope.row.caseStatusName }}</el-tag>
  82. </template>
  83. </el-table-column>
  84. <el-table-column label="操作" align="center" class-name="small-padding fixed-width">
  85. <template slot-scope="scope">
  86. <el-button size="mini" type="text" icon="el-icon-zoom-in" @click="detailRow(scope.row)">详情</el-button>
  87. <el-button size="mini" type="text" icon="el-icon-zoom-in" @click="viewProcess(scope.row)">查看流程</el-button>
  88. <!-- 案件日志 -->
  89. <el-button size="mini" type="text" icon="el-icon-notebook-2" @click="caselogRow(scope.row)">案件日志</el-button>
  90. <el-button size="mini" type="text" icon="el-icon-edit" @click="editRow(scope.row)" v-if="(scope.row.caseStatus < 10 && scope.row.caseStatus != 2 && scope.row.updateSubmitStatus !== 1) &&
  91. checkPermi(['caseManagement:list:update']) && btnStatus
  92. ">修改</el-button>
  93. <!-- 撤销修改 -->
  94. <el-button size="mini" type="text" icon="el-icon-edit" @click="undoRow(scope.row,1)" v-if="(scope.row.updateSubmitStatus == 1 || scope.row.updateSubmitStatus == 3) && scope.row.caseStatus > 0 && checkPermi(['caseManagement:list:undo'])">撤销修改</el-button>
  95. <el-button size="mini" type="text" icon="el-icon-check" @click="onsubmitRow(scope.row)" v-if="scope.row.caseStatus == 0 &&
  96. checkPermi(['caseManagement:list:submit']) && btnStatus
  97. ">提交</el-button>
  98. <el-button size="mini" type="text" icon="el-icon-delete" @click="deleteRow(scope.row)" v-if="scope.row.caseStatus == 0 &&
  99. checkPermi(['caseManagement:list:delete']) && btnStatus
  100. ">删除</el-button>
  101. <el-button size="mini" type="text" icon="el-icon-view" @click="filingreviewRow(scope.row)" v-if="scope.row.caseStatus == 1 &&
  102. checkPermi(['caseManagement:list:check']) && btnStatus
  103. ">立案审查</el-button>
  104. <!-- <el-button size="mini" type="text" icon="el-icon-tickets" @click="payStatus(scope.row)"
  105. v-if="scope.row.caseStatus == 2" v-hasPermi="['caseManagement:list:pay']">缴费</el-button> -->
  106. <el-button size="mini" type="text" icon="el-icon-tickets" @click="payStatus(scope.row)" v-if="scope.row.caseStatus == 2 &&
  107. checkPermi(['caseManagement:list:pay']) && btnStatus
  108. ">缴费</el-button>
  109. <!-- <el-button
  110. size="mini"
  111. type="text"
  112. icon="el-icon-data-analysis"
  113. @click="formationcourtRow(scope.row)"
  114. v-hasPermi="['monitor:online:forceLogout']"
  115. >组庭</el-button
  116. > -->
  117. <!-- 审核修改,秘书角色 -->
  118. <el-button size="mini" type="text" icon="el-icon-s-check" @click="reviewCase(scope.row)" v-if="scope.row.updateSubmitStatus == 1 && checkPermi(['caseManagement:list:reviewCase'])">审核修改</el-button>
  119. <!-- 审核撤销,秘书角色 -->
  120. <el-button size="mini" type="text" icon="el-icon-s-check" @click="reviewRevocation(scope.row)" v-if="scope.row.updateSubmitStatus == 2 && checkPermi(['caseManagement:list:reviewRevocation'])">审核撤销</el-button>
  121. <el-button size="mini" type="text" icon="el-icon-s-check" @click="courtconfirmationRow(scope.row)" v-if="scope.row.caseStatus == 6 &&
  122. checkPermi(['caseManagement:list:confirmgroup']) && btnStatus
  123. ">组庭确认</el-button>
  124. <el-button size="mini" type="text" icon="el-icon-check" @click="courtreviewRow(scope.row)" v-if="scope.row.caseStatus == 5 &&
  125. checkPermi(['caseManagement:list:checkgroup']) && btnStatus
  126. ">组庭审核</el-button>
  127. <el-button size="mini" type="text" icon="el-icon-sort" @click="choosetrialmethodRow(scope.row)" v-if="scope.row.caseStatus == 7 &&
  128. checkPermi(['caseManagement:list:checkarbitrationway']) && btnStatus
  129. ">审核仲裁方式</el-button>
  130. <el-button size="mini" type="text" icon="el-icon-edit-outline" @click="adjudicaterecordRow(scope.row)" v-if="scope.row.caseStatus == 9 &&
  131. scope.row.arbitratMethod == 2 &&
  132. checkPermi(['caseManagement:list:hear']) && btnStatus
  133. ">书面审理</el-button>
  134. <!-- v-hasPermi="['caseManagement:list:hear']" -->
  135. <el-button size="mini" type="text" icon="el-icon-service" @click="trialcourtRow(scope.row)" v-if="scope.row.caseStatus == 8 &&
  136. scope.row.arbitratMethod == 1 &&
  137. checkPermi(['caseManagement:list:hear']) && btnStatus
  138. ">开庭审理</el-button>
  139. <!-- <el-button size="mini" type="text" icon="el-icon-edit" v-if="scope.row.caseStatus < 8 &&
  140. checkPermi(['caseManagement:list:evidenceUpdate']) && btnStatus"
  141. @click="evidenceUpload(scope.row)">证据修改</el-button> -->
  142. <el-button size="mini" type="text" icon="el-icon-edit" v-if="(scope.row.caseStatus < 10 && scope.row.caseStatus != 2 && scope.row.caseStatus != 0) &&
  143. checkPermi(['caseManagement:list:evidenceUpdate']) && btnStatus"
  144. @click="evidenceUpload(scope.row)">证据修改</el-button>
  145. <el-button size="mini" type="text" icon="el-icon-edit" v-if="scope.row.caseStatus == 31 && btnStatus"
  146. @click="timeUpdata(scope.row)">开庭时间</el-button>
  147. <el-button size="mini" type="text" icon="el-icon-lock"
  148. v-if="checkPermi(['caseManagement:list:lock']) && scope.row.lockStatus == 0 && btnStatus"
  149. @click="lockClick(scope.row)">锁定</el-button>
  150. <el-button size="mini" type="text" icon="el-icon-unlock"
  151. v-if="checkPermi(['caseManagement:list:lock']) && scope.row.lockStatus == 1 && btnStatus"
  152. @click="ulockClick(scope.row)">解锁</el-button>
  153. <!-- 暂时隐藏后期可能会放其他地方 -->
  154. <!-- <el-button v-if="checkPermi(['caseManagement:list:listEvidence']) && scope.row.caseStatus <= 1 && btnStatus"
  155. size="mini" type="text" icon="el-icon-upload" @click="uploadCase(scope.row)">上传证据目录</el-button> -->
  156. <!-- <el-button
  157. size="mini"
  158. type="text"
  159. icon="el-icon-document"
  160. @click="generateawardRow(scope.row)"
  161. v-if="
  162. scope.row.caseStatus == 10 &&
  163. checkPermi(['caseManagement:list:createaward'])
  164. "
  165. >生成裁决书</el-button
  166. > -->
  167. </template>
  168. </el-table-column>
  169. </el-table>
  170. <pagination v-show="total > 0" :total="total" :page.sync="queryParams.pageNum" :limit.sync="queryParams.pageSize"
  171. @pagination="getcaseApply(queryParams)" />
  172. <!-- 立案申请弹框 -->
  173. <caseentryDialog :visible="visible" @cancel="cancel" :form="form" :queryParams="queryParams"
  174. :dialogtitle="dialogtitle" :getcaseApply="getcaseApply" :flag="flag" :caseAttachList="caseAttachList"
  175. :initpaymentArr="initpaymentArr" :initpaymentArr1="initpaymentArr1"></caseentryDialog>
  176. <!-- 批量申请弹框 openbatch-->
  177. <batchDialog :openbatch="openbatch" :queryParams="queryParams" @cancelBatch="cancelBatch"
  178. :getcaseApply="getcaseApply"></batchDialog>
  179. <!-- 立案审查页面 -->
  180. <filingreviewDialog :showfilingreview="showfilingreview" :filingreviewdata="filingreviewdata"
  181. :queryParams="queryParams" @getcaseApply="getcaseApply" @cancelFilingreview="cancelFilingreview">
  182. </filingreviewDialog>
  183. <!-- 组庭页面---改为组庭审核 -->
  184. <formateCourtDialog :showformateCourt="showformateCourt" @cancelcourtDialog="cancelcourtDialog"
  185. :queryParams="queryParams" :formateCourtData="formateCourtData" @getcaseApply="getcaseApply"></formateCourtDialog>
  186. <!-- 组庭审核--改组庭确认 -->
  187. <courtReviewDialog :showcourtReview="showcourtReview" :form="form" :queryParams="queryParams"
  188. @cancelcourtReview="cancelcourtReview" @getcaseApply="getcaseApply"></courtReviewDialog>
  189. <!-- 审核仲裁方式 -->
  190. <choosetrialmethodDaiog :showchoosetrialmethod="showchoosetrialmethod" :choosetrialmethodata="choosetrialmethodata"
  191. :queryParams="queryParams" @getcaseApply="getcaseApply" @cancelshowchoosetrialMethod="cancelshowchoosetrialMethod">
  192. </choosetrialmethodDaiog>
  193. <!-- 书面审理 -->
  194. <adjudicaterecordDialog :showadjudicaterecord="showadjudicaterecord" :form="form" :adjudicatename="adjudicatename"
  195. :queryParams="queryParams" @canceladjudicaterecord="canceladjudicaterecord" @getcaseApply="getcaseApply">
  196. </adjudicaterecordDialog>
  197. <!-- 开庭审理 -->
  198. <trialincourtDialog :showtrialincourt="showtrialincourt" :adjudicatename="adjudicatename" :form="form"
  199. :queryParams="queryParams" @getcaseApply="getcaseApply" @canceltrialincourt="canceltrialincourt">
  200. </trialincourtDialog>
  201. <!-- 缴费 -->
  202. <payDialog :openPay="openPay" :payTitle="payTitle" :form="form" :payForm="payForm" :queryParams="queryParams"
  203. @getcaseApply="getcaseApply" @paycancelRow="paycancelRow" :payId="payId"></payDialog>
  204. <!-- 案件日志 -->
  205. <caselogDialog :showcaseLog="showcaseLog" @cancelcaseLog="cancelcaseLog" :flagLoading="flagLoading"
  206. :caselogDataArr="caselogDataArr"></caselogDialog>
  207. <!-- 案件流程 -->
  208. <viewprocessDialog :processVisable="processVisable" @cancelViewProcess="cancelViewProcess" :processData="processData">
  209. </viewprocessDialog>
  210. <!-- 证据修改 -->
  211. <evidenceDialog :evidenceVisable="evidenceVisable" @cancelEvidence="cancelEvidence" :evidenceData="evidenceData">
  212. </evidenceDialog>
  213. <!-- 开庭时间修改 -->
  214. <timeDialog :timeVisable="timeVisable" @getcaseApply="getcaseApply" @cancelTime="cancelTime" :timeData="timeData"
  215. :queryParams="queryParams">
  216. </timeDialog>
  217. <!-- 批量操作弹窗 -->
  218. <operateDialog :queryParams="queryParams" :operateStatus="operateStatus" :operateVisable="operateVisable"
  219. @getcaseApply="getcaseApply" :operateTitle="operateTitle" @cancelOperate="cancelOperate" :operateData="operateData">
  220. </operateDialog>
  221. <!-- 上传证据目录弹窗 -->
  222. <uploadCaseDialog :uploadCaseVisable="uploadCaseVisable" @uploadCaseCancel="uploadCaseCancel"
  223. :uploadCaseData="uploadCaseData">
  224. </uploadCaseDialog>
  225. <!-- 秘书审核修改页面 -->
  226. <caseentryExamineDialog :dialogtitle="dialogtitle" :caseentryExamineVisible="caseentryExamineVisible" :queryParams="queryParams"
  227. :getcaseApply="getcaseApply"
  228. @caseentryExamineCancel="caseentryExamineCancel" :caseentryExamineData="caseentryExamineData" :caseentryExamineDataAll="caseentryExamineDataAll"></caseentryExamineDialog>
  229. </div>
  230. </template>
  231. <script>
  232. import caseentryDialog from "./components/caseentryDialog";
  233. import batchDialog from "./components/batchDialog";
  234. import formateCourtDialog from "./components/formateCourtDialog.vue";
  235. import courtReviewDialog from "./components/courtReviewDialog.vue";
  236. import choosetrialmethodDaiog from "./components/choosetrialmethodDaiog.vue";
  237. import adjudicaterecordDialog from "./components/adjudicaterecordDialog.vue";
  238. import trialincourtDialog from "./components/trialincourtDialog.vue";
  239. import payDialog from "./components/payDialog.vue";
  240. import filingreviewDialog from "./components/filingreviewDialog.vue";
  241. import caselogDialog from "./components/caselogDialog.vue";
  242. import viewprocessDialog from "./components/viewprocessDialog.vue";
  243. import evidenceDialog from './components/evidenceDialog.vue';
  244. import timeDialog from './components/timeDialog.vue';
  245. import operateDialog from './components/operateDialog.vue';
  246. import uploadCaseDialog from './components/uploadCaseDialog.vue';
  247. // 秘书审核页面
  248. import caseentryExamineDialog from './components/caseentryExamine.vue';
  249. import { caseApplicationDetail } from "@/api/pay/pay";
  250. import {
  251. caseApply,
  252. removeCaseApply,
  253. submitCaseApply,
  254. selectCaseApply,
  255. updateCaseLockStatus
  256. } from "@/api/caseAccess/caseEntry";
  257. import { listDept } from "@/api/system/dept";
  258. import {
  259. document,
  260. caseLogRecordList,
  261. revoke,
  262. selectCompareCase,
  263. updateAudit
  264. } from "@/api/caseManagement/caseManagement";
  265. import { getDicts } from '@/api/system/dict/data.js';
  266. export default {
  267. name: "caseList",
  268. // dicts: ["case_status"],
  269. components: {
  270. caseentryDialog,
  271. batchDialog,
  272. formateCourtDialog,
  273. courtReviewDialog,
  274. choosetrialmethodDaiog,
  275. adjudicaterecordDialog,
  276. trialincourtDialog,
  277. payDialog,
  278. filingreviewDialog,
  279. caselogDialog,
  280. viewprocessDialog,
  281. evidenceDialog,
  282. timeDialog,
  283. operateDialog,
  284. uploadCaseDialog,
  285. caseentryExamineDialog
  286. },
  287. data() {
  288. return {
  289. // 遮罩层
  290. loading: true,
  291. // 总条数
  292. total: 0,
  293. isapply: "申请人:",
  294. // 表格数据
  295. dataList: [],
  296. // 查询参数
  297. queryParams: {
  298. caseNum: undefined,
  299. // caseStatusList: [0, 1, 2, 5, 6, 7, 8, 9, 10, 16],
  300. caseStatusList: [0, 1, 2, 5, 6, 7, 8, 9, 10, 31],
  301. // hearDate: "",
  302. caseStatus: null,
  303. applicantName: "",
  304. nameId: "",
  305. pageNum: 1,
  306. pageSize: 10,
  307. },
  308. dialogtitle: "", //弹框标题
  309. visible: false, //申请弹框控制
  310. form: {},
  311. starttime: "", //开始时间
  312. endtime: "", //结束时间
  313. formData: {},
  314. flag: "-1",
  315. initpaymentArr: [],
  316. initpaymentArr1: [],
  317. showfilingreview: false, //立案申查弹框控制
  318. filingreviewdata: {}, //立案审查传输数据
  319. openbatch: false, // 批量申请弹框
  320. formateCourtData: {}, //组庭
  321. showformateCourt: false, //组庭界面显示
  322. showcourtReview: false, //组庭审核页面
  323. showchoosetrialmethod: false, //选择仲裁方式页面
  324. choosetrialmethodata: {},
  325. showadjudicaterecord: false, //书面审理弹框
  326. adjudicatename: {}, //书面仲裁(被)申请人姓名
  327. showtrialincourt: false, //开庭审理
  328. openPay: false, //缴费弹框
  329. processVisable: false,//案件流程弹窗
  330. evidenceVisable: false,//修改证据弹窗
  331. evidenceData: {},
  332. payTitle: "",
  333. payForm: {},
  334. caseAttachList: [], //案件质证资料
  335. showcaseLog: false, //案件日志弹框显示
  336. flagLoading: true, //案件日志弹框loading
  337. caselogDataArr: [],
  338. options: [], //机构数据
  339. payId: null,
  340. caseStatus: [],
  341. processData: {},
  342. timeVisable: false,
  343. timeData: {},
  344. operateVisable: false,
  345. operateData: {},
  346. operateTitle: "",
  347. operateStatus: 0,
  348. uploadCaseVisable: false,
  349. caseentryExamineVisible: false,
  350. caseentryExamineData: {},
  351. caseentryExamineDataAll: {},
  352. uploadCaseData: {},
  353. selectCaseStatusList: [
  354. {
  355. label: "待办案件",
  356. value: 0
  357. },
  358. {
  359. label: "已办案件",
  360. value: 1
  361. }
  362. ],
  363. caseStatusType: false,
  364. btnStatus: true,
  365. };
  366. },
  367. created() {
  368. getDicts("case_status").then(res => {
  369. this.caseStatus = res.data;
  370. let params = this.$route.params.status;
  371. if (params >= 0) {
  372. this.queryParams.caseStatus = params;
  373. }
  374. this.getcaseApply(this.queryParams);
  375. })
  376. // this.getcaseApply(this.queryParams);
  377. this.getInstitution();
  378. },
  379. methods: {
  380. cancel() {
  381. this.visible = false;
  382. },
  383. cancelBatch() {
  384. this.openbatch = false;
  385. },
  386. cancelTime() {
  387. this.timeVisable = false;
  388. },
  389. cancelOperate() {
  390. this.operateVisable = false;
  391. },
  392. uploadCaseCancel() {
  393. this.uploadCaseVisable = false;
  394. },
  395. // 上传证据目录弹窗
  396. uploadCase(row) {
  397. this.uploadCaseData = row;
  398. this.uploadCaseVisable = true;
  399. },
  400. // 批量操作弹窗
  401. operateClick(type) {
  402. this.operateVisable = true;
  403. if (type == 0) {
  404. this.operateTitle = '批量提交';
  405. this.operateStatus = 0;
  406. } else if (type == 1) {
  407. this.operateTitle = '批量删除';
  408. this.operateStatus = 1;
  409. } else if (type == 2) {
  410. this.operateTitle = '批量立案审查';
  411. this.operateStatus = 2;
  412. }else if(type == 4){
  413. this.operateTitle = '批量生成裁决书';
  414. this.operateStatus = 4;
  415. }
  416. },
  417. // 修改开庭时间
  418. timeUpdata(row) {
  419. this.timeData = row;
  420. this.timeVisable = true;
  421. },
  422. // 锁定案件
  423. lockClick(row) {
  424. this.$modal
  425. .confirm("是否锁定案件")
  426. .then(function () {
  427. return updateCaseLockStatus({ id: row.id, lockStatus: 1 });
  428. })
  429. .then((res) => {
  430. this.getcaseApply(this.queryParams);
  431. this.$modal.msgSuccess("锁定成功");
  432. })
  433. .catch(() => { });
  434. },
  435. // 解锁案件
  436. ulockClick(row) {
  437. this.$modal
  438. .confirm("是否解锁案件")
  439. .then(function () {
  440. return updateCaseLockStatus({ id: row.id, lockStatus: 0 });
  441. })
  442. .then((res) => {
  443. this.getcaseApply(this.queryParams);
  444. this.$modal.msgSuccess("解锁成功");
  445. })
  446. .catch(() => { });
  447. },
  448. // 修改证据
  449. evidenceUpload(row) {
  450. this.evidenceData = row;
  451. this.evidenceVisable = true;
  452. },
  453. // 取消弹窗(证据弹窗)
  454. cancelEvidence() {
  455. this.evidenceVisable = false;
  456. },
  457. // 查看流程
  458. viewProcess(row) {
  459. this.processVisable = true;
  460. this.processData = row;
  461. },
  462. // 机构发生变化
  463. changeDept(data) {
  464. this.queryParams.nameId = data[0];
  465. },
  466. // 获取机构数据
  467. getInstitution() {
  468. listDept().then((res) => {
  469. res.data.forEach((item) => {
  470. item.value = item.deptId;
  471. item.label = item.deptName;
  472. });
  473. this.options = this.handleTree(res.data, "deptId");
  474. });
  475. },
  476. /** 查询列表 */
  477. getcaseApply(val) {
  478. this.loading = true;
  479. caseApply(val).then((response) => {
  480. this.dataList = response.rows;
  481. this.total = response.total;
  482. this.loading = false;
  483. });
  484. },
  485. /** 搜索按钮操作 */
  486. handleQuery() {
  487. this.queryParams.caseStatusList = [];
  488. if (!this.queryParams.caseStatus) {
  489. this.queryParams.caseStatusList = [0, 1, 2, 5, 6, 7, 8, 9, 10, 31]
  490. }
  491. if (this.queryParams.selectCaseStatus == 1) {
  492. this.queryParams.caseStatus = null;
  493. this.caseStatusType = true;
  494. this.btnStatus = false;
  495. } else if (this.queryParams.selectCaseStatus == 0) {
  496. this.caseStatusType = false;
  497. this.btnStatus = true;
  498. }
  499. this.queryParams.pageNum = 1;
  500. this.getcaseApply(this.queryParams);
  501. },
  502. /** 重置按钮操作 */
  503. resetQuery() {
  504. this.resetForm("queryForm");
  505. (this.queryParams.caseStatusList = [0, 1, 2, 5, 6, 7, 8, 9, 10, 31]),
  506. (this.queryParams.applicantName = ""),
  507. (this.queryParams.nameId = ""),
  508. this.getcaseApply(this.queryParams);
  509. },
  510. // 案件录入
  511. filingApplication() {
  512. this.form = {};
  513. this.initpaymentArr = [
  514. {
  515. identityType: 1,
  516. name: "",
  517. identityNum: "",
  518. contactTelphone: "",
  519. workAddress: "",
  520. workTelphone: "",
  521. contactAddress: "",
  522. nameAgent: "",
  523. contactTelphoneAgent: "",
  524. contactAddressAgent: "",
  525. },
  526. ];
  527. this.initpaymentArr1 = [
  528. {
  529. identityType: 2,
  530. name: "",
  531. identityNum: "",
  532. contactTelphone: "",
  533. workAddress: "",
  534. workTelphone: "",
  535. contactAddress: "",
  536. nameAgent: "",
  537. contactTelphoneAgent: "",
  538. contactAddressAgent: "",
  539. },
  540. ];
  541. this.visible = true;
  542. this.dialogtitle = "立案申请";
  543. this.flag = "2";
  544. },
  545. // 批量批量录入
  546. batchApplication() {
  547. this.openbatch = true;
  548. },
  549. // 详情
  550. detailRow(row) {
  551. this.flag = "0";
  552. this.form = row;
  553. this.visible = true;
  554. this.dialogtitle = "立案详情";
  555. this.getInfo(row);
  556. },
  557. // 案件日志
  558. caselogRow(row) {
  559. this.showcaseLog = true;
  560. this.caseLogRecordListFn(row);
  561. },
  562. // 查询案件日志信息
  563. caseLogRecordListFn(val) {
  564. this.flagLoading = true;
  565. let params = {
  566. caseAppliId: val.id,
  567. };
  568. caseLogRecordList(params).then((res) => {
  569. this.caselogDataArr = res.data;
  570. this.flagLoading = false;
  571. });
  572. },
  573. // 关闭案件日志
  574. cancelcaseLog() {
  575. this.showcaseLog = false;
  576. },
  577. //关闭案件流程
  578. cancelViewProcess() {
  579. this.processVisable = false;
  580. },
  581. // 修改
  582. editRow(row) {
  583. this.flag = "1";
  584. this.form = row;
  585. this.visible = true;
  586. this.dialogtitle = "立案修改";
  587. this.getInfo(row);
  588. },
  589. // 列表提交立案
  590. onsubmitRow(row) {
  591. this.$modal
  592. .confirm("是否提交立案申请?")
  593. .then(function () {
  594. // return submitCaseApply({ id: row.id });
  595. return submitCaseApply({ ids: [row.id] });
  596. })
  597. .then(() => {
  598. this.getcaseApply(this.queryParams);
  599. this.$modal.msgSuccess("立案申请成功");
  600. })
  601. .catch(() => { });
  602. },
  603. // 立案审查
  604. filingreviewRow(row) {
  605. console.log(row, "立案审查");
  606. this.showfilingreview = true;
  607. this.filingreviewdata = row;
  608. },
  609. cancelFilingreview() {
  610. this.showfilingreview = false;
  611. },
  612. // 取消缴费
  613. paycancelRow(row) {
  614. this.openPay = false;
  615. },
  616. // 是否进行缴费
  617. payStatus(val) {
  618. this.getDetail({ id: val.id, version: val.version });
  619. this.payTitle = "缴费";
  620. this.openPay = true;
  621. this.payId = val.id;
  622. },
  623. getDetail(parms) {
  624. caseApplicationDetail(parms).then((res) => {
  625. if (res.data.caseStatus == 1) {
  626. res.data.caseStatusName = "待缴费";
  627. }
  628. this.form = res.data;
  629. this.payForm.feePayable = res.data.feePayable;
  630. this.payForm.caseId = res.data.id;
  631. });
  632. },
  633. // 组庭
  634. // formationcourtRow(row) {
  635. // console.log(row, "组庭");
  636. // this.formateCourtData = row;
  637. // this.showformateCourt = true;
  638. // },
  639. // 关闭组庭页面
  640. cancelcourtDialog() {
  641. this.showformateCourt = false;
  642. },
  643. // 审核案件 selectCompareCase caseentryExamineData
  644. reviewCase(row) {
  645. this.caseentryExamineVisible = true;
  646. this.dialogtitle = "审核修改详情";
  647. this.getSelectCompareCase(row)
  648. },
  649. // 秘书审核修改页面 caseentryExamineVisible
  650. caseentryExamineCancel() {
  651. this.caseentryExamineVisible = false;
  652. },
  653. // 查询修改字段
  654. getSelectCompareCase(val) {
  655. let param = {
  656. caseId:val.id,
  657. version:val.version
  658. }
  659. selectCompareCase(param).then((res) => {
  660. this.caseentryExamineData = res.data.afterCase
  661. this.caseentryExamineDataAll = res.data.afterCase
  662. })
  663. },
  664. // 审核撤销
  665. reviewRevocation(row) {
  666. this.caseentryExamineVisible = true;
  667. this.dialogtitle = "审核撤销";
  668. this.getSelectCompareCase(row)
  669. },
  670. // 组庭确认
  671. courtconfirmationRow(row) {
  672. // console.log(row, "组庭确认");
  673. this.showcourtReview = true;
  674. this.form = row;
  675. },
  676. // 组庭审核
  677. courtreviewRow(row) {
  678. // console.log(row, "组庭审核");
  679. this.formateCourtData = row;
  680. this.showformateCourt = true;
  681. },
  682. cancelcourtReview() {
  683. this.showcourtReview = false;
  684. },
  685. // 选择开庭方式改为审核仲裁方式
  686. choosetrialmethodRow(row) {
  687. // console.log(row, "审核仲裁方式");
  688. this.choosetrialmethodata = row;
  689. this.showchoosetrialmethod = true;
  690. },
  691. // 关闭审核仲裁方式
  692. cancelshowchoosetrialMethod() {
  693. this.showchoosetrialmethod = false;
  694. },
  695. // 书面审理
  696. adjudicaterecordRow(row) {
  697. // console.log(row, "书面审理");
  698. this.showadjudicaterecord = true;
  699. this.form = row;
  700. this.getInfo(row);
  701. },
  702. canceladjudicaterecord() {
  703. this.showadjudicaterecord = false;
  704. },
  705. // 开庭审理
  706. trialcourtRow(row) {
  707. console.log(row, "开庭审理");
  708. this.showtrialincourt = true;
  709. this.form = row;
  710. this.getInfo(row);
  711. },
  712. canceltrialincourt() {
  713. this.showtrialincourt = false;
  714. },
  715. // 生成裁决书 2023.10.15裁决书生成为自动,已合并如庭审提交
  716. // generateawardRow(row) {
  717. // console.log(row, "生成裁决书");
  718. // this.$modal
  719. // .confirm("确定生成裁决书吗?")
  720. // .then(function () {
  721. // return document({ id: row.id });
  722. // })
  723. // .then((res) => {
  724. // if (res.code == 200) {
  725. // this.getcaseApply(this.queryParams);
  726. // this.$modal.msgSuccess("裁决书生成成功");
  727. // }
  728. // })
  729. // .catch(() => {});
  730. // },
  731. // 归档
  732. fileRow(row) {
  733. console.log(row, "归档");
  734. },
  735. // 查找主体信息数据
  736. getInfo(row) {
  737. let params = {
  738. id: row.id,
  739. version: row.version
  740. }
  741. selectCaseApply(params).then((res) => {
  742. // this.visible = true;
  743. // this.formData = res.data;
  744. this.form.caseName = res.data.caseName;
  745. this.adjudicatename = {
  746. applicantName: res.data.applicantName,
  747. respondentName: res.data.respondentName,
  748. feePayable: res.data.feePayable,
  749. hearDate: res.data.hearDate,
  750. arbitratorName: res.data.arbitratorName,
  751. caseAttachList: res.data.caseAttachList,
  752. };
  753. this.initpaymentArr = [];
  754. this.initpaymentArr1 = [];
  755. res.data.caseAffiliates.forEach((item) => {
  756. if (item.identityType == 1) {
  757. this.initpaymentArr.push(item);
  758. } else {
  759. this.initpaymentArr1.push(item);
  760. }
  761. });
  762. this.caseAttachList = res.data.caseAttachList;
  763. this.form.requestRule = res.data.requestRule;
  764. this.form.properPreser = res.data.properPreser;
  765. });
  766. },
  767. // 删除
  768. deleteRow(row) {
  769. // const id = row.id;
  770. this.$modal
  771. .confirm("是否确认删除?")
  772. .then(function () {
  773. // return removeCaseApply({ id: row.id });
  774. return removeCaseApply({ ids: [row.id] });
  775. })
  776. .then((res) => {
  777. this.getcaseApply(this.queryParams);
  778. this.$modal.msgSuccess("删除成功");
  779. })
  780. .catch(() => { });
  781. },
  782. // 申请人撤销修改 revoke
  783. undoRow(row) {
  784. if (row.updateSubmitStatus == 1) {
  785. this.$modal.confirm("是否确认撤销修改?").then(function () {
  786. return revoke({ caseId: row.id, version: row.version });
  787. }).then((res) => {
  788. if (res.code == 200) {
  789. this.getcaseApply(this.queryParams);
  790. this.$modal.msgSuccess("撤销成功");
  791. }
  792. })
  793. .catch(() => { });
  794. } else if (row.updateSubmitStatus == 3) {
  795. this.$modal.confirm("是否确认撤销已审核的修改?").then(function () {
  796. return revoke({ caseId: row.id, version: row.version });
  797. }).then((res) => {
  798. if (res.code == 200) {
  799. this.getcaseApply(this.queryParams);
  800. this.$modal.msgSuccess("撤销申请已提交,等待审核");
  801. }
  802. })
  803. .catch(() => { });
  804. }
  805. }
  806. },
  807. };
  808. </script>
  809. <style lang="scss" scoped>#formContainer {}</style>