测试修改问题
This commit is contained in:
@@ -139,12 +139,12 @@
|
||||
<!-- 清除画布 -->
|
||||
<div slot="footer" class="dialog-footer">
|
||||
<!-- <el-button type="danger" @click="submitForm(4)" v-if="flag == 1">重新生成裁决书</el-button> -->
|
||||
<el-button type="primary" @click="submitForm(0)" v-if="flag == 1">提 交</el-button>
|
||||
<el-button type="primary" @click="submitForm(1)" v-if="flag == 2">提交</el-button>
|
||||
<el-button type="primary" @click="submitForm(0)" v-if="flag == 1" :loading="buttonFlag">提 交</el-button>
|
||||
<el-button type="primary" @click="submitForm(1)" v-if="flag == 2" :loading="buttonFlag">提交</el-button>
|
||||
<!-- <el-button type="danger" @click="submitForm(2)" v-if="flag == 2">驳 回</el-button> -->
|
||||
<!-- <el-button type="primary" @click="submitForm(3)" v-if="flag == 3">提 交</el-button> -->
|
||||
<!-- <el-button type="primary" @click="submitForm(5)" v-if="flag == 4">同 意</el-button> -->
|
||||
<el-button type="primary" @click="submitForm(6)" v-if="flag == 4">提交</el-button>
|
||||
<el-button type="primary" @click="submitForm(6)" v-if="flag == 4" :loading="buttonFlag">提交</el-button>
|
||||
<el-button @click="cancel">取 消</el-button>
|
||||
</div>
|
||||
</el-dialog>
|
||||
@@ -164,6 +164,7 @@ export default {
|
||||
props: ["openDialogInfor", "title", "flag", "awardDetailform","queryParams"],
|
||||
data() {
|
||||
return {
|
||||
buttonFlag:false,
|
||||
// key: value
|
||||
arbitrateRecordt: {},
|
||||
agreeOrNotCheck:1,
|
||||
@@ -327,8 +328,10 @@ export default {
|
||||
},
|
||||
// 校验裁决书
|
||||
verificationArbitrateRecordFn(parms) {
|
||||
this.buttonFlag = true;
|
||||
verificationArbitrateRecord(parms).then((res) => {
|
||||
this.cancel();
|
||||
this.buttonFlag = false;
|
||||
// this.$emit("updataList");
|
||||
this.$emit("getcaseApply", this.queryParams);
|
||||
// this.$message("成功");
|
||||
@@ -337,8 +340,10 @@ export default {
|
||||
},
|
||||
//审核裁决书
|
||||
checkArbitrateRecordFn(parms) {
|
||||
this.buttonFlag = true;
|
||||
checkArbitrateRecord(parms).then((res) => {
|
||||
this.cancel();
|
||||
this.buttonFlag = false;
|
||||
// this.$emit("updataList");
|
||||
this.$emit("getcaseApply", this.queryParams);
|
||||
// this.$message("成功");
|
||||
@@ -347,9 +352,11 @@ export default {
|
||||
},
|
||||
// 仲裁员审核裁决书
|
||||
arbitratorCheckArbitrateRecordFn(parms) {
|
||||
this.buttonFlag = true;
|
||||
console.log(parms)
|
||||
arbitratorCheckArbitrateRecord(parms).then((res) => {
|
||||
this.cancel();
|
||||
this.buttonFlag = false;
|
||||
// this.$emit("updataList");
|
||||
this.$emit("getcaseApply", this.queryParams);
|
||||
// this.$message("成功");
|
||||
@@ -358,8 +365,10 @@ export default {
|
||||
},
|
||||
// 签名
|
||||
adjudicationSignatureFn(parms) {
|
||||
this.buttonFlag = true;
|
||||
adjudicationSignature(parms).then((res) => {
|
||||
this.cancel();
|
||||
this.buttonFlag = false;
|
||||
// this.$emit("updataList");
|
||||
this.$emit("getcaseApply", this.queryParams);
|
||||
this.$message("成功");
|
||||
@@ -408,18 +417,7 @@ export default {
|
||||
});
|
||||
}
|
||||
} else if (parms == 2) {
|
||||
// if (!that.arbitrateRecord.arbitrateReject == "") {
|
||||
// this.$message.error('请输入拒绝原因');
|
||||
// return
|
||||
// } else {
|
||||
// this.arbitrateRecord.deptorReject = this.arbitrateRecord.arbitrateReject;
|
||||
// delete this.arbitrateRecord.arbitrateReject;
|
||||
// this.checkArbitrateRecordFn({
|
||||
// id: this.form.id,
|
||||
// agreeOrNotCheck: 2,
|
||||
// arbitrateRecord: this.arbitrateRecord,
|
||||
// });
|
||||
// }
|
||||
|
||||
} else if (parms == 3) {
|
||||
this.adjudicationSignatureFn({
|
||||
id: this.form.id,
|
||||
@@ -440,16 +438,6 @@ export default {
|
||||
arbitrateRecord: this.arbitrateRecord,
|
||||
});
|
||||
}
|
||||
// if (!that.arbitrateRecord.arbitrateReject) {
|
||||
// this.$message.error('请输入拒绝原因');
|
||||
// return
|
||||
// } else {
|
||||
// this.arbitratorCheckArbitrateRecordFn({
|
||||
// id: this.form.id,
|
||||
// agreeOrNotCheck: 2,
|
||||
// arbitrateRecord: this.arbitrateRecord,
|
||||
// });
|
||||
// }
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user