4.12视频检测接口调试成功
parent
d4762dee5c
commit
03ca605c8c
|
@ -88,7 +88,7 @@
|
||||||
<!-- 背景图 -->
|
<!-- 背景图 -->
|
||||||
<!-- fits: ['fill', 'contain', 'cover', 'none', 'scale-down'], -->
|
<!-- fits: ['fill', 'contain', 'cover', 'none', 'scale-down'], -->
|
||||||
<div style="width: 100%;display: flex;justify-content: center;background-color: #333;height:600px;">
|
<div style="width: 100%;display: flex;justify-content: center;background-color: #333;height:600px;">
|
||||||
<el-image style="width: 100%;" :src="require('./test.png')" :preview-src-list="[require('./test.png')]"fit="contain">
|
<el-image style="width: 100%;" :src="faceBgUrltest" :preview-src-list="[faceBgUrltest]" fit="contain">
|
||||||
<div slot="error" class="image-slot" style="text-align: center;margin-top:270px ;">
|
<div slot="error" class="image-slot" style="text-align: center;margin-top:270px ;">
|
||||||
<i style="color: #666;font-size: 60px;" class="el-icon-picture-outline"></i>
|
<i style="color: #666;font-size: 60px;" class="el-icon-picture-outline"></i>
|
||||||
</div>
|
</div>
|
||||||
|
@ -192,6 +192,7 @@
|
||||||
label: 'label'
|
label: 'label'
|
||||||
},
|
},
|
||||||
// 图片信息
|
// 图片信息
|
||||||
|
faceBgUrltest: "http://192.168.1.133:9000/middleware/103/1028345463.jpg",
|
||||||
faceBgUrl: "",
|
faceBgUrl: "",
|
||||||
faces: [],
|
faces: [],
|
||||||
currentFaces: [],
|
currentFaces: [],
|
||||||
|
@ -205,17 +206,20 @@
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
//this.timer = setInterval(this.get, 1000);
|
//this.timer = setInterval(this.get, 1000);
|
||||||
|
this.get()
|
||||||
},
|
},
|
||||||
beforeDestroy() {},
|
beforeDestroy() {},
|
||||||
created() {
|
created() {
|
||||||
// 初始化选择默认卡口
|
// 初始化选择默认卡口
|
||||||
this.initGetCameraId()
|
this.initGetCameraId()
|
||||||
// 初始化获取4条预警信息
|
// 初始化获取4条预警信息
|
||||||
this.initGetWarningPicture()
|
// this.initGetWarningPicture()
|
||||||
},
|
},
|
||||||
|
|
||||||
methods: {
|
methods: {
|
||||||
get(){
|
get(){
|
||||||
|
this.warningList = [];
|
||||||
|
// console.log("this waringlist"+this.warningList);
|
||||||
this.$http.get("/faces/list").then(res => {
|
this.$http.get("/faces/list").then(res => {
|
||||||
this.warningList = res.data;
|
this.warningList = res.data;
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in New Issue