初版代码’
This commit is contained in:
@@ -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',
|
||||
},
|
||||
|
Reference in New Issue
Block a user