feat: 更新保洁页面
This commit is contained in:
@@ -39,10 +39,10 @@ export const querySchema: FormSchemaGetter = () => [
|
||||
// 需要使用i18n注意这里要改成getter形式 否则切换语言不会刷新
|
||||
// export const columns: () => VxeGridProps['columns'] = () => [
|
||||
export const columns: VxeGridProps['columns'] = [
|
||||
{ type: 'checkbox', width: 60 },
|
||||
{
|
||||
title: '序号',
|
||||
field: 'id',
|
||||
width:'60',
|
||||
slots: {
|
||||
default: ({ rowIndex }) => {
|
||||
return (rowIndex + 1).toString();
|
||||
@@ -52,26 +52,32 @@ export const columns: VxeGridProps['columns'] = [
|
||||
{
|
||||
title: '服务地址',
|
||||
field: 'location',
|
||||
width: 'auto',
|
||||
},
|
||||
{
|
||||
title: '服务面积(㎡)',
|
||||
field: 'area',
|
||||
width: 'auto',
|
||||
},
|
||||
{
|
||||
title: '劳务名称',
|
||||
field: 'name',
|
||||
width: 'auto',
|
||||
},
|
||||
{
|
||||
title: '申报单价含税(元)',
|
||||
field: 'prices',
|
||||
width: 'auto',
|
||||
},
|
||||
{
|
||||
title: '合计费用',
|
||||
field: 'sumPeices',
|
||||
width: 'auto',
|
||||
},
|
||||
{
|
||||
title: '支付状态',
|
||||
field: 'payState',
|
||||
width: 'auto',
|
||||
slots: {
|
||||
default: ({ row }) => row.stater === 1 ? '已支付' : '待支付',
|
||||
},
|
||||
@@ -79,22 +85,30 @@ export const columns: VxeGridProps['columns'] = [
|
||||
{
|
||||
title: '服务开始时间',
|
||||
field: 'starTime',
|
||||
width: 'auto',
|
||||
|
||||
|
||||
},
|
||||
{
|
||||
title: '服务结束时间',
|
||||
field: 'endTime',
|
||||
width: 'auto',
|
||||
|
||||
},
|
||||
{
|
||||
title: '申请单位',
|
||||
field: 'unit',
|
||||
width: 'auto',
|
||||
},
|
||||
{
|
||||
title: '申请人',
|
||||
field: 'persion',
|
||||
width: 'auto',
|
||||
},
|
||||
{
|
||||
title: '联系电话',
|
||||
field: 'phone',
|
||||
width: 'auto',
|
||||
},
|
||||
// {
|
||||
// title: '提交时间',
|
||||
@@ -105,7 +119,6 @@ export const columns: VxeGridProps['columns'] = [
|
||||
fixed: 'right',
|
||||
slots: { default: 'action' },
|
||||
title: '操作',
|
||||
width: 180,
|
||||
},
|
||||
];
|
||||
|
||||
@@ -131,28 +144,28 @@ export const modalSchema: FormSchemaGetter = () => [
|
||||
component: 'Input',
|
||||
rules: 'required',
|
||||
},
|
||||
{
|
||||
label: '劳务名称',
|
||||
fieldName: 'name',
|
||||
component: 'ApiSelect',
|
||||
componentProps: {
|
||||
api: cleanList,
|
||||
resultField: 'rows',
|
||||
labelField: 'name',
|
||||
valueField: 'id',
|
||||
},
|
||||
rules: 'required',
|
||||
},
|
||||
{
|
||||
label: '服务单价',
|
||||
fieldName: 'prices',
|
||||
component: 'Input',
|
||||
rules: 'required',
|
||||
componentProps: {
|
||||
placeholder: '',
|
||||
disabled: true,
|
||||
},
|
||||
},
|
||||
// {
|
||||
// label: '劳务名称',
|
||||
// fieldName: 'name',
|
||||
// component: 'ApiSelect',
|
||||
// componentProps: {
|
||||
// api: cleanList,
|
||||
// resultField: 'rows',
|
||||
// labelField: 'name',
|
||||
// valueField: 'id',
|
||||
// },
|
||||
// rules: 'required',
|
||||
// },
|
||||
// {
|
||||
// label: '服务单价',
|
||||
// fieldName: 'prices',
|
||||
// component: 'Input',
|
||||
// rules: 'required',
|
||||
// componentProps: {
|
||||
// placeholder: '',
|
||||
// disabled: true,
|
||||
// },
|
||||
// },
|
||||
// {
|
||||
// label: '保洁频率',
|
||||
// fieldName: 'frequency',
|
||||
|
Reference in New Issue
Block a user