diff --git a/packages/bigscreen/viewer/AppGigscreenViewer.vue b/packages/bigscreen/viewer/AppGigscreenViewer.vue index 974967dd..425d8a60 100644 --- a/packages/bigscreen/viewer/AppGigscreenViewer.vue +++ b/packages/bigscreen/viewer/AppGigscreenViewer.vue @@ -100,13 +100,20 @@ if (item.dataType !== 'staticData' && ((item.type.indexOf('Chart') > -1) || item.type === 'display' || item.type === 'table' || item.type === 'summary')) { this.getSourceData(item, index) } - if (item.type === 'monitor' && item.monitorType !== 'hik' && item.monitorType !== 'dahua') { + if (item.type === 'monitor' && item.monitorType === 'cmcc') { this.instance.post(`${this.urlPrefix}/appzyvideoequipment/getWebSdkUrl?deviceId=${item.moniterId}`).then(res => { if (res.code == 0) { this.$set(this.componentList[index], 'src', JSON.parse(res.data).url) } }) } + if (item.type === 'monitor' && item.monitorType === 'slw') { + this.instance.post(`${this.urlPrefix}/appzyvideoequipment/getWebSdkUrl?deviceId=${item.moniterId}`).then(res => { + if (res.code == 0) { + this.$set(this.componentList[index], 'src', res.data) + } + }) + } }) } }