|
@@ -3328,6 +3328,7 @@ export default {
|
|
|
},
|
|
|
|
|
|
editNodeHandle() {
|
|
|
+ console.log(this.curTreeData,'this.curTreeData.id ');
|
|
|
if (!this.curTreeData.id || !this.curTreeNode.id) {
|
|
|
this.$message({
|
|
|
type: "warning",
|
|
@@ -3336,7 +3337,8 @@ export default {
|
|
|
return;
|
|
|
}
|
|
|
this.mixRatioTestIds = [];
|
|
|
- this.nodeTypeChange(53);
|
|
|
+ // this.nodeTypeChange(53);
|
|
|
+ this.nodeTypeChange(this.curTreeData.nodeType);
|
|
|
this.dialogTitle='编辑节点'
|
|
|
this.setLeftType(2, this.curTreeData, this.curTreeNode);
|
|
|
|
|
@@ -3350,7 +3352,8 @@ export default {
|
|
|
return;
|
|
|
}
|
|
|
this.mixRatioTestIds = [];
|
|
|
- this.nodeTypeChange(53);
|
|
|
+ // this.nodeTypeChange(53);
|
|
|
+ this.nodeTypeChange(this.curTreeData.nodeType);
|
|
|
this.dialogTitle='新增节点'
|
|
|
this.setLeftType(1, this.curTreeData, this.curTreeNode);
|
|
|
|