评价优化
This commit is contained in:
@ -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,
|
||||
|
||||
Reference in New Issue
Block a user