修改仲裁bug

This commit is contained in:
gyj
2024-05-08 17:07:11 +08:00
parent b6a782e1df
commit d4a850cf4b
28 changed files with 1596 additions and 188 deletions
@@ -260,7 +260,7 @@
</el-col> -->
</el-form>
<div slot="footer" class="dialog-footer">
<el-button type="primary" @click="submitForm">提交仲裁结果</el-button>
<el-button type="primary" @click="submitForm" :loading="loadingSubmit">提交仲裁结果</el-button>
<el-button @click="cancel">取 消</el-button>
</div>
</el-dialog>
@@ -278,6 +278,7 @@ export default {
form2: {},
applicateArr: [],//申请人案件资料
quiltArr: [],//被申请人案件资料
loadingSubmit: false,
};
},
watch: {
@@ -328,6 +329,7 @@ export default {
submitForm() {
this.$refs["form2"].validate((valid) => {
if (valid) {
this.loadingSubmit = true;
writtenHear({
ids: [this.formData.id],
evidenDetermi: this.form2.evidenDetermi,
@@ -340,8 +342,11 @@ export default {
this.$modal.msgSuccess("提交成功");
this.cancel();
this.$emit("getcaseApply",this.queryParams);
this.loadingSubmit = false;
})
.catch((err) => {});
.catch((err) => {
this.loadingSubmit = false;
});
}
});
},