客户服务

This commit is contained in:
FLL
2025-07-22 18:55:04 +08:00
parent a74b2516c7
commit 420335d7be
21 changed files with 2046 additions and 26 deletions

View File

@@ -0,0 +1,65 @@
import type {FormSchemaGetter} from '#/adapter/form';
import type {VxeGridProps} from '#/adapter/vxe-table';
import {renderDict} from "#/utils/render";
export const querySchema: FormSchemaGetter = () => [
{
component: 'Input',
fieldName: 'orderNo',
label: '工单编号',
},
{
component: 'Input',
fieldName: 'orderName',
label: '工单名称',
},
// {
// component: 'Select',
// componentProps: {
// options: getDictOptions('wy_gdclzt'),
// },
// fieldName: 'status',
// label: '状态',
// },
];
export const columns: VxeGridProps['columns'] = [
{
title: '工单编号',
field: 'orderNo',
},
{
title: '工单名称',
field: 'orderName',
},
{
title: '工单类型',
field: 'typeName',
},
{
title: '状态',
field: 'status',
slots: {
default: ({row}) => {
return renderDict(row.status, 'wy_gdclzt');
},
},
},
{
title: '地址',
field: 'location',
},
{
title: '计划完成时间',
field: 'planCompleTime',
},
{
field: 'action',
fixed: 'right',
slots: {default: 'action'},
title: '操作',
width: 120,
},
];