From b9dc8c15b4874291a5b7cdc66996a380067764d4 Mon Sep 17 00:00:00 2001 From: "851673013@qq.com" <851673013@qq.com> Date: Thu, 14 Jul 2022 18:31:19 +0800 Subject: [PATCH 01/22] =?UTF-8?q?=E6=91=84=E5=83=8F=E5=A4=B4=E6=8E=A5?= =?UTF-8?q?=E5=8F=A3=E6=9B=B4=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- front/src/api/videoSurveillance.js | 4 ++-- .../src/views/home/detailsPageInfrastructureTree.vue | 11 +++++------ 2 files changed, 7 insertions(+), 8 deletions(-) diff --git a/front/src/api/videoSurveillance.js b/front/src/api/videoSurveillance.js index 53b714d7..94198d54 100644 --- a/front/src/api/videoSurveillance.js +++ b/front/src/api/videoSurveillance.js @@ -33,14 +33,14 @@ export function searchCamera(params) { } export function getCameraAllOrgan(params) { return request({ - url: `/api/project/selectSubOrgan`, + url: `/api/project/selectSubOrganNew`, method: 'get', params, }) } export function getCameraByParentId(params) { return request({ - url: `/api/project/selectByParentId`, + url: `/api/project/selectByParentIdNew`, method: 'get', params, }) diff --git a/front/src/views/home/detailsPageInfrastructureTree.vue b/front/src/views/home/detailsPageInfrastructureTree.vue index 086313a2..8fd0def1 100644 --- a/front/src/views/home/detailsPageInfrastructureTree.vue +++ b/front/src/views/home/detailsPageInfrastructureTree.vue @@ -11,6 +11,7 @@ :class="item.show ? 'topSelect' : ''" > {{ item.name }} + ({{ item.channelCount }}) @@ -39,9 +40,7 @@ fill="#0058e1" > - - {{ val.name }} - + {{ val.name }}({{ val.channelCount }}) {{ val.total }} @@ -55,7 +54,7 @@ :key="child.id" class="child" :class="selectId == child.id ? 'select2' : ''" - @click="onSelect(item, val, child)" + @click="onSelect(item, child, child)" >
- {{ child.total }} + {{ child.channelCount }} @@ -122,7 +121,6 @@ if (select === '123') { select = '' } - // debugger console.log( '获取url中的select=====================>', router.currentRoute.value.query.select @@ -242,6 +240,7 @@ // } const selectId = ref('') const onSelect = (item, val, child) => { + debugger console.log('item, val, child', child) mybus.emit('getCameraByParentId', val.id) mybus.emit('getListByParentId', val.id) From 293d6794c860fe845c083102e6038b52c4f0d194 Mon Sep 17 00:00:00 2001 From: "851673013@qq.com" <851673013@qq.com> Date: Thu, 14 Jul 2022 18:43:32 +0800 Subject: [PATCH 02/22] =?UTF-8?q?=E5=89=8D=E5=8F=B0=E4=B8=8A=E6=9E=B6?= =?UTF-8?q?=E6=BB=9A=E5=8A=A8=E6=9D=A1=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/views/capacityOnTheShelf/components/PutOnTheShelf.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/front/src/views/capacityOnTheShelf/components/PutOnTheShelf.vue b/front/src/views/capacityOnTheShelf/components/PutOnTheShelf.vue index ccb76044..cc5b9b78 100644 --- a/front/src/views/capacityOnTheShelf/components/PutOnTheShelf.vue +++ b/front/src/views/capacityOnTheShelf/components/PutOnTheShelf.vue @@ -163,7 +163,7 @@ > 编辑富文本
@@ -581,6 +581,7 @@ }) }) + diff --git a/front/src/views/capacityOnTheShelf/components/PutOnTheShelf.vue b/front/src/views/capacityOnTheShelf/components/PutOnTheShelf.vue index 9eead4b5..6d1bc918 100644 --- a/front/src/views/capacityOnTheShelf/components/PutOnTheShelf.vue +++ b/front/src/views/capacityOnTheShelf/components/PutOnTheShelf.vue @@ -2,7 +2,7 @@ * @Author: hisense.liangjunhua * @Date: 2022-06-17 14:11:08 * @LastEditors: hisense.liangjunhua - * @LastEditTime: 2022-07-15 11:51:18 + * @LastEditTime: 2022-07-15 14:57:15 * @Description: 上架 --> From 90d9e7ae305cc52124103548a899a8ba6f583715 Mon Sep 17 00:00:00 2001 From: "851673013@qq.com" <851673013@qq.com> Date: Fri, 15 Jul 2022 16:25:33 +0800 Subject: [PATCH 20/22] bug535 --- front/src/views/home/components/header.vue | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/front/src/views/home/components/header.vue b/front/src/views/home/components/header.vue index 2f67446f..3c3675da 100644 --- a/front/src/views/home/components/header.vue +++ b/front/src/views/home/components/header.vue @@ -63,13 +63,18 @@
查看更多
From 02f1de8486264ca15a822d368d412bc11d9243da Mon Sep 17 00:00:00 2001 From: a0049873 <79py69t9wb@privaterelay.appleid.com> Date: Fri, 15 Jul 2022 16:30:13 +0800 Subject: [PATCH 21/22] =?UTF-8?q?BUG=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- front/src/views/capacityOnTheShelf/Algorithm.vue | 4 +--- .../views/capacityOnTheShelf/components/PutOnTheShelf.vue | 5 ++++- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/front/src/views/capacityOnTheShelf/Algorithm.vue b/front/src/views/capacityOnTheShelf/Algorithm.vue index 516293b0..ac9df6a4 100644 --- a/front/src/views/capacityOnTheShelf/Algorithm.vue +++ b/front/src/views/capacityOnTheShelf/Algorithm.vue @@ -2,7 +2,7 @@ * @Author: hisense.liangjunhua * @Date: 2022-06-13 10:22:27 * @LastEditors: hisense.liangjunhua - * @LastEditTime: 2022-07-15 16:13:40 + * @LastEditTime: 2022-07-15 16:28:56 * @Description: 算法上架 -->