feat:会议室设置添加保密等级
This commit is contained in:
@@ -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>
|
||||
|
@@ -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',
|
||||
|
Reference in New Issue
Block a user