预约记录
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run

This commit is contained in:
FLL
2025-07-10 17:31:58 +08:00
parent 2cd8d752eb
commit af0cfc3804
11 changed files with 1351 additions and 5 deletions

View File

@@ -3,10 +3,15 @@ import type { VxeGridProps } from '#/adapter/vxe-table';
export const querySchema: FormSchemaGetter = () => [
{
component: 'Input',
fieldName: 'id',
label: '编号',
},
{
component: 'Input',
fieldName: 'itemName',
label: '项目名称',
label: '巡检项目',
},
];
@@ -15,13 +20,17 @@ export const querySchema: FormSchemaGetter = () => [
export const columns: VxeGridProps['columns'] = [
{ type: 'checkbox', width: 60 },
{
title: '主键id',
title: '编号',
field: 'id',
},
{
title: '项目名称',
title: '巡检项目',
field: 'itemName',
},
{
title: '创建时间',
field: 'createTime',
},
{
title: '备注',
field: 'remark',
@@ -46,7 +55,7 @@ export const modalSchema: FormSchemaGetter = () => [
},
},
{
label: '项目名称',
label: '巡检项目',
fieldName: 'itemName',
component: 'Input',
rules: 'required',
@@ -54,6 +63,6 @@ export const modalSchema: FormSchemaGetter = () => [
{
label: '备注',
fieldName: 'remark',
component: 'Input',
component: 'Textarea',
},
];