...
|
...
|
@@ -103,7 +103,7 @@ export default { |
|
|
let name=Vue.ref();
|
|
|
|
|
|
Vue.watch(()=>props.isDisplay,(newValue, oldValue)=>{
|
|
|
|
|
|
console.log("jdjdjdjdj",newValue)
|
|
|
proxy.networkMonitorVisible=newValue;
|
|
|
if(newValue){
|
|
|
proxy.setBizId();
|
...
|
...
|
@@ -193,7 +193,13 @@ export default { |
|
|
let linkId='';
|
|
|
if(proxy.isClickNet!=-1){
|
|
|
linkId=proxy.linkId;
|
|
|
|
|
|
}else{
|
|
|
linkId='';
|
|
|
}
|
|
|
bNetNodeList.map((item,index)=>{
|
|
|
item.linkId=linkId;
|
|
|
})
|
|
|
let params={
|
|
|
bNetLink:{
|
|
|
id:linkId,
|
...
|
...
|
@@ -204,7 +210,7 @@ export default { |
|
|
bNetNodeList:bNetNodeList
|
|
|
}
|
|
|
proxy.$http.post(proxy.apiUrl1,params,function (res){
|
|
|
if(res){
|
|
|
if(res && res.success){
|
|
|
proxy.$global.showMsg("添加成功", "success")
|
|
|
// proxy.tableVisible=false;
|
|
|
if(res.object){
|
...
|
...
|
@@ -215,6 +221,9 @@ export default { |
|
|
}
|
|
|
|
|
|
proxy.getNetLinkList();
|
|
|
}else{
|
|
|
proxy.$global.showMsg("添加失败", "success")
|
|
|
|
|
|
}
|
|
|
})
|
|
|
}else{
|
...
|
...
|
@@ -398,7 +407,7 @@ export default { |
|
|
that.nodeData.splice(index, 1);
|
|
|
that.nodeName='';
|
|
|
console.log("delette",that.nodeData.length)
|
|
|
if(that.nodeData.length==1){
|
|
|
if(that.nodeData.length<1){
|
|
|
that.addSetLIstVisible=true;
|
|
|
}
|
|
|
|
...
|
...
|
@@ -539,7 +548,7 @@ export default { |
|
|
saveModel(){
|
|
|
let that=this;
|
|
|
let params={
|
|
|
type:'npm',
|
|
|
type:'netlink',
|
|
|
targetId:this.targetId,
|
|
|
state:'1',
|
|
|
id:this.modleId,
|
...
|
...
|
|