feat: 仿真策划已入库隐藏删除
This commit is contained in:
@@ -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]));
|
||||
},
|
||||
},
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user