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