|
@ -10,7 +10,7 @@ import {getValueCount, unSetColumnRules} from '@/utils' |
|
|
import {Table as ProTable} from '@/components/table' |
|
|
import {Table as ProTable} from '@/components/table' |
|
|
import {msgListAtom, msgSearchAtom, saveMsgAtom} from "@/store/message/my.ts"; |
|
|
import {msgListAtom, msgSearchAtom, saveMsgAtom} from "@/store/message/my.ts"; |
|
|
import {templateAllListAtom} from "@/store/message/template.ts"; |
|
|
import {templateAllListAtom} from "@/store/message/template.ts"; |
|
|
import {IMsgTemplate} from "@/types/message/template.ts"; |
|
|
|
|
|
|
|
|
import {coverType, IMsgTemplate} from "@/types/message/template.ts"; |
|
|
|
|
|
|
|
|
const i18nPrefix = 'msgMy.list' |
|
|
const i18nPrefix = 'msgMy.list' |
|
|
|
|
|
|
|
@ -243,7 +243,7 @@ const MdwMessage = () => { |
|
|
title: t(`${i18nPrefix}.columns.type`, '类型'), |
|
|
title: t(`${i18nPrefix}.columns.type`, '类型'), |
|
|
dataIndex: 'type', |
|
|
dataIndex: 'type', |
|
|
render: (_, record) => { |
|
|
render: (_, record) => { |
|
|
return <div>{record.type}</div> |
|
|
|
|
|
|
|
|
return <div>{coverType(record.type)}</div> |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|