From 2a2c29f71cd689dfb6e9a988207313979b239b3e Mon Sep 17 00:00:00 2001 From: wwp <782568523@qq.com> Date: Thu, 5 Sep 2024 11:50:19 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A0=91=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/tki-tree/tki-tree.vue | 62 +++---- monitorMobile/pages/earlyWarning/detail.vue | 158 ++++++++++-------- monitorMobile/pages/monitor/index.vue | 6 +- 3 files changed, 125 insertions(+), 101 deletions(-) diff --git a/monitorMobile/components/tki-tree/tki-tree.vue b/monitorMobile/components/tki-tree/tki-tree.vue index 57ffe98..45f095c 100644 --- a/monitorMobile/components/tki-tree/tki-tree.vue +++ b/monitorMobile/components/tki-tree/tki-tree.vue @@ -11,13 +11,13 @@ - + + + - - - {{detailData.alarmTypeDesc ? detailData.alarmTypeDesc + '-' + detailData.tick : ''}} - - - - - 所属学校: - - - 演示学校 - - - - - 班级: - - - -- - - - - - 姓名: - - - {{ detailData.personName || "--" }} - - - - - 预警摄像头: + + + + + + {{detailData.alarmTypeDesc ? detailData.alarmTypeDesc + '-' + detailData.tick : ''}} - - {{ detailData.cameraName || "--" }} - - - - - 预警类型: + + + + 所属学校: + + + 演示学校 + - - {{ detailData.alarmTypeDesc || "--" }} + + + 班级: + + + -- + - - - - 预警时间: + + + 姓名: + + + {{ detailData.personName || "--" }} + - - {{ detailData.tick || "--" }} + + + 预警摄像头: + + + {{ detailData.cameraName || "--" }} + - - - - 复核视频: + + + 预警类型: + + + {{ detailData.alarmTypeDesc || "--" }} + - - 查看视频 - -- + + + 预警时间: + + + {{ detailData.tick || "--" }} + - - - - 备注信息: + + + 复核视频: + + + 查看视频 + -- + - - {{ detailData.extend || '--' }} + + + 备注信息: + + + {{ detailData.extend || '--' }} + - - - - 处理意见: - - - {{ detailData.remark || '--' }} + + + 处理意见: + + + {{ detailData.remark || '--' }} + + - @@ -166,6 +166,7 @@ multiple: false, //是否多选 selectParent: true, //父级可选择 flod: false, //折叠 + showChild: true, player: null, sensorId: '', videoUrl: '', @@ -194,6 +195,7 @@ methods: { setVideo() { + let that = this; this.loadWebPlayerSDK().then(() => { // 如果需要使用自定义组件,打开以下注释 // this.loadComponent().then(() => { @@ -211,7 +213,7 @@ this.player.one('canplay', function() { // console.log('canplay', this.player.tag); - this.player.tag.play(); + that.player.tag.play(); });