From 9c9e95afdd9d762dd860aec021c626d9a0784a5d Mon Sep 17 00:00:00 2001 From: water_xu Date: Wed, 19 Jun 2024 08:23:47 +0800 Subject: [PATCH 1/7] =?UTF-8?q?=E9=97=A8=E5=8F=A3=E9=97=A8=E7=A6=81-?= =?UTF-8?q?=E5=9C=B0=E5=9B=BE-=E6=91=84=E5=83=8F=E5=A4=B4=E7=82=B9?= =?UTF-8?q?=E4=BD=8D=E5=A2=9E=E5=8A=A0=E7=82=B9=E4=BD=8D=E5=8F=82=E6=95=B0?= =?UTF-8?q?GATE=5FVIDEO=5FID?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/map/index.vue | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/views/map/index.vue b/src/views/map/index.vue index a162166..97e887d 100644 --- a/src/views/map/index.vue +++ b/src/views/map/index.vue @@ -1385,11 +1385,8 @@ export default { const point_type = pick.id._monitoItems.data.point_type const point_id = pick.id._monitoItems.data.id if (point_type == '标记点CAMERA'){ - const { GATE_VIDEO_ID } = pick.id._monitoItems.data - alert(GATE_VIDEO_ID) - alert(pick.id._monitoItems.data) console.log(pick.id._monitoItems.data) - this.dialog.GATE_VIDEO_ID = GATE_VIDEO_ID + this.dialog.GATE_VIDEO_ID = pick.id._monitoItems.data.GATE_VIDEO_ID } if (point_type === '报警') { viewer.dataSources.remove(this.myEntityCollection[pick.id._monitoItems.data.id]) @@ -2135,6 +2132,7 @@ export default { point.position.y = +varList[i].LATITUDE point.dialog_width = dialog_width point.MAP_POINT_NAME = varList[i].MAP_POINT_NAME + point.GATE_VIDEO_ID = varList[i].VIDEO_RESOURCE_ID // 曹妃甸使用 point.gangkou = this.gangkouActive // 闸机名称 From ece4a3fe2056c13c421fb43df60912fda4167c94 Mon Sep 17 00:00:00 2001 From: liujun Date: Wed, 19 Jun 2024 08:48:24 +0800 Subject: [PATCH 2/7] =?UTF-8?q?=E4=B8=89=E9=A1=B9=E5=88=B6=E5=BA=A6?= =?UTF-8?q?=E5=BA=93=E6=96=B0=E5=8A=9F=E8=83=BDbug=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../lawsRegulations/components/editTextLibrary.vue | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/views/threeSystems/lawsRegulations/components/editTextLibrary.vue b/src/views/threeSystems/lawsRegulations/components/editTextLibrary.vue index 0d047ad..757be5c 100644 --- a/src/views/threeSystems/lawsRegulations/components/editTextLibrary.vue +++ b/src/views/threeSystems/lawsRegulations/components/editTextLibrary.vue @@ -199,6 +199,8 @@ export default { { BUS_TEXT_LIBRARY_ID: this.e.BUS_TEXT_LIBRARY_ID } ).then((data) => { this.loading = false + if (!data.data.labels || data.data.labels.length === 0) data.data.labels = [''] + data.data.TYPE_INFO = data.data.TYPE this.form = data.data this.form.FILE = [] this.form.types = [] @@ -208,10 +210,7 @@ export default { if (!this.form.TYPES || this.form.TYPES.length === 0) this.form.TYPES = [''] if (!this.form.SPECIFICATION_TYPES || this.form.SPECIFICATION_TYPES.length === 0) this.form.SPECIFICATION_TYPES = [''] if (!this.form.CATEGORY_LIST || this.form.CATEGORY_LIST.length === 0) this.form.CATEGORY_LIST = [''] - if (!this.form.labels || this.form.labels.length === 0) this.form.labels = [''] this.remoteControl.keyOne = !(this.form.CATEGORY_LIST[0].CATEGORY_ID === '8051d985a2bc406a83ea9360b64182b2') - this.form.TYPE_INFO = this.form.TYPE - this.$set(this.form, 'TYPE_INFO', this.form.TYPE) }).catch((e) => { this.$message.error(e) this.loading = false From 95d447013e5d715aefe1e3cda5051f0450090b66 Mon Sep 17 00:00:00 2001 From: water_xu Date: Wed, 19 Jun 2024 09:36:41 +0800 Subject: [PATCH 3/7] =?UTF-8?q?=E9=97=A8=E5=8F=A3=E9=97=A8=E7=A6=81-?= =?UTF-8?q?=E5=9C=B0=E5=9B=BE-=E6=91=84=E5=83=8F=E5=A4=B4=E7=82=B9?= =?UTF-8?q?=E4=BD=8D=E6=92=AD=E6=94=BE=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/map/dialog/mkGateMachine.vue | 12 +++- src/views/map/dialog/video_play_gate.vue | 88 ++++++++++++++++++++++++ src/views/map/index.vue | 2 +- 3 files changed, 98 insertions(+), 4 deletions(-) create mode 100644 src/views/map/dialog/video_play_gate.vue diff --git a/src/views/map/dialog/mkGateMachine.vue b/src/views/map/dialog/mkGateMachine.vue index 8e8e1e7..f8f04ae 100644 --- a/src/views/map/dialog/mkGateMachine.vue +++ b/src/views/map/dialog/mkGateMachine.vue @@ -73,7 +73,7 @@ {{ item.CAR_IN - item.CAR_OUT}} - +
@@ -126,7 +126,7 @@
- +
@@ -135,8 +135,9 @@ import { requestFN } from '@/utils/request' import moment from 'moment' import videoPlay from './video_play.vue' +import videoPlayGate from './video_play_gate.vue' export default { - components: { videoPlay }, + components: { videoPlay, videoPlayGate }, props: { id: { type: String, @@ -221,6 +222,11 @@ export default { } } } + if (this.type == 'CAMERA') { + Object.assign(this.info, data.pd.info) + this.info.CODE = data.pd.video.EXTERNALINDEXCODE + this.info.VIDEONAME = data.pd.video.NAME + } this.$forceUpdate() }).catch((e) => { diff --git a/src/views/map/dialog/video_play_gate.vue b/src/views/map/dialog/video_play_gate.vue new file mode 100644 index 0000000..8a2efd1 --- /dev/null +++ b/src/views/map/dialog/video_play_gate.vue @@ -0,0 +1,88 @@ + + + + + diff --git a/src/views/map/index.vue b/src/views/map/index.vue index 97e887d..8edbe73 100644 --- a/src/views/map/index.vue +++ b/src/views/map/index.vue @@ -2132,7 +2132,7 @@ export default { point.position.y = +varList[i].LATITUDE point.dialog_width = dialog_width point.MAP_POINT_NAME = varList[i].MAP_POINT_NAME - point.GATE_VIDEO_ID = varList[i].VIDEO_RESOURCE_ID + point.GATE_VIDEO_ID = varList[i].GATE_VIDEO_ID // 曹妃甸使用 point.gangkou = this.gangkouActive // 闸机名称 From 25d319976e47a4e980e1139d194de6da8b54bf25 Mon Sep 17 00:00:00 2001 From: water_xu Date: Wed, 19 Jun 2024 11:57:04 +0800 Subject: [PATCH 4/7] =?UTF-8?q?=E9=97=A8=E5=8F=A3=E9=97=A8=E7=A6=81-?= =?UTF-8?q?=E5=88=A0=E9=99=A4=E5=8F=A3=E9=97=A8=E5=8C=BA=E5=9F=9F=E7=95=8C?= =?UTF-8?q?=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/map/components/menjin.vue | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/views/map/components/menjin.vue b/src/views/map/components/menjin.vue index ba5d158..406ea55 100644 --- a/src/views/map/components/menjin.vue +++ b/src/views/map/components/menjin.vue @@ -1,7 +1,7 @@ + + + + + diff --git a/src/views/gatemachine/primarygatemanager/gaterecord/index.vue b/src/views/gatemachine/primarygatemanager/gaterecord/index.vue index 14cb3a1..2956c13 100644 --- a/src/views/gatemachine/primarygatemanager/gaterecord/index.vue +++ b/src/views/gatemachine/primarygatemanager/gaterecord/index.vue @@ -1,26 +1,12 @@ - - - + + diff --git a/src/views/gatemachine/primarygatemanager/gaterecord/components/peopleRecordList.vue b/src/views/gatemachine/primarygatemanager/gaterecord/peoplerecord/components/peopleRecordList.vue similarity index 95% rename from src/views/gatemachine/primarygatemanager/gaterecord/components/peopleRecordList.vue rename to src/views/gatemachine/primarygatemanager/gaterecord/peoplerecord/components/peopleRecordList.vue index 3473388..8b450ae 100644 --- a/src/views/gatemachine/primarygatemanager/gaterecord/components/peopleRecordList.vue +++ b/src/views/gatemachine/primarygatemanager/gaterecord/peoplerecord/components/peopleRecordList.vue @@ -2,7 +2,7 @@
- 人行口门记录 + 人行口门记录 +
+ +
+ + + + + + From a36c05be344f830bbbab22a95fcd01d0c789edc8 Mon Sep 17 00:00:00 2001 From: water_xu Date: Thu, 20 Jun 2024 16:35:06 +0800 Subject: [PATCH 6/7] =?UTF-8?q?=E9=97=A8=E5=8F=A3=E9=97=A8=E7=A6=81-?= =?UTF-8?q?=E4=BA=BA=E8=A1=8C=E3=80=81=E8=BD=A6=E8=A1=8C=E8=AE=B0=E5=BD=95?= =?UTF-8?q?=E6=94=AF=E6=8C=81=E5=88=86=E9=A1=B5=E6=9F=A5=E8=AF=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../gatebaseinfo/components/equipment.vue | 12 ++-- .../carrecord/components/carRecordList.vue | 67 +++++++++++++++---- .../components/peopleRecordList.vue | 67 +++++++++++++++---- 3 files changed, 114 insertions(+), 32 deletions(-) diff --git a/src/views/gatemachine/primarygatemanager/gatebaseinfo/components/equipment.vue b/src/views/gatemachine/primarygatemanager/gatebaseinfo/components/equipment.vue index 0dd5337..121eeac 100644 --- a/src/views/gatemachine/primarygatemanager/gatebaseinfo/components/equipment.vue +++ b/src/views/gatemachine/primarygatemanager/gatebaseinfo/components/equipment.vue @@ -58,9 +58,9 @@ @@ -211,9 +211,9 @@ export default { { value: '2', label: '出' } ], gateCategoryList: [ - { value: '0', label: '人行口门' }, - { value: '1', label: '车行口门' }, - { value: '2', label: '综合口门' } + { value: '1', label: '人行口门' }, + { value: '2', label: '车行口门' }, + { value: '3', label: '综合口门' } ], addDialog: { visible: false, diff --git a/src/views/gatemachine/primarygatemanager/gaterecord/carrecord/components/carRecordList.vue b/src/views/gatemachine/primarygatemanager/gaterecord/carrecord/components/carRecordList.vue index 94e3906..e3b68b2 100644 --- a/src/views/gatemachine/primarygatemanager/gaterecord/carrecord/components/carRecordList.vue +++ b/src/views/gatemachine/primarygatemanager/gaterecord/carrecord/components/carRecordList.vue @@ -1,8 +1,38 @@