feat: 仿真策划已入库隐藏删除

This commit is contained in:
JiangSheng
2026-03-17 14:59:59 +08:00
parent e00f2f1bb7
commit 06599fdbf3

View File

@@ -83,6 +83,7 @@ import { generateFakeId } from '@/utils/node';
import { useI18n } from 'vue-i18n';
import { TABLE_NAME } from '@/utils/enum/tableName';
import { disposeTaskMembers } from '@/utils/task';
import { enableConfigByTenant, TENANT_ENUM } from '@/tenants/tenant';
const { t } = useI18n();
const loadcaseTableRef = ref();
@@ -393,8 +394,8 @@ const actionList = computed(() => {
click: (row: any) => {
deleteTableRowFun(row);
},
hide: () => {
return props.readonly;
hide: (row: any) => {
return props.readonly || (props.belongProject && row.uuid && enableConfigByTenant([TENANT_ENUM.LYRIC]));
},
},
];