Compare commits

..

No commits in common. "bb2799282c9a6d9af7b4762179a7c8bcce9584c2" and "d0dc1f2085b0b2a937cda3a5982e5c2ccf6e0fc2" have entirely different histories.

4 changed files with 823 additions and 1121 deletions

View File

@ -2,7 +2,7 @@ import request from '@/utils/request'
const listView=(deptId,projectId)=> {
return request({
url: `/bgscreen/aiBoxVideo/listView?deptId=${deptId||0}&projectId=${projectId||0}&pageSize=20&pageNum=1`,
url: `/bgscreen/aiBoxVideo/listView?deptId=${deptId||0}&projectId=${projectId||0}`,
method: 'get'
})
}

View File

@ -242,7 +242,7 @@ export default {
fontSize: "12px",
height: "32px",
},
warningInterval: undefined,
warningInterval: "",
warningTableData: [],
//
@ -307,15 +307,16 @@ export default {
};
},
beforeDestroy(){
console.log("-----beforeDestroy------>");
this.players.forEach((p) => {
console.log("-----beforeDestroy------>")
this.players.forEach(p=>{
if(p){
try{
p.stop();
} catch (e) {}
}catch(e){
}
});
clearInterval(this.warningInterval);
}
})
},
mounted() {
window.xapp=this;
@ -958,6 +959,7 @@ export default {
onMonitoringVideo(n) {
this.mvNav = n;
},
// ---------
warningScroll() {
let maxHeight = this.$refs.warning.$el.querySelectorAll(".el-table__body")[0]
@ -1529,9 +1531,9 @@ export default {
});
},
//
// beforeDestroy() {
// },
beforeDestroy() {
clearInterval(this.warningInterval);
},
handlePlay(it, idx) {
this.videoReturnData = it;
this.currentIndex = idx;
@ -1553,13 +1555,15 @@ export default {
//
initVideo(videoDvrNumber, url) {
let that = this;
that.players.forEach((p) => {
that.players.forEach(p=>{
if(p){
try{
p.stop();
} catch (e) {}
}catch(e){
}
});
}
})
that.players = [];
that.parentVM.vd01Flag=false;
that.parentVM.vd02Flag=false;
@ -1583,7 +1587,7 @@ export default {
if (idx == 0) {
//that.url0 = url.replace("{{passage}}", it.passageValue);
that.url0 =
"https://szgc.jhncidg.com/video/live/cameraid/" +
"http://111.21.209.230:7086/live/cameraid/" +
videoDvrNumber +
"$" +
it.passageValue +
@ -1593,7 +1597,7 @@ export default {
if (idx == 1) {
//that.url1 = url.replace("{{passage}}", it.passageValue);
that.url1 =
"https://szgc.jhncidg.com/video/live/cameraid/" +
"http://111.21.209.230:7086/live/cameraid/" +
videoDvrNumber +
"$" +
it.passageValue +
@ -1603,7 +1607,7 @@ export default {
if (idx == 2) {
//that.url2 = url.replace("{{passage}}", it.passageValue);
that.url2 =
"https://szgc.jhncidg.com/video/live/cameraid/" +
"http://111.21.209.230:7086/live/cameraid/" +
videoDvrNumber +
"$" +
it.passageValue +
@ -1613,7 +1617,7 @@ export default {
if (idx == 3) {
//that.url3 = url.replace("{{passage}}", it.passageValue);
that.url3 =
"https://szgc.jhncidg.com/video/live/cameraid/" +
"http://111.21.209.230:7086/live/cameraid/" +
videoDvrNumber +
"$" +
it.passageValue +

File diff suppressed because it is too large Load Diff

View File

@ -8,13 +8,13 @@ module.exports = defineConfig({
port: 3000,
open: true,
proxy: {
// '/jhapi/profile':{
// target: `http://62.234.3.186/jhapi/profile/`,
// changeOrigin: true,
// pathRewrite: {
// '^/jhapi/profile':'/'
// }
// },
'/jhapi/profile':{
target: `http://62.234.3.186/jhapi/profile/`,
changeOrigin: true,
pathRewrite: {
'^/jhapi/profile':'/'
}
},
'/jhapp':{
target: `http://62.234.3.186/`,
changeOrigin: true,
@ -46,7 +46,7 @@ module.exports = defineConfig({
}
},
'/profile':{
target: `http://szgc.jhncidg.com/jhapi/profile`,
target: `http://62.234.3.186/profile/`,
changeOrigin: true,
pathRewrite: {
'^/profile':'/'