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(); });