From 724cb63fc8989a5f147beb064952db0f8874c271 Mon Sep 17 00:00:00 2001 From: FLL <2162874245@qq.com> Date: Fri, 5 Sep 2025 14:20:28 +0800 Subject: [PATCH] feat --- .../visitorManagement/visitorInvitation/data.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/apps/web-antd/src/views/property/visitorManagement/visitorInvitation/data.ts b/apps/web-antd/src/views/property/visitorManagement/visitorInvitation/data.ts index bd41b8cc..9d223ff3 100644 --- a/apps/web-antd/src/views/property/visitorManagement/visitorInvitation/data.ts +++ b/apps/web-antd/src/views/property/visitorManagement/visitorInvitation/data.ts @@ -2,7 +2,7 @@ import type { FormSchemaGetter } from '#/adapter/form'; import type { VxeGridProps } from '#/adapter/vxe-table'; import {getDictOptions} from "#/utils/dict"; import {renderDict} from "#/utils/render"; -import {personList} from '#/api/property/resident/person' +import {resident_unitList,} from '#/api/property/resident/unit'; export const querySchema: FormSchemaGetter = () => [ { @@ -138,7 +138,7 @@ export const modalSchema: FormSchemaGetter = () => [ rules: 'required', }, { - label: '所属公司', + label: '所属单位', fieldName: 'visitorUnit', component: 'Input', rules: 'required', @@ -160,10 +160,10 @@ export const modalSchema: FormSchemaGetter = () => [ fieldName: 'interviewedUnit', component: 'ApiSelect', componentProps: { - api: personList, + api: resident_unitList, resultField: 'rows', - labelField: 'unitName', - valueField: 'unitName', + labelField: 'name', + valueField: 'name', placeholder: '请选择邀约单位', }, rules: 'required',