1、资产管理
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run

This commit is contained in:
2025-06-25 09:42:38 +08:00
parent 905fbb5f06
commit 87331ab607
13 changed files with 152 additions and 114 deletions

View File

@@ -1,6 +1,7 @@
import type { FormSchemaGetter } from '#/adapter/form';
import type { VxeGridProps } from '#/adapter/vxe-table';
import {getDictOptions} from "#/utils/dict";
import {renderDict} from "#/utils/render";
export const querySchema: FormSchemaGetter = () => [
{
@@ -49,6 +50,11 @@ export const columns: VxeGridProps['columns'] = [
{
title: '性别',
field: 'gender',
slots:{
default: ({row})=>{
return renderDict(row.gender,'sys_user_sex')
}
}
},
{
field: 'img',
@@ -75,7 +81,9 @@ export const columns: VxeGridProps['columns'] = [
{
title: '状态',
field: 'state',
// slots: { default: 'state' },
slots:{
default: 'state'
}
},
{
title: '备注',