客户评价

This commit is contained in:
‘huanghaiixia’
2025-12-18 17:58:17 +08:00
parent 55bfa5a22d
commit a1151e18a3
9 changed files with 382 additions and 100 deletions

View File

@ -6,31 +6,9 @@ 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: '日期选择',
label: '日期',
component: 'RangePicker',
componentProps: {
format: 'YYYY-MM-DD HH:mm:ss',
@ -38,10 +16,9 @@ export const searchFormSchema: FormSchema[] = [
getPopupContainer: () => document.body,
},
},
{
field: 'score',
label: '分数合计',
field: 'cpCode',
label: '客户',
component: 'Input',
},
{
@ -57,11 +34,6 @@ export const searchFormSchema: FormSchema[] = [
getPopupContainer: () => document.body,
},
},
{
field: 'note',
label: '备注',
component: 'Input',
},
];
export const columns: BasicColumn[] = [
@ -82,20 +54,18 @@ export const columns: BasicColumn[] = [
sorter: true,
},
{
dataIndex: 'dateGrade',
title: '日期选择',
componentType: 'date',
dataIndex: 'score',
title: '评价分数',
componentType: 'input',
align: 'left',
sorter: true,
},
{
dataIndex: 'score',
title: '分数合计',
componentType: 'input',
dataIndex: 'dateGrade',
title: '评价日期',
componentType: 'date',
align: 'left',
sorter: true,
@ -109,15 +79,6 @@ export const columns: BasicColumn[] = [
sorter: true,
},
{
dataIndex: 'note',
title: '备注',
componentType: 'textarea',
align: 'left',
sorter: true,
},
];
//表单事件
export const formEventConfigs = {