|
@@ -1981,6 +1981,7 @@ export default {
|
|
parentId: res.data.data.id,
|
|
parentId: res.data.data.id,
|
|
parentName: data.title,
|
|
parentName: data.title,
|
|
};
|
|
};
|
|
|
|
+ console.log(this.nodeDetail, " this.nodeDetail");
|
|
} else {
|
|
} else {
|
|
this.nodeDetail = Object.assign({}, res.data.data);
|
|
this.nodeDetail = Object.assign({}, res.data.data);
|
|
this.mixRatioTestIds = this.toSplit(res.data.data.mixRatioTestIds);
|
|
this.mixRatioTestIds = this.toSplit(res.data.data.mixRatioTestIds);
|
|
@@ -3197,7 +3198,12 @@ export default {
|
|
});
|
|
});
|
|
return;
|
|
return;
|
|
}
|
|
}
|
|
- if (this.curTreeData.nodeType == 6 || this.curTreeData.isExistForm == 1) {
|
|
|
|
|
|
+ if (
|
|
|
|
+ this.curTreeData.nodeType == 6 ||
|
|
|
|
+ this.curTreeData.isExistForm == 1 ||
|
|
|
|
+ this.curTreeData.unitName ||
|
|
|
|
+ this.curTreeData.className
|
|
|
|
+ ) {
|
|
this.$message({
|
|
this.$message({
|
|
type: "warning",
|
|
type: "warning",
|
|
message: "该节点下无法新增节点",
|
|
message: "该节点下无法新增节点",
|