fix: 工况库

This commit is contained in:
JiangSheng
2025-10-30 20:49:42 +08:00
parent fe64f25781
commit a560d8a16d

View File

@@ -830,11 +830,11 @@ const getColumnsList: any = async (
}
},
rules: [{ required: true, message: '请选择任务类型', trigger: 'change' }],
displayType: [NODE_TYPE.CATEGORY, NODE_TYPE.TASK],
displayType: [NODE_TYPE.CATEGORY, NODE_TYPE.TASK, NODE_TYPE.PERFORMANCE],
disabled: (row: any, operationType: string) => {
// if (isCategoryNodeType(row.nodeType) && operationType === 'add') {
// return false;
// }
if (isCategoryNodeType(row.nodeType) && operationType === 'add') {
return false;
}
return true;
},