初版代码’

This commit is contained in:
2025-06-19 09:50:46 +08:00
parent 06a0e3649d
commit d980195302
20 changed files with 470 additions and 163 deletions

View File

@@ -116,8 +116,8 @@ export const querySchema: FormSchemaGetter = () => [
{
component: 'RadioGroup',
componentProps: {
// 可选从DictEnum中获取 DictEnum.SYS_YES_NO 便于维护
options: getDictOptions('sys_yes_no'),
// 可选从DictEnum中获取 DictEnum.WY_SF 便于维护
options: getDictOptions('wy_sf'),
buttonStyle: 'solid',
optionType: 'button',
},
@@ -207,8 +207,8 @@ export const columns: VxeGridProps['columns'] = [
field: 'addServices',
slots: {
default: ({ row }) => {
// 可选从DictEnum中获取 DictEnum.SYS_YES_NO 便于维护
return renderDict(row.addServices, 'sys_yes_no');
// 可选从DictEnum中获取 DictEnum.WY_SF 便于维护
return renderDict(row.addServices, 'wy_sf');
},
},
},
@@ -359,8 +359,8 @@ export const modalSchema: FormSchemaGetter = () => [
fieldName: 'addServices',
component: 'RadioGroup',
componentProps: {
// 可选从DictEnum中获取 DictEnum.SYS_YES_NO 便于维护
options: getDictOptions('sys_yes_no'),
// 可选从DictEnum中获取 DictEnum.WY_SF 便于维护
options: getDictOptions('wy_sf'),
buttonStyle: 'solid',
optionType: 'button',
},