feat(sj_1.0.0): 修复工作流页面通知场景不显示问题
This commit is contained in:
parent
9adb8adede
commit
6a6a6c8ce7
@ -10,7 +10,7 @@ import NotifyConfigOperateDrawer from '@/views/notify/scene/modules/notify-confi
|
||||
import NotifyConfigSearch from '@/views/notify/scene/modules/notify-config-search.vue';
|
||||
import NotifyConfigDetailDrawer from '@/views/notify/scene/modules/notify-config-detail-drawer.vue';
|
||||
import StatusSwitch from '@/components/common/status-switch.vue';
|
||||
import { jobNotifyScene, retryNotifyScene, systemTaskType } from '@/constants/business';
|
||||
import { jobNotifyScene, retryNotifyScene, systemTaskType, workflowNotifyScene } from '@/constants/business';
|
||||
import { tagColor } from '@/utils/common';
|
||||
|
||||
const appStore = useAppStore();
|
||||
@ -120,6 +120,11 @@ const { columns, columnChecks, data, getData, loading, mobilePagination, searchP
|
||||
return <NTag type={tagColor(row.notifyScene)}>{label}</NTag>;
|
||||
}
|
||||
|
||||
if (row.systemTaskType === 4) {
|
||||
const label = $t(workflowNotifyScene[row.notifyScene! as Api.NotifyConfig.WorkflowNotifyScene]);
|
||||
return <NTag type={tagColor(row.notifyScene)}>{label}</NTag>;
|
||||
}
|
||||
|
||||
return null;
|
||||
}
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user