|
@@ -1372,6 +1372,7 @@
|
|
<el-button
|
|
<el-button
|
|
type="primary"
|
|
type="primary"
|
|
@click="nodeInfoSave()"
|
|
@click="nodeInfoSave()"
|
|
|
|
+ :loading="nodeInfoSaveload"
|
|
>保 存</el-button>
|
|
>保 存</el-button>
|
|
</span>
|
|
</span>
|
|
</el-dialog>
|
|
</el-dialog>
|
|
@@ -1445,7 +1446,7 @@
|
|
slot="footer"
|
|
slot="footer"
|
|
class="dialog-footer"
|
|
class="dialog-footer"
|
|
>
|
|
>
|
|
- <el-button @click="addParameterName()">保 存</el-button>
|
|
|
|
|
|
+ <el-button @click="addParameterName()" >保 存</el-button>
|
|
<el-button @click="closeParameter()">关 闭</el-button>
|
|
<el-button @click="closeParameter()">关 闭</el-button>
|
|
</span>
|
|
</span>
|
|
</el-dialog>
|
|
</el-dialog>
|
|
@@ -1779,7 +1780,8 @@ export default {
|
|
{icon: 'el-icon-delete', label: '删除节点', key: "del"},
|
|
{icon: 'el-icon-delete', label: '删除节点', key: "del"},
|
|
|
|
|
|
],//树组件操作菜单
|
|
],//树组件操作菜单
|
|
- menuKey:''
|
|
|
|
|
|
+ menuKey:'',
|
|
|
|
+ nodeInfoSaveload:false
|
|
};
|
|
};
|
|
},
|
|
},
|
|
computed: {
|
|
computed: {
|
|
@@ -2756,13 +2758,15 @@ export default {
|
|
|
|
|
|
})
|
|
})
|
|
if (tag) {
|
|
if (tag) {
|
|
|
|
+ this.nodeInfoSaveload=true
|
|
await this.saveOrUpdateBatch({scopeType:1,projectId:this.projectid,nodeId:this.jiedianId,wps:this.nodeInfoTable,type:1,delIds:this.delids})
|
|
await this.saveOrUpdateBatch({scopeType:1,projectId:this.projectid,nodeId:this.jiedianId,wps:this.nodeInfoTable,type:1,delIds:this.delids})
|
|
- this.nodeInfoVisible = false;
|
|
|
|
this.delIds=[]
|
|
this.delIds=[]
|
|
this.$message({
|
|
this.$message({
|
|
type: "success",
|
|
type: "success",
|
|
message: "设置参数节点成功!"
|
|
message: "设置参数节点成功!"
|
|
})
|
|
})
|
|
|
|
+ this.nodeInfoSaveload=false
|
|
|
|
+ this.nodeInfoVisible = false;
|
|
} else {
|
|
} else {
|
|
this.$message({
|
|
this.$message({
|
|
type: "error",
|
|
type: "error",
|