feat: 添加申请时间字段
This commit is contained in:
@@ -18,6 +18,7 @@ export namespace LicenseApi {
|
||||
activationCode: string; // 激活码
|
||||
licenseContent: string; // License内容
|
||||
applicant: number; // 申请人
|
||||
applicationTime: Dayjs | string; // 申请时间
|
||||
approver: number; // 审批人
|
||||
status: number; // 状态
|
||||
remark: string; // 备注
|
||||
|
||||
@@ -17,5 +17,6 @@
|
||||
"checkAll": "Check All",
|
||||
"licenseAdminHelp": "Assigned to persons who have permission to generate licenses, and send email reminders",
|
||||
"apply": "Apply",
|
||||
"applyAction": "Apply For {0}"
|
||||
"applyAction": "Apply For {0}",
|
||||
"applicationTime": "Application Time"
|
||||
}
|
||||
|
||||
@@ -17,5 +17,6 @@
|
||||
"checkAll": "全选",
|
||||
"licenseAdminHelp": "指派给有权限生成License的人员,并且发送邮件提醒",
|
||||
"apply": "申请",
|
||||
"applyAction": "申请{0}"
|
||||
"applyAction": "申请{0}",
|
||||
"applicationTime": "申请时间"
|
||||
}
|
||||
|
||||
@@ -294,6 +294,15 @@ export function useGridFormSchema(): VbenFormSchema[] {
|
||||
option.label.toLowerCase().includes(input.toLowerCase()),
|
||||
},
|
||||
},
|
||||
{
|
||||
fieldName: 'applicationTime',
|
||||
label: $t('license.applicationTime'),
|
||||
component: 'RangePicker',
|
||||
componentProps: {
|
||||
...getRangePickerDefaultProps(),
|
||||
allowClear: true,
|
||||
},
|
||||
},
|
||||
{
|
||||
fieldName: 'approver',
|
||||
label: $t('license.approver'),
|
||||
@@ -401,6 +410,12 @@ export function useGridColumns(
|
||||
title: $t('license.applicant'),
|
||||
minWidth: 120,
|
||||
},
|
||||
{
|
||||
field: 'applicationTime',
|
||||
title: $t('license.applicationTime'),
|
||||
minWidth: 120,
|
||||
formatter: 'formatDateTime',
|
||||
},
|
||||
{
|
||||
field: 'approver',
|
||||
title: $t('license.approver'),
|
||||
|
||||
Reference in New Issue
Block a user