|
@@ -2567,6 +2567,19 @@ export default {
|
|
|
},
|
|
|
async nodeInfoSave () {//节点参数弹框保存按钮
|
|
|
if (this.nodeInfoTable) {
|
|
|
+ if(this.nodeInfoTable.length == 0){
|
|
|
+ await this.saveOrUpdateBatch({
|
|
|
+ "wbsId": this.id,
|
|
|
+ "type": -1,
|
|
|
+ })
|
|
|
+ this.nodeInfoVisible = false
|
|
|
+ this.$message({
|
|
|
+ type: "success",
|
|
|
+ message: "保存参数节点成功!"
|
|
|
+ })
|
|
|
+ return;
|
|
|
+ }
|
|
|
+
|
|
|
let tag = true
|
|
|
this.nodeInfoTable.forEach(val => {
|
|
|
if (!val.k | !val.v) {
|