hanchaobo il y a 2 ans
Parent
révision
53ca46a5f5

BIN
public/favicon.ico Voir le fichier


BIN
public/favicon1.ico Voir le fichier


+ 10
- 0
src/api/system/homepage.js Voir le fichier

@@ -0,0 +1,10 @@
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 Voir le fichier


BIN
src/assets/images/logo.png Voir le fichier


BIN
src/assets/images/logos.png Voir le fichier


BIN
src/assets/logo/logo.png Voir le fichier


+ 203
- 177
src/views/caseManagement/caseList.vue Voir le fichier

@@ -72,13 +72,16 @@
72 72
                         icon="el-icon-edit">查看缴费单</el-button>
73 73
                     <el-button size="mini" type="text" icon="el-icon-edit" @click="evidenceUpload(scope.row)"
74 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 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 85
                     </div>
83 86
                 </template>
84 87
             </el-table-column>
@@ -143,26 +146,38 @@
143 146
 </template>
144 147
 
145 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 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 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 181
 export default {
167 182
     name: "caseList",
168 183
     dicts: ["case_flow_node"],
@@ -175,14 +190,14 @@ export default {
175 190
         payDialog,
176 191
         paymentdetailsDialog,
177 192
         caseAcceptance,
178
-        selectMediator,//调解员弹窗
193
+        selectMediator, //调解员弹窗
179 194
         confirmMediator,
180 195
         departmentMediator,
181 196
         timeConfirm,
182 197
         mediation,
183 198
         confirmMediation,
184 199
         caseFilingDetailsPage,
185
-        respondentPay
200
+        respondentPay,
186 201
     },
187 202
     data() {
188 203
         return {
@@ -199,37 +214,37 @@ export default {
199 214
             // 校验表单
200 215
             rules: {},
201 216
             dataList: [],
202
-            addVisable: false,//新增弹窗
217
+            addVisable: false, //新增弹窗
203 218
             openPay: false, //缴费弹框
204
-            openResPay: false,//被申请人缴费弹窗
219
+            openResPay: false, //被申请人缴费弹窗
205 220
             formPayDetail: {},
206 221
             formResPayDetail: {},
207 222
             payId: null,
208 223
             resPayId: null,
209 224
             payForm: {},
210 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 230
             detailform: {}, //缴费详情数据
216
-            evidenceVisable: false,//证据修改弹窗
217
-            mediationVisable: false,//待调解弹窗
231
+            evidenceVisable: false, //证据修改弹窗
232
+            mediationVisable: false, //待调解弹窗
218 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 244
             flagLoading: true, //案件日志弹框loading
230
-            confirmTionVisable: false,//确认调解书弹窗
231
-            addModifyData: null,//新增修改传的参数
232
-            showarchiveDetails: false,//归档详情弹窗
245
+            confirmTionVisable: false, //确认调解书弹窗
246
+            addModifyData: null, //新增修改传的参数
247
+            showarchiveDetails: false, //归档详情弹窗
233 248
             detailsAwardNum: {},
234 249
             flagLoadingS: true,
235 250
             formPayDetailAffiliate: {},
@@ -239,9 +254,9 @@ export default {
239 254
             caseData: {},
240 255
             evidenceData: {},
241 256
             caseDisabled: false,
242
-            caseTime: '',
257
+            caseTime: "",
243 258
             deptList: [],
244
-            payTitle: '',
259
+            payTitle: "",
245 260
             tabFlag: false,
246 261
             confirmData: {},
247 262
             departmentVisable: false,
@@ -250,15 +265,33 @@ export default {
250 265
             timeConfirmData: {},
251 266
             confirmTionData: {},
252 267
             buttonList: [],
253
-            caseStausArr: [],//案件状态
268
+            caseStausArr: [], //案件状态
254 269
             isapplicant: true, //判断角色申请人或非申请人
255
-            caseFilingData: {}
270
+            caseFilingData: {},
256 271
         };
257 272
     },
258 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 296
     methods: {
264 297
         /**所有按钮事件 */
@@ -289,50 +322,37 @@ export default {
289 322
                 this.timeConfirm(val);
290 323
             } else if (type == 9) {
291 324
                 // 调解
292
-                this.mediationClick(val)
325
+                this.mediationClick(val);
293 326
             } else if (type == 10) {
294 327
                 // 确认调解书
295
-                this.confirmMediation(val)
328
+                this.confirmMediation(val);
296 329
             } else if (type == 11) {
297 330
                 // 签名
298
-                this.msCaseSignUrlApplyPCFn(val)
331
+                this.msCaseSignUrlApplyPCFn(val);
299 332
             } else if (type == 12) {
300 333
                 // 用印申请
301
-                this.consultantApplica(val)
334
+                this.consultantApplica(val);
302 335
             } else if (type == 13) {
303 336
                 // 用印
304
-                this.departmentApplica(val)
337
+                this.departmentApplica(val);
305 338
             } else if (type == 14) {
306 339
                 // 归档
307 340
                 this.caseFiling(val);
308 341
             } else if (type == 15) {
309 342
                 // 申请人签收
310
-                this.signMediation(val)
343
+                this.signMediation(val);
311 344
             } else if (type == 16) {
312 345
                 // 被申请人签收
313
-                this.receivedMediation(val)
346
+                this.receivedMediation(val);
314 347
             } else if (type == 17) {
315 348
                 //结束
316 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 357
         addCase() {
338 358
             this.addModifyData = 1;
@@ -351,10 +371,10 @@ export default {
351 371
         },
352 372
         /** 修改案件 */
353 373
         eidtNodeprocess(row) {
354
-            this.addModifyData = 3
374
+            this.addModifyData = 3;
355 375
             this.addVisable = true;
356 376
             this.caseData = row;
357
-            this.$set(this.caseData, 'flag', 2)
377
+            this.$set(this.caseData, "flag", 2);
358 378
             this.caseDisabled = false;
359 379
             this.tabFlag = false;
360 380
         },
@@ -401,10 +421,10 @@ export default {
401 421
             //         this.$modal.msgSuccess("立案申请成功");
402 422
             //     })
403 423
             //     .catch(() => { });
404
-            msCaseSignUrlApplyPC({ caseId: row.id }).then(res => {
424
+            msCaseSignUrlApplyPC({ caseId: row.id }).then((res) => {
405 425
                 console.log(res, "PPPPPPPPPPPPPPPPPPPP");
406 426
                 window.open(res.data.sealUrl);
407
-            })
427
+            });
408 428
         },
409 429
         /** 选择调解员 */
410 430
         selectMediator(val) {
@@ -459,23 +479,22 @@ export default {
459 479
         /** 时间改变处理 */
460 480
         caseTimeChange() {
461 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 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 494
         listDeptFn() {
476
-            listDeptApplied().then(res => {
495
+            listDeptApplied().then((res) => {
477 496
                 this.deptList = res.data;
478
-            })
497
+            });
479 498
         },
480 499
         /** 修改证据 */
481 500
         evidenceUpload(row) {
@@ -547,163 +566,170 @@ export default {
547 566
                 this.dataList = response.rows;
548 567
                 this.total = response.total;
549 568
                 this.loading = false;
550
-            })
569
+            });
551 570
         },
552 571
         // 法律顾问用印申请
553 572
         consultantApplica(row) {
554 573
             let paramsValue = {
555 574
                 caseId: row.id,
556 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 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 609
         caseAccep(row) {
588
-            this.caseAcceptanceData = row
589
-            this.showAcceptance = true
610
+            this.caseAcceptanceData = row;
611
+            this.showAcceptance = true;
590 612
         },
591 613
         cancelAcceptance() {
592
-            this.showAcceptance = false
614
+            this.showAcceptance = false;
593 615
         },
594 616
         // 缴费确认
595 617
         paymentconfirmationRow(row, type) {
596
-            this.paymentConfirma = row
597
-            console.log(this.paymentConfirma)
618
+            this.paymentConfirma = row;
619
+            console.log(this.paymentConfirma);
598 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 625
             this.flag = 0;
604
-            this.detailform = {}
626
+            this.detailform = {};
605 627
             if (type == 3) {
606 628
                 // 申请人
607
-                this.isapplicant = true
629
+                this.isapplicant = true;
608 630
             } else {
609
-                this.isapplicant = false
631
+                this.isapplicant = false;
610 632
             }
611 633
         },
612 634
         cancelpaymentdetails() {
613
-            this.openDialog = false
635
+            this.openDialog = false;
614 636
         },
615 637
         // 查看缴费确认
616 638
         viewpaymentformRow(row) {
617 639
             this.paymentDetails({
618
-                id: row.id
619
-            })
620
-            this.payTitle = "缴费单详情"
640
+                id: row.id,
641
+            });
642
+            this.payTitle = "缴费单详情";
621 643
             this.flag = 1;
622
-            this.detailform = {}
623
-            this.openDialog = true
644
+            this.detailform = {};
645
+            this.openDialog = true;
624 646
         },
625 647
         // 缴费详情
626 648
         paymentDetails(val) {
627
-            selectPaymentDetail(val).then(res => {
649
+            selectPaymentDetail(val).then((res) => {
628 650
                 this.detailform = res.data;
629
-            })
651
+            });
630 652
         },
631 653
         //案件流程
632 654
         caseFlow(row) {
633
-            this.caseFlowNumber = row
634
-            this.processVisable = true
655
+            this.caseFlowNumber = row;
656
+            this.processVisable = true;
635 657
         },
636 658
         cancelViewProcess() {
637
-            this.processVisable = false
659
+            this.processVisable = false;
638 660
         },
639 661
         //案件日志
640 662
         caseLog(row) {
641
-            this.caseLogNumber = row
642
-            this.showcaseLog = true
663
+            this.caseLogNumber = row;
664
+            this.showcaseLog = true;
643 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 668
                 this.flagLoading = false;
647
-            })
669
+            });
648 670
         },
649 671
         cancelcaseLog() {
650
-            this.showcaseLog = false
672
+            this.showcaseLog = false;
651 673
         },
652 674
         // 案件送达
653 675
         caseFiling(row) {
654
-            console.log(row.id)
676
+            console.log(row.id);
655 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 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 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 709
         signingMediationAgreement(val) {
685
-            console.log(val)
686
-            msCaseSign(val).then(res => {
710
+            console.log(val);
711
+            msCaseSign(val).then((res) => {
687 712
                 this.$modal.msgSuccess("签收成功");
688 713
                 this.getList(this.queryParams);
689
-            })
714
+            });
690 715
         },
691 716
         //归档详情
692 717
         caseFilingDetails(val) {
693 718
             this.showarchiveDetails = true;
694 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 730
         cancelDetail() {
704
-            this.showarchiveDetails = false
705
-        }
706
-
731
+            this.showarchiveDetails = false;
732
+        },
707 733
     },
708 734
 };
709 735
 </script>

+ 5
- 2
src/views/caseManagement/components/mediation.vue Voir le fichier

@@ -188,7 +188,7 @@ export default {
188 188
         this.caseApplicationSelectByIdFn({
189 189
           id: this.mediationData.id
190 190
         });
191
-        this.getUser();
191
+        this.getUser(); 
192 192
       }
193 193
     }
194 194
   },
@@ -199,7 +199,10 @@ export default {
199 199
       secretaryRoleByUserId({
200 200
         userId: this.userId
201 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 Voir le fichier

@@ -1,27 +1,129 @@
1 1
 <template>
2 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 18
   </div>
5 19
 </template>
6 20
 
7 21
 <script>
22
+import { todoCount } from "@/api/system/homepage.js";
8 23
 export default {
9 24
   name: "Index",
10 25
   data() {
11 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 35
   methods: {
17 36
     goTarget(href) {
18 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 52
 </script>
23 53
 
24 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 128
 </style>
27 129
 

+ 13
- 9
src/views/login.vue Voir le fichier

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