|
@@ -2298,20 +2298,20 @@ export default {
|
|
|
}
|
|
|
this.monitorUrl2 = this.warehouseList1[i].monitorUrl2
|
|
|
let _this = this
|
|
|
- if (_this.monitorUrl2) {
|
|
|
- player = new EZUIKit.EZUIKitPlayer({
|
|
|
- id: 'video-container', // 视频容器ID
|
|
|
- accessToken: accessToken,
|
|
|
- url: 'ezopen://open.ys7.com/' + _this.monitorUrl2 + '.hd.live',
|
|
|
- // simple - 极简版; pcLive-pc直播;pcRec-pc回放;mobileLive-移动端直播;mobileRec-移动端回放;security - 安防版;voice-语音版;
|
|
|
- template: 'standard',
|
|
|
- width: 550,
|
|
|
- height: 350
|
|
|
- })
|
|
|
- window.player = player
|
|
|
- } else {
|
|
|
- player.stop()
|
|
|
- }
|
|
|
+ // if (_this.monitorUrl2) {
|
|
|
+ // player = new EZUIKit.EZUIKitPlayer({
|
|
|
+ // id: 'video-container', // 视频容器ID
|
|
|
+ // accessToken: accessToken,
|
|
|
+ // url: 'ezopen://open.ys7.com/' + _this.monitorUrl2 + '.hd.live',
|
|
|
+ // // simple - 极简版; pcLive-pc直播;pcRec-pc回放;mobileLive-移动端直播;mobileRec-移动端回放;security - 安防版;voice-语音版;
|
|
|
+ // template: 'standard',
|
|
|
+ // width: 550,
|
|
|
+ // height: 350
|
|
|
+ // })
|
|
|
+ // window.player = player
|
|
|
+ // } else {
|
|
|
+ // player.stop()
|
|
|
+ // }
|
|
|
this.positionInfos = this.warehouseList1[i].positionInfos
|
|
|
this.warehouseCount = this.warehouseList1[i].outCount
|
|
|
this.warehouseNo = this.warehouseList1[i].commonWarehouseNo
|
|
@@ -2840,24 +2840,24 @@ export default {
|
|
|
}
|
|
|
}
|
|
|
this.warehouseList1 = response
|
|
|
- getToken()
|
|
|
- .toPromise()
|
|
|
- .then(response => {
|
|
|
- accessToken = response
|
|
|
- player = new EZUIKit.EZUIKitPlayer({
|
|
|
- id: 'video-container', // 视频容器ID
|
|
|
- accessToken: accessToken,
|
|
|
- url: 'ezopen://open.ys7.com/' + this.monitorUrl2 + '.hd.live',
|
|
|
- template: 'standard',
|
|
|
- width: 550,
|
|
|
- height: 350,
|
|
|
- handleCapturePicture: res => {
|
|
|
- console.log('rereer', res)
|
|
|
- }
|
|
|
- })
|
|
|
- window.player = player
|
|
|
- window.accessToken = accessToken
|
|
|
- })
|
|
|
+ // getToken()
|
|
|
+ // .toPromise()
|
|
|
+ // .then(response => {
|
|
|
+ // accessToken = response
|
|
|
+ // player = new EZUIKit.EZUIKitPlayer({
|
|
|
+ // id: 'video-container', // 视频容器ID
|
|
|
+ // accessToken: accessToken,
|
|
|
+ // url: 'ezopen://open.ys7.com/' + this.monitorUrl2 + '.hd.live',
|
|
|
+ // template: 'standard',
|
|
|
+ // width: 550,
|
|
|
+ // height: 350,
|
|
|
+ // handleCapturePicture: res => {
|
|
|
+ // console.log('rereer', res)
|
|
|
+ // }
|
|
|
+ // })
|
|
|
+ // window.player = player
|
|
|
+ // window.accessToken = accessToken
|
|
|
+ // })
|
|
|
this.deptBudgetList.warehouseName = this.warehouseName
|
|
|
this.getList()
|
|
|
})
|