新增多个功能模块

This commit is contained in:
2025-06-23 09:27:28 +08:00
parent c783f365c8
commit 255481861a
66 changed files with 8555 additions and 6 deletions

View File

@@ -2,8 +2,6 @@ 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 = () => [
{
component: 'Input',
@@ -47,6 +45,11 @@ export const columns: VxeGridProps['columns'] = [
{
title: '单位类型',
field: 'type',
slots: {
default: ({ row }) => {
return renderDict(row.type, 'wy_rzdwlx');
},
},
},
{
title: '联系人',
@@ -109,13 +112,15 @@ export const modalSchema: FormSchemaGetter = () => [
fieldName: 'name',
component: 'Input',
rules: 'required',
},
{
label: '单位类型',
fieldName: 'type',
component: 'Input',
component: 'Select',
rules: 'required',
componentProps: {
options: getDictOptions('wy_rzdwlx'),
},
},
{
label: '联系人',