Commit c9c776b2 authored by lei's avatar lei

fix:监控视频部分修改

parent fb9b097c
# 页面标题
VUE_APP_TITLE = AI 视频推理平台
VUE_APP_TITLE = 弘基AI视频推理平台
# 开发环境配置
ENV = 'development'
......
# 页面标题
VUE_APP_TITLE = AI视频推理平台
VUE_APP_TITLE = 弘基AI视频推理平台
# 生产环境配置
ENV = 'production'
......
# 页面标题
VUE_APP_TITLE = AI视频推理平台
VUE_APP_TITLE = 弘基AI视频推理平台
BABEL_ENV = production
......
......@@ -106,7 +106,7 @@ service.interceptors.response.use(res => {
} else {
return res.data
}
},
},
error => {
console.log('err' + error)
let { message } = error;
......
......@@ -7,7 +7,7 @@
>
<div class="screen-box1">
<div class="screen-title">
<span>智慧矿山AI推理平台</span>
<span>弘基AI视频推理平台</span>
</div>
<div class="screen-content">
<el-row>
......
......@@ -30,6 +30,7 @@
v-model="checkAnalysisList"
size="small"
:key="uniqueKey"
style="height: calc(100vh - 320px); overflow-y: auto"
>
<!-- 自定义复选框组件 -->
<div
......@@ -81,6 +82,7 @@
@selection-change="cameraChange"
ref="cameraTable"
row-key="cameraId"
height="calc(100vh - 320px)"
>
<el-table-column type="selection" width="55"> </el-table-column>
<el-table-column label="名称" prop="cameraName"></el-table-column>
......@@ -393,6 +395,9 @@ export default {
cameraChange(val) {
const currentAlgorithm =
this.checkAnalysisList[this.selectedAlgorithmIndex];
this.checkCameraList = val;
console.log(this.checkCameraList);
if (currentAlgorithm) {
currentAlgorithm.checkCameraList = val.map((item) => ({
cameraId: item.cameraId,
......
......@@ -370,7 +370,7 @@ export default {
var videoElement = document.getElementById("videoPlayer");
var flvPlayer = flvjs.createPlayer({
type: "flv",
url: "http://192.168.3.248:2022/live/15_1_.flv", //你的url地址
url: "http://192.168.1.84:2022/live/15_1_.flv", //你的url地址
});
flvPlayer.attachMediaElement(videoElement);
flvPlayer.load();
......
......@@ -47,13 +47,6 @@ module.exports = {
}
},
'/proxy-iframe': {
target: 'http://192.168.2.23:8080', // 替换为实际目标地址
changeOrigin: true,
pathRewrite: {
'^/proxy-iframe': '' // 替换为实际路径前缀
}
},
},
disableHostCheck: true
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment