fix: preserve legacy report record source accuracy
This commit is contained in:
+1
-1
@@ -577,7 +577,7 @@ export type ReportRecord = DictionaryItem & {
|
||||
statusBefore?: string | null;
|
||||
statusAfter?: string | null;
|
||||
reason?: string | null;
|
||||
sourceEntry?: 'system' | 'enterprise_signature' | 'report_task' | 'channel_report';
|
||||
sourceEntry?: 'system' | 'legacy' | 'enterprise_signature' | 'report_task' | 'channel_report';
|
||||
channel?: AdminChannel;
|
||||
task?: ReportTask;
|
||||
};
|
||||
|
||||
@@ -25,7 +25,7 @@ const actionLabel: Record<string, string> = {
|
||||
};
|
||||
|
||||
const sourceEntryLabel: Record<string, string> = {
|
||||
enterprise_signature: '企业签名修改', report_task: '报备任务修改', channel_report: '通道信息修改', system: '系统自动处理',
|
||||
enterprise_signature: '企业签名修改', report_task: '报备任务修改', channel_report: '通道信息修改', system: '系统自动处理', legacy: '历史记录(入口未记录)',
|
||||
};
|
||||
|
||||
function translateStatus(value?: string | null) {
|
||||
|
||||
Reference in New Issue
Block a user