Pārlūkot izejas kodu

测试修改问题

hanchaobo 2 gadus atpakaļ
vecāks
revīzija
987000d5af

+ 0
- 1
src/views/caseManagement/caseList.vue Parādīt failu

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

+ 7
- 11
src/views/caseManagement/components/caseentryDialog.vue Parādīt failu

820
     "initpaymentArr",
820
     "initpaymentArr",
821
     "initpaymentArr1",
821
     "initpaymentArr1",
822
     "queryParams",
822
     "queryParams",
823
-    // "caseAttachList",
823
+    "caseAttachList",
824
     "columnValues",
824
     "columnValues",
825
     "detailsAwardForm"
825
     "detailsAwardForm"
826
   ],
826
   ],
1090
       this.activeName = "first"
1090
       this.activeName = "first"
1091
       this.formGrab.list = this.columnValues
1091
       this.formGrab.list = this.columnValues
1092
       this.caseAttachListArr = []
1092
       this.caseAttachListArr = []
1093
+      this.getTemplateFn({
1094
+          pageNum: 1,
1095
+          pageSize: 10000000,
1096
+        })
1093
       if (val) {
1097
       if (val) {
1094
         this.applicateArr = [];
1098
         this.applicateArr = [];
1095
         this.quiltArr = [];
1099
         this.quiltArr = [];
1193
         }
1197
         }
1194
       }
1198
       }
1195
       if (val && (this.flag == "0" || this.flag == "1")) {
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
         let params = {
1201
         let params = {
1204
           id: this.form.id,
1202
           id: this.form.id,
1205
           version: this.form.version
1203
           version: this.form.version
1206
         }
1204
         }
1207
         selectCaseApply(params).then(res => {
1205
         selectCaseApply(params).then(res => {
1208
-
1209
           let data = res.data;
1206
           let data = res.data;
1207
+          this.detailsAwardNum = data;
1210
           data.affiliate.applicant.forEach(item => {
1208
           data.affiliate.applicant.forEach(item => {
1211
             if (!item.applicant) {
1209
             if (!item.applicant) {
1212
               item.applicant = {}
1210
               item.applicant = {}
1253
           this.formData = data;
1251
           this.formData = data;
1254
           this.form2 = data.affiliate;
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 Parādīt failu

139
       <!-- 清除画布 -->
139
       <!-- 清除画布 -->
140
       <div slot="footer" class="dialog-footer">
140
       <div slot="footer" class="dialog-footer">
141
         <!-- <el-button type="danger" @click="submitForm(4)" v-if="flag == 1">重新生成裁决书</el-button> -->
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
         <!-- <el-button type="danger" @click="submitForm(2)" v-if="flag == 2">驳 回</el-button> -->
144
         <!-- <el-button type="danger" @click="submitForm(2)" v-if="flag == 2">驳 回</el-button> -->
145
         <!-- <el-button type="primary" @click="submitForm(3)" v-if="flag == 3">提 交</el-button> -->
145
         <!-- <el-button type="primary" @click="submitForm(3)" v-if="flag == 3">提 交</el-button> -->
146
         <!-- <el-button type="primary" @click="submitForm(5)" v-if="flag == 4">同 意</el-button> -->
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
         <el-button @click="cancel">取 消</el-button>
148
         <el-button @click="cancel">取 消</el-button>
149
       </div>
149
       </div>
150
     </el-dialog>
150
     </el-dialog>
164
   props: ["openDialogInfor", "title", "flag", "awardDetailform","queryParams"],
164
   props: ["openDialogInfor", "title", "flag", "awardDetailform","queryParams"],
165
   data() {
165
   data() {
166
     return {
166
     return {
167
+      buttonFlag:false,
167
       // key: value
168
       // key: value
168
       arbitrateRecordt: {},
169
       arbitrateRecordt: {},
169
       agreeOrNotCheck:1,
170
       agreeOrNotCheck:1,
327
     },
328
     },
328
     // 校验裁决书
329
     // 校验裁决书
329
     verificationArbitrateRecordFn(parms) {
330
     verificationArbitrateRecordFn(parms) {
331
+      this.buttonFlag = true;
330
       verificationArbitrateRecord(parms).then((res) => {
332
       verificationArbitrateRecord(parms).then((res) => {
331
         this.cancel();
333
         this.cancel();
334
+        this.buttonFlag = false;
332
         // this.$emit("updataList");
335
         // this.$emit("updataList");
333
         this.$emit("getcaseApply", this.queryParams);
336
         this.$emit("getcaseApply", this.queryParams);
334
         // this.$message("成功");
337
         // this.$message("成功");
337
     },
340
     },
338
     //审核裁决书
341
     //审核裁决书
339
     checkArbitrateRecordFn(parms) {
342
     checkArbitrateRecordFn(parms) {
343
+      this.buttonFlag = true;
340
       checkArbitrateRecord(parms).then((res) => {
344
       checkArbitrateRecord(parms).then((res) => {
341
         this.cancel();
345
         this.cancel();
346
+        this.buttonFlag = false;
342
         // this.$emit("updataList");
347
         // this.$emit("updataList");
343
         this.$emit("getcaseApply", this.queryParams);
348
         this.$emit("getcaseApply", this.queryParams);
344
         // this.$message("成功");
349
         // this.$message("成功");
347
     },
352
     },
348
     // 仲裁员审核裁决书
353
     // 仲裁员审核裁决书
349
     arbitratorCheckArbitrateRecordFn(parms) {
354
     arbitratorCheckArbitrateRecordFn(parms) {
355
+      this.buttonFlag = true;
350
       console.log(parms)
356
       console.log(parms)
351
       arbitratorCheckArbitrateRecord(parms).then((res) => {
357
       arbitratorCheckArbitrateRecord(parms).then((res) => {
352
         this.cancel();
358
         this.cancel();
359
+        this.buttonFlag = false;
353
         // this.$emit("updataList");
360
         // this.$emit("updataList");
354
         this.$emit("getcaseApply", this.queryParams);
361
         this.$emit("getcaseApply", this.queryParams);
355
         // this.$message("成功");
362
         // this.$message("成功");
358
     },
365
     },
359
     // 签名
366
     // 签名
360
     adjudicationSignatureFn(parms) {
367
     adjudicationSignatureFn(parms) {
368
+      this.buttonFlag = true;
361
       adjudicationSignature(parms).then((res) => {
369
       adjudicationSignature(parms).then((res) => {
362
         this.cancel();
370
         this.cancel();
371
+        this.buttonFlag = false;
363
         // this.$emit("updataList");
372
         // this.$emit("updataList");
364
         this.$emit("getcaseApply", this.queryParams);
373
         this.$emit("getcaseApply", this.queryParams);
365
         this.$message("成功");
374
         this.$message("成功");
408
               });
417
               });
409
             } 
418
             } 
410
           } else if (parms == 2) {
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
           } else if (parms == 3) {
421
           } else if (parms == 3) {
424
             this.adjudicationSignatureFn({
422
             this.adjudicationSignatureFn({
425
               id: this.form.id,
423
               id: this.form.id,
440
                 arbitrateRecord: this.arbitrateRecord,
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
       });