应用层PC端前端服务

caseList.vue 22KB

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