feat(web): 实现授权申请功能
- 新增授权申请提交和撤销功能 - 实现授权申请的审核流程 - 优化授权申请的列表和详情展示- 添加时间格式配置
This commit is contained in:
@@ -7,7 +7,7 @@ import {
|
||||
apiGet,
|
||||
arrayInCheck,
|
||||
arrayOutCheck,
|
||||
confirmationState,
|
||||
checkState,
|
||||
crudCommonOptions,
|
||||
mappingField,
|
||||
operationField,
|
||||
@@ -57,7 +57,7 @@ export function resourceList() {
|
||||
trigger: 'hover',
|
||||
buttons: [
|
||||
{
|
||||
disabledOn: arrayOutCheck([confirmationState.none, confirmationState.draft], 'confirmationState'),
|
||||
disabledOn: arrayOutCheck([checkState.none, checkState.draft], 'confirmationState'),
|
||||
disabledTip: '审查或确权成功后无法编辑',
|
||||
tooltipPlacement: 'top',
|
||||
type: 'action',
|
||||
@@ -66,7 +66,7 @@ export function resourceList() {
|
||||
...resourceEditeDialog(),
|
||||
},
|
||||
{
|
||||
disabledOn: arrayInCheck([confirmationState.checking], 'confirmationState'),
|
||||
disabledOn: arrayInCheck([checkState.checking], 'confirmationState'),
|
||||
disabledTip: '审查中无法删除',
|
||||
tooltipPlacement: 'bottom',
|
||||
type: 'action',
|
||||
|
||||
Reference in New Issue
Block a user