|
@@ -2287,7 +2287,7 @@ export default {
|
|
|
this.fileUrl = "";
|
|
|
}
|
|
|
});
|
|
|
- }
|
|
|
+ }curTreeData
|
|
|
},
|
|
|
|
|
|
importTemplateHandle() {
|
|
@@ -2822,7 +2822,7 @@ export default {
|
|
|
}
|
|
|
});
|
|
|
if (tag) {
|
|
|
- await this.saveOrUpdateBatch({projectId:this.projectid,nodeId:this.jiedianId,wps:this.nodeInfoTable,type:1,delIds:this.delids});
|
|
|
+ await this.saveOrUpdateBatch({scopeType:10,projectId:this.projectid,nodeId:this.jiedianId,wps:this.nodeInfoTable,type:1,delIds:this.delids});
|
|
|
this.nodeInfoVisible = false;
|
|
|
this.delIds=[];
|
|
|
this.$message({
|
|
@@ -2852,7 +2852,7 @@ export default {
|
|
|
}
|
|
|
});
|
|
|
if (tag) {
|
|
|
- await this.saveOrUpdateBatch({projectId:this.projectid,nodeId:this.jiedianId,wps:this.namelists,type:0,delIds:this.delids}); //保存设置参数
|
|
|
+ await this.saveOrUpdateBatch({scopeType:10,projectId:this.projectid,nodeId:this.jiedianId,wps:this.namelists,type:0,delIds:this.delids}); //保存设置参数
|
|
|
this.infoNameVisible = false;
|
|
|
this.delIds=[];
|
|
|
this.keymap();
|
|
@@ -3213,7 +3213,7 @@ export default {
|
|
|
linkEle(row){
|
|
|
this.linkEleVisible = true;
|
|
|
this.curParam = row;
|
|
|
- getParamElements({nodeId:this.jiedianId,paramId:row.id}).then((res) => {
|
|
|
+ getParamElements({nodeId:this.curTreeData.id,projectId:this.projectid,paramId:row.id,scopeType:10}).then((res) => {
|
|
|
if (res.data.data.length) {
|
|
|
this.linkEleTableList = res.data.data;
|
|
|
} else {
|
|
@@ -3235,7 +3235,6 @@ export default {
|
|
|
this.linkEleListAll = [].concat(this.linkEleList);
|
|
|
})
|
|
|
},
|
|
|
-
|
|
|
//删除关联
|
|
|
delLink(data){
|
|
|
this.$confirm('删除关联, 是否继续?', '提示', {
|
|
@@ -3250,7 +3249,7 @@ export default {
|
|
|
message: "删除成功!"
|
|
|
});
|
|
|
|
|
|
- getParamElements({nodeId:this.jiedianId,paramId:this.curParam.id}).then((res) => {
|
|
|
+ getParamElements({nodeId:this.curTreeData.id,projectId:this.projectid,paramId:this.curParam.id,scopeType:10}).then((res) => {
|
|
|
if (res.data.data.length) {
|
|
|
this.linkEleTableList = res.data.data;
|
|
|
} else {
|
|
@@ -3291,7 +3290,7 @@ export default {
|
|
|
})
|
|
|
specifiedParamElements(target).then(data=>{
|
|
|
this.linkCheckVisible = false;
|
|
|
- getParamElements({nodeId:this.jiedianId,paramId:this.curParam.id}).then((res) => {
|
|
|
+ getParamElements({nodeId:this.curTreeData.id,projectId:this.projectid,paramId:this.curParam.id,scopeType:10}).then((res) => {
|
|
|
if (res.data.data.length) {
|
|
|
this.linkEleTableList = res.data.data;
|
|
|
} else {
|