|
@@ -11,7 +11,7 @@
|
|
|
</scroll-view>
|
|
|
<scroll-view scroll-y @scrolltolower="scrollGet" class="info-max-box">
|
|
|
<!-- 视频部分 -->
|
|
|
- <view class="video-max-box" v-if="urlList[0]">
|
|
|
+ <view class="video-max-box">
|
|
|
<video v-for="(item,index) in urlList" :key="index" ref="videoRef" :src="item.url"
|
|
|
:poster="videoCover" :custom-cache='false' :autoplay="true" :controls="true"
|
|
|
:enable-danmu="false" :muted="true" :show-fullscreen-btn="true" :show-center-play-btn="false"
|
|
@@ -84,16 +84,14 @@ export default {
|
|
|
|
|
|
},
|
|
|
mounted(){
|
|
|
-
|
|
|
- //this.laboratoryInfo()
|
|
|
- //this.getDeviceList()
|
|
|
- //this.getCameraByFloor()
|
|
|
- this.sparseHardwareList()
|
|
|
+ this.getDeviceList()//喇叭接口
|
|
|
+ this.sparseHardwareList()//摄像头接口
|
|
|
},
|
|
|
methods: {
|
|
|
//顶部tab点击
|
|
|
tabClickTow(item,index) {
|
|
|
this.curTabTow = index;
|
|
|
+ console.log(item)
|
|
|
this.GetStartList(item)
|
|
|
|
|
|
},
|
|
@@ -158,17 +156,16 @@ export default {
|
|
|
this.laboratoryInfo()
|
|
|
}
|
|
|
},
|
|
|
- async GetStartList(rows) {
|
|
|
- console.log(rows)
|
|
|
+ async GetStartList(numData) {
|
|
|
let self = this;
|
|
|
- if(!rows[0]){
|
|
|
+ if(!numData){
|
|
|
return
|
|
|
}
|
|
|
- let list = rows.num;
|
|
|
+ console.log()
|
|
|
let obj = {
|
|
|
page: "1",
|
|
|
count: "100",
|
|
|
- deviceIds: list,
|
|
|
+ deviceIds: numData.num,
|
|
|
};
|
|
|
const {
|
|
|
data
|