|
@@ -494,8 +494,10 @@
|
|
this.confirmLoading = false;
|
|
this.confirmLoading = false;
|
|
return;
|
|
return;
|
|
}
|
|
}
|
|
- var index = this.interlockTwoTree.findIndex(item => item.key === this.model.pid)
|
|
|
|
- this.model.groupName = this.interlockTwoTree[index].title + '_' + this.model.interlockName
|
|
|
|
|
|
+ if(this.model.interlockType === '1'){
|
|
|
|
+ var index = this.interlockTwoTree.findIndex(item => item.key === this.model.pid)
|
|
|
|
+ this.model.groupName = this.interlockTwoTree[index].title + '_' + this.model.interlockName
|
|
|
|
+ }
|
|
// console.log(this.model.groupName)
|
|
// console.log(this.model.groupName)
|
|
httpAction(httpurl,this.model,method).then((res)=>{
|
|
httpAction(httpurl,this.model,method).then((res)=>{
|
|
if(res.success){
|
|
if(res.success){
|