|
|
@@ -20,7 +20,7 @@
|
|
|
<script>
|
|
|
import H5PlayerVideo from '@/components/H5PlayerVideo.vue';
|
|
|
import fullH5PlayerVideo from '@/components/fullH5PlayerVideo.vue';
|
|
|
- import { iotCameraFindByCondition,iotCameraGetPlaybackURLs } from "@/api/index";
|
|
|
+ import { iotCameraFindByCondition,iotAppSpeakerFindHorn } from "@/api/index";
|
|
|
import voiceBroadcast from '@/components/voiceBroadcast/voiceBroadcast.vue';
|
|
|
export default {
|
|
|
name: 'index',
|
|
|
@@ -138,6 +138,12 @@
|
|
|
obj.source = 5;
|
|
|
}
|
|
|
if(urlData.type){
|
|
|
+ iotAppSpeakerFindHorn({subId:urlData.subId,floorId:urlData.floorId?urlData.floorId:''}).then(response => {
|
|
|
+ for (let i = 0; i < response.data.length; i++) {
|
|
|
+ response.data[i].type = false;
|
|
|
+ }
|
|
|
+ this.$set(this, 'trumpetList', response.data)
|
|
|
+ })
|
|
|
iotCameraFindByCondition(obj).then(response => {
|
|
|
if (!response.data.records[0]){
|
|
|
this.$set(this,'nullType','该实验室未配置摄像头');
|