...
|
...
|
@@ -704,7 +704,7 @@ export default { |
|
|
}
|
|
|
|
|
|
if(this.type){
|
|
|
if(this.type=='base'){
|
|
|
if(this.type=='base' && this.faultEnvironmentRadio=='1'){
|
|
|
this.saveBase();
|
|
|
}else{
|
|
|
this.saveConfigDetailOther();
|
...
|
...
|
@@ -777,7 +777,7 @@ export default { |
|
|
that.switchModel();
|
|
|
|
|
|
}else{
|
|
|
that.$global.showMsg('保存失败','warning')
|
|
|
that.$global.showMsg('模块保存失败','warning')
|
|
|
|
|
|
}
|
|
|
that.isLoading=false;
|
...
|
...
|
@@ -904,11 +904,11 @@ export default { |
|
|
if(res && res.success){
|
|
|
that.targetId=res.str;
|
|
|
that.setTargetId(that.targetId)
|
|
|
that.$global.showMsg('保存成功')
|
|
|
that.$global.showMsg(res.msg)
|
|
|
// that.alarmList=res.data;
|
|
|
that.saveConfigDetailOther();
|
|
|
}else{
|
|
|
that.$global.showMsg('保存失败','warning')
|
|
|
that.$global.showMsg('基础环境保存失败','warning')
|
|
|
|
|
|
}
|
|
|
that.isLoading=false;
|
...
|
...
|
|