fix: 新增直接申请license等
This commit is contained in:
@@ -153,14 +153,6 @@ export function useGridFormSchema(): VbenFormSchema[] {
|
||||
allowClear: true,
|
||||
},
|
||||
},
|
||||
{
|
||||
fieldName: 'code',
|
||||
label: $t('customer.customerSn'),
|
||||
component: 'Input',
|
||||
componentProps: {
|
||||
allowClear: true,
|
||||
},
|
||||
},
|
||||
{
|
||||
fieldName: 'type',
|
||||
label: $t('customer.customerType'),
|
||||
@@ -170,6 +162,14 @@ export function useGridFormSchema(): VbenFormSchema[] {
|
||||
options: getDictOptions(DICT_TYPE.LIC_CUSTOMER_TYPE, 'number'),
|
||||
},
|
||||
},
|
||||
{
|
||||
fieldName: 'code',
|
||||
label: $t('customer.customerSn'),
|
||||
component: 'Input',
|
||||
componentProps: {
|
||||
allowClear: true,
|
||||
},
|
||||
},
|
||||
{
|
||||
fieldName: 'contacts',
|
||||
label: $t('customer.contacts'),
|
||||
|
||||
@@ -477,10 +477,10 @@ export function useGridColumns(
|
||||
},
|
||||
name: 'CellOperation',
|
||||
options: [
|
||||
{
|
||||
code: 'edit',
|
||||
show: hasAccessByCodes(['license:license:update']),
|
||||
},
|
||||
// {
|
||||
// code: 'edit',
|
||||
// show: hasAccessByCodes(['license:license:update']),
|
||||
// },
|
||||
{
|
||||
code: 'apply',
|
||||
text: $t('license.apply'),
|
||||
|
||||
@@ -37,7 +37,7 @@ function onRefresh() {
|
||||
|
||||
/** 创建License */
|
||||
function onCreate() {
|
||||
formModalApi.setData({}).open();
|
||||
formModalApi.setData({ action: 1 }).open();
|
||||
}
|
||||
|
||||
/** 申请License */
|
||||
|
||||
@@ -416,7 +416,7 @@ export function useGridColumns(
|
||||
{
|
||||
field: 'createTime',
|
||||
title: $t('project.creationTime'),
|
||||
visible: false,
|
||||
// visible: false,
|
||||
minWidth: 120,
|
||||
formatter: 'formatDateTime',
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user