feat: 基站字段调整
This commit is contained in:
@@ -4,7 +4,7 @@
|
|||||||
"expirationTime": "Expiration Time",
|
"expirationTime": "Expiration Time",
|
||||||
"neSwitch": "NE Switch",
|
"neSwitch": "NE Switch",
|
||||||
"userNum": "User Count",
|
"userNum": "User Count",
|
||||||
"baseStationNum": "Base Station Count",
|
"baseStationNum": "Base Station",
|
||||||
"activationCode": "Activation Code",
|
"activationCode": "Activation Code",
|
||||||
"licenseContent": "License Content",
|
"licenseContent": "License Content",
|
||||||
"applicant": "Applicant",
|
"applicant": "Applicant",
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
"expirationTime": "有效期",
|
"expirationTime": "有效期",
|
||||||
"neSwitch": "网元开关",
|
"neSwitch": "网元开关",
|
||||||
"userNum": "用户数",
|
"userNum": "用户数",
|
||||||
"baseStationNum": "基站数",
|
"baseStationNum": "基站",
|
||||||
"activationCode": "激活码",
|
"activationCode": "激活码",
|
||||||
"licenseContent": "License内容",
|
"licenseContent": "License内容",
|
||||||
"applicant": "申请人",
|
"applicant": "申请人",
|
||||||
|
|||||||
@@ -120,14 +120,6 @@ export function useFormSchema(): VbenFormSchema[] {
|
|||||||
formItemClass: 'col-span-2',
|
formItemClass: 'col-span-2',
|
||||||
modelPropName: 'modelValue',
|
modelPropName: 'modelValue',
|
||||||
},
|
},
|
||||||
// {
|
|
||||||
// fieldName: 'baseStationNum',
|
|
||||||
// label: $t('license.baseStationNum'),
|
|
||||||
// component: 'InputNumber',
|
|
||||||
// componentProps: {
|
|
||||||
// min: 0,
|
|
||||||
// },
|
|
||||||
// },
|
|
||||||
{
|
{
|
||||||
fieldName: 'activationCode',
|
fieldName: 'activationCode',
|
||||||
label: $t('license.activationCode'),
|
label: $t('license.activationCode'),
|
||||||
@@ -147,6 +139,35 @@ export function useFormSchema(): VbenFormSchema[] {
|
|||||||
// options: [],
|
// 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',
|
fieldName: 'approver',
|
||||||
label: $t('license.approver'),
|
label: $t('license.approver'),
|
||||||
@@ -166,30 +187,6 @@ export function useFormSchema(): VbenFormSchema[] {
|
|||||||
option.label.toLowerCase().includes(input.toLowerCase()),
|
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'),
|
title: $t('license.userNum'),
|
||||||
minWidth: 120,
|
minWidth: 120,
|
||||||
},
|
},
|
||||||
// {
|
{
|
||||||
// field: 'baseStationNum',
|
field: 'baseStationNum',
|
||||||
// title: $t('license.baseStationNum'),
|
title: $t('license.baseStationNum'),
|
||||||
// minWidth: 120,
|
minWidth: 120,
|
||||||
// },
|
},
|
||||||
{
|
{
|
||||||
field: 'activationCode',
|
field: 'activationCode',
|
||||||
title: $t('license.activationCode'),
|
title: $t('license.activationCode'),
|
||||||
|
|||||||
Reference in New Issue
Block a user