|
@@ -2661,7 +2661,7 @@ export default {
|
|
|
async nodeInfoSave () {//节点参数弹框保存按钮
|
|
|
if (this.nodeInfoTable) {
|
|
|
if(this.nodeInfoTable.length == 0){
|
|
|
- await this.saveOrUpdateBatch({projectId:this.projectid,nodeId:this.jiedianId,wps:[
|
|
|
+ await this.saveOrUpdateBatch({projectId:this.projectid,nodeId:this.jiedianId,type:1,wps:[
|
|
|
{
|
|
|
nodeId: this.jiedianId,
|
|
|
type: -1,
|
|
@@ -2692,7 +2692,7 @@ export default {
|
|
|
|
|
|
})
|
|
|
if (tag) {
|
|
|
- await this.saveOrUpdateBatch({projectId:this.projectid,nodeId:this.jiedianId,wps:this.nodeInfoTable})
|
|
|
+ await this.saveOrUpdateBatch({projectId:this.projectid,nodeId:this.jiedianId,wps:this.nodeInfoTable,type:1})
|
|
|
this.nodeInfoVisible = false
|
|
|
this.$message({
|
|
|
type: "success",
|
|
@@ -2720,7 +2720,7 @@ export default {
|
|
|
}
|
|
|
})
|
|
|
if (tag) {
|
|
|
- await this.saveOrUpdateBatch({projectId:this.projectid,nodeId:this.jiedianId,wps:this.namelists}) //保存设置参数
|
|
|
+ await this.saveOrUpdateBatch({projectId:this.projectid,nodeId:this.jiedianId,wps:this.namelists,type:0}) //保存设置参数
|
|
|
this.infoNameVisible = false
|
|
|
this.keymap()
|
|
|
} else {
|