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

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

hanchaobo 2 лет назад
Родитель
Сommit
24fcd4d10a

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

@@ -31,4 +31,15 @@ export function verificationArbitrateRecord(data) {
31 31
         method: 'post',
32 32
         data: data
33 33
     })
34
+}
35
+// 审核裁决书
36
+export function checkArbitrateRecord(data) {
37
+    return request({
38
+        url: '/caseApplication/checkArbitrateRecord',
39
+        // headers: {
40
+        //   isToken: false
41
+        // },
42
+        method: 'post',
43
+        data: data
44
+    })
34 45
 }

+ 15
- 1
src/views/awardManagement/components/paymentdetailsDialog.vue Просмотреть файл

@@ -57,7 +57,8 @@
57 57
 
58 58
 <script>
59 59
 import {
60
-  verificationArbitrateRecord
60
+  verificationArbitrateRecord,
61
+  checkArbitrateRecord
61 62
 } from "@/api/awardManagement/awardManagement";
62 63
 export default {
63 64
   props: ["openDialog", "title", "flag", "detailform"],
@@ -74,6 +75,7 @@ export default {
74 75
         if (val) {
75 76
           setTimeout(() => {
76 77
             this.form = this.detailform;
78
+            this.arbitrateRecord = this.form.arbitrateRecord;
77 79
             console.log(this.form, "this.form");
78 80
           }, 1000);
79 81
         }
@@ -89,9 +91,21 @@ export default {
89 91
         this.$message('成功');
90 92
       })
91 93
     },
94
+    //审核裁决书
95
+    checkArbitrateRecordFn(parms){
96
+      checkArbitrateRecord(parms).then(res=>{
97
+        this.cancel();
98
+        this.$emit("updataList");
99
+        this.$message('成功');
100
+      })
101
+    },
92 102
     submitForm(parms) {
93 103
       if(parms == 0){
94 104
         this.verificationArbitrateRecordFn({id:this.form.id,arbitrateRecord:this.arbitrateRecord})
105
+      }else if(parms == 1){
106
+        this.checkArbitrateRecordFn({id:this.form.id,agreeOrNotCheck:1,arbitrateRecord:this.arbitrateRecord})
107
+      }else if(parms == 2){
108
+        this.checkArbitrateRecordFn({id:this.form.id,agreeOrNotCheck:2,arbitrateRecord:this.arbitrateRecord})
95 109
       }
96 110
     },
97 111
     cancel() {

+ 0
- 1
src/views/awardManagement/listofAwards.vue Просмотреть файл

@@ -34,7 +34,6 @@
34 34
             <el-table-column label="立案日期" align="center" prop="registerDate" :show-overflow-tooltip="true" />
35 35
             <!-- 缴费人 -->
36 36
             <el-table-column label="案件状态" align="center" prop="caseStatusName" />
37
-            <el-table-column label="裁决书状态" align="center" prop="caseStatusName" />
38 37
             <el-table-column label="操作" align="center" class-name="small-padding fixed-width">
39 38
                 <template slot-scope="scope">
40 39
                     <el-button size="mini" type="text" icon="el-icon-reading" v-if="scope.row.caseStatus == 10" @click="showModel(scope.row, 0)"