1
0

feat(web): 增加审查状态类型的展示

This commit is contained in:
2024-11-29 10:34:12 +08:00
parent 51bca63ec6
commit 1740b7bea2
4 changed files with 27 additions and 2 deletions

View File

@@ -1,4 +1,11 @@
import {apiGet, apiPost, checkerOnly, crudCommonOptions} from "../../components/constants.js";
import {
apiGet,
apiPost,
checkerOnly,
checkTypeMapping,
crudCommonOptions,
mappingField
} from "../../components/constants.js";
import {permissionDetailDialog} from "../../components/permission/dialog-permission.js";
export function tabCheck() {
@@ -20,6 +27,12 @@ export function tabCheck() {
name: 'name',
label: '描述',
},
{
label: '类型',
width: 80,
align: 'center',
...mappingField('type', checkTypeMapping)
},
{
label: '操作',
width: 100,
@@ -29,7 +42,7 @@ export function tabCheck() {
buttons: [
{
type: 'action',
label: '查看',
label: '处理',
level: 'link',
...permissionDetailDialog(
'parameters.confirmationId',