feat: 添加申请次数和回车搜索
This commit is contained in:
@@ -78,6 +78,7 @@ function handleImport() {
|
||||
const [Grid, gridApi] = useVbenVxeGrid({
|
||||
formOptions: {
|
||||
schema: useGridFormSchema(),
|
||||
submitOnEnter: true,
|
||||
},
|
||||
gridOptions: {
|
||||
columns: useGridColumns(),
|
||||
|
||||
@@ -17,7 +17,7 @@ const props = withDefaults(
|
||||
neCodeList?: LicenseApi.NeCode[];
|
||||
}>(),
|
||||
{
|
||||
neCodeList: () => [{ neList: [], activationCode: '', id: 1 }],
|
||||
neCodeList: () => [{ neList: [], activationCode: '', id: 1, fileUrl: '' }],
|
||||
},
|
||||
);
|
||||
|
||||
|
||||
@@ -361,6 +361,11 @@ export function useGridColumns(): VxeTableGridOptions<LicenseApi.License>['colum
|
||||
minWidth: 120,
|
||||
formatter: 'formatDateTime',
|
||||
},
|
||||
{
|
||||
field: 'applyCount',
|
||||
title: $t('license.applyCount'),
|
||||
minWidth: 70,
|
||||
},
|
||||
{
|
||||
field: 'operation',
|
||||
title: $t('license.operation'),
|
||||
|
||||
@@ -124,6 +124,7 @@ const [Grid, gridApi] = useVbenVxeGrid({
|
||||
collapsed: true,
|
||||
collapsedRows: 2,
|
||||
schema: useGridFormSchema(),
|
||||
submitOnEnter: true,
|
||||
},
|
||||
gridOptions: {
|
||||
columns: useGridColumns(),
|
||||
|
||||
@@ -514,6 +514,11 @@ export function useGridColumns(
|
||||
title: $t('project.commentNum'),
|
||||
minWidth: 70,
|
||||
},
|
||||
{
|
||||
field: 'applyCount',
|
||||
title: $t('license.applyCount'),
|
||||
minWidth: 70,
|
||||
},
|
||||
{
|
||||
field: 'updateTime',
|
||||
title: $t('project.updateTime'),
|
||||
|
||||
@@ -112,6 +112,7 @@ const [Grid, gridApi] = useVbenVxeGrid({
|
||||
collapsed: true,
|
||||
collapsedRows: 2,
|
||||
schema: useGridFormSchema(),
|
||||
submitOnEnter: true,
|
||||
},
|
||||
gridOptions: {
|
||||
columns: useGridColumns(onActionClick),
|
||||
|
||||
Reference in New Issue
Block a user