mirror of
https://gitee.com/hhyykk/ipms-sjy-ui.git
synced 2025-08-07 06:31:52 +08:00
Vue3 重构:基本完善完 邮件模版 的重构
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
import type { CrudSchema } from '@/hooks/web/useCrudSchemas'
|
||||
import { dateFormatter } from '@/utils/formatTime'
|
||||
import { TableColumn } from '@/types/table'
|
||||
import { DictTag } from '@/components/DictTag'
|
||||
import * as MailAccountApi from '@/api/system/mail/account'
|
||||
|
||||
const accounts = await MailAccountApi.getSimpleMailAccountList()
|
||||
@@ -38,9 +37,6 @@ const crudSchemas = reactive<CrudSchema[]>([
|
||||
field: 'content',
|
||||
form: {
|
||||
component: 'Editor',
|
||||
colProps: {
|
||||
span: 24
|
||||
},
|
||||
componentProps: {
|
||||
valueHtml: '',
|
||||
height: 200
|
||||
@@ -84,12 +80,6 @@ const crudSchemas = reactive<CrudSchema[]>([
|
||||
label: '开启状态',
|
||||
field: 'status',
|
||||
isSearch: true,
|
||||
formatter: (_: Recordable, __: TableColumn, cellValue: number) => {
|
||||
return h(DictTag, {
|
||||
type: DICT_TYPE.COMMON_STATUS,
|
||||
value: cellValue
|
||||
})
|
||||
},
|
||||
dictType: DICT_TYPE.COMMON_STATUS,
|
||||
dictClass: 'number'
|
||||
},
|
||||
|
Reference in New Issue
Block a user