视频监控传参更换

master
吕天方 8 months ago
parent 973a72f784
commit 31fd96aafb

@ -90,7 +90,7 @@ service.interceptors.response.use(res => {
// store.dispatch('LogOut').then(() => { // store.dispatch('LogOut').then(() => {
// location.href = '/#/login'; // location.href = '/#/login';
// }) // })
location.href = "https://t-jn-bjh-admin.jsszkd.com/" location.href = "https://bjh.jndz.cn/bjh-admin/"
}).catch(() => { }).catch(() => {
isRelogin.show = false; isRelogin.show = false;
}); });

@ -94,7 +94,7 @@ service.interceptors.response.use(res => {
// store.dispatch('LogOut').then(() => { // store.dispatch('LogOut').then(() => {
// location.href = '/#/login'; // location.href = '/#/login';
// }) // })
location.href = "https://t-jn-bjh-admin.jsszkd.com/" location.href = "https://bjh.jndz.cn/bjh-admin/"
}).catch(() => { }).catch(() => {
isRelogin.show = false; isRelogin.show = false;
}); });

@ -91,7 +91,7 @@ service.interceptors.response.use(res => {
// store.dispatch('LogOut').then(() => { // store.dispatch('LogOut').then(() => {
// location.href = '/#/login'; // location.href = '/#/login';
// }) // })
location.href = "https://t-jn-bjh-admin.jsszkd.com/" location.href = "https://bjh.jndz.cn/bjh-admin/"
}).catch(() => { }).catch(() => {
isRelogin.show = false; isRelogin.show = false;
}); });

@ -4,7 +4,7 @@
* @Author: JC9527 * @Author: JC9527
* @Date: 2024-01-09 23:08:15 * @Date: 2024-01-09 23:08:15
* @LastEditors: JC9527 * @LastEditors: JC9527
* @LastEditTime: 2024-05-28 08:50:37 * @LastEditTime: 2024-07-05 08:56:16
--> -->
<template> <template>
<div class="map-main"> <div class="map-main">
@ -1478,8 +1478,8 @@ export default {
// //
monitorVideos(status){ monitorVideos(status){
// this.$refs.videoWall.open(); // this.$refs.videoWall.open();
if(status == 1) { if(status == 1) { // expand:"transcode=1"
getPreviewURLs({protocol:'hls',cameraIndexCode:this.monitoringInfo.info.cameraIndexCode,expand:"transcode=1"}).then(res=>{ getPreviewURLs({protocol:'hls',cameraIndexCode:this.monitoringInfo.info.cameraIndexCode,streamType:"1",transmode:"1"}).then(res=>{
if(res.code == 200) { if(res.code == 200) {
// console.log(res,''); // console.log(res,'');
// this.$refs.aloneVideo.open(res.msg); // this.$refs.aloneVideo.open(res.msg);
@ -1494,7 +1494,7 @@ export default {
}, },
// //
copyUrl(){ copyUrl(){
getPreviewURLs({protocol:'hls',cameraIndexCode:this.monitoringInfo.info.cameraIndexCode,expand:"transcode=1"}).then(res=>{ getPreviewURLs({protocol:'hls',cameraIndexCode:this.monitoringInfo.info.cameraIndexCode,streamType:"1",transmode:"1"}).then(res=>{
if(res.code == 200) { if(res.code == 200) {
// this.$refs.aloneVideo.open(res.msg); // this.$refs.aloneVideo.open(res.msg);
var aux = document.createElement("input"); var aux = document.createElement("input");

Loading…
Cancel
Save