From 44d96c81543c85e2aa4494fc47aef57eb508f2e2 Mon Sep 17 00:00:00 2001 From: a0049873 <79py69t9wb@privaterelay.appleid.com> Date: Thu, 15 Dec 2022 16:55:31 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=9A=E8=AE=AE=E5=AE=A4=E9=A2=84=E7=BA=A6?= =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E4=B8=8B=E6=8B=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- front/src/views/home/infrastructurePage.vue | 31 ++++++++++++++++++++- 1 file changed, 30 insertions(+), 1 deletion(-) 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 @@ }