Просмотр исходного кода

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

Your Name 2 лет назад
Родитель
Сommit
2bb3595196

+ 8
- 0
src/api/caseManagement/caseManagement.js Просмотреть файл

@@ -25,3 +25,11 @@ export function pendTralSure(data) {
25 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,9 +101,9 @@
101 101
         prop="caseSubjectAmount"
102 102
       />
103 103
       <el-table-column
104
-        label="立案日期"
104
+        label="仲裁方式"
105 105
         align="center"
106
-        prop="registerDate"
106
+        prop="arbitratMethod"
107 107
         :show-overflow-tooltip="true"
108 108
       />
109 109
       <!-- 仲裁员 -->
@@ -168,7 +168,7 @@
168 168
           <el-button
169 169
             size="mini"
170 170
             type="text"
171
-            icon="el-icon-zoom-in"
171
+            icon="el-icon-view"
172 172
             @click="filingreviewRow(scope.row)"
173 173
             v-if="scope.row.caseStatus == 1"
174 174
             v-hasPermi="['monitor:online:forceLogout']"
@@ -219,7 +219,7 @@
219 219
             @click="choosetrialmethodRow(scope.row)"
220 220
             v-if="scope.row.caseStatus == 7"
221 221
             v-hasPermi="['monitor:online:forceLogout']"
222
-            >选择开庭方式</el-button
222
+            >审核仲裁方式</el-button
223 223
           >
224 224
           <el-button
225 225
             size="mini"
@@ -289,6 +289,14 @@
289 289
       @cancelBatch="cancelBatch"
290 290
       :getcaseApply="getcaseApply"
291 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 301
     <formateCourtDialog
294 302
       :showformateCourt="showformateCourt"
@@ -349,6 +357,7 @@ import choosetrialmethodDaiog from "./components/choosetrialmethodDaiog.vue";
349 357
 import adjudicaterecordDialog from "./components/adjudicaterecordDialog.vue";
350 358
 import trialincourtDialog from "./components/trialincourtDialog.vue";
351 359
 import payDialog from "./components/payDialog.vue";
360
+import filingreviewDialog from './components/filingreviewDialog.vue';
352 361
 
353 362
 import { caseApplicationDetail } from "@/api/pay/pay";
354 363
 import {
@@ -370,6 +379,7 @@ export default {
370 379
     adjudicaterecordDialog,
371 380
     trialincourtDialog,
372 381
     payDialog,
382
+    filingreviewDialog
373 383
   },
374 384
   data() {
375 385
     return {
@@ -398,6 +408,8 @@ export default {
398 408
       flag: "-1",
399 409
       initpaymentArr: [],
400 410
       initpaymentArr1: [],
411
+      showfilingreview: false, //立案申查弹框控制
412
+      filingreviewdata: {}, //立案审查传输数据
401 413
       openbatch: false, // 批量申请弹框
402 414
       formateCourtData: {}, //组庭
403 415
       showformateCourt: false, //组庭界面显示
@@ -427,6 +439,9 @@ export default {
427 439
       this.loading = true;
428 440
       caseApply(val).then((response) => {
429 441
         this.dataList = response.rows;
442
+        this.dataList.forEach((item) => {
443
+          item.arbitratMethod = item.arbitratMethod == 1 ? "视频仲裁" : "书面仲载";
444
+        });
430 445
         this.total = response.total;
431 446
         this.loading = false;
432 447
       });
@@ -483,19 +498,6 @@ export default {
483 498
     batchApplication() {
484 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 502
     detailRow(row) {
501 503
       this.flag = "0";
@@ -528,16 +530,11 @@ export default {
528 530
     // 立案审查
529 531
     filingreviewRow(row) {
530 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 540
     paycancelRow(row) {
@@ -571,22 +568,22 @@ export default {
571 568
     },
572 569
     // 组庭确认
573 570
     courtconfirmationRow(row) {
574
-      console.log(row, "组庭确认");
571
+      // console.log(row, "组庭确认");
575 572
       this.showcourtReview = true;
576 573
       this.form = row;
577 574
     },
578 575
     // 组庭审核
579 576
     courtreviewRow(row) {
580
-      console.log(row, "组庭审核");
577
+      // console.log(row, "组庭审核");
581 578
       this.formateCourtData = row;
582 579
       this.showformateCourt = true;
583 580
     },
584 581
     cancelcourtReview() {
585 582
       this.showcourtReview = false;
586 583
     },
587
-    // 选择开庭方式
584
+    // 选择开庭方式改为审核仲裁方式
588 585
     choosetrialmethodRow(row) {
589
-      console.log(row, "选择开庭方式");
586
+      // console.log(row, "选择开庭方式");
590 587
       this.choosetrialmethodata = row;
591 588
       this.showchoosetrialmethod = true;
592 589
     },

+ 3
- 3
src/views/caseManagement/components/choosetrialmethodDaiog.vue Просмотреть файл

@@ -2,7 +2,7 @@
2 2
   <div>
3 3
     <!-- 选择仲裁方式页面 -->
4 4
     <el-dialog
5
-      title="开庭方式"
5
+      title="审核开庭方式"
6 6
       :visible="showchoosetrialmethod"
7 7
       width="500px"
8 8
       @close="cancel"
@@ -10,8 +10,8 @@
10 10
     >
11 11
       <div class="radiobox">
12 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 15
         </el-radio-group>
16 16
       </div>
17 17
 

+ 102
- 0
src/views/caseManagement/components/filingreviewDialog.vue Просмотреть файл

@@ -0,0 +1,102 @@
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>