1、入驻单位、人员优化
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run

This commit is contained in:
2025-06-27 17:56:05 +08:00
parent ef24216dbc
commit f01cb4abce
12 changed files with 506 additions and 107 deletions

View File

@@ -141,7 +141,10 @@ export const modalSchema: FormSchemaGetter = () => [
{
label: '入驻位置',
fieldName: 'location',
component: 'Input',
component: 'Select',
slots:{
default:'location'
},
rules: 'required',
formItemClass: 'col-span-2'
},

View File

@@ -10,6 +10,7 @@ import { resident_unitAdd, resident_unitInfo, resident_unitUpdate } from '#/api/
import { defaultFormValueGetter, useBeforeCloseDiff } from '#/utils/popup';
import { modalSchema } from './data';
import RoomSelect from "#/views/property/room/room-select.vue";
const emit = defineEmits<{ reload: [] }>();
@@ -95,7 +96,11 @@ async function handleClosed() {
<template>
<BasicModal :title="title">
<BasicForm />
<BasicForm>
<template #location="slotProps">
<RoomSelect v-bind="slotProps" :isUpdate="isUpdate" :level="2"/>
</template>
</BasicForm>
</BasicModal>
</template>