diff --git a/src/components/ConfigManager/SiteManagement.vue b/src/components/ConfigManager/SiteManagement.vue
index a9869f4..a69c421 100644
--- a/src/components/ConfigManager/SiteManagement.vue
+++ b/src/components/ConfigManager/SiteManagement.vue
@@ -218,9 +218,11 @@
{
+ if (valid) {
this.$http.post(httpurl, this.configForm).then(res => {
console.log(res);
if (res.data.code === 200) {
@@ -918,6 +945,8 @@
showClose: true
});
});
+ }
+ })
},
//响应地图组件的确定,拾取坐标
SendLngLat(lonlat) {
@@ -1070,7 +1099,8 @@
resetField(formName) {
this.yzaddflag = false;
this.configtrue = false;
-
+ this.configForm.referRainStationSt=[]
+ this.isEnable=""
this.closedialog();
},
//获取站点类型列表
@@ -1173,6 +1203,10 @@
//配置因子
case "config":
this.title = "修复因子";
+ this.$nextTick(()=>{
+ this.$refs.configForm.resetFields();//等弹窗里的form表单的dom渲染完在执行this.$refs.staffForm.resetFields(),去除验证
+ });
+
(this.configForm = {
ruleId: "", //规则引擎
@@ -1253,7 +1287,7 @@
}
}
});
-
+
this.configtrue = true;
break;
//查看关联设备