feat: 基站字段调整

This commit is contained in:
caiyuchao
2025-07-04 15:38:28 +08:00
parent 9077e27ac1
commit 8c10085989
3 changed files with 36 additions and 39 deletions

View File

@@ -120,14 +120,6 @@ export function useFormSchema(): VbenFormSchema[] {
formItemClass: 'col-span-2',
modelPropName: 'modelValue',
},
// {
// fieldName: 'baseStationNum',
// label: $t('license.baseStationNum'),
// component: 'InputNumber',
// componentProps: {
// min: 0,
// },
// },
{
fieldName: 'activationCode',
label: $t('license.activationCode'),
@@ -147,6 +139,35 @@ export function useFormSchema(): VbenFormSchema[] {
// options: [],
// },
// },
{
fieldName: 'userNum',
label: $t('license.userNum'),
component: 'InputNumber',
componentProps: {
min: 0,
},
},
{
fieldName: 'baseStationNum',
label: $t('license.baseStationNum'),
component: 'Input',
},
// {
// fieldName: 'status',
// label: $t('license.status'),
// component: 'Select',
// componentProps: {
// options: getDictOptions(DICT_TYPE.LIC_LICENSE_STATUS, 'number'),
// buttonStyle: 'solid',
// optionType: 'button',
// },
// },
{
fieldName: 'remark',
label: $t('license.remark'),
component: 'Textarea',
formItemClass: 'col-span-2',
},
{
fieldName: 'approver',
label: $t('license.approver'),
@@ -166,30 +187,6 @@ export function useFormSchema(): VbenFormSchema[] {
option.label.toLowerCase().includes(input.toLowerCase()),
},
},
{
fieldName: 'userNum',
label: $t('license.userNum'),
component: 'InputNumber',
componentProps: {
min: 0,
},
},
// {
// fieldName: 'status',
// label: $t('license.status'),
// component: 'Select',
// componentProps: {
// options: getDictOptions(DICT_TYPE.LIC_LICENSE_STATUS, 'number'),
// buttonStyle: 'solid',
// optionType: 'button',
// },
// },
{
fieldName: 'remark',
label: $t('license.remark'),
component: 'Textarea',
formItemClass: 'col-span-2',
},
];
}
@@ -379,11 +376,11 @@ export function useGridColumns(
title: $t('license.userNum'),
minWidth: 120,
},
// {
// field: 'baseStationNum',
// title: $t('license.baseStationNum'),
// minWidth: 120,
// },
{
field: 'baseStationNum',
title: $t('license.baseStationNum'),
minWidth: 120,
},
{
field: 'activationCode',
title: $t('license.activationCode'),