Przeglądaj źródła

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

hanchaobo 2 lat temu
rodzic
commit
a4baf32f92

+ 0
- 1
src/views/caseManagement/caseList.vue Wyświetl plik

@@ -1047,7 +1047,6 @@ export default {
1047 1047
     },
1048 1048
      // model框显示
1049 1049
         showModel(row, type) {
1050
-
1051 1050
             switch (type) {
1052 1051
                 case 0:
1053 1052
                     selectSignSealUrl({ id: row.id }).then(res => {

+ 7
- 11
src/views/caseManagement/components/caseentryDialog.vue Wyświetl plik

@@ -820,7 +820,7 @@ export default {
820 820
     "initpaymentArr",
821 821
     "initpaymentArr1",
822 822
     "queryParams",
823
-    // "caseAttachList",
823
+    "caseAttachList",
824 824
     "columnValues",
825 825
     "detailsAwardForm"
826 826
   ],
@@ -1090,6 +1090,10 @@ export default {
1090 1090
       this.activeName = "first"
1091 1091
       this.formGrab.list = this.columnValues
1092 1092
       this.caseAttachListArr = []
1093
+      this.getTemplateFn({
1094
+          pageNum: 1,
1095
+          pageSize: 10000000,
1096
+        })
1093 1097
       if (val) {
1094 1098
         this.applicateArr = [];
1095 1099
         this.quiltArr = [];
@@ -1193,20 +1197,14 @@ export default {
1193 1197
         }
1194 1198
       }
1195 1199
       if (val && (this.flag == "0" || this.flag == "1")) {
1196
-        setTimeout(() => {
1197
-          this.detailsAwardNum = this.detailsAwardForm;
1198
-        }, 2000)
1199
-        this.getTemplateFn({
1200
-          pageNum: 1,
1201
-          pageSize: 10000000,
1202
-        })
1200
+        
1203 1201
         let params = {
1204 1202
           id: this.form.id,
1205 1203
           version: this.form.version
1206 1204
         }
1207 1205
         selectCaseApply(params).then(res => {
1208
-
1209 1206
           let data = res.data;
1207
+          this.detailsAwardNum = data;
1210 1208
           data.affiliate.applicant.forEach(item => {
1211 1209
             if (!item.applicant) {
1212 1210
               item.applicant = {}
@@ -1253,8 +1251,6 @@ export default {
1253 1251
           this.formData = data;
1254 1252
           this.form2 = data.affiliate;
1255 1253
         })
1256
-        // this.detailsAwardNum = this.detailsAwardForm;
1257
-        // console.log(this.detailsAwardNum.caseAttachList,"PPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP");
1258 1254
       }
1259 1255
     }
1260 1256
   },

+ 13
- 25
src/views/caseManagement/components/judgmentInformation.vue Wyświetl plik

@@ -139,12 +139,12 @@
139 139
       <!-- 清除画布 -->
140 140
       <div slot="footer" class="dialog-footer">
141 141
         <!-- <el-button type="danger" @click="submitForm(4)" v-if="flag == 1">重新生成裁决书</el-button> -->
142
-        <el-button type="primary" @click="submitForm(0)" v-if="flag == 1">提 交</el-button>
143
-        <el-button type="primary" @click="submitForm(1)" v-if="flag == 2">提交</el-button>
142
+        <el-button type="primary" @click="submitForm(0)" v-if="flag == 1" :loading="buttonFlag">提 交</el-button>
143
+        <el-button type="primary" @click="submitForm(1)" v-if="flag == 2" :loading="buttonFlag">提交</el-button>
144 144
         <!-- <el-button type="danger" @click="submitForm(2)" v-if="flag == 2">驳 回</el-button> -->
145 145
         <!-- <el-button type="primary" @click="submitForm(3)" v-if="flag == 3">提 交</el-button> -->
146 146
         <!-- <el-button type="primary" @click="submitForm(5)" v-if="flag == 4">同 意</el-button> -->
147
-        <el-button type="primary" @click="submitForm(6)" v-if="flag == 4">提交</el-button>
147
+        <el-button type="primary" @click="submitForm(6)" v-if="flag == 4" :loading="buttonFlag">提交</el-button>
148 148
         <el-button @click="cancel">取 消</el-button>
149 149
       </div>
150 150
     </el-dialog>
@@ -164,6 +164,7 @@ export default {
164 164
   props: ["openDialogInfor", "title", "flag", "awardDetailform","queryParams"],
165 165
   data() {
166 166
     return {
167
+      buttonFlag:false,
167 168
       // key: value
168 169
       arbitrateRecordt: {},
169 170
       agreeOrNotCheck:1,
@@ -327,8 +328,10 @@ export default {
327 328
     },
328 329
     // 校验裁决书
329 330
     verificationArbitrateRecordFn(parms) {
331
+      this.buttonFlag = true;
330 332
       verificationArbitrateRecord(parms).then((res) => {
331 333
         this.cancel();
334
+        this.buttonFlag = false;
332 335
         // this.$emit("updataList");
333 336
         this.$emit("getcaseApply", this.queryParams);
334 337
         // this.$message("成功");
@@ -337,8 +340,10 @@ export default {
337 340
     },
338 341
     //审核裁决书
339 342
     checkArbitrateRecordFn(parms) {
343
+      this.buttonFlag = true;
340 344
       checkArbitrateRecord(parms).then((res) => {
341 345
         this.cancel();
346
+        this.buttonFlag = false;
342 347
         // this.$emit("updataList");
343 348
         this.$emit("getcaseApply", this.queryParams);
344 349
         // this.$message("成功");
@@ -347,9 +352,11 @@ export default {
347 352
     },
348 353
     // 仲裁员审核裁决书
349 354
     arbitratorCheckArbitrateRecordFn(parms) {
355
+      this.buttonFlag = true;
350 356
       console.log(parms)
351 357
       arbitratorCheckArbitrateRecord(parms).then((res) => {
352 358
         this.cancel();
359
+        this.buttonFlag = false;
353 360
         // this.$emit("updataList");
354 361
         this.$emit("getcaseApply", this.queryParams);
355 362
         // this.$message("成功");
@@ -358,8 +365,10 @@ export default {
358 365
     },
359 366
     // 签名
360 367
     adjudicationSignatureFn(parms) {
368
+      this.buttonFlag = true;
361 369
       adjudicationSignature(parms).then((res) => {
362 370
         this.cancel();
371
+        this.buttonFlag = false;
363 372
         // this.$emit("updataList");
364 373
         this.$emit("getcaseApply", this.queryParams);
365 374
         this.$message("成功");
@@ -408,18 +417,7 @@ export default {
408 417
               });
409 418
             } 
410 419
           } else if (parms == 2) {
411
-            // if (!that.arbitrateRecord.arbitrateReject == "") {
412
-            //   this.$message.error('请输入拒绝原因');
413
-            //   return
414
-            // } else {
415
-            //   this.arbitrateRecord.deptorReject = this.arbitrateRecord.arbitrateReject;
416
-            //   delete this.arbitrateRecord.arbitrateReject;
417
-            //   this.checkArbitrateRecordFn({
418
-            //     id: this.form.id,
419
-            //     agreeOrNotCheck: 2,
420
-            //     arbitrateRecord: this.arbitrateRecord,
421
-            //   });
422
-            // }
420
+           
423 421
           } else if (parms == 3) {
424 422
             this.adjudicationSignatureFn({
425 423
               id: this.form.id,
@@ -440,16 +438,6 @@ export default {
440 438
                 arbitrateRecord: this.arbitrateRecord,
441 439
               });
442 440
               }
443
-            // if (!that.arbitrateRecord.arbitrateReject) {
444
-            //   this.$message.error('请输入拒绝原因');
445
-            //   return
446
-            // } else {
447
-            //   this.arbitratorCheckArbitrateRecordFn({
448
-            //     id: this.form.id,
449
-            //     agreeOrNotCheck: 2,
450
-            //     arbitrateRecord: this.arbitrateRecord,
451
-            //   });
452
-            // }
453 441
           }
454 442
         }
455 443
       });