访客修改

This commit is contained in:
FLL 2025-07-31 15:32:59 +08:00
parent 988ce1d7c4
commit 3b51a615ed
2 changed files with 24 additions and 1 deletions

View File

@ -39,6 +39,11 @@ async function handleOpenChange(open: boolean) {
<DescriptionsItem label="会议室名称">
{{ conferenceSettingsDetail.name }}
</DescriptionsItem>
<DescriptionsItem label="会议室类型">
<component
:is="renderDict(conferenceSettingsDetail.meetingRoomType,'meeting_room_type')"
/>
</DescriptionsItem>
<DescriptionsItem label="可容纳人数">
{{ conferenceSettingsDetail.personNumber }}
</DescriptionsItem>

View File

@ -37,6 +37,16 @@ export const columns: VxeGridProps['columns'] = [
field: 'name',
minWidth:100,
},
{
title: '会议室类型',
field: 'meetingRoomType',
slots: {
default: ({row}) => {
return renderDict(row.meetingRoomType, 'meeting_room_type');
},
},
minWidth:100,
},
// {
// title: '会议室地址',
// field: 'locationName',
@ -99,7 +109,15 @@ export const modalSchema: FormSchemaGetter = () => [
fieldName: 'name',
component: 'Input',
rules: 'required',
formItemClass: 'col-span-1',
},
{
label: '会议室类型',
fieldName: 'meetingRoomType',
component: 'Select',
componentProps: {
options: getDictOptions('meeting_room_type'),
},
rules: 'selectRequired',
},
{
label: '可容纳人数',