修改仲裁bug
This commit is contained in:
@@ -631,7 +631,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div slot="footer" class="dialog-footer" style="text-align:center;margin-top:20px;">
|
||||
<el-button type="primary" @click="submitForm" v-if="flag != 0" class="endbutton"><span>确 定</span></el-button>
|
||||
<el-button type="primary" @click="submitForm" v-if="flag != 0" class="endbutton" :loading="loadingSubmit"><span>确 定</span></el-button>
|
||||
<el-button @click="cancel" class="endbutton1"><span>取 消</span></el-button>
|
||||
</div>
|
||||
|
||||
@@ -681,6 +681,7 @@ export default {
|
||||
data() {
|
||||
return {
|
||||
activeName: 'first',
|
||||
loadingSubmit: false,
|
||||
fileURL: window.location.origin + "/API",
|
||||
formData: this.form,
|
||||
templateList: [],
|
||||
@@ -1077,6 +1078,7 @@ export default {
|
||||
"YYYY-MM-DD HH:mm:ss"
|
||||
);
|
||||
if (valid) {
|
||||
this.loadingSubmit = true;
|
||||
this.$refs["form2"].validate((valid) => {
|
||||
if (valid) {
|
||||
this.$refs["form3"].validate((vail) => {
|
||||
@@ -1099,7 +1101,10 @@ export default {
|
||||
this.$modal.msgSuccess("修改成功");
|
||||
this.$emit("cancel");
|
||||
this.getcaseApply(this.queryParams);
|
||||
this.loadingSubmit = false;
|
||||
}
|
||||
}).catch((err) => {
|
||||
this.loadingSubmit = false;
|
||||
});
|
||||
} else {
|
||||
addCaseApply({
|
||||
@@ -1110,7 +1115,10 @@ export default {
|
||||
this.$modal.msgSuccess("新增成功");
|
||||
this.$emit("cancel");
|
||||
this.getcaseApply(this.queryParams);
|
||||
this.loadingSubmit = false;
|
||||
}
|
||||
}).catch((err) => {
|
||||
this.loadingSubmit = false;
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user