评价优化

This commit is contained in:
‘huanghaiixia’
2025-12-19 15:55:15 +08:00
parent 754f44f55d
commit e79a450ca2
8 changed files with 123 additions and 62 deletions

View File

@ -6,41 +6,19 @@ export const formConfig = {
};
export const searchFormSchema: FormSchema[] = [
{
field: 'cpCode',
label: '供应商',
component: 'Input',
},
{
field: 'gsId',
label: '评价体系',
component: 'XjrSelect',
componentProps: {
datasourceType: 'api',
apiConfig: {
path: 'CodeGeneration/selection',
method: 'GET',
apiId: '93d735dcb7364a0f8102188ec4d77ac7',
},
labelField: 'label',
valueField: 'value',
getPopupContainer: () => document.body,
},
},
{
{
field: 'dateGrade',
label: '评价日期',
component: 'TimeRangePicker',
label: '日期',
component: 'RangePicker',
componentProps: {
format: 'HH:mm:ss',
format: 'YYYY-MM-DD',
style: { width: '100%' },
getPopupContainer: () => document.body,
},
},
{
field: 'score',
label: '分数合计',
field: 'cpCode',
label: '供应商',
component: 'Input',
},
{
@ -56,11 +34,6 @@ export const searchFormSchema: FormSchema[] = [
getPopupContainer: () => document.body,
},
},
{
field: 'note',
label: '备注',
component: 'Input',
},
];
export const columns: BasicColumn[] = [
@ -83,18 +56,17 @@ export const columns: BasicColumn[] = [
},
{
dataIndex: 'dateGrade',
title: '评价日期',
componentType: 'time',
dataIndex: 'score',
title: '评价分数',
componentType: 'input',
align: 'left',
sorter: true,
},
{
dataIndex: 'score',
title: '分数合计',
componentType: 'input',
dataIndex: 'dateGrade',
title: '评价日期',
componentType: 'time',
align: 'left',
sorter: true,