hanchaobo 2 years ago
parent
commit
53ca46a5f5

BIN
public/favicon.ico View File


BIN
public/favicon1.ico View File


+ 10
- 0
src/api/system/homepage.js View File

1
+import request from '@/utils/request'
2
+
3
+// 查询首页待办
4
+export function todoCount(data) {
5
+    return request({
6
+        url: '/caseApplication/todoCount',
7
+        method: 'get',
8
+        params: data
9
+    })
10
+}

BIN
src/assets/images/daiban.png View File


BIN
src/assets/images/logo.png View File


BIN
src/assets/images/logos.png View File


BIN
src/assets/logo/logo.png View File


+ 203
- 177
src/views/caseManagement/caseList.vue View File

72
                         icon="el-icon-edit">查看缴费单</el-button>
72
                         icon="el-icon-edit">查看缴费单</el-button>
73
                     <el-button size="mini" type="text" icon="el-icon-edit" @click="evidenceUpload(scope.row)"
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>
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"
76
-                        v-if="scope.row.caseFlowId == 15 || scope.row.caseFlowId == 16 || scope.row.caseFlowId == 17"
77
-                        @click="caseFilingDetails(scope.row)">归档详情</el-button>
78
-                    <div class="btnList" v-for="(item) in buttonList" :key="item.id">
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">
79
                         <el-button size="mini" type="text" icon="el-icon-tickets" @click="caseClick(scope.row, item.id)"
80
                         <el-button size="mini" type="text" icon="el-icon-tickets" @click="caseClick(scope.row, item.id)"
80
-                            v-if="item.id == scope.row.caseFlowId && checkPermi([item.buttonAuthFlag]) && scope.row.signButtonFlag != 1">{{
81
-                                item.nodeName }}</el-button>
81
+                            v-if="item.id == scope.row.caseFlowId &&
82
+                                checkPermi([item.buttonAuthFlag]) &&
83
+                                scope.row.signButtonFlag != 1
84
+                                ">{{ item.nodeName }}</el-button>
82
                     </div>
85
                     </div>
83
                 </template>
86
                 </template>
84
             </el-table-column>
87
             </el-table-column>
143
 </template>
146
 </template>
144
 
147
 
145
 <script>
148
 <script>
146
-import { caseApplicationList, caseApplicationSelectById, submitCaseApply, selectPaymentDetail, sealApply, selectSealUrl, listCaseLogRecord, msCaseFile, msCaseSign, listDeptApplied, msCaseSignUrlApplyPC } from '@/api/caseManagement/caseManagement.js'
147
-import { listDept } from '@/api/system/dept.js'
148
-import { queryCaseFlowInfo } from '@/api/caseprocessManagement/caseprocessManagement.js'
149
+import {
150
+    caseApplicationList,
151
+    caseApplicationSelectById,
152
+    submitCaseApply,
153
+    selectPaymentDetail,
154
+    sealApply,
155
+    selectSealUrl,
156
+    listCaseLogRecord,
157
+    msCaseFile,
158
+    msCaseSign,
159
+    listDeptApplied,
160
+    msCaseSignUrlApplyPC,
161
+} from "@/api/caseManagement/caseManagement.js";
162
+import { listDept } from "@/api/system/dept.js";
163
+import { queryCaseFlowInfo } from "@/api/caseprocessManagement/caseprocessManagement.js";
149
 import moment from "moment";
164
 import moment from "moment";
150
-import addCase from './components/addCase.vue'
151
-import evidenceDialog from './components/evidenceDialog.vue';
152
-import caseCompressionPackage from './components/caseCompressionPackage.vue';
153
-import mediationCaseDetails from './components/mediationCaseDetails.vue'
154
-import mediationCaseLog from './components/mediationCaseLog.vue'
165
+import addCase from "./components/addCase.vue";
166
+import evidenceDialog from "./components/evidenceDialog.vue";
167
+import caseCompressionPackage from "./components/caseCompressionPackage.vue";
168
+import mediationCaseDetails from "./components/mediationCaseDetails.vue";
169
+import mediationCaseLog from "./components/mediationCaseLog.vue";
155
 import payDialog from "./components/payDialog.vue";
170
 import payDialog from "./components/payDialog.vue";
156
-import respondentPay from "./components/respondentPay.vue"
157
-import paymentdetailsDialog from './components/paymentdetailsDialog.vue'
158
-import caseAcceptance from './components/caseAcceptance.vue'
159
-import selectMediator from './components/selectMediator.vue'
160
-import confirmMediator from './components/confirmMediator.vue'
161
-import departmentMediator from './components/departmentMediator.vue'
162
-import timeConfirm from './components/timeConfirm.vue'
163
-import mediation from './components/mediation.vue'
164
-import confirmMediation from './components/confirmMediation.vue'
165
-import caseFilingDetailsPage from './components/caseFilingDetailsPage.vue'
171
+import respondentPay from "./components/respondentPay.vue";
172
+import paymentdetailsDialog from "./components/paymentdetailsDialog.vue";
173
+import caseAcceptance from "./components/caseAcceptance.vue";
174
+import selectMediator from "./components/selectMediator.vue";
175
+import confirmMediator from "./components/confirmMediator.vue";
176
+import departmentMediator from "./components/departmentMediator.vue";
177
+import timeConfirm from "./components/timeConfirm.vue";
178
+import mediation from "./components/mediation.vue";
179
+import confirmMediation from "./components/confirmMediation.vue";
180
+import caseFilingDetailsPage from "./components/caseFilingDetailsPage.vue";
166
 export default {
181
 export default {
167
     name: "caseList",
182
     name: "caseList",
168
     dicts: ["case_flow_node"],
183
     dicts: ["case_flow_node"],
175
         payDialog,
190
         payDialog,
176
         paymentdetailsDialog,
191
         paymentdetailsDialog,
177
         caseAcceptance,
192
         caseAcceptance,
178
-        selectMediator,//调解员弹窗
193
+        selectMediator, //调解员弹窗
179
         confirmMediator,
194
         confirmMediator,
180
         departmentMediator,
195
         departmentMediator,
181
         timeConfirm,
196
         timeConfirm,
182
         mediation,
197
         mediation,
183
         confirmMediation,
198
         confirmMediation,
184
         caseFilingDetailsPage,
199
         caseFilingDetailsPage,
185
-        respondentPay
200
+        respondentPay,
186
     },
201
     },
187
     data() {
202
     data() {
188
         return {
203
         return {
199
             // 校验表单
214
             // 校验表单
200
             rules: {},
215
             rules: {},
201
             dataList: [],
216
             dataList: [],
202
-            addVisable: false,//新增弹窗
217
+            addVisable: false, //新增弹窗
203
             openPay: false, //缴费弹框
218
             openPay: false, //缴费弹框
204
-            openResPay: false,//被申请人缴费弹窗
219
+            openResPay: false, //被申请人缴费弹窗
205
             formPayDetail: {},
220
             formPayDetail: {},
206
             formResPayDetail: {},
221
             formResPayDetail: {},
207
             payId: null,
222
             payId: null,
208
             resPayId: null,
223
             resPayId: null,
209
             payForm: {},
224
             payForm: {},
210
             resPayForm: {},
225
             resPayForm: {},
211
-            openCompressedPackages: false,//压缩包导入弹窗
212
-            processVisable: false,//案件详情
213
-            showcaseLog: false,//案件日志
214
-            openDialog: false,//确认缴费和缴费详情
226
+            openCompressedPackages: false, //压缩包导入弹窗
227
+            processVisable: false, //案件详情
228
+            showcaseLog: false, //案件日志
229
+            openDialog: false, //确认缴费和缴费详情
215
             detailform: {}, //缴费详情数据
230
             detailform: {}, //缴费详情数据
216
-            evidenceVisable: false,//证据修改弹窗
217
-            mediationVisable: false,//待调解弹窗
231
+            evidenceVisable: false, //证据修改弹窗
232
+            mediationVisable: false, //待调解弹窗
218
             mediationData: {},
233
             mediationData: {},
219
-            payTitle: "",//缴费标题
220
-            resPayTitle: '',//被申请人缴费标题
221
-            paymentConfirma: {},//缴费确认
222
-            showAcceptance: false,//案件受理弹框
223
-            caseAcceptanceData: {},//案件受理数据
224
-            mediatorVisable: false,//选择调解员弹窗
225
-            timeVisable: false,//预约时间弹窗
226
-            confirmVisable: false,//确认时间/调解员
227
-            caseFlowNumber: {},//案件流程数据
228
-            caselogDataArr: [],//案件日志数据
234
+            payTitle: "", //缴费标题
235
+            resPayTitle: "", //被申请人缴费标题
236
+            paymentConfirma: {}, //缴费确认
237
+            showAcceptance: false, //案件受理弹框
238
+            caseAcceptanceData: {}, //案件受理数据
239
+            mediatorVisable: false, //选择调解员弹窗
240
+            timeVisable: false, //预约时间弹窗
241
+            confirmVisable: false, //确认时间/调解员
242
+            caseFlowNumber: {}, //案件流程数据
243
+            caselogDataArr: [], //案件日志数据
229
             flagLoading: true, //案件日志弹框loading
244
             flagLoading: true, //案件日志弹框loading
230
-            confirmTionVisable: false,//确认调解书弹窗
231
-            addModifyData: null,//新增修改传的参数
232
-            showarchiveDetails: false,//归档详情弹窗
245
+            confirmTionVisable: false, //确认调解书弹窗
246
+            addModifyData: null, //新增修改传的参数
247
+            showarchiveDetails: false, //归档详情弹窗
233
             detailsAwardNum: {},
248
             detailsAwardNum: {},
234
             flagLoadingS: true,
249
             flagLoadingS: true,
235
             formPayDetailAffiliate: {},
250
             formPayDetailAffiliate: {},
239
             caseData: {},
254
             caseData: {},
240
             evidenceData: {},
255
             evidenceData: {},
241
             caseDisabled: false,
256
             caseDisabled: false,
242
-            caseTime: '',
257
+            caseTime: "",
243
             deptList: [],
258
             deptList: [],
244
-            payTitle: '',
259
+            payTitle: "",
245
             tabFlag: false,
260
             tabFlag: false,
246
             confirmData: {},
261
             confirmData: {},
247
             departmentVisable: false,
262
             departmentVisable: false,
250
             timeConfirmData: {},
265
             timeConfirmData: {},
251
             confirmTionData: {},
266
             confirmTionData: {},
252
             buttonList: [],
267
             buttonList: [],
253
-            caseStausArr: [],//案件状态
268
+            caseStausArr: [], //案件状态
254
             isapplicant: true, //判断角色申请人或非申请人
269
             isapplicant: true, //判断角色申请人或非申请人
255
-            caseFilingData: {}
270
+            caseFilingData: {},
256
         };
271
         };
257
     },
272
     },
258
     created() {
273
     created() {
259
-        this.getList(this.queryParams);
260
-        this.listDeptFn()
261
-        this.getButtonList()
274
+        // this.getList(this.queryParams);
275
+        this.listDeptFn();
276
+        // this.getButtonList()
277
+        queryCaseFlowInfo({
278
+            pageNum: 1,
279
+            pageSize: 100000,
280
+        }).then((res) => {
281
+            res.rows.forEach((item) => {
282
+                if (item.id != 17) {
283
+                    this.buttonList.push(item);
284
+                }
285
+                this.caseStausArr.push(item);
286
+            });
287
+            if (this.$route.query.caseFlowId) {
288
+                let querydata = Number(this.$route.query.caseFlowId);
289
+                if (querydata > 0) {
290
+                    this.$set(this.queryParams, 'caseFlowId', querydata)
291
+                }
292
+            }
293
+            this.getList(this.queryParams);
294
+        });
262
     },
295
     },
263
     methods: {
296
     methods: {
264
         /**所有按钮事件 */
297
         /**所有按钮事件 */
289
                 this.timeConfirm(val);
322
                 this.timeConfirm(val);
290
             } else if (type == 9) {
323
             } else if (type == 9) {
291
                 // 调解
324
                 // 调解
292
-                this.mediationClick(val)
325
+                this.mediationClick(val);
293
             } else if (type == 10) {
326
             } else if (type == 10) {
294
                 // 确认调解书
327
                 // 确认调解书
295
-                this.confirmMediation(val)
328
+                this.confirmMediation(val);
296
             } else if (type == 11) {
329
             } else if (type == 11) {
297
                 // 签名
330
                 // 签名
298
-                this.msCaseSignUrlApplyPCFn(val)
331
+                this.msCaseSignUrlApplyPCFn(val);
299
             } else if (type == 12) {
332
             } else if (type == 12) {
300
                 // 用印申请
333
                 // 用印申请
301
-                this.consultantApplica(val)
334
+                this.consultantApplica(val);
302
             } else if (type == 13) {
335
             } else if (type == 13) {
303
                 // 用印
336
                 // 用印
304
-                this.departmentApplica(val)
337
+                this.departmentApplica(val);
305
             } else if (type == 14) {
338
             } else if (type == 14) {
306
                 // 归档
339
                 // 归档
307
                 this.caseFiling(val);
340
                 this.caseFiling(val);
308
             } else if (type == 15) {
341
             } else if (type == 15) {
309
                 // 申请人签收
342
                 // 申请人签收
310
-                this.signMediation(val)
343
+                this.signMediation(val);
311
             } else if (type == 16) {
344
             } else if (type == 16) {
312
                 // 被申请人签收
345
                 // 被申请人签收
313
-                this.receivedMediation(val)
346
+                this.receivedMediation(val);
314
             } else if (type == 17) {
347
             } else if (type == 17) {
315
                 //结束
348
                 //结束
316
             } else if (type == 44) {
349
             } else if (type == 44) {
317
                 // 被申请人缴费
350
                 // 被申请人缴费
318
-                this.resPayStatus(val)
351
+                this.resPayStatus(val);
319
             }
352
             }
320
         },
353
         },
321
         /**查询按钮列表 */
354
         /**查询按钮列表 */
322
-        getButtonList() {
323
-            queryCaseFlowInfo({
324
-                pageNum: 1,
325
-                pageSize: 100000
326
-            }).then(res => {
327
-                console.log(res)
328
-                res.rows.forEach(item => {
329
-                    if (item.id != 17) {
330
-                        this.buttonList.push(item)
331
-                    }
332
-                    this.caseStausArr.push(item)
333
-                });
334
-            })
335
-        },
355
+        getButtonList() { },
336
         /** 新增案件 */
356
         /** 新增案件 */
337
         addCase() {
357
         addCase() {
338
             this.addModifyData = 1;
358
             this.addModifyData = 1;
351
         },
371
         },
352
         /** 修改案件 */
372
         /** 修改案件 */
353
         eidtNodeprocess(row) {
373
         eidtNodeprocess(row) {
354
-            this.addModifyData = 3
374
+            this.addModifyData = 3;
355
             this.addVisable = true;
375
             this.addVisable = true;
356
             this.caseData = row;
376
             this.caseData = row;
357
-            this.$set(this.caseData, 'flag', 2)
377
+            this.$set(this.caseData, "flag", 2);
358
             this.caseDisabled = false;
378
             this.caseDisabled = false;
359
             this.tabFlag = false;
379
             this.tabFlag = false;
360
         },
380
         },
401
             //         this.$modal.msgSuccess("立案申请成功");
421
             //         this.$modal.msgSuccess("立案申请成功");
402
             //     })
422
             //     })
403
             //     .catch(() => { });
423
             //     .catch(() => { });
404
-            msCaseSignUrlApplyPC({ caseId: row.id }).then(res => {
424
+            msCaseSignUrlApplyPC({ caseId: row.id }).then((res) => {
405
                 console.log(res, "PPPPPPPPPPPPPPPPPPPP");
425
                 console.log(res, "PPPPPPPPPPPPPPPPPPPP");
406
                 window.open(res.data.sealUrl);
426
                 window.open(res.data.sealUrl);
407
-            })
427
+            });
408
         },
428
         },
409
         /** 选择调解员 */
429
         /** 选择调解员 */
410
         selectMediator(val) {
430
         selectMediator(val) {
459
         /** 时间改变处理 */
479
         /** 时间改变处理 */
460
         caseTimeChange() {
480
         caseTimeChange() {
461
             if (this.caseTime) {
481
             if (this.caseTime) {
462
-                this.queryParams.startTime = moment(
463
-                    this.caseTime[0]
464
-                ).format("YYYY-MM-DD HH:mm:ss");
465
-                this.queryParams.endTime = moment(
466
-                    this.caseTime[1]
467
-                ).format("YYYY-MM-DD HH:mm:ss");
482
+                this.queryParams.startTime = moment(this.caseTime[0]).format(
483
+                    "YYYY-MM-DD HH:mm:ss"
484
+                );
485
+                this.queryParams.endTime = moment(this.caseTime[1]).format(
486
+                    "YYYY-MM-DD HH:mm:ss"
487
+                );
468
             } else {
488
             } else {
469
-                this.queryParams.startTime = '';
470
-                this.queryParams.endTime = '';
489
+                this.queryParams.startTime = "";
490
+                this.queryParams.endTime = "";
471
             }
491
             }
472
-
473
         },
492
         },
474
         /** 获取所有部门 */
493
         /** 获取所有部门 */
475
         listDeptFn() {
494
         listDeptFn() {
476
-            listDeptApplied().then(res => {
495
+            listDeptApplied().then((res) => {
477
                 this.deptList = res.data;
496
                 this.deptList = res.data;
478
-            })
497
+            });
479
         },
498
         },
480
         /** 修改证据 */
499
         /** 修改证据 */
481
         evidenceUpload(row) {
500
         evidenceUpload(row) {
547
                 this.dataList = response.rows;
566
                 this.dataList = response.rows;
548
                 this.total = response.total;
567
                 this.total = response.total;
549
                 this.loading = false;
568
                 this.loading = false;
550
-            })
569
+            });
551
         },
570
         },
552
         // 法律顾问用印申请
571
         // 法律顾问用印申请
553
         consultantApplica(row) {
572
         consultantApplica(row) {
554
             let paramsValue = {
573
             let paramsValue = {
555
                 caseId: row.id,
574
                 caseId: row.id,
556
                 batchNumber: "",
575
                 batchNumber: "",
557
-                caseFlowId: row.caseFlowId
558
-            }
559
-            this.$modal.confirm("你确定要用印申请吗?").then((res) => {
560
-                sealApply(paramsValue).then(res => {
561
-                    this.getList(this.queryParams);
562
-                    this.$modal.msgSuccess("用印申请成功");
576
+                caseFlowId: row.caseFlowId,
577
+            };
578
+            this.$modal
579
+                .confirm("你确定要用印申请吗?")
580
+                .then((res) => {
581
+                    sealApply(paramsValue).then((res) => {
582
+                        this.getList(this.queryParams);
583
+                        this.$modal.msgSuccess("用印申请成功");
584
+                    });
563
                 })
585
                 })
564
-            }).catch(() => {
565
-
566
-            })
586
+                .catch(() => { });
567
         },
587
         },
568
         // 部门长用印申请
588
         // 部门长用印申请
569
         departmentApplica(row) {
589
         departmentApplica(row) {
570
-            this.$modal.confirm("你确定要用印确认吗?").then((res) => {
571
-                let paramsValue = {
572
-                    caseId: row.id
573
-                }
574
-                selectSealUrl(paramsValue).then(res => {
575
-                    window.open(res.data.sealUrl)
576
-                    this.$modal.confirm("你确认用印了吗?").then((res) => {
577
-                        this.getList(this.queryParams);
578
-                    }).catch(() => {
579
-
580
-                    })
590
+            this.$modal
591
+                .confirm("你确定要用印确认吗?")
592
+                .then((res) => {
593
+                    let paramsValue = {
594
+                        caseId: row.id,
595
+                    };
596
+                    selectSealUrl(paramsValue).then((res) => {
597
+                        window.open(res.data.sealUrl);
598
+                        this.$modal
599
+                            .confirm("你确认用印了吗?")
600
+                            .then((res) => {
601
+                                this.getList(this.queryParams);
602
+                            })
603
+                            .catch(() => { });
604
+                    });
581
                 })
605
                 })
582
-            }).catch(() => {
583
-
584
-            })
606
+                .catch(() => { });
585
         },
607
         },
586
         // 案件受理
608
         // 案件受理
587
         caseAccep(row) {
609
         caseAccep(row) {
588
-            this.caseAcceptanceData = row
589
-            this.showAcceptance = true
610
+            this.caseAcceptanceData = row;
611
+            this.showAcceptance = true;
590
         },
612
         },
591
         cancelAcceptance() {
613
         cancelAcceptance() {
592
-            this.showAcceptance = false
614
+            this.showAcceptance = false;
593
         },
615
         },
594
         // 缴费确认
616
         // 缴费确认
595
         paymentconfirmationRow(row, type) {
617
         paymentconfirmationRow(row, type) {
596
-            this.paymentConfirma = row
597
-            console.log(this.paymentConfirma)
618
+            this.paymentConfirma = row;
619
+            console.log(this.paymentConfirma);
598
             this.paymentDetails({
620
             this.paymentDetails({
599
-                id: row.id
600
-            })
601
-            this.openDialog = true
602
-            this.payTitle = "缴费确认"
621
+                id: row.id,
622
+            });
623
+            this.openDialog = true;
624
+            this.payTitle = "缴费确认";
603
             this.flag = 0;
625
             this.flag = 0;
604
-            this.detailform = {}
626
+            this.detailform = {};
605
             if (type == 3) {
627
             if (type == 3) {
606
                 // 申请人
628
                 // 申请人
607
-                this.isapplicant = true
629
+                this.isapplicant = true;
608
             } else {
630
             } else {
609
-                this.isapplicant = false
631
+                this.isapplicant = false;
610
             }
632
             }
611
         },
633
         },
612
         cancelpaymentdetails() {
634
         cancelpaymentdetails() {
613
-            this.openDialog = false
635
+            this.openDialog = false;
614
         },
636
         },
615
         // 查看缴费确认
637
         // 查看缴费确认
616
         viewpaymentformRow(row) {
638
         viewpaymentformRow(row) {
617
             this.paymentDetails({
639
             this.paymentDetails({
618
-                id: row.id
619
-            })
620
-            this.payTitle = "缴费单详情"
640
+                id: row.id,
641
+            });
642
+            this.payTitle = "缴费单详情";
621
             this.flag = 1;
643
             this.flag = 1;
622
-            this.detailform = {}
623
-            this.openDialog = true
644
+            this.detailform = {};
645
+            this.openDialog = true;
624
         },
646
         },
625
         // 缴费详情
647
         // 缴费详情
626
         paymentDetails(val) {
648
         paymentDetails(val) {
627
-            selectPaymentDetail(val).then(res => {
649
+            selectPaymentDetail(val).then((res) => {
628
                 this.detailform = res.data;
650
                 this.detailform = res.data;
629
-            })
651
+            });
630
         },
652
         },
631
         //案件流程
653
         //案件流程
632
         caseFlow(row) {
654
         caseFlow(row) {
633
-            this.caseFlowNumber = row
634
-            this.processVisable = true
655
+            this.caseFlowNumber = row;
656
+            this.processVisable = true;
635
         },
657
         },
636
         cancelViewProcess() {
658
         cancelViewProcess() {
637
-            this.processVisable = false
659
+            this.processVisable = false;
638
         },
660
         },
639
         //案件日志
661
         //案件日志
640
         caseLog(row) {
662
         caseLog(row) {
641
-            this.caseLogNumber = row
642
-            this.showcaseLog = true
663
+            this.caseLogNumber = row;
664
+            this.showcaseLog = true;
643
             this.flagLoading = true;
665
             this.flagLoading = true;
644
-            listCaseLogRecord({ caseId: row.id }).then(res => {
645
-                this.caselogDataArr = res.data
666
+            listCaseLogRecord({ caseId: row.id }).then((res) => {
667
+                this.caselogDataArr = res.data;
646
                 this.flagLoading = false;
668
                 this.flagLoading = false;
647
-            })
669
+            });
648
         },
670
         },
649
         cancelcaseLog() {
671
         cancelcaseLog() {
650
-            this.showcaseLog = false
672
+            this.showcaseLog = false;
651
         },
673
         },
652
         // 案件送达
674
         // 案件送达
653
         caseFiling(row) {
675
         caseFiling(row) {
654
-            console.log(row.id)
676
+            console.log(row.id);
655
             let paramValues = {
677
             let paramValues = {
656
-                ids: [row.id]
657
-            }
658
-            this.$modal.confirm("你确定要案件送达吗?").then((res) => {
659
-                msCaseFile(paramValues).then(res => {
660
-                    this.$modal.msgSuccess("案件送达成功");
661
-                    this.getList(this.queryParams);
678
+                ids: [row.id],
679
+            };
680
+            this.$modal
681
+                .confirm("你确定要案件送达吗?")
682
+                .then((res) => {
683
+                    msCaseFile(paramValues).then((res) => {
684
+                        this.$modal.msgSuccess("案件送达成功");
685
+                        this.getList(this.queryParams);
686
+                    });
662
                 })
687
                 })
663
-            }).catch(() => {
664
-
665
-            })
688
+                .catch(() => { });
666
         },
689
         },
667
         //申请人签收调解书
690
         //申请人签收调解书
668
         signMediation(row) {
691
         signMediation(row) {
669
-            this.$modal.confirm("你确定要签收调解书吗?").then((res) => {
670
-                this.signingMediationAgreement({ caseId: row.id, isSignApply: 1 })
671
-            }).catch(() => {
672
-
673
-            })
692
+            this.$modal
693
+                .confirm("你确定要签收调解书吗?")
694
+                .then((res) => {
695
+                    this.signingMediationAgreement({ caseId: row.id, isSignApply: 1 });
696
+                })
697
+                .catch(() => { });
674
         },
698
         },
675
         //被申请人签收调解书
699
         //被申请人签收调解书
676
         receivedMediation(row) {
700
         receivedMediation(row) {
677
-            this.$modal.confirm("你确定要签收调解书吗?").then((res) => {
678
-                this.signingMediationAgreement({ caseId: row.id, isSignRespon: 1 })
679
-            }).catch(() => {
680
-
681
-            })
701
+            this.$modal
702
+                .confirm("你确定要签收调解书吗?")
703
+                .then((res) => {
704
+                    this.signingMediationAgreement({ caseId: row.id, isSignRespon: 1 });
705
+                })
706
+                .catch(() => { });
682
         },
707
         },
683
         // 申请人和被申请人签收调解书接口
708
         // 申请人和被申请人签收调解书接口
684
         signingMediationAgreement(val) {
709
         signingMediationAgreement(val) {
685
-            console.log(val)
686
-            msCaseSign(val).then(res => {
710
+            console.log(val);
711
+            msCaseSign(val).then((res) => {
687
                 this.$modal.msgSuccess("签收成功");
712
                 this.$modal.msgSuccess("签收成功");
688
                 this.getList(this.queryParams);
713
                 this.getList(this.queryParams);
689
-            })
714
+            });
690
         },
715
         },
691
         //归档详情
716
         //归档详情
692
         caseFilingDetails(val) {
717
         caseFilingDetails(val) {
693
             this.showarchiveDetails = true;
718
             this.showarchiveDetails = true;
694
             this.caseFilingData = val;
719
             this.caseFilingData = val;
695
-            let vals = { id: val.id }
696
-            caseApplicationSelectById(vals).then(res => {
697
-                res.data.affiliate.respondentSex = Number(res.data.affiliate.respondentSex)
698
-                this.detailsAwardNum = res.data
699
-                console.log(this.detailsAwardNum)
700
-                this.flagLoadingS = false
701
-            })
720
+            let vals = { id: val.id };
721
+            caseApplicationSelectById(vals).then((res) => {
722
+                res.data.affiliate.respondentSex = Number(
723
+                    res.data.affiliate.respondentSex
724
+                );
725
+                this.detailsAwardNum = res.data;
726
+                console.log(this.detailsAwardNum);
727
+                this.flagLoadingS = false;
728
+            });
702
         },
729
         },
703
         cancelDetail() {
730
         cancelDetail() {
704
-            this.showarchiveDetails = false
705
-        }
706
-
731
+            this.showarchiveDetails = false;
732
+        },
707
     },
733
     },
708
 };
734
 };
709
 </script>
735
 </script>

+ 5
- 2
src/views/caseManagement/components/mediation.vue View File

188
         this.caseApplicationSelectByIdFn({
188
         this.caseApplicationSelectByIdFn({
189
           id: this.mediationData.id
189
           id: this.mediationData.id
190
         });
190
         });
191
-        this.getUser();
191
+        this.getUser(); 
192
       }
192
       }
193
     }
193
     }
194
   },
194
   },
199
       secretaryRoleByUserId({
199
       secretaryRoleByUserId({
200
         userId: this.userId
200
         userId: this.userId
201
       }).then(res => {
201
       }).then(res => {
202
-        this.isSecretaryRole = res.data.isSecretaryRole;
202
+         this.isSecretaryRole = res.data.isSecretaryRole;
203
+         if(this.recordArrMediate){
204
+          this.isSecretaryRole = false
205
+        }
203
       })
206
       })
204
     },
207
     },
205
     /**上传地址*/
208
     /**上传地址*/

+ 105
- 3
src/views/index.vue View File

1
 <template>
1
 <template>
2
   <div class="app-container home">
2
   <div class="app-container home">
3
-    调解系统
3
+    <div class="header">
4
+      <div class="iconTitle"></div>
5
+      <div class="headerMain">我的待办</div>
6
+    </div>
7
+    <div class="homeMain">
8
+      <div class="cardList" v-for="(item, index) in pendingTasks" :key="index" @click="pushPage(item.caseFlowId)">
9
+        <div class="badge">{{item.caseCount}}</div>
10
+        <div class="cardMain">
11
+          <img class="iconImg" src="@/assets/images/daiban.png" alt="" />
12
+        </div>
13
+        <div class="cardMain">
14
+          <div class="imgTitle">{{ item.caseStatusName }}</div>
15
+        </div>
16
+      </div>
17
+    </div>
4
   </div>
18
   </div>
5
 </template>
19
 </template>
6
 
20
 
7
 <script>
21
 <script>
22
+import { todoCount } from "@/api/system/homepage.js";
8
 export default {
23
 export default {
9
   name: "Index",
24
   name: "Index",
10
   data() {
25
   data() {
11
     return {
26
     return {
12
       // 版本号
27
       // 版本号
13
-      version: "3.8.6"
28
+      version: "3.8.6",
29
+      pendingTasks: [], //案件代办状态
14
     };
30
     };
15
   },
31
   },
32
+  created() {
33
+    this.gettodoCount();
34
+  },
16
   methods: {
35
   methods: {
17
     goTarget(href) {
36
     goTarget(href) {
18
       window.open(href, "_blank");
37
       window.open(href, "_blank");
38
+    },
39
+    // 查询代办状态
40
+    gettodoCount() {
41
+      todoCount({}).then((res) => {
42
+      this.pendingTasks = res.data.toDoCountList
43
+      console.log(res.data.toDoCountList, "this.pendingTasks");
44
+      });
45
+    },
46
+    // 点击待办按钮跳转
47
+    pushPage(status) {
48
+      this.$router.push({ path: '/caseManagement/caseManagement/caseList', query: { caseFlowId: status + '' } })
19
     }
49
     }
20
-  }
50
+  },
21
 };
51
 };
22
 </script>
52
 </script>
23
 
53
 
24
 <style scoped lang="scss">
54
 <style scoped lang="scss">
55
+.home {
56
+  font-family: "open sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
57
+  font-size: 13px;
58
+  color: #676a6c;
59
+  overflow-x: hidden;
60
+  background-color: #f1f1f1;
61
+  height: 100vh;
62
+
63
+  .header {
64
+    width: 100%;
65
+    height: 80px;
66
+    display: flex;
67
+    align-items: center;
68
+
69
+    .iconTitle {
70
+      width: 5px;
71
+      height: 25px;
72
+      background-color: #0f5c9b;
73
+      margin-right: 25px;
74
+    }
75
+
76
+    .headerMain {
77
+      font-size: 20px;
78
+    }
79
+  }
80
+
81
+  .homeMain {
82
+    width: 100%;
83
+    display: flex;
84
+    flex-wrap: wrap;
85
+
86
+    .cardList {
87
+      width: 13%;
88
+      height: 200px;
89
+      border-radius: 30px;
90
+      background-color: #ffffff;
91
+      position: relative;
92
+      margin-right: 38px;
93
+      margin-bottom: 30px;
94
+
95
+      .badge {
96
+        width: 50px;
97
+        height: 30px;
98
+        text-align: center;
99
+        line-height: 30px;
100
+        font-size: 18px;
101
+        font-weight: 500;
102
+        color: #e32a4f;
103
+        border-radius: 10px 30px 10px 30px;
104
+        background-color: #05baf1;
105
+        position: absolute;
106
+        right: 0;
107
+      }
25
 
108
 
109
+      .cardMain {
110
+        width: 100%;
111
+        display: flex;
112
+        justify-content: center;
113
+        margin-top: 20px;
114
+
115
+        .iconImg {
116
+          width: 100px;
117
+          height: 110px;
118
+        }
119
+
120
+        .imgTitle {
121
+          font-size: 15px;
122
+          font-weight: 900;
123
+        }
124
+      }
125
+    }
126
+  }
127
+}
26
 </style>
128
 </style>
27
 
129
 

+ 13
- 9
src/views/login.vue View File

67
     </div>
67
     </div>
68
     <!--  底部  -->
68
     <!--  底部  -->
69
     <div class="el-login-footer">
69
     <div class="el-login-footer">
70
-      <span>Copyright © 2023 乙巢(上海)企业管理服务有限公司.</span>
70
+      <div>Copyright © 2023 乙巢(上海)企业管理服务有限公司.</div>
71
+      <div>Version:1.0.1</div>
71
     </div>
72
     </div>
72
   </div>
73
   </div>
73
 </template>
74
 </template>
176
     width: 50%;
177
     width: 50%;
177
     height: 90%;
178
     height: 90%;
178
     .leftIcon {
179
     .leftIcon {
179
-      height: 10%;
180
+      height: 20%;
180
       width: 100%;
181
       width: 100%;
181
-      margin: 5% 10% 1% 15%;
182
+      margin: 0% 10% 1% 15%;
182
       .Icon {
183
       .Icon {
183
-        width: 45px;
184
-        height: 45px;
185
-        background-image: url("../assets/images/mediate.svg");
184
+        width: 100px;
185
+        height: 105px;
186
+        background-image: url("../assets/images/logos.png");
186
         background-size: cover;
187
         background-size: cover;
187
       }
188
       }
188
       div {
189
       div {
189
-        font-size: 17px;
190
+        font-size: 18px;
190
       }
191
       }
191
     }
192
     }
192
     .leftImage {
193
     .leftImage {
247
 }
248
 }
248
 .el-login-footer {
249
 .el-login-footer {
249
   background-color: rgb(126, 131, 135);
250
   background-color: rgb(126, 131, 135);
250
-  height: 40px;
251
-  line-height: 40px;
251
+  height: 55px;
252
+  line-height: 55px;
252
   position: fixed;
253
   position: fixed;
253
   bottom: 0;
254
   bottom: 0;
254
   width: 100%;
255
   width: 100%;
257
   font-family: Arial;
258
   font-family: Arial;
258
   font-size: 12px;
259
   font-size: 12px;
259
   letter-spacing: 1px;
260
   letter-spacing: 1px;
261
+  div {
262
+    height: 30%;
263
+  }
260
 }
264
 }
261
 .login-code-img {
265
 .login-code-img {
262
   height: 38px;
266
   height: 38px;