Ver código fonte

Merge branch 'hhl' of SH-Arbitrate/Arbitrate-Frontend into dev

hhlxayunmei 2 anos atrás
pai
commit
b4f2f5f312

+ 12
- 1
src/api/pay/pay.js Ver arquivo

@@ -42,4 +42,15 @@ export function confirmPay(data) {
42 42
       method: 'put',
43 43
       data: data
44 44
     })
45
-  }
45
+  }
46
+//确认缴费查看案件详情接口(新修改显示案件缴费状态)
47
+export function selectCaseApplicationConfirm(data) {
48
+  return request({
49
+    url: '/caseApplication/selectCaseApplicationConfirm',
50
+    // headers: {
51
+    //   isToken: false
52
+    // },
53
+    method: 'post',
54
+    data: data
55
+  })
56
+} 

+ 32
- 22
src/views/caseManagement/caseList.vue Ver arquivo

@@ -103,7 +103,7 @@
103 103
       <el-table-column
104 104
         label="仲裁方式"
105 105
         align="center"
106
-        prop="arbitratMethod"
106
+        prop="arbitratMethodName"
107 107
         :show-overflow-tooltip="true"
108 108
       />
109 109
       <!-- 仲裁员 -->
@@ -178,17 +178,17 @@
178 178
             v-hasPermi="['monitor:online:forceLogout']"
179 179
             >立案审查</el-button
180 180
           >
181
-          <el-popconfirm title="是否进行缴费" @confirm="payStatus(scope.row)">
182
-            <el-button
183
-              size="mini"
184
-              type="text"
185
-              slot="reference"
186
-              icon="el-icon-tickets"
187
-              v-if="scope.row.caseStatus == 2"
188
-              v-hasPermi="['monitor:online:forceLogout']"
189
-              >缴费</el-button
190
-            >
191
-          </el-popconfirm>
181
+          <!-- <el-popconfirm title="是否进行缴费" @confirm="payStatus(scope.row)"> -->
182
+          <el-button
183
+            size="mini"
184
+            type="text"
185
+            icon="el-icon-tickets"
186
+            @click="payStatus(scope.row)"
187
+            v-if="scope.row.caseStatus == 2"
188
+            v-hasPermi="['monitor:online:forceLogout']"
189
+            >缴费</el-button
190
+          >
191
+          <!-- </el-popconfirm> -->
192 192
 
193 193
           <!-- <el-button
194 194
             size="mini"
@@ -245,7 +245,6 @@
245 245
           >
246 246
           <el-button
247 247
             size="mini"
248
-            slot="reference"
249 248
             type="text"
250 249
             icon="el-icon-document"
251 250
             @click="generateawardRow(scope.row)"
@@ -398,7 +397,7 @@ export default {
398 397
       // 查询参数
399 398
       queryParams: {
400 399
         caseNum: undefined,
401
-        caseStatusList: [0, 1, 2, 3, 5, 6, 7, 8, 9, 10, 16],
400
+        caseStatusList: [0, 1, 2, 5, 6, 7, 8, 9, 10, 16],
402 401
         hearDate: "",
403 402
         caseStatus: null,
404 403
         pageNum: 1,
@@ -444,10 +443,14 @@ export default {
444 443
       this.loading = true;
445 444
       caseApply(val).then((response) => {
446 445
         this.dataList = response.rows;
447
-        this.dataList.forEach((item) => {
448
-          item.arbitratMethod =
449
-            item.arbitratMethod == 1 ? "视频仲裁" : "书面仲载";
450
-        });
446
+        // this.dataList.forEach((item) => {
447
+        //   if (item.arbitratMethod == 1) {
448
+        //     item.arbitratMethod = "视频仲裁";
449
+        //   }
450
+        //   if (item.arbitratMethod == 2) {
451
+        //     item.arbitratMethod = "书面仲裁";
452
+        //   }
453
+        // });
451 454
         this.total = response.total;
452 455
         this.loading = false;
453 456
       });
@@ -461,13 +464,13 @@ export default {
461 464
     /** 重置按钮操作 */
462 465
     resetQuery() {
463 466
       this.resetForm("queryForm");
464
-      (this.queryParams.caseStatusList = [0, 1, 2, 3, 5, 6, 7, 8, 9, 10, 16]),
467
+      (this.queryParams.caseStatusList = [0, 1, 2, 5, 6, 7, 8, 9, 10, 16]),
465 468
         this.getcaseApply(this.queryParams);
466 469
     },
467 470
     // 案件录入
468 471
     filingApplication() {
469 472
       this.form = {};
470
-      this.paymentArr = [
473
+      this.initpaymentArr = [
471 474
         {
472 475
           identityType: 1,
473 476
           name: "",
@@ -481,7 +484,7 @@ export default {
481 484
           contactAddressAgent: "",
482 485
         },
483 486
       ];
484
-      this.paymentArr1 = [
487
+      this.initpaymentArr1 = [
485 488
         {
486 489
           identityType: 2,
487 490
           name: "",
@@ -546,10 +549,17 @@ export default {
546 549
     paycancelRow(row) {
547 550
       this.openPay = false;
548 551
     },
552
+    // 是否进行缴费
549 553
     payStatus(val) {
550 554
       this.getDetail({ id: val.id });
551
-      this.openPay = true;
552 555
       this.payTitle = "缴费";
556
+      this.$modal
557
+        .confirm("是否进行缴费?")
558
+        .then()
559
+        .then(() => {
560
+          this.openPay = true;
561
+        })
562
+        .catch(() => {});
553 563
     },
554 564
     getDetail(parms) {
555 565
       caseApplicationDetail(parms).then((res) => {

+ 43
- 11
src/views/caseManagement/components/caseentryDialog.vue Ver arquivo

@@ -25,6 +25,7 @@
25 25
               <el-input
26 26
                 v-model="formData.caseNum"
27 27
                 placeholder="请输入案件编号"
28
+                :disabled="flag == '1'"
28 29
               />
29 30
             </el-form-item>
30 31
           </el-col>
@@ -652,7 +653,7 @@ export default {
652 653
           {
653 654
             required: true,
654 655
             message: "案件编号不能为空",
655
-            trigger: ["change", "blur"],
656
+            trigger: "blur",
656 657
           },
657 658
           { max: 20, message: "长度应小于20个字符", trigger: "blur" },
658 659
         ],
@@ -660,9 +661,8 @@ export default {
660 661
           {
661 662
             required: true,
662 663
             message: "案件标的不能为空",
663
-            trigger: ["change", "blur"],
664
+            trigger: "blur",
664 665
           },
665
-          // { type: "Number", message: "案件标的必须为数字值" },
666 666
         ],
667 667
         loanStartDate: [
668 668
           {
@@ -751,6 +751,36 @@ export default {
751 751
               this.form3.paymentArr1 = this.initpaymentArr1;
752 752
             }, 1000);
753 753
           }
754
+          if (this.flag == "2") {
755
+            this.form2.paymentArr = [
756
+              {
757
+                identityType: 1,
758
+                name: "",
759
+                identityNum: "",
760
+                contactTelphone: "",
761
+                workAddress: "",
762
+                workTelphone: "",
763
+                contactAddress: "",
764
+                nameAgent: "",
765
+                contactTelphoneAgent: "",
766
+                contactAddressAgent: "",
767
+              },
768
+            ];
769
+            this.form3.paymentArr1 = [
770
+              {
771
+                identityType: 2,
772
+                name: "",
773
+                identityNum: "",
774
+                contactTelphone: "",
775
+                workAddress: "",
776
+                workTelphone: "",
777
+                contactAddress: "",
778
+                nameAgent: "",
779
+                contactTelphoneAgent: "",
780
+                contactAddressAgent: "",
781
+              },
782
+            ];
783
+          }
754 784
         }
755 785
       },
756 786
       deep: true,
@@ -835,22 +865,24 @@ export default {
835 865
                       ...this.formData,
836 866
                       caseAffiliates: this.formData.caseAffiliates,
837 867
                     }).then((res) => {
838
-                      this.$modal.msgSuccess("修改成功");
839
-                      this.$emit("cancel");
840
-                      this.getcaseApply(this.queryParams);
868
+                      if (res.code == 200) {
869
+                        this.$modal.msgSuccess("修改成功");
870
+                        this.$emit("cancel");
871
+                        this.getcaseApply(this.queryParams);
872
+                      }
841 873
                     });
842 874
                   } else {
843 875
                     addCaseApply({
844 876
                       ...this.formData,
845 877
                       caseAffiliates: this.formData.caseAffiliates,
846 878
                     }).then((response) => {
847
-                      this.$modal.msgSuccess("新增成功");
848
-                      this.$emit("cancel");
849
-                      this.getcaseApply(this.queryParams);
879
+                      if (response.code == 200) {
880
+                        this.$modal.msgSuccess("新增成功");
881
+                        this.$emit("cancel");
882
+                        this.getcaseApply(this.queryParams);
883
+                      }
850 884
                     });
851 885
                   }
852
-                  // this.$emit("cancel");
853
-                  // this.getcaseApply();
854 886
                 }
855 887
               });
856 888
             }

+ 1
- 1
src/views/caseManagement/components/filingreviewDialog.vue Ver arquivo

@@ -47,7 +47,7 @@ export default {
47 47
       };
48 48
       submitCaseApplicationCheck(paramsdata)
49 49
         .then((res) => {
50
-          this.$modal.msgSuccess("审查成功");
50
+          this.$modal.msgSuccess("提交成功");
51 51
           this.cancel();
52 52
           this.$emit("getcaseApply", this.queryParams);
53 53
         })

+ 0
- 2
src/views/caseManagement/components/formateCourtDialog.vue Ver arquivo

@@ -145,8 +145,6 @@ export default {
145 145
 
146 146
 <style lang="scss" scoped>
147 147
 ::v-deep .el-dialog {
148
-  width: 422px;
149
-  height: 245px;
150 148
   background: #ffffff;
151 149
   border-radius: 20px;
152 150
 }

+ 11
- 11
src/views/caseManagement/components/payDialog.vue Ver arquivo

@@ -10,27 +10,27 @@
10 10
       center
11 11
     >
12 12
       <el-descriptions title="订单信息">
13
-        <el-descriptions-item label="案件编号">{{
13
+        <el-descriptions-item label="案件编号">{{
14 14
           form.caseNum
15 15
         }}</el-descriptions-item>
16
-        <el-descriptions-item label="申请人">{{
17
-          form.applicant
16
+        <el-descriptions-item label="申请人">{{
17
+          form.applicantName
18 18
         }}</el-descriptions-item>
19
-        <el-descriptions-item label="案件标的">{{
19
+        <el-descriptions-item label="案件标的">{{
20 20
           form.caseSubjectAmount
21 21
         }}</el-descriptions-item>
22
-        <el-descriptions-item label="案件应缴费用">{{
22
+        <el-descriptions-item label="案件应缴费用">{{
23 23
           form.feePayable
24 24
         }}</el-descriptions-item>
25
-        <el-descriptions-item label="被申请人">{{
26
-          form.respondent
25
+        <el-descriptions-item label="被申请人">{{
26
+          form.respondentName
27 27
         }}</el-descriptions-item>
28
-        <el-descriptions-item label="申请人仲裁诉求:">{{
29
-          form.arbitratClaims
30
-        }}</el-descriptions-item>
31
-        <el-descriptions-item label="案件状态:">{{
28
+        <el-descriptions-item label="案件状态">{{
32 29
           form.caseStatusName
33 30
         }}</el-descriptions-item>
31
+        <el-descriptions-item label="申请人仲裁诉求">{{
32
+          form.arbitratClaims
33
+        }}</el-descriptions-item>
34 34
       </el-descriptions>
35 35
       <div class="payType">
36 36
         <span>请选择支付方式:</span>

+ 1
- 1
src/views/caseManagement/components/trialincourtDialog.vue Ver arquivo

@@ -270,7 +270,7 @@ import { getUserProfile } from "@/api/system/user";
270 270
 import { writtenHear } from "@/api/caseManagement/caseManagement.js";
271 271
 
272 272
 export default {
273
-  props: ["showtrialincourt", "adjudicatename", "form"],
273
+  props: ["showtrialincourt", "adjudicatename", "form", "queryParams"],
274 274
   data() {
275 275
     return {
276 276
       formData: {},

+ 6
- 1
src/views/paymentManagement/components/paymentdetailsDialog.vue Ver arquivo

@@ -35,6 +35,9 @@
35 35
         <el-form-item label="案件状态:" prop="caseStatusName">
36 36
           <el-input v-model="form.caseStatusName" placeholder="" />
37 37
         </el-form-item>
38
+        <el-form-item label="支付状态:" prop="paymentStatusName">
39
+          <el-input v-model="form.paymentStatusName" placeholder="" />
40
+        </el-form-item>
38 41
       </el-form>
39 42
       <div slot="footer" class="dialog-footer">
40 43
         <el-button
@@ -80,9 +83,11 @@ export default {
80 83
           message: "确认成功",
81 84
           type: "success",
82 85
         });
86
+        if (res.code == 200) {
87
+          this.getList();
88
+        }
83 89
       });
84 90
       this.cancel();
85
-      this.getList();
86 91
     },
87 92
     cancel() {
88 93
       this.$emit("cancelpaymentdetails");

+ 2
- 2
src/views/paymentManagement/paymentList.vue Ver arquivo

@@ -132,7 +132,7 @@
132 132
 <script>
133 133
 import {
134 134
   caseApplicationList,
135
-  caseApplicationDetail,
135
+  selectCaseApplicationConfirm,
136 136
   casePay,
137 137
 } from "@/api/pay/pay";
138 138
 import paymentdetailsDialog from "./components/paymentdetailsDialog.vue";
@@ -237,7 +237,7 @@ export default {
237 237
     },
238 238
     /** 查询详情 */
239 239
     getDetail(parms) {
240
-      caseApplicationDetail(parms).then((res) => {
240
+      selectCaseApplicationConfirm(parms).then((res) => {
241 241
         // console.log(res,'resesrrsrrsrrsrsr');
242 242
         // if (res.data.caseStatus == 2) {
243 243
         //   res.data.caseStatusName = "待缴费确认";

+ 2
- 2
vue.config.js Ver arquivo

@@ -11,8 +11,8 @@ const name = process.env.VUE_APP_TITLE || '智慧仲裁管理系统' // 网页
11 11
 
12 12
 const port = process.env.port || process.env.npm_config_port || 80 // 端口
13 13
 
14
-// const API = 'http://121.40.189.20:9001'  //测试
15
-const API = 'http://192.168.3.77:8080' //Q
14
+const API = 'http://121.40.189.20:9001'  //测试
15
+// const API = 'http://192.168.3.77:8080' //Q
16 16
 
17 17
 // vue.config.js 配置说明
18 18
 //官方vue.config.js 参考文档 https://cli.vuejs.org/zh/config/#css-loaderoptions