调解系统PC端服务

caseList.vue 30KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737
  1. <template>
  2. <div class="app-container">
  3. <el-form :model="queryParams" ref="queryForm" size="small" :inline="true">
  4. <el-form-item label="案件状态" prop="caseFlowId">
  5. <el-select v-model="queryParams.caseFlowId" placeholder="请选择" clearable>
  6. <el-option v-for="dict in caseStausArr" :key="dict.id" :label="dict.caseStatusName" :value="dict.id"
  7. @keyup.enter.native="handleQuery"></el-option>
  8. </el-select>
  9. </el-form-item>
  10. <!-- <el-form-item label="申请机构" prop="applicationOrganId">
  11. <el-select v-model="queryParams.applicationOrganId" placeholder="请选择" clearable>
  12. <el-option v-for="dict in deptList" :key="dict.deptId" :label="dict.deptName" :value="dict.deptId"
  13. @keyup.enter.native="handleQuery"></el-option>
  14. </el-select>
  15. </el-form-item> -->
  16. <!-- <el-form-item label="批号" prop="batchNumber">
  17. <el-input v-model="queryParams.batchNumber" placeholder="请输入案件批号" clearable style="width: 240px"
  18. @keyup.enter.native="handleQuery" />
  19. </el-form-item> -->
  20. <el-form-item label="案件编号" prop="caseNum">
  21. <el-input v-model="queryParams.caseNum" placeholder="请输入案件编号" clearable style="width: 240px"
  22. @keyup.enter.native="handleQuery" />
  23. </el-form-item>
  24. <el-form-item label="创建时间" prop="caseTime">
  25. <el-date-picker v-model="caseTime" type="daterange" align="right" unlink-panels range-separator="至"
  26. start-placeholder="开始日期" end-placeholder="结束日期" clearable style="width: 240px" @change="caseTimeChange">
  27. </el-date-picker>
  28. </el-form-item>
  29. <el-form-item>
  30. <el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery">搜索</el-button>
  31. <!-- <el-button icon="el-icon-refresh" size="mini" @click="resetQuery">重置</el-button> -->
  32. </el-form-item>
  33. </el-form>
  34. <el-row :gutter="10" class="mb8">
  35. <el-col :span="1.5">
  36. <el-button type="primary" plain icon="el-icon-plus" v-hasPermi="['caseManagement:list:add']" size="mini"
  37. @click="addCase()">新增案件</el-button>
  38. </el-col>
  39. <!-- TODO 后期可能加上-->
  40. <!-- <el-col :span="1.5">
  41. <el-button type="primary" plain icon="el-icon-plus" size="mini"
  42. @click="compressedPackages">案件压缩包上传</el-button>
  43. </el-col> -->
  44. </el-row>
  45. <el-table v-loading="loading" :data="dataList" style="width: 100%">
  46. <el-table-column label="序号" type="index" align="center">
  47. <template slot-scope="scope">
  48. <span>{{
  49. (queryParams.pageNum - 1) * queryParams.pageSize + scope.$index + 1
  50. }}</span>
  51. </template>
  52. </el-table-column>
  53. <!-- <el-table-column label="批号" align="center" prop="batchNumber" :show-overflow-tooltip="true" /> -->
  54. <el-table-column label="案件编号" align="center" prop="caseNum" :show-overflow-tooltip="true" />
  55. <el-table-column label="申请人" align="center" prop="applicationName" :show-overflow-tooltip="true" />
  56. <el-table-column label="被申请人" align="center" prop="respondentName" :show-overflow-tooltip="true" />
  57. <!-- <el-table-column label="案件标的" align="center" prop="caseSubjectAmount" :show-overflow-tooltip="true" /> -->
  58. <el-table-column label="调解员" align="center" prop="mediatorName" :show-overflow-tooltip="true" />
  59. <el-table-column label="调解方式" align="center" prop="mediationMethodName" :show-overflow-tooltip="true" />
  60. <el-table-column label="调解时间" align="center" prop="hearDate" :show-overflow-tooltip="true" />
  61. <el-table-column label="案件状态" align="center" prop="caseStatusName" :show-overflow-tooltip="true" />
  62. <el-table-column label="创建时间" align="center" prop="createTime" :show-overflow-tooltip="true" />
  63. <el-table-column label="操作" align="center" class-name="small-padding fixed-width">
  64. <template slot-scope="scope">
  65. <el-button size="mini" @click="eidtNodeprocess(scope.row)" type="text" icon="el-icon-edit"
  66. v-hasPermi="['caseManagement:list:edit']" v-if="scope.row.caseFlowId <= 1">修改</el-button>
  67. <el-button size="mini" @click="checkDetail(scope.row)" type="text" icon="el-icon-view">查看详情</el-button>
  68. <el-button size="mini" @click="caseFlow(scope.row)" type="text" icon="el-icon-zoom-in">查看流程</el-button>
  69. <el-button size="mini" @click="caseLog(scope.row)" type="text"
  70. icon="el-icon-edit-outline">案件日志</el-button>
  71. <el-button size="mini" @click="viewpaymentformRow(scope.row)" type="text"
  72. icon="el-icon-edit">查看缴费单</el-button>
  73. <el-button size="mini" type="text" icon="el-icon-edit" @click="evidenceUpload(scope.row)"
  74. v-hasPermi="['caseManagement:list:evidenceEdit']" v-if="scope.row.caseFlowId <= 9">上传证据</el-button>
  75. <el-button size="mini" type="text" icon="el-icon-edit" v-if="scope.row.caseFlowId == 15 ||
  76. scope.row.caseFlowId == 16 ||
  77. scope.row.caseFlowId == 17
  78. " @click="caseFilingDetails(scope.row)">归档详情</el-button>
  79. <div class="btnList" v-for="item in buttonList" :key="item.id">
  80. <el-button size="mini" type="text" icon="el-icon-tickets" @click="caseClick(scope.row, item.id)"
  81. v-if="item.id == scope.row.caseFlowId &&
  82. checkPermi([item.buttonAuthFlag]) &&
  83. scope.row.signButtonFlag != 1
  84. ">{{ item.nodeName }}</el-button>
  85. </div>
  86. </template>
  87. </el-table-column>
  88. </el-table>
  89. <pagination v-show="total > 0" :total="total" :page.sync="queryParams.pageNum" :limit.sync="queryParams.pageSize"
  90. @pagination="getList(queryParams)" />
  91. <!-- 新增编辑详情 -->
  92. <addCase :addVisable="addVisable" :queryParams="queryParams" @cancelCaseAdd="cancelCaseAdd" @getList="getList"
  93. :caseData="caseData" :caseDisabled="caseDisabled" :tabFlag="tabFlag" :addModifyData="addModifyData"></addCase>
  94. <!-- 压缩包导入 -->
  95. <caseCompressionPackage :openCompressedPackages="openCompressedPackages" :queryParams="queryParams"
  96. @cancelCompreess="cancelCompreess" :getList="getList">
  97. </caseCompressionPackage>
  98. <!-- 案件详情 -->
  99. <mediationCaseDetails :processVisable="processVisable" @cancelViewProcess="cancelViewProcess"
  100. :caseFlowNumber="caseFlowNumber">
  101. </mediationCaseDetails>
  102. <!-- 案件日志 -->
  103. <mediationCaseLog :showcaseLog="showcaseLog" @cancelcaseLog="cancelcaseLog" :caselogDataArr="caselogDataArr"
  104. :flagLoading="flagLoading"></mediationCaseLog>
  105. <!-- 证据修改 -->
  106. <evidenceDialog :evidenceVisable="evidenceVisable" @cancelEvidence="cancelEvidence" :evidenceData="evidenceData">
  107. </evidenceDialog>
  108. <!-- 缴费 -->
  109. <payDialog :openPay="openPay" :payTitle="payTitle" :formPayDetail="formPayDetail" :payId="payId" :payForm="payForm"
  110. :queryParams="queryParams" @getList="getList" @paycancelRow="paycancelRow"
  111. :formPayDetailAffiliate="formPayDetailAffiliate"></payDialog>
  112. <!-- 缴费确认查看详情 -->
  113. <paymentdetailsDialog :openDialog="openDialog" @cancelpaymentdetails="cancelpaymentdetails" :title="payTitle"
  114. :detailform="detailform" :queryParams="queryParams" :flag="flag" :paymentConfirma="paymentConfirma"
  115. :isapplicant="isapplicant" @getList="getList">
  116. </paymentdetailsDialog>
  117. <!-- 案件受理 -->
  118. <caseAcceptance :showAcceptance="showAcceptance" @cancelAcceptance="cancelAcceptance"
  119. :caseAcceptanceData="caseAcceptanceData" @getList="getList"></caseAcceptance>
  120. <!-- 被申请人缴费 -->
  121. <respondentPay :openResPay="openResPay" :resPayTitle="resPayTitle" :formResPayDetail="formResPayDetail"
  122. :resPayId="resPayId" :resPayForm="resPayForm" :queryParams="queryParams" @getList="getList"
  123. @paycancelRes="paycancelRes" :formResPay="formResPay"></respondentPay>
  124. <!-- 调解员弹窗 -->
  125. <selectMediator @cancelMediator="cancelMediator" :mediatorVisable="mediatorVisable" :mediatorData="mediatorData"
  126. @getList="getList" :queryParams="queryParams"></selectMediator>
  127. <!-- 秘书确认 -->
  128. <confirmMediator @cancelConfirm="cancelConfirm" :confirmVisable="confirmVisable" :confirmData="confirmData"
  129. @getList="getList" :queryParams="queryParams"></confirmMediator>
  130. <!-- 部门长确认 -->
  131. <departmentMediator @cancelDepartment="cancelDepartment" :departmentVisable="departmentVisable"
  132. :departmentData="departmentData" @getList="getList" :queryParams="queryParams"></departmentMediator>
  133. <!-- 秘书确认时间 -->
  134. <timeConfirm @cancelTimeConfirm="cancelTimeConfirm" :timeConfirmVisable="timeConfirmVisable"
  135. :timeConfirmData="timeConfirmData" @getList="getList" :queryParams="queryParams"></timeConfirm>
  136. <!-- 待调解 -->
  137. <mediation @cancelMediation="cancelMediation" :mediationVisable="mediationVisable" :mediationData="mediationData"
  138. @getList="getList" :queryParams="queryParams"></mediation>
  139. <confirmMediation @cancelConfirmTion="cancelConfirmTion" :confirmTionVisable="confirmTionVisable"
  140. :confirmTionData="confirmTionData" @getList="getList" :queryParams="queryParams"></confirmMediation>
  141. <!-- 归档详情 -->
  142. <caseFilingDetailsPage :showarchiveDetails="showarchiveDetails" :caseFilingData="caseFilingData"
  143. @cancelDetail="cancelDetail" :detailsAwardNum="detailsAwardNum" :flagLoadingS="flagLoadingS">
  144. </caseFilingDetailsPage>
  145. </div>
  146. </template>
  147. <script>
  148. import {
  149. caseApplicationList,
  150. caseApplicationSelectById,
  151. submitCaseApply,
  152. selectPaymentDetail,
  153. sealApply,
  154. selectSealUrl,
  155. listCaseLogRecord,
  156. msCaseFile,
  157. msCaseSign,
  158. listDeptApplied,
  159. msCaseSignUrlApplyPC,
  160. } from "@/api/caseManagement/caseManagement.js";
  161. import { listDept } from "@/api/system/dept.js";
  162. import { queryCaseFlowInfo } from "@/api/caseprocessManagement/caseprocessManagement.js";
  163. import moment from "moment";
  164. import addCase from "./components/addCase.vue";
  165. import evidenceDialog from "./components/evidenceDialog.vue";
  166. import caseCompressionPackage from "./components/caseCompressionPackage.vue";
  167. import mediationCaseDetails from "./components/mediationCaseDetails.vue";
  168. import mediationCaseLog from "./components/mediationCaseLog.vue";
  169. import payDialog from "./components/payDialog.vue";
  170. import respondentPay from "./components/respondentPay.vue";
  171. import paymentdetailsDialog from "./components/paymentdetailsDialog.vue";
  172. import caseAcceptance from "./components/caseAcceptance.vue";
  173. import selectMediator from "./components/selectMediator.vue";
  174. import confirmMediator from "./components/confirmMediator.vue";
  175. import departmentMediator from "./components/departmentMediator.vue";
  176. import timeConfirm from "./components/timeConfirm.vue";
  177. import mediation from "./components/mediation.vue";
  178. import confirmMediation from "./components/confirmMediation.vue";
  179. import caseFilingDetailsPage from "./components/caseFilingDetailsPage.vue";
  180. export default {
  181. name: "caseList",
  182. dicts: ["case_flow_node"],
  183. components: {
  184. addCase,
  185. caseCompressionPackage,
  186. mediationCaseDetails,
  187. mediationCaseLog,
  188. evidenceDialog,
  189. payDialog,
  190. paymentdetailsDialog,
  191. caseAcceptance,
  192. selectMediator, //调解员弹窗
  193. confirmMediator,
  194. departmentMediator,
  195. timeConfirm,
  196. mediation,
  197. confirmMediation,
  198. caseFilingDetailsPage,
  199. respondentPay,
  200. },
  201. data() {
  202. return {
  203. queryParams: {
  204. pageNum: 1,
  205. pageSize: 10,
  206. },
  207. // 遮罩层
  208. loading: false,
  209. // 总条数
  210. total: 0,
  211. // 表格数据
  212. form: {},
  213. // 校验表单
  214. rules: {},
  215. dataList: [],
  216. addVisable: false, //新增弹窗
  217. openPay: false, //缴费弹框
  218. openResPay: false, //被申请人缴费弹窗
  219. formPayDetail: {},
  220. formResPayDetail: {},
  221. payId: null,
  222. resPayId: null,
  223. payForm: {},
  224. resPayForm: {},
  225. openCompressedPackages: false, //压缩包导入弹窗
  226. processVisable: false, //案件详情
  227. showcaseLog: false, //案件日志
  228. openDialog: false, //确认缴费和缴费详情
  229. detailform: {}, //缴费详情数据
  230. evidenceVisable: false, //证据修改弹窗
  231. mediationVisable: false, //待调解弹窗
  232. mediationData: {},
  233. payTitle: "", //缴费标题
  234. resPayTitle: "", //被申请人缴费标题
  235. paymentConfirma: {}, //缴费确认
  236. showAcceptance: false, //案件受理弹框
  237. caseAcceptanceData: {}, //案件受理数据
  238. mediatorVisable: false, //选择调解员弹窗
  239. timeVisable: false, //预约时间弹窗
  240. confirmVisable: false, //确认时间/调解员
  241. caseFlowNumber: {}, //案件流程数据
  242. caselogDataArr: [], //案件日志数据
  243. flagLoading: true, //案件日志弹框loading
  244. confirmTionVisable: false, //确认调解书弹窗
  245. addModifyData: null, //新增修改传的参数
  246. showarchiveDetails: false, //归档详情弹窗
  247. detailsAwardNum: {},
  248. flagLoadingS: true,
  249. formPayDetailAffiliate: {},
  250. formResPay: {},
  251. mediatorData: {},
  252. flag: null,
  253. caseData: {},
  254. evidenceData: {},
  255. caseDisabled: false,
  256. caseTime: "",
  257. deptList: [],
  258. payTitle: "",
  259. tabFlag: false,
  260. confirmData: {},
  261. departmentVisable: false,
  262. departmentData: {},
  263. timeConfirmVisable: false,
  264. timeConfirmData: {},
  265. confirmTionData: {},
  266. buttonList: [],
  267. caseStausArr: [], //案件状态
  268. isapplicant: true, //判断角色申请人或非申请人
  269. caseFilingData: {},
  270. };
  271. },
  272. created() {
  273. // this.getList(this.queryParams);
  274. this.listDeptFn();
  275. // this.getButtonList()
  276. queryCaseFlowInfo({
  277. pageNum: 1,
  278. pageSize: 100000,
  279. }).then((res) => {
  280. res.rows.forEach((item) => {
  281. if (item.id != 17) {
  282. this.buttonList.push(item);
  283. }
  284. this.caseStausArr.push(item);
  285. });
  286. if (this.$route.query.caseFlowId) {
  287. let querydata = Number(this.$route.query.caseFlowId);
  288. if (querydata > 0) {
  289. this.$set(this.queryParams, 'caseFlowId', querydata)
  290. }
  291. }
  292. this.getList(this.queryParams);
  293. });
  294. },
  295. methods: {
  296. /**所有按钮事件 */
  297. caseClick(val, type) {
  298. if (type == 1) {
  299. // 提交案件
  300. this.onsubmitRow(val);
  301. } else if (type == 2) {
  302. // 缴费
  303. this.payStatus(val);
  304. } else if (type == 3 || type == 45) {
  305. // 确认缴费
  306. this.paymentconfirmationRow(val, type);
  307. } else if (type == 4) {
  308. // 受理分配
  309. this.caseAccep(val);
  310. } else if (type == 5) {
  311. // 选择调解员
  312. this.selectMediator(val);
  313. } else if (type == 6) {
  314. // 核实调解员
  315. this.secretaryConfirm(val);
  316. } else if (type == 7) {
  317. // 确认调解员
  318. this.department(val);
  319. } else if (type == 8) {
  320. // 确定调解时间
  321. this.timeConfirm(val);
  322. } else if (type == 9) {
  323. // 调解
  324. this.mediationClick(val);
  325. } else if (type == 10) {
  326. // 确认调解书
  327. this.confirmMediation(val);
  328. } else if (type == 11) {
  329. // 签名
  330. this.msCaseSignUrlApplyPCFn(val);
  331. } else if (type == 12) {
  332. // 用印申请
  333. this.consultantApplica(val);
  334. } else if (type == 13) {
  335. // 用印
  336. this.departmentApplica(val);
  337. } else if (type == 14) {
  338. // 归档
  339. this.caseFiling(val);
  340. } else if (type == 15) {
  341. // 申请人签收
  342. this.signMediation(val);
  343. } else if (type == 16) {
  344. // 被申请人签收
  345. this.receivedMediation(val);
  346. } else if (type == 17) {
  347. //结束
  348. } else if (type == 44) {
  349. // 被申请人缴费
  350. this.resPayStatus(val);
  351. }
  352. },
  353. /**查询按钮列表 */
  354. getButtonList() { },
  355. /** 新增案件 */
  356. addCase() {
  357. this.addModifyData = 1;
  358. this.addVisable = true;
  359. this.caseData = {};
  360. this.caseDisabled = false;
  361. this.tabFlag = false;
  362. },
  363. /** 查看详情 */
  364. checkDetail(val) {
  365. this.addModifyData = 2;
  366. this.addVisable = true;
  367. this.caseData = val;
  368. this.caseDisabled = true;
  369. this.tabFlag = true;
  370. },
  371. /** 修改案件 */
  372. eidtNodeprocess(row) {
  373. this.addModifyData = 3;
  374. this.addVisable = true;
  375. this.caseData = row;
  376. this.$set(this.caseData, "flag", 2);
  377. this.caseDisabled = false;
  378. this.tabFlag = false;
  379. },
  380. /** 案件导入压缩包 */
  381. compressedPackages() {
  382. this.openCompressedPackages = true;
  383. },
  384. /** 缴费 */
  385. payStatus(val) {
  386. this.getDetail({ id: val.id });
  387. this.payTitle = "申请人缴费";
  388. this.payId = val.id;
  389. this.openPay = true;
  390. },
  391. /** 被申请人缴费 */
  392. resPayStatus(val) {
  393. this.getResDetail({ id: val.id });
  394. this.resPayTitle = "被申请人缴费";
  395. this.resPayId = val.id;
  396. this.openResPay = true;
  397. },
  398. /** 列表提交立案 */
  399. onsubmitRow(row) {
  400. this.$modal
  401. .confirm("是否提交调解申请?")
  402. .then(function () {
  403. return submitCaseApply({ id: row.id, caseFlowId: row.caseFlowId });
  404. })
  405. .then(() => {
  406. this.getList(this.queryParams);
  407. this.$modal.msgSuccess("调解申请成功");
  408. })
  409. .catch(() => { });
  410. },
  411. /** 签名 */
  412. msCaseSignUrlApplyPCFn(row) {
  413. // this.$modal
  414. // .confirm("是否")
  415. // .then(function () {
  416. // return msCaseSignUrlApplyPC({ caseId: row.id });
  417. // })
  418. // .then(() => {
  419. // this.getList(this.queryParams);
  420. // this.$modal.msgSuccess("立案申请成功");
  421. // })
  422. // .catch(() => { });
  423. msCaseSignUrlApplyPC({ caseId: row.id }).then((res) => {
  424. console.log(res, "PPPPPPPPPPPPPPPPPPPP");
  425. window.open(res.data.sealUrl);
  426. });
  427. },
  428. /** 选择调解员 */
  429. selectMediator(val) {
  430. this.mediatorVisable = true;
  431. this.mediatorData = val;
  432. },
  433. /** 预约时间 */
  434. selectTime(val) {
  435. this.timeVisable = true;
  436. },
  437. /** 调解 */
  438. mediationClick(val) {
  439. this.mediationVisable = true;
  440. this.mediationData = val;
  441. },
  442. /** 确认调解书 */
  443. confirmMediation(val) {
  444. this.confirmTionVisable = true;
  445. this.confirmTionData = val;
  446. },
  447. getDetail(parms) {
  448. caseApplicationSelectById(parms).then((res) => {
  449. this.formPayDetail = res.data;
  450. this.formPayDetailAffiliate = res.data.affiliate;
  451. this.payForm.feePayable = res.data.feePayable;
  452. this.payForm.caseId = res.data.id;
  453. });
  454. },
  455. getResDetail(parms) {
  456. caseApplicationSelectById(parms).then((res) => {
  457. this.formResPayDetail = res.data;
  458. this.formResPay = res.data.affiliate;
  459. this.resPayForm.feePayable = res.data.feePayable;
  460. this.resPayForm.caseId = res.data.id;
  461. });
  462. },
  463. /** 确认调解员 */
  464. secretaryConfirm(val) {
  465. this.confirmVisable = true;
  466. this.confirmData = val;
  467. },
  468. /** 部门长确认调解员 */
  469. department(val) {
  470. this.departmentVisable = true;
  471. this.departmentData = val;
  472. },
  473. /**确认时间 */
  474. timeConfirm(val) {
  475. this.timeConfirmVisable = true;
  476. this.timeConfirmData = val;
  477. },
  478. /** 时间改变处理 */
  479. caseTimeChange() {
  480. if (this.caseTime) {
  481. this.queryParams.startTime = moment(this.caseTime[0]).format(
  482. "YYYY-MM-DD HH:mm:ss"
  483. );
  484. this.queryParams.endTime = moment(this.caseTime[1]).format(
  485. "YYYY-MM-DD HH:mm:ss"
  486. );
  487. } else {
  488. this.queryParams.startTime = "";
  489. this.queryParams.endTime = "";
  490. }
  491. },
  492. /** 获取所有部门 */
  493. listDeptFn() {
  494. listDeptApplied().then((res) => {
  495. this.deptList = res.data;
  496. });
  497. },
  498. /** 修改证据 */
  499. evidenceUpload(row) {
  500. this.evidenceData = row;
  501. this.evidenceVisable = true;
  502. },
  503. /** 取消弹窗(证据弹窗) */
  504. cancelEvidence() {
  505. this.evidenceVisable = false;
  506. },
  507. /** 关闭新增弹窗 */
  508. cancelCaseAdd() {
  509. this.addVisable = false;
  510. },
  511. /** 关闭压缩包导入弹窗 */
  512. cancelCompreess() {
  513. this.openCompressedPackages = false;
  514. },
  515. /**取消缴费*/
  516. paycancelRow(row) {
  517. this.openPay = false;
  518. },
  519. /**被申请人取消缴费*/
  520. paycancelRes(row) {
  521. this.openResPay = false;
  522. },
  523. /** 取消调解员弹窗 */
  524. cancelMediator() {
  525. this.mediatorVisable = false;
  526. },
  527. /** 取消预约时间弹窗 */
  528. cancelTime() {
  529. this.timeVisable = false;
  530. },
  531. /**取消调解 */
  532. cancelMediation() {
  533. this.timeConfirmVisable = false;
  534. },
  535. /** 取消确认调解弹窗 */
  536. cancelConfirmTion() {
  537. this.confirmTionVisable = false;
  538. },
  539. cancelMediation() {
  540. this.mediationVisable = false;
  541. },
  542. cancelConfirm() {
  543. this.confirmVisable = false;
  544. },
  545. cancelDepartment() {
  546. this.departmentVisable = false;
  547. },
  548. cancelTimeConfirm() {
  549. this.timeConfirmVisable = false;
  550. },
  551. /** 搜索按钮操作 */
  552. handleQuery() {
  553. this.queryParams.pageNum = 1;
  554. this.getList(this.queryParams);
  555. },
  556. /** 重置按钮操作 */
  557. // resetQuery() {
  558. // this.resetForm("queryForm");
  559. // this.handleQuery();
  560. // },
  561. // 查询列表数据
  562. getList(parms) {
  563. this.loading = true;
  564. caseApplicationList(parms).then((response) => {
  565. this.dataList = response.rows;
  566. this.total = response.total;
  567. this.loading = false;
  568. });
  569. },
  570. // 法律顾问用印申请
  571. consultantApplica(row) {
  572. let paramsValue = {
  573. caseId: row.id,
  574. batchNumber: "",
  575. caseFlowId: row.caseFlowId,
  576. };
  577. this.$modal
  578. .confirm("你确定要用印申请吗?")
  579. .then((res) => {
  580. sealApply(paramsValue).then((res) => {
  581. this.getList(this.queryParams);
  582. this.$modal.msgSuccess("用印申请成功");
  583. });
  584. })
  585. .catch(() => { });
  586. },
  587. // 部门长用印申请
  588. departmentApplica(row) {
  589. this.$modal
  590. .confirm("你确定要用印确认吗?")
  591. .then((res) => {
  592. let paramsValue = {
  593. caseId: row.id,
  594. };
  595. selectSealUrl(paramsValue).then((res) => {
  596. window.open(res.data.sealUrl);
  597. this.$modal
  598. .confirm("你确认用印了吗?")
  599. .then((res) => {
  600. this.getList(this.queryParams);
  601. })
  602. .catch(() => { });
  603. });
  604. })
  605. .catch(() => { });
  606. },
  607. // 案件受理
  608. caseAccep(row) {
  609. this.caseAcceptanceData = row;
  610. this.showAcceptance = true;
  611. },
  612. cancelAcceptance() {
  613. this.showAcceptance = false;
  614. },
  615. // 缴费确认
  616. paymentconfirmationRow(row, type) {
  617. this.paymentConfirma = row;
  618. console.log(this.paymentConfirma);
  619. this.paymentDetails({
  620. id: row.id,
  621. });
  622. this.openDialog = true;
  623. this.payTitle = "缴费确认";
  624. this.flag = 0;
  625. this.detailform = {};
  626. if (type == 3) {
  627. // 申请人
  628. this.isapplicant = true;
  629. } else {
  630. this.isapplicant = false;
  631. }
  632. },
  633. cancelpaymentdetails() {
  634. this.openDialog = false;
  635. },
  636. // 查看缴费确认
  637. viewpaymentformRow(row) {
  638. this.paymentDetails({
  639. id: row.id,
  640. });
  641. this.payTitle = "缴费单详情";
  642. this.flag = 1;
  643. this.detailform = {};
  644. this.openDialog = true;
  645. },
  646. // 缴费详情
  647. paymentDetails(val) {
  648. selectPaymentDetail(val).then((res) => {
  649. this.detailform = res.data;
  650. });
  651. },
  652. //案件流程
  653. caseFlow(row) {
  654. this.caseFlowNumber = row;
  655. this.processVisable = true;
  656. },
  657. cancelViewProcess() {
  658. this.processVisable = false;
  659. },
  660. //案件日志
  661. caseLog(row) {
  662. this.caseLogNumber = row;
  663. this.showcaseLog = true;
  664. this.flagLoading = true;
  665. listCaseLogRecord({ caseId: row.id }).then((res) => {
  666. this.caselogDataArr = res.data;
  667. this.flagLoading = false;
  668. });
  669. },
  670. cancelcaseLog() {
  671. this.showcaseLog = false;
  672. },
  673. // 案件送达
  674. caseFiling(row) {
  675. console.log(row.id);
  676. let paramValues = {
  677. ids: [row.id],
  678. };
  679. this.$modal
  680. .confirm("你确定要案件送达吗?")
  681. .then((res) => {
  682. msCaseFile(paramValues).then((res) => {
  683. this.$modal.msgSuccess("案件送达成功");
  684. this.getList(this.queryParams);
  685. });
  686. })
  687. .catch(() => { });
  688. },
  689. //申请人签收调解书
  690. signMediation(row) {
  691. this.$modal
  692. .confirm("你确定要签收调解书吗?")
  693. .then((res) => {
  694. this.signingMediationAgreement({ caseId: row.id, isSignApply: 1 });
  695. })
  696. .catch(() => { });
  697. },
  698. //被申请人签收调解书
  699. receivedMediation(row) {
  700. this.$modal
  701. .confirm("你确定要签收调解书吗?")
  702. .then((res) => {
  703. this.signingMediationAgreement({ caseId: row.id, isSignRespon: 1 });
  704. })
  705. .catch(() => { });
  706. },
  707. // 申请人和被申请人签收调解书接口
  708. signingMediationAgreement(val) {
  709. console.log(val);
  710. msCaseSign(val).then((res) => {
  711. this.$modal.msgSuccess("签收成功");
  712. this.getList(this.queryParams);
  713. });
  714. },
  715. //归档详情
  716. caseFilingDetails(val) {
  717. this.showarchiveDetails = true;
  718. this.caseFilingData = val;
  719. let vals = { id: val.id };
  720. caseApplicationSelectById(vals).then((res) => {
  721. res.data.affiliate.respondentSex = Number(
  722. res.data.affiliate.respondentSex
  723. );
  724. this.detailsAwardNum = res.data;
  725. console.log(this.detailsAwardNum);
  726. this.flagLoadingS = false;
  727. });
  728. },
  729. cancelDetail() {
  730. this.showarchiveDetails = false;
  731. },
  732. },
  733. };
  734. </script>
  735. <style lang="scss" scoped></style>