1、绿植租赁订单
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run

This commit is contained in:
2025-06-30 14:45:06 +08:00
parent d24d03457a
commit 9eac725934
11 changed files with 148 additions and 76 deletions

View File

@@ -35,6 +35,7 @@ export const columns: VxeGridProps['columns'] = [
return (rowIndex + 1).toString();
},
},
width: 60
},
{
title: '单位编号',
@@ -42,11 +43,13 @@ export const columns: VxeGridProps['columns'] = [
slots:{
default: ({ row }) => {
return row.id;
}}
}},
width: 100
},
{
title: '单位名称',
field: 'name',
width: 100
},
{
title: '单位类型',
@@ -56,46 +59,55 @@ export const columns: VxeGridProps['columns'] = [
return renderDict(row.type, 'wy_qylx');
},
},
width: 100
},
{
title: '联系人',
field: 'contactPerson',
width: 100
},
{
title: '联系电话',
field: 'phone',
width: 100
},
{
title: '入驻位置',
field: 'location',
width: 100,
},
{
title: '入驻时间',
field: 'time',
width: 100,
},
{
title: '状态',
field: 'state',
slots: {default: 'state'}
slots: {default: 'state'},
width: 100,
},
{
title: '员工数量',
field: 'number',
width: 100,
},
{
title: '备注',
field: 'remark',
width: 100,
},
{
title: '创建时间',
field: 'createTime',
width: 100,
},
{
field: 'action',
fixed: 'right',
slots: {default: 'action'},
title: '操作',
width: 180,
minWidth: 180,
},
];
@@ -137,15 +149,11 @@ export const modalSchema: FormSchemaGetter = () => [
component: 'Input',
rules: z.string().regex(/^1[3-9]\d{9}$/, { message: '格式错误' }),
},
{
label: '入驻位置',
fieldName: 'location',
component: 'Select',
slots:{
default:'location'
},
rules: 'required',
component: 'TreeSelect',
rules: 'selectRequired',
formItemClass: 'col-span-2'
},
{