Showing
3 changed files
with
18 additions
and
3 deletions
... | ... | @@ -4,6 +4,7 @@ import { h } from 'vue'; |
4 | 4 | import { Tag } from 'ant-design-vue'; |
5 | 5 | import { useI18n } from '/@/hooks/web/useI18n'; |
6 | 6 | import moment from 'moment'; |
7 | +import { findDictItemByCode } from '/@/api/system/dict'; | |
7 | 8 | const { t } = useI18n(); |
8 | 9 | export const columns: BasicColumn[] = [ |
9 | 10 | { |
... | ... | @@ -12,7 +13,7 @@ export const columns: BasicColumn[] = [ |
12 | 13 | width: 160, |
13 | 14 | }, |
14 | 15 | { |
15 | - title: '短信平台', | |
16 | + title: '消息平台', | |
16 | 17 | dataIndex: 'typeDictText', |
17 | 18 | width: 160, |
18 | 19 | }, |
... | ... | @@ -61,6 +62,20 @@ export const searchFormSchema: FormSchema[] = [ |
61 | 62 | }, |
62 | 63 | }, |
63 | 64 | { |
65 | + field: 'typeDictText', | |
66 | + label: '消息平台', | |
67 | + component: 'ApiSelect', | |
68 | + colProps: { span: 6 }, | |
69 | + componentProps: { | |
70 | + api: findDictItemByCode, | |
71 | + params: { | |
72 | + dictCode: 'message_type', | |
73 | + }, | |
74 | + labelField: 'itemText', | |
75 | + valueField: 'itemValue', | |
76 | + }, | |
77 | + }, | |
78 | + { | |
64 | 79 | field: 'sendTime', |
65 | 80 | label: '发送时间', |
66 | 81 | component: 'RangePicker', | ... | ... |