feat:会议室设置添加保密等级

This commit is contained in:
2025-09-05 14:27:16 +08:00
parent 3f2fe7bdd2
commit c4ff58e6f4
6 changed files with 65 additions and 20 deletions

View File

@@ -54,10 +54,15 @@ async function handleOpenChange(open: boolean) {
{{ conferenceSettingsDetail.name }}
</DescriptionsItem>
<DescriptionsItem label="会议室类型">
<component
<component v-if="conferenceSettingsDetail.meetingRoomType!=null"
:is="renderDict(conferenceSettingsDetail.meetingRoomType,'meeting_room_type')"
/>
</DescriptionsItem>
<DescriptionsItem label="保密等级">
<component v-if="conferenceSettingsDetail.secrecyGrade!=null"
:is="renderDict(conferenceSettingsDetail.secrecyGrade,'wy_hysbmdj')"
/>
</DescriptionsItem>
<DescriptionsItem label="可容纳人数">
{{ conferenceSettingsDetail.personNumber }}
</DescriptionsItem>

View File

@@ -42,7 +42,16 @@ export const columns: VxeGridProps['columns'] = [
field: 'meetingRoomType',
slots: {
default: ({row}) => {
return row.meetingRoomType!=null?renderDict(row.meetingRoomType, 'meeting_room_type'):'';
return row.meetingRoomType!=null?renderDict(row.meetingRoomType, 'meeting_room_type'):'-';
},
},
minWidth:100,
},
{
title: '保密等级',
slots: {
default: ({row}) => {
return row.secrecyGrade!=null?renderDict(row.secrecyGrade, 'wy_hysbmdj'):'-';
},
},
minWidth:100,
@@ -124,6 +133,16 @@ export const modalSchema: FormSchemaGetter = () => [
},
rules: 'selectRequired',
},
{
label: '保密等级',
fieldName: 'secrecyGrade',
component: 'Select',
componentProps: {
options: getDictOptions('wy_hysbmdj'),
},
rules: 'selectRequired',
formItemClass: 'col-span-1',
},
{
label: '可容纳人数',
fieldName: 'personNumber',