|
|
@@ -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
|
});
|