diff --git a/src/views/caseManagement/components/mediation.vue b/src/views/caseManagement/components/mediation.vue
index 7336e3a..604c575 100644
--- a/src/views/caseManagement/components/mediation.vue
+++ b/src/views/caseManagement/components/mediation.vue
@@ -118,9 +118,10 @@
取 消
-
- 提 交
+
+ 提 交
@@ -169,6 +170,7 @@ export default {
fileList: [],
attachList: [],
isSecretaryRole: true,
+ loadingSubmit: false
};
},
watch: {
@@ -290,16 +292,19 @@ export default {
this.$modal.msgSuccess("成功");
this.$emit("cancelMediation");
this.$emit("getList", this.queryParams);
+ this.loadingSubmit = false;
});
},
cancel() {
this.$emit("cancelMediation");
},
-
- submitMediation: _.debounce(function() {
+
+ submitMediation() {
if (this.fileList.length < 1 && !this.mediationType && this.mediationData.mediationMethod == "2") {
this.$modal.msgError("请上传调解书");
return
+ } else {
+ this.loadingSubmit = true;
}
let mediationVal = {}
if (this.codes == 200) {
@@ -318,7 +323,7 @@ export default {
}
}
this.mediationFn(mediationVal);
- },5000),
+ },
resultsMediation() {
}
diff --git a/vue.config.js b/vue.config.js
index 5d9fa00..ed2f028 100644
--- a/vue.config.js
+++ b/vue.config.js
@@ -12,7 +12,7 @@ const name = process.env.VUE_APP_TITLE || '调解系统' // 网页标题
const port = process.env.port || process.env.npm_config_port || 80 // 端口
// const API = 'http://121.40.189.20:9001' //生产
-const API = 'http://121.40.189.20:6001' //测试
+const API = 'http://121.40.189.20:7001' //测试
// const API = 'http://192.168.3.18:6001' //B
// const API = 'http://172.16.0.237:6001' //Q
// const API = 'http://172.16.1.43:6001' //w