diff --git a/apps/web-antd/src/views/license/customer/index.vue b/apps/web-antd/src/views/license/customer/index.vue index 1b7ff11..5fe1ea4 100644 --- a/apps/web-antd/src/views/license/customer/index.vue +++ b/apps/web-antd/src/views/license/customer/index.vue @@ -97,6 +97,10 @@ const [Grid, gridApi] = useVbenVxeGrid({ pagerConfig: { enabled: true, }, + id: 'license-customer-list', + customConfig: { + storage: true, + }, proxyConfig: { ajax: { query: async ({ page }, formValues) => { diff --git a/apps/web-antd/src/views/license/license/data.ts b/apps/web-antd/src/views/license/license/data.ts index 406a8bc..b76e56e 100644 --- a/apps/web-antd/src/views/license/license/data.ts +++ b/apps/web-antd/src/views/license/license/data.ts @@ -398,10 +398,12 @@ export function useGridColumns( { field: 'activationCode', title: $t('license.activationCode'), + visible: false, minWidth: 120, }, { field: 'licenseContent', + visible: false, title: $t('license.licenseContent'), minWidth: 120, }, @@ -414,6 +416,7 @@ export function useGridColumns( field: 'applicationTime', title: $t('license.applicationTime'), minWidth: 120, + visible: false, formatter: 'formatDateTime', }, { @@ -433,6 +436,7 @@ export function useGridColumns( { field: 'remark', title: $t('license.remark'), + visible: false, minWidth: 120, }, { diff --git a/apps/web-antd/src/views/license/license/index.vue b/apps/web-antd/src/views/license/license/index.vue index 24d4449..2db5758 100644 --- a/apps/web-antd/src/views/license/license/index.vue +++ b/apps/web-antd/src/views/license/license/index.vue @@ -102,6 +102,10 @@ const [Grid, gridApi] = useVbenVxeGrid({ pagerConfig: { enabled: true, }, + id: 'license-license-list', + customConfig: { + storage: true, + }, proxyConfig: { ajax: { query: async ({ page }, formValues) => { diff --git a/apps/web-antd/src/views/license/project/data.ts b/apps/web-antd/src/views/license/project/data.ts index 271a703..d47f944 100644 --- a/apps/web-antd/src/views/license/project/data.ts +++ b/apps/web-antd/src/views/license/project/data.ts @@ -401,12 +401,19 @@ export function useGridColumns( field: 'code', title: $t('project.code'), minWidth: 120, + visible: false, }, { field: 'customerName', title: $t('project.belongCustomer'), minWidth: 120, }, + { + field: 'startTime', + title: $t('project.startTime'), + minWidth: 120, + formatter: 'formatDateTime', + }, { field: 'contractCode', title: $t('project.contractCode'), @@ -416,11 +423,21 @@ export function useGridColumns( field: 'businessStatus', title: $t('project.businessStatus'), minWidth: 120, + visible: false, cellRender: { name: 'CellDict', props: { type: DICT_TYPE.LIC_BUSINESS_STATUS }, }, }, + { + field: 'status', + title: $t('project.status'), + minWidth: 120, + cellRender: { + name: 'CellDict', + props: { type: DICT_TYPE.LIC_PROJECT_STATUS }, + }, + }, { field: 'businessOwnerName', title: $t('project.businessOwner'), @@ -429,6 +446,7 @@ export function useGridColumns( { field: 'customerOwnerName', title: $t('project.customerOwner'), + visible: false, minWidth: 120, }, { @@ -446,40 +464,29 @@ export function useGridColumns( title: $t('project.technicalOwnerC'), minWidth: 120, }, - { - field: 'startTime', - title: $t('project.startTime'), - minWidth: 120, - formatter: 'formatDateTime', - }, { field: 'endTime', title: $t('project.endTime'), + visible: false, minWidth: 120, formatter: 'formatDateTime', }, - { - field: 'status', - title: $t('project.status'), - minWidth: 120, - cellRender: { - name: 'CellDict', - props: { type: DICT_TYPE.LIC_PROJECT_STATUS }, - }, - }, { field: 'envInfo', title: $t('project.envInfo'), + visible: false, minWidth: 120, }, { field: 'remark', title: $t('project.remarks'), + visible: false, minWidth: 120, }, { field: 'createTime', title: $t('project.creationTime'), + visible: false, minWidth: 120, formatter: 'formatDateTime', }, diff --git a/apps/web-antd/src/views/license/project/index.vue b/apps/web-antd/src/views/license/project/index.vue index 5b6b5c8..f535521 100644 --- a/apps/web-antd/src/views/license/project/index.vue +++ b/apps/web-antd/src/views/license/project/index.vue @@ -96,6 +96,10 @@ const [Grid, gridApi] = useVbenVxeGrid({ pagerConfig: { enabled: true, }, + id: 'license-project-list', + customConfig: { + storage: true, + }, proxyConfig: { ajax: { query: async ({ page }, formValues) => {