Commit 490b3faa by 潘建波

修改标定设置

1 parent e9b878f7
{"commit":"af680df9280d84c026e7ce21c2b21559ea924789","commitDate":"2021-5-20 16:58","buildDate":"2021-5-21 17:24","version":"2.1.0","info":"提交博关算法配置"}
\ No newline at end of file
{"commit":"e9b878f7deaf4f5dad924a65071186ebc6f970d7","commitDate":"2021-5-25 16:10","buildDate":"2021-5-27 19:23","version":"2.0.9","info":"【BUG】修改密码验证方式 【new】增加用户显示,增加推出提示 【new】过车增加速度"}
\ No newline at end of file
......@@ -4,7 +4,7 @@ import axios from "axios";
switch (process.env.NODE_ENV) {
case "development":
// baseUrl = "http://192.168.9.234:20080"; // 测试环境url
baseUrl = window.config.https?"https://192.168.9.233:20070":"http://192.168.9.233:20080"; // 测试环境url
baseUrl = window.config.https?"https://192.168.9.233:20070":"http://192.168.9.173:20080"; // 测试环境url
// baseUrl = "http://192.168.9.82:8080"; // 测试环境url
// baseUrl = "http://192.168.9.61:8086";
// baseUrl = 'http://vion-panda.51vip.biz:52510';
......
......@@ -8,6 +8,9 @@ export default {
detailImg(params, id) {
return api.get(urls.detailImg + id, params);
},
detailVideo(params, id) {
return api.get(urls.detailvideo + id, params);
},
delVehicle(params, id) {
// return出去了一个promise
return api.delete(urls.delVehicle + id, params);
......
......@@ -14,4 +14,6 @@ export default {
eventTypes: baseUrl + '/api/v1/codes/event_types',
//交通流量表格
traficflow: baseUrl + '/api/v1/traffic/flow/statistics',
//获取视频
detailvideo: baseUrl + '/api/v1/web/videos/'
}
\ No newline at end of file
......@@ -162,16 +162,7 @@ export default {
*/
configInit(roiXml, confxml) {
this.curtool = "";
var picuri = new Date().getTime();
try {
document
.getElementById("VionVideo")
.CapturePicture("D:\\/" + picuri + ".jpg");
setTimeout(() => {
document.getElementById("pic").style.backgroundImage =
"url(D:\\/" + picuri + ".jpg)";
}, 1500);
} catch (error) {}
let roiobj = this.oParse.parseXML(roiXml).roi;
......@@ -273,6 +264,17 @@ export default {
this.basconfig = this.oParse.parseXML(xml);
}
this.initConfig(this.basconfig);
var picuri = new Date().getTime();
try {
document
.getElementById("VionVideo")
.CapturePicture("D:\\/" + picuri + ".jpg");
setTimeout(() => {
document.getElementById("pic").style.backgroundImage =
"url(D:\\/" + picuri + ".jpg)";
}, 1500);
} catch (error) {}
},
getObjects(klass) {
//获取所有的列表对象
......
......@@ -531,9 +531,8 @@ export default {
}
var play_url = "";
if (row.video) {
play_url = row.video[0].src_url;
this.getVideo(row.video[0].unid)
}
this.$refs.visableDialog.playvideos(play_url);
},
exportFun() {
this.$logs.oplogs({},'serv_serarch',`违法事件导出`);
......@@ -697,6 +696,19 @@ export default {
})
.catch(e => {});
},
getVideo(unid) {
this.$api.search
.detailVideo({}, unid)
.then(res => {
let play_url = res.mp4_url
console.log("录像路径",play_url);
setTimeout(() => {
this.$refs.visableDialog.playvideos(play_url);
}, 0);
})
.catch(e => {});
},
detailFun(index, row) {
this.currentIndex = index;
if (row.pics.length > 0) {
......@@ -740,7 +752,7 @@ export default {
this.$api.search
.delVehicle({}, this.detailObj.id)
.then(res => {
if (res.ecode == 200) {
if (res.ecode == 200) {19
this.formatterData.splice(this.currentIndex, 1);
this.detailObj = Object.assign(
{},
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!