diff --git a/yudao-ui-admin-vue3/src/api/system/dept/index.ts b/yudao-ui-admin-vue3/src/api/system/dept/index.ts index 32badefeb..d66de3f1c 100644 --- a/yudao-ui-admin-vue3/src/api/system/dept/index.ts +++ b/yudao-ui-admin-vue3/src/api/system/dept/index.ts @@ -9,6 +9,7 @@ export interface DeptVO { leaderUserId: number phone: string email: string + createTime: Date } export interface DeptPageReqVO { diff --git a/yudao-ui-admin-vue3/src/api/system/dict/types.ts b/yudao-ui-admin-vue3/src/api/system/dict/types.ts index 3b5893833..b630dccba 100644 --- a/yudao-ui-admin-vue3/src/api/system/dict/types.ts +++ b/yudao-ui-admin-vue3/src/api/system/dict/types.ts @@ -4,21 +4,21 @@ export type DictTypeVO = { type: string status: number remark: string - createTime: string + createTime: Date } export type DictTypePageReqVO = { name: string type: string status: number - createTime: [] + createTime: Date[] } export type DictTypeExportReqVO = { name: string type: string status: number - createTime: [] + createTime: Date[] } export type DictDataVO = { @@ -31,7 +31,7 @@ export type DictDataVO = { colorType: string cssClass: string remark: string - createTime: string + createTime: Date } export type DictDataPageReqVO = { label: string diff --git a/yudao-ui-admin-vue3/src/api/system/errorCode/index.ts b/yudao-ui-admin-vue3/src/api/system/errorCode/index.ts index b42b7ba27..0e000794e 100644 --- a/yudao-ui-admin-vue3/src/api/system/errorCode/index.ts +++ b/yudao-ui-admin-vue3/src/api/system/errorCode/index.ts @@ -7,7 +7,7 @@ export interface ErrorCodeVO { code: number message: string memo: string - createTime: string + createTime: Date } export interface ErrorCodePageReqVO extends PageParam { @@ -15,7 +15,7 @@ export interface ErrorCodePageReqVO extends PageParam { applicationName?: string code?: number message?: string - createTime?: string[] + createTime?: Date[] } // 查询错误码列表 diff --git a/yudao-ui-admin-vue3/src/api/system/loginLog/index.ts b/yudao-ui-admin-vue3/src/api/system/loginLog/index.ts index 5e4e5d4f5..cadaeaf30 100644 --- a/yudao-ui-admin-vue3/src/api/system/loginLog/index.ts +++ b/yudao-ui-admin-vue3/src/api/system/loginLog/index.ts @@ -4,19 +4,20 @@ export interface LoginLogVO { id: number logType: number traceId: number + userId: number userType: number username: string status: number userIp: string userAgent: string - createTime: string + createTime: Date } export interface LoginLogReqVO extends PageParam { userIp?: string username?: string status?: boolean - createTime?: string[] + createTime?: Date[] } // 查询登录日志列表 diff --git a/yudao-ui-admin-vue3/src/api/system/menu/index.ts b/yudao-ui-admin-vue3/src/api/system/menu/index.ts index c5a2c287a..8f4029fe8 100644 --- a/yudao-ui-admin-vue3/src/api/system/menu/index.ts +++ b/yudao-ui-admin-vue3/src/api/system/menu/index.ts @@ -13,7 +13,7 @@ export interface MenuVO { status: number visible: boolean keepAlive: boolean - createTime: string + createTime: Date } export interface MenuPageReqVO { diff --git a/yudao-ui-admin-vue3/src/api/system/notice/index.ts b/yudao-ui-admin-vue3/src/api/system/notice/index.ts index 48afe8df0..f0f5d7e9c 100644 --- a/yudao-ui-admin-vue3/src/api/system/notice/index.ts +++ b/yudao-ui-admin-vue3/src/api/system/notice/index.ts @@ -8,9 +8,7 @@ export interface NoticeVO { status: number remark: string creator: string - createTime: string - updater: string - updateTime: string + createTime: Date } export interface NoticePageReqVO extends PageParam { diff --git a/yudao-ui-admin-vue3/src/api/system/oauth2/client.ts b/yudao-ui-admin-vue3/src/api/system/oauth2/client.ts index 677c54946..4c06386df 100644 --- a/yudao-ui-admin-vue3/src/api/system/oauth2/client.ts +++ b/yudao-ui-admin-vue3/src/api/system/oauth2/client.ts @@ -18,11 +18,15 @@ export interface OAuth2ClientVO { resourceIds: string[] additionalInformation: string isAdditionalInformationJson: boolean - createTime: string + createTime: Date } +export interface OAuth2ClientPageReqVO extends PageParam { + name?: string + status?: number +} // 查询 OAuth2列表 -export const getOAuth2ClientPageApi = (params) => { +export const getOAuth2ClientPageApi = (params: OAuth2ClientPageReqVO) => { return request.get({ url: '/system/oauth2-client/page', params }) } diff --git a/yudao-ui-admin-vue3/src/api/system/oauth2/token.ts b/yudao-ui-admin-vue3/src/api/system/oauth2/token.ts index 9d00fbed2..dc7c44f57 100644 --- a/yudao-ui-admin-vue3/src/api/system/oauth2/token.ts +++ b/yudao-ui-admin-vue3/src/api/system/oauth2/token.ts @@ -7,14 +7,14 @@ export interface OAuth2TokenVO { userId: number userType: number clientId: string - createTime: string - expiresTime: string + createTime: Date + expiresTime: Date } export interface OAuth2TokenPageReqVO extends PageParam { - code?: string - name?: string - status?: number + userId?: number + userType?: number + clientId?: string } // 查询 token列表 diff --git a/yudao-ui-admin-vue3/src/api/system/operatelog/index.ts b/yudao-ui-admin-vue3/src/api/system/operatelog/index.ts index 0745d6655..5fd31dbac 100644 --- a/yudao-ui-admin-vue3/src/api/system/operatelog/index.ts +++ b/yudao-ui-admin-vue3/src/api/system/operatelog/index.ts @@ -9,14 +9,14 @@ export type OperateLogVO = { name: string type: number content: string - exts: object + exts: Map requestMethod: string requestUrl: string userIp: string userAgent: string javaMethod: string javaMethodArgs: string - startTime: string + startTime: Date duration: number resultCode: number resultMsg: string @@ -28,7 +28,7 @@ export interface OperateLogPageReqVO extends PageParam { userNickname?: string type?: number success?: boolean - startTime?: string[] + startTime?: Date[] } // 查询操作日志列表 diff --git a/yudao-ui-admin-vue3/src/api/system/post/index.ts b/yudao-ui-admin-vue3/src/api/system/post/index.ts index 02f5bd034..9e2540f01 100644 --- a/yudao-ui-admin-vue3/src/api/system/post/index.ts +++ b/yudao-ui-admin-vue3/src/api/system/post/index.ts @@ -7,7 +7,7 @@ export interface PostVO { sort: number status: number remark: string - createTime?: string + createTime?: Date } export interface PostPageReqVO extends PageParam { diff --git a/yudao-ui-admin-vue3/src/api/system/role/index.ts b/yudao-ui-admin-vue3/src/api/system/role/index.ts index 4616ae9bb..0d4775559 100644 --- a/yudao-ui-admin-vue3/src/api/system/role/index.ts +++ b/yudao-ui-admin-vue3/src/api/system/role/index.ts @@ -7,14 +7,19 @@ export interface RoleVO { sort: number status: number type: number - createTime: string + createTime: Date } export interface RolePageReqVO extends PageParam { name?: string code?: string status?: number - createTime?: string[] + createTime?: Date[] +} + +export interface UpdateStatusReqVO { + id: number + status: number } // 查询角色列表 @@ -43,7 +48,7 @@ export const updateRoleApi = async (data: RoleVO) => { } // 修改角色状态 -export const updateRoleStatusApi = async (data: RoleVO) => { +export const updateRoleStatusApi = async (data: UpdateStatusReqVO) => { return await request.put({ url: '/system/role/update-status', data }) } diff --git a/yudao-ui-admin-vue3/src/api/system/sensitiveWord/index.ts b/yudao-ui-admin-vue3/src/api/system/sensitiveWord/index.ts index 045909021..ffda89c03 100644 --- a/yudao-ui-admin-vue3/src/api/system/sensitiveWord/index.ts +++ b/yudao-ui-admin-vue3/src/api/system/sensitiveWord/index.ts @@ -5,19 +5,22 @@ export interface SensitiveWordVO { name: string status: number description: string - tags: string - type: number - createTime: string + tags: string[] + createTime: Date } export interface SensitiveWordPageReqVO extends PageParam { name?: string + tag?: string status?: number + createTime?: Date[] } export interface SensitiveWordExportReqVO { name?: string + tag?: string status?: number + createTime?: Date[] } // 查询敏感词列表 diff --git a/yudao-ui-admin-vue3/src/api/system/sms/smsChannel/index.ts b/yudao-ui-admin-vue3/src/api/system/sms/smsChannel/index.ts index d7801ee3c..176d075fe 100644 --- a/yudao-ui-admin-vue3/src/api/system/sms/smsChannel/index.ts +++ b/yudao-ui-admin-vue3/src/api/system/sms/smsChannel/index.ts @@ -2,19 +2,21 @@ import request from '@/config/axios' export interface SmsChannelVO { id: number + code: string status: number signature: string remark: string apiKey: string apiSecret: string callbackUrl: string - createTime: string + createTime: Date } export interface SmsChannelPageReqVO extends PageParam { signature?: string code?: string status?: number + createTime?: Date[] } // 查询短信渠道列表 diff --git a/yudao-ui-admin-vue3/src/api/system/sms/smsLog/index.ts b/yudao-ui-admin-vue3/src/api/system/sms/smsLog/index.ts index fef133248..52594b908 100644 --- a/yudao-ui-admin-vue3/src/api/system/sms/smsLog/index.ts +++ b/yudao-ui-admin-vue3/src/api/system/sms/smsLog/index.ts @@ -2,30 +2,48 @@ import request from '@/config/axios' export interface SmsLogVO { id: number - idchannelId: number + channelId: number + channelCode: string templateId: number + templateCode: string + templateType: number + templateContent: string + templateParams: Map mobile: string userId: number userType: number sendStatus: number + sendTime: Date + sendCode: number + sendMsg: string + apiSendCode: string + apiSendMsg: string + apiRequestId: string + apiSerialNo: string receiveStatus: number - templateType: number - templateContent: string - templateParams: Map - apiTemplateId: string - sendTime: string - createTime: string + receiveTime: Date + apiReceiveCode: string + apiReceiveMsg: string + createTime: Date } export interface SmsLogPageReqVO extends PageParam { - signature?: string - code?: string - status?: number + channelId?: number + templateId?: number + mobile?: string + sendStatus?: number + sendTime?: Date[] + receiveStatus?: number + receiveTime?: Date[] } export interface SmsLogExportReqVO { - code?: string - name?: string - status?: number + channelId?: number + templateId?: number + mobile?: string + sendStatus?: number + sendTime?: Date[] + receiveStatus?: number + receiveTime?: Date[] } // 查询短信日志列表 diff --git a/yudao-ui-admin-vue3/src/api/system/sms/smsTemplate/index.ts b/yudao-ui-admin-vue3/src/api/system/sms/smsTemplate/index.ts index a0be75bd7..0433fe3a4 100644 --- a/yudao-ui-admin-vue3/src/api/system/sms/smsTemplate/index.ts +++ b/yudao-ui-admin-vue3/src/api/system/sms/smsTemplate/index.ts @@ -11,17 +11,38 @@ export interface SmsTemplateVO { apiTemplateId: string channelId: number channelCode: string - createTime: string + params: string[] + createTime: Date } -export type SmsSendVO = { +export interface SendSmsReqVO { mobile: string templateCode: string - templateParams: string + templateParams: Map +} + +export interface SmsTemplatePageReqVO { + type?: number + status?: number + code?: string + content?: string + apiTemplateId?: string + channelId?: number + createTime?: Date[] +} + +export interface SmsTemplateExportReqVO { + type?: number + status?: number + code?: string + content?: string + apiTemplateId?: string + channelId?: number + createTime?: Date[] } // 查询短信模板列表 -export const getSmsTemplatePageApi = (params) => { +export const getSmsTemplatePageApi = (params: SmsTemplatePageReqVO) => { return request.get({ url: '/system/sms-template/page', params }) } @@ -46,12 +67,12 @@ export const deleteSmsTemplateApi = (id: number) => { } // 发送短信 -export const sendSmsApi = (data) => { +export const sendSmsApi = (data: SendSmsReqVO) => { return request.post({ url: '/system/sms-template/send-sms', data }) } // 导出短信模板 -export const exportPostApi = (params) => { +export const exportPostApi = (params: SmsTemplateExportReqVO) => { return request.download({ url: '/system/sms-template/export-excel', params diff --git a/yudao-ui-admin-vue3/src/api/system/tenant/index.ts b/yudao-ui-admin-vue3/src/api/system/tenant/index.ts index 45f1ee48d..d79fb7b23 100644 --- a/yudao-ui-admin-vue3/src/api/system/tenant/index.ts +++ b/yudao-ui-admin-vue3/src/api/system/tenant/index.ts @@ -3,16 +3,16 @@ import request from '@/config/axios' export interface TenantVO { id: number name: string - packageId: number contactName: string contactMobile: string + status: number + domain: string + packageId: number username: string password: string + expireTime: Date accountCount: number - expireTime: string - domain: string - status: number - createTime: string + createTime: Date } export interface TenantPageReqVO extends PageParam { @@ -20,6 +20,7 @@ export interface TenantPageReqVO extends PageParam { contactName?: string contactMobile?: string status?: number + createTime?: Date[] } export interface TenantExportReqVO { @@ -27,6 +28,7 @@ export interface TenantExportReqVO { contactName?: string contactMobile?: string status?: number + createTime?: Date[] } // 查询租户列表 diff --git a/yudao-ui-admin-vue3/src/api/system/tenantPackage/index.ts b/yudao-ui-admin-vue3/src/api/system/tenantPackage/index.ts index 9b6fdfc02..e431a9ee6 100644 --- a/yudao-ui-admin-vue3/src/api/system/tenantPackage/index.ts +++ b/yudao-ui-admin-vue3/src/api/system/tenantPackage/index.ts @@ -6,17 +6,17 @@ export interface TenantPackageVO { status: number remark: string creator: string - createTime: string updater: string updateTime: string - menuIds: string[] + menuIds: number[] + createTime: Date } export interface TenantPackagePageReqVO extends PageParam { name?: string - contactName?: string - contactMobile?: string status?: number + remark?: string + createTime?: Date[] } // 查询租户套餐列表 diff --git a/yudao-ui-admin-vue3/src/api/system/user/index.ts b/yudao-ui-admin-vue3/src/api/system/user/index.ts index 0475d3b31..e505921d3 100644 --- a/yudao-ui-admin-vue3/src/api/system/user/index.ts +++ b/yudao-ui-admin-vue3/src/api/system/user/index.ts @@ -13,8 +13,8 @@ export interface UserVO { loginIp: string status: number remark: string - loginDate: string - createTime: string + loginDate: Date + createTime: Date } export interface UserPageReqVO extends PageParam { @@ -22,14 +22,14 @@ export interface UserPageReqVO extends PageParam { username?: string mobile?: string status?: number - createTime?: string[] + createTime?: Date[] } export interface UserExportReqVO { code?: string name?: string status?: number - createTime?: string[] + createTime?: Date[] } // 查询用户管理列表 diff --git a/yudao-ui-admin-vue3/src/hooks/web/useVxeCrudSchemas.ts b/yudao-ui-admin-vue3/src/hooks/web/useVxeCrudSchemas.ts index d42afef4b..e6b137505 100644 --- a/yudao-ui-admin-vue3/src/hooks/web/useVxeCrudSchemas.ts +++ b/yudao-ui-admin-vue3/src/hooks/web/useVxeCrudSchemas.ts @@ -150,7 +150,7 @@ const filterSearchSchema = (crudSchema: VxeCrudSchema): VxeFormItemProps[] => { const searchSchemaItem = { // 默认为 input - folding: searchSchema.length > spanLength, + folding: searchSchema.length > spanLength - 1, itemRender: schemaItem.itemRender ? schemaItem.itemRender : itemRender, field: schemaItem.field, title: schemaItem.search?.title || schemaItem.title, @@ -165,7 +165,7 @@ const filterSearchSchema = (crudSchema: VxeCrudSchema): VxeFormItemProps[] => { const buttons: VxeFormItemProps = { span: 24, align: 'center', - collapseNode: searchSchema.length > spanLength + 1, + collapseNode: searchSchema.length > spanLength, itemRender: { name: '$buttons', children: [ diff --git a/yudao-ui-admin-vue3/src/views/system/dept/dept.data.ts b/yudao-ui-admin-vue3/src/views/system/dept/dept.data.ts index 86e4f5d11..f199c3e43 100644 --- a/yudao-ui-admin-vue3/src/views/system/dept/dept.data.ts +++ b/yudao-ui-admin-vue3/src/views/system/dept/dept.data.ts @@ -55,7 +55,8 @@ const crudSchemas = reactive({ }, { title: '邮箱', - field: 'email' + field: 'email', + isTable: false }, { title: '显示排序', @@ -67,6 +68,12 @@ const crudSchemas = reactive({ dictType: DICT_TYPE.COMMON_STATUS, dictClass: 'number', isSearch: true + }, + { + title: t('common.createTime'), + field: 'createTime', + formatter: 'formatDate', + isForm: false } ] }) diff --git a/yudao-ui-admin-vue3/src/views/system/dict/dict.type.ts b/yudao-ui-admin-vue3/src/views/system/dict/dict.type.ts index f0071b04c..347a06729 100644 --- a/yudao-ui-admin-vue3/src/views/system/dict/dict.type.ts +++ b/yudao-ui-admin-vue3/src/views/system/dict/dict.type.ts @@ -43,6 +43,12 @@ const crudSchemas = reactive({ isForm: false, table: { width: 150 + }, + search: { + show: true, + itemRender: { + name: 'XDataTimePicker' + } } }, { diff --git a/yudao-ui-admin-vue3/src/views/system/oauth2/token/token.data.ts b/yudao-ui-admin-vue3/src/views/system/oauth2/token/token.data.ts index edacdaa04..5ab13f7b1 100644 --- a/yudao-ui-admin-vue3/src/views/system/oauth2/token/token.data.ts +++ b/yudao-ui-admin-vue3/src/views/system/oauth2/token/token.data.ts @@ -22,6 +22,11 @@ const crudSchemas = reactive({ title: '刷新令牌', field: 'refreshToken' }, + { + title: '客户端编号', + field: 'clientId', + isSearch: true + }, { title: '用户类型', field: 'userType', diff --git a/yudao-ui-admin-vue3/src/views/system/sensitiveWord/sensitiveWord.data.ts b/yudao-ui-admin-vue3/src/views/system/sensitiveWord/sensitiveWord.data.ts index 284aa3635..06b5849e1 100644 --- a/yudao-ui-admin-vue3/src/views/system/sensitiveWord/sensitiveWord.data.ts +++ b/yudao-ui-admin-vue3/src/views/system/sensitiveWord/sensitiveWord.data.ts @@ -23,6 +23,14 @@ const crudSchemas = reactive({ field: 'name', isSearch: true }, + { + title: '标签', + field: 'tag', + isTable: false, + isForm: false, + isDetail: false, + isSearch: true + }, { title: '标签', field: 'tags', @@ -57,7 +65,13 @@ const crudSchemas = reactive({ title: t('common.createTime'), field: 'createTime', formatter: 'formatDate', - isForm: false + isForm: false, + search: { + show: true, + itemRender: { + name: 'XDataTimePicker' + } + } } ] }) diff --git a/yudao-ui-admin-vue3/src/views/system/sms/smsChannel/sms.channel.data.ts b/yudao-ui-admin-vue3/src/views/system/sms/smsChannel/sms.channel.data.ts index cc02ec5d2..14f438fdc 100644 --- a/yudao-ui-admin-vue3/src/views/system/sms/smsChannel/sms.channel.data.ts +++ b/yudao-ui-admin-vue3/src/views/system/sms/smsChannel/sms.channel.data.ts @@ -54,7 +54,13 @@ const crudSchemas = reactive({ title: t('common.createTime'), field: 'createTime', formatter: 'formatDate', - isForm: false + isForm: false, + search: { + show: true, + itemRender: { + name: 'XDataTimePicker' + } + } } ] }) diff --git a/yudao-ui-admin-vue3/src/views/system/sms/smsLog/sms.log.data.ts b/yudao-ui-admin-vue3/src/views/system/sms/smsLog/sms.log.data.ts index 36ad2f3d1..29bedef14 100644 --- a/yudao-ui-admin-vue3/src/views/system/sms/smsLog/sms.log.data.ts +++ b/yudao-ui-admin-vue3/src/views/system/sms/smsLog/sms.log.data.ts @@ -20,6 +20,11 @@ const crudSchemas = reactive({ title: '短信内容', field: 'templateContent' }, + { + title: '模板编号', + field: 'templateId', + isSearch: true + }, { title: '短信渠道', field: 'channelId', @@ -35,16 +40,15 @@ const crudSchemas = reactive({ isSearch: true }, { - title: '接收状态', - field: 'receiveStatus', - dictType: DICT_TYPE.SYSTEM_SMS_RECEIVE_STATUS, - dictClass: 'number', - isSearch: true - }, - { - title: '模板编号', - field: 'templateId', - isSearch: true + title: '发送时间', + field: 'sendTime', + formatter: 'formatDate', + search: { + show: true, + itemRender: { + name: 'XDataTimePicker' + } + } }, { title: '短信类型', @@ -54,12 +58,15 @@ const crudSchemas = reactive({ isSearch: true }, { - title: '接收时间', - field: 'receiveTime' + title: '接收状态', + field: 'receiveStatus', + dictType: DICT_TYPE.SYSTEM_SMS_RECEIVE_STATUS, + dictClass: 'number', + isSearch: true }, { - title: t('common.createTime'), - field: 'createTime', + title: '接收时间', + field: 'receiveTime', formatter: 'formatDate', search: { show: true, @@ -67,6 +74,11 @@ const crudSchemas = reactive({ name: 'XDataTimePicker' } } + }, + { + title: t('common.createTime'), + field: 'createTime', + formatter: 'formatDate' } ] }) diff --git a/yudao-ui-admin-vue3/src/views/system/sms/smsTemplate/index.vue b/yudao-ui-admin-vue3/src/views/system/sms/smsTemplate/index.vue index 7e75906c6..9edffe907 100644 --- a/yudao-ui-admin-vue3/src/views/system/sms/smsTemplate/index.vue +++ b/yudao-ui-admin-vue3/src/views/system/sms/smsTemplate/index.vue @@ -104,7 +104,7 @@ :loading="actionLoading" @click="sendSmsTest()" /> - + @@ -204,7 +204,7 @@ const submitForm = async () => { const sendSmsForm = ref({ content: '', params: {}, - mobile: '141', + mobile: '', templateCode: '', templateParams: {} }) @@ -230,14 +230,16 @@ const handleSendSms = (row: any) => { sendVisible.value = true } -const sendSmsTest = () => { - const data = { +const sendSmsTest = async () => { + const data: SmsTemplateApi.SendSmsReqVO = { mobile: sendSmsForm.value.mobile, templateCode: sendSmsForm.value.templateCode, - templateParams: sendSmsForm.value.templateParams + templateParams: sendSmsForm.value.templateParams as unknown as Map + } + const res = await SmsTemplateApi.sendSmsApi(data) + if (res) { + message.success('发送成功') } - SmsTemplateApi.sendSmsApi(data) - message.info('发送成功') sendVisible.value = false } diff --git a/yudao-ui-admin-vue3/src/views/system/sms/smsTemplate/sms.template.data.ts b/yudao-ui-admin-vue3/src/views/system/sms/smsTemplate/sms.template.data.ts index 81aa02f0a..c088485bc 100644 --- a/yudao-ui-admin-vue3/src/views/system/sms/smsTemplate/sms.template.data.ts +++ b/yudao-ui-admin-vue3/src/views/system/sms/smsTemplate/sms.template.data.ts @@ -48,6 +48,7 @@ const crudSchemas = reactive({ field: 'type', dictType: DICT_TYPE.SYSTEM_SMS_TEMPLATE_TYPE, dictClass: 'number', + isSearch: true, table: { width: 80 } @@ -57,6 +58,7 @@ const crudSchemas = reactive({ field: 'status', dictType: DICT_TYPE.COMMON_STATUS, dictClass: 'number', + isSearch: true, table: { width: 80 } diff --git a/yudao-ui-admin-vue3/src/views/system/tenant/tenant.data.ts b/yudao-ui-admin-vue3/src/views/system/tenant/tenant.data.ts index d9e103956..96d62e261 100644 --- a/yudao-ui-admin-vue3/src/views/system/tenant/tenant.data.ts +++ b/yudao-ui-admin-vue3/src/views/system/tenant/tenant.data.ts @@ -123,7 +123,13 @@ const crudSchemas = reactive({ title: t('table.createTime'), field: 'createTime', formatter: 'formatDate', - isForm: false + isForm: false, + search: { + show: true, + itemRender: { + name: 'XDataTimePicker' + } + } } ] }) diff --git a/yudao-ui-admin-vue3/src/views/system/tenantPackage/tenantPackage.data.ts b/yudao-ui-admin-vue3/src/views/system/tenantPackage/tenantPackage.data.ts index c68bd20f9..32cc19704 100644 --- a/yudao-ui-admin-vue3/src/views/system/tenantPackage/tenantPackage.data.ts +++ b/yudao-ui-admin-vue3/src/views/system/tenantPackage/tenantPackage.data.ts @@ -43,6 +43,7 @@ const crudSchemas = reactive({ title: t('form.remark'), field: 'remark', isTable: false, + isSearch: true, form: { component: 'Input', componentProps: { @@ -58,7 +59,13 @@ const crudSchemas = reactive({ title: '创建时间', field: 'createTime', formatter: 'formatDate', - isForm: false + isForm: false, + search: { + show: true, + itemRender: { + name: 'XDataTimePicker' + } + } } ] }) diff --git a/yudao-ui-admin/src/views/system/oauth2/token/index.vue b/yudao-ui-admin/src/views/system/oauth2/token/index.vue index 7f56c6465..797904d4b 100644 --- a/yudao-ui-admin/src/views/system/oauth2/token/index.vue +++ b/yudao-ui-admin/src/views/system/oauth2/token/index.vue @@ -6,6 +6,9 @@ + + +