diff --git a/front/src/views/home/infrastructurePage.vue b/front/src/views/home/infrastructurePage.vue index cb9a0779..3cbf33ee 100644 --- a/front/src/views/home/infrastructurePage.vue +++ b/front/src/views/home/infrastructurePage.vue @@ -345,7 +345,22 @@ label="预约部门" v-bind="validateInfos.dept" > - + + + + {{ item.label }} + + @@ -796,6 +811,7 @@ selectByChannelCode, } from '@/api/videoSurveillance' import { getCameraByCondition } from '@/api/file' + import { getDeptAll } from '@/api/user' import { getUser, getEnkeUsers, @@ -853,6 +869,16 @@ 'fullScreen', ], //显示所有按钮, }) + const deptList = ref([]) + getDeptAll().then((res) => { + deptList.value = [] + res.data.data.map((val) => { + deptList.value.push({ + value: val.name, + label: val.name, + }) + }) + }) const meetingList = ref([]) const meetingPagination = ref({ total: 0, @@ -2839,6 +2865,9 @@ }