|
@@ -1223,6 +1223,7 @@
|
|
class="jiedian"
|
|
class="jiedian"
|
|
:close-on-click-modal="false"
|
|
:close-on-click-modal="false"
|
|
:show-close="false"
|
|
:show-close="false"
|
|
|
|
+ @close="closenodeInfoVisible"
|
|
>
|
|
>
|
|
<div>
|
|
<div>
|
|
<el-button
|
|
<el-button
|
|
@@ -1304,6 +1305,7 @@
|
|
append-to-body
|
|
append-to-body
|
|
class="jiedian"
|
|
class="jiedian"
|
|
:close-on-click-modal="false"
|
|
:close-on-click-modal="false"
|
|
|
|
+
|
|
>
|
|
>
|
|
<div>
|
|
<div>
|
|
<div class="flexEnd">
|
|
<div class="flexEnd">
|
|
@@ -2891,6 +2893,10 @@ export default {
|
|
this.parameters(data.primaryKeyId);
|
|
this.parameters(data.primaryKeyId);
|
|
this.nodeInfoVisible = true;
|
|
this.nodeInfoVisible = true;
|
|
},
|
|
},
|
|
|
|
+ closenodeInfoVisible(){
|
|
|
|
+ this.nodeInfoTable=[]
|
|
|
|
+ this.nodeInfoVisible = false;
|
|
|
|
+ },
|
|
addNodeInfoTable() {
|
|
addNodeInfoTable() {
|
|
//添加节点参数数据
|
|
//添加节点参数数据
|
|
this.nodeInfoTable.unshift({
|
|
this.nodeInfoTable.unshift({
|
|
@@ -2932,6 +2938,7 @@ export default {
|
|
this.infoNameVisible = true;
|
|
this.infoNameVisible = true;
|
|
this.namelists = [...this.namelist];
|
|
this.namelists = [...this.namelist];
|
|
},
|
|
},
|
|
|
|
+
|
|
async setParameterName() {
|
|
async setParameterName() {
|
|
//设置参数名称中添加节点参数按钮
|
|
//设置参数名称中添加节点参数按钮
|
|
// wbsId: this.jiedianId
|
|
// wbsId: this.jiedianId
|
|
@@ -3029,7 +3036,9 @@ export default {
|
|
const { data: res } = await parameters({ wbsId });
|
|
const { data: res } = await parameters({ wbsId });
|
|
console.log(res);
|
|
console.log(res);
|
|
if (res.code == 200) {
|
|
if (res.code == 200) {
|
|
- this.nodeInfoTable = res.data;
|
|
|
|
|
|
+ if( Array.isArray(res.data)){
|
|
|
|
+ this.nodeInfoTable = res.data
|
|
|
|
+ }
|
|
}
|
|
}
|
|
},
|
|
},
|
|
async saveOrUpdateBatch(da) {
|
|
async saveOrUpdateBatch(da) {
|