소스 검색

立案审查页面调整及接口调试

Your Name 2 년 전
부모
커밋
2bb3595196

+ 8
- 0
src/api/caseManagement/caseManagement.js 파일 보기

25
     data: data,
25
     data: data,
26
   });
26
   });
27
 }
27
 }
28
+// 立案审查
29
+export function submitCaseApplicationCheck(data) {
30
+  return request({
31
+    url: "/caseApplication/submitCaseApplicationCheck",
32
+    method: "post",
33
+    data: data,
34
+  });
35
+}

+ 28
- 31
src/views/caseManagement/caseList.vue 파일 보기

101
         prop="caseSubjectAmount"
101
         prop="caseSubjectAmount"
102
       />
102
       />
103
       <el-table-column
103
       <el-table-column
104
-        label="立案日期"
104
+        label="仲裁方式"
105
         align="center"
105
         align="center"
106
-        prop="registerDate"
106
+        prop="arbitratMethod"
107
         :show-overflow-tooltip="true"
107
         :show-overflow-tooltip="true"
108
       />
108
       />
109
       <!-- 仲裁员 -->
109
       <!-- 仲裁员 -->
168
           <el-button
168
           <el-button
169
             size="mini"
169
             size="mini"
170
             type="text"
170
             type="text"
171
-            icon="el-icon-zoom-in"
171
+            icon="el-icon-view"
172
             @click="filingreviewRow(scope.row)"
172
             @click="filingreviewRow(scope.row)"
173
             v-if="scope.row.caseStatus == 1"
173
             v-if="scope.row.caseStatus == 1"
174
             v-hasPermi="['monitor:online:forceLogout']"
174
             v-hasPermi="['monitor:online:forceLogout']"
219
             @click="choosetrialmethodRow(scope.row)"
219
             @click="choosetrialmethodRow(scope.row)"
220
             v-if="scope.row.caseStatus == 7"
220
             v-if="scope.row.caseStatus == 7"
221
             v-hasPermi="['monitor:online:forceLogout']"
221
             v-hasPermi="['monitor:online:forceLogout']"
222
-            >选择开庭方式</el-button
222
+            >审核仲裁方式</el-button
223
           >
223
           >
224
           <el-button
224
           <el-button
225
             size="mini"
225
             size="mini"
289
       @cancelBatch="cancelBatch"
289
       @cancelBatch="cancelBatch"
290
       :getcaseApply="getcaseApply"
290
       :getcaseApply="getcaseApply"
291
     ></batchDialog>
291
     ></batchDialog>
292
+    <!-- 立案审查页面 -->
293
+    <filingreviewDialog
294
+    :showfilingreview="showfilingreview"
295
+    :filingreviewdata="filingreviewdata"
296
+    :queryParams="queryParams"
297
+    @getcaseApply="getcaseApply"
298
+    @cancelFilingreview="cancelFilingreview"
299
+    ></filingreviewDialog>
292
     <!-- 组庭页面---改为组庭审核 -->
300
     <!-- 组庭页面---改为组庭审核 -->
293
     <formateCourtDialog
301
     <formateCourtDialog
294
       :showformateCourt="showformateCourt"
302
       :showformateCourt="showformateCourt"
349
 import adjudicaterecordDialog from "./components/adjudicaterecordDialog.vue";
357
 import adjudicaterecordDialog from "./components/adjudicaterecordDialog.vue";
350
 import trialincourtDialog from "./components/trialincourtDialog.vue";
358
 import trialincourtDialog from "./components/trialincourtDialog.vue";
351
 import payDialog from "./components/payDialog.vue";
359
 import payDialog from "./components/payDialog.vue";
360
+import filingreviewDialog from './components/filingreviewDialog.vue';
352
 
361
 
353
 import { caseApplicationDetail } from "@/api/pay/pay";
362
 import { caseApplicationDetail } from "@/api/pay/pay";
354
 import {
363
 import {
370
     adjudicaterecordDialog,
379
     adjudicaterecordDialog,
371
     trialincourtDialog,
380
     trialincourtDialog,
372
     payDialog,
381
     payDialog,
382
+    filingreviewDialog
373
   },
383
   },
374
   data() {
384
   data() {
375
     return {
385
     return {
398
       flag: "-1",
408
       flag: "-1",
399
       initpaymentArr: [],
409
       initpaymentArr: [],
400
       initpaymentArr1: [],
410
       initpaymentArr1: [],
411
+      showfilingreview: false, //立案申查弹框控制
412
+      filingreviewdata: {}, //立案审查传输数据
401
       openbatch: false, // 批量申请弹框
413
       openbatch: false, // 批量申请弹框
402
       formateCourtData: {}, //组庭
414
       formateCourtData: {}, //组庭
403
       showformateCourt: false, //组庭界面显示
415
       showformateCourt: false, //组庭界面显示
427
       this.loading = true;
439
       this.loading = true;
428
       caseApply(val).then((response) => {
440
       caseApply(val).then((response) => {
429
         this.dataList = response.rows;
441
         this.dataList = response.rows;
442
+        this.dataList.forEach((item) => {
443
+          item.arbitratMethod = item.arbitratMethod == 1 ? "视频仲裁" : "书面仲载";
444
+        });
430
         this.total = response.total;
445
         this.total = response.total;
431
         this.loading = false;
446
         this.loading = false;
432
       });
447
       });
483
     batchApplication() {
498
     batchApplication() {
484
       this.openbatch = true;
499
       this.openbatch = true;
485
     },
500
     },
486
-    // 列表提交立案
487
-    onsubmitRow(row) {
488
-      this.$modal
489
-        .confirm("是否提交立案?")
490
-        .then(function () {
491
-          return submitCaseApply({ id: row.id });
492
-        })
493
-        .then(() => {
494
-          this.getcaseApply(this.queryParams);
495
-          this.$modal.msgSuccess("立案成功");
496
-        })
497
-        .catch(() => {});
498
-    },
499
     // 详情
501
     // 详情
500
     detailRow(row) {
502
     detailRow(row) {
501
       this.flag = "0";
503
       this.flag = "0";
528
     // 立案审查
530
     // 立案审查
529
     filingreviewRow(row) {
531
     filingreviewRow(row) {
530
       console.log(row, "立案审查");
532
       console.log(row, "立案审查");
531
-      // this.$modal
532
-      //   .confirm("确定提交案件数据吗?")
533
-      //   .then(function () {
534
-      //     return submitCaseApply({ id: row.id });
535
-      //   })
536
-      //   .then(() => {
537
-      //     this.getcaseApply(this.queryParams);
538
-      //     this.$modal.msgSuccess("立案审查成功");
539
-      //   })
540
-      //   .catch(() => {});
533
+      this.showfilingreview = true;
534
+      this.filingreviewdata = row;
535
+    },
536
+    cancelFilingreview() {
537
+      this.showfilingreview = false;
541
     },
538
     },
542
     // 取消缴费
539
     // 取消缴费
543
     paycancelRow(row) {
540
     paycancelRow(row) {
571
     },
568
     },
572
     // 组庭确认
569
     // 组庭确认
573
     courtconfirmationRow(row) {
570
     courtconfirmationRow(row) {
574
-      console.log(row, "组庭确认");
571
+      // console.log(row, "组庭确认");
575
       this.showcourtReview = true;
572
       this.showcourtReview = true;
576
       this.form = row;
573
       this.form = row;
577
     },
574
     },
578
     // 组庭审核
575
     // 组庭审核
579
     courtreviewRow(row) {
576
     courtreviewRow(row) {
580
-      console.log(row, "组庭审核");
577
+      // console.log(row, "组庭审核");
581
       this.formateCourtData = row;
578
       this.formateCourtData = row;
582
       this.showformateCourt = true;
579
       this.showformateCourt = true;
583
     },
580
     },
584
     cancelcourtReview() {
581
     cancelcourtReview() {
585
       this.showcourtReview = false;
582
       this.showcourtReview = false;
586
     },
583
     },
587
-    // 选择开庭方式
584
+    // 选择开庭方式改为审核仲裁方式
588
     choosetrialmethodRow(row) {
585
     choosetrialmethodRow(row) {
589
-      console.log(row, "选择开庭方式");
586
+      // console.log(row, "选择开庭方式");
590
       this.choosetrialmethodata = row;
587
       this.choosetrialmethodata = row;
591
       this.showchoosetrialmethod = true;
588
       this.showchoosetrialmethod = true;
592
     },
589
     },

+ 3
- 3
src/views/caseManagement/components/choosetrialmethodDaiog.vue 파일 보기

2
   <div>
2
   <div>
3
     <!-- 选择仲裁方式页面 -->
3
     <!-- 选择仲裁方式页面 -->
4
     <el-dialog
4
     <el-dialog
5
-      title="开庭方式"
5
+      title="审核开庭方式"
6
       :visible="showchoosetrialmethod"
6
       :visible="showchoosetrialmethod"
7
       width="500px"
7
       width="500px"
8
       @close="cancel"
8
       @close="cancel"
10
     >
10
     >
11
       <div class="radiobox">
11
       <div class="radiobox">
12
         <el-radio-group v-model="radio">
12
         <el-radio-group v-model="radio">
13
-          <el-radio :label="2">书面审理</el-radio>
14
-          <el-radio :label="1">开庭审理</el-radio>
13
+          <el-radio :label="0">拒绝开庭方式</el-radio>
14
+          <el-radio :label="1">同意开庭方式</el-radio>
15
         </el-radio-group>
15
         </el-radio-group>
16
       </div>
16
       </div>
17
 
17
 

+ 102
- 0
src/views/caseManagement/components/filingreviewDialog.vue 파일 보기

1
+<template>
2
+  <div>
3
+    <!-- 立案审查 -->
4
+    <el-dialog
5
+      title="立案审查"
6
+      :visible="showfilingreview"
7
+      width="500px"
8
+      @close="cancel"
9
+      :destroy-on-close="true"
10
+    >
11
+      <div class="radiobox">
12
+        <el-radio-group v-model="radio">
13
+          <el-radio :label="1">同意</el-radio>
14
+          <el-radio :label="2">拒绝</el-radio>
15
+        </el-radio-group>
16
+      </div>
17
+
18
+      <div slot="footer" class="dialog-footer">
19
+        <el-button type="primary" @click="submitForm" class="endbutton"
20
+          ><span>提 交</span></el-button
21
+        >
22
+        <el-button @click="cancel" class="endbutton1"
23
+          ><span> 取 消</span></el-button
24
+        >
25
+      </div>
26
+    </el-dialog>
27
+  </div>
28
+</template>
29
+
30
+<script>
31
+
32
+import { submitCaseApplicationCheck } from "@/api/caseManagement/caseManagement.js";
33
+
34
+export default {
35
+  name: "filingreviewDialog",
36
+  props: ["showfilingreview", "filingreviewdata", "queryParams"],
37
+  data() {
38
+    return {
39
+      radio: 1,
40
+    };
41
+  },
42
+  methods: {
43
+    submitForm() {
44
+      let paramsdata = {
45
+        agreeOrNotCheck: this.radio,
46
+        id: this.filingreviewdata.id,
47
+      };
48
+      submitCaseApplicationCheck(paramsdata)
49
+        .then((res) => {
50
+          this.$modal.msgSuccess("审查成功");
51
+          this.cancel();
52
+          this.$emit("getcaseApply", this.queryParams);
53
+        })
54
+        .catch((err) => {});
55
+    },
56
+    cancel() {
57
+      this.$emit("cancelFilingreview");
58
+    },
59
+  },
60
+};
61
+</script>
62
+
63
+<style lang="scss" scoped>
64
+.radiobox {
65
+  margin-left: 5%;
66
+}
67
+::v-deep .el-dialog {
68
+  width: 800px;
69
+  background: #ffffff;
70
+  border-radius: 20px;
71
+}
72
+.endbutton {
73
+  width: 124px;
74
+  height: 37px;
75
+  background: #0072ff;
76
+  border-radius: 19px;
77
+  span {
78
+    width: 32px;
79
+    height: 15px;
80
+    font-size: 16px;
81
+    font-family: Microsoft YaHei;
82
+    font-weight: 400;
83
+    color: #ffffff;
84
+    // line-height: 48px;
85
+  }
86
+}
87
+.endbutton1 {
88
+  width: 124px;
89
+  height: 37px;
90
+  background: #ffffff;
91
+  border: 1px solid #d0d0d0;
92
+  border-radius: 19px;
93
+  span {
94
+    width: 31px;
95
+    height: 13px;
96
+    font-size: 16px;
97
+    font-family: Microsoft YaHei;
98
+    font-weight: 400;
99
+    color: #959595;
100
+  }
101
+}
102
+</style>