|
@@ -8,21 +8,23 @@
|
|
|
<div class="bio-title-right"></div>
|
|
|
</div>
|
|
|
<div class="bio-video">
|
|
|
- <div class="kuang"></div>
|
|
|
+ <div class="kuang">
|
|
|
+ <iframe :src="'static/jinm/index.html?'+'1'+','+ cameraOne +','+ cameraTwo + ',' +'100%' + ',' + '0'" style="width: 95%; height: 100%;" frameborder="0" allowfullscreen="true"></iframe>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
<div class="bio-out">
|
|
|
<div class="bio-out-center">
|
|
|
<div class="out-img"></div>
|
|
|
<div style="color: white; font-size: 16px">
|
|
|
- <p>违规次数</p>
|
|
|
- <p style="font-size: 22px; font-weight: 600">27</p>
|
|
|
+ <p>今日抓取次数</p>
|
|
|
+ <p style="font-size: 22px; font-weight: 600">{{pig.tadayGate}}</p>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="bio-out-center">
|
|
|
<div class="out-img"></div>
|
|
|
<div style="color: white; font-size: 16px">
|
|
|
- <p>违规次数</p>
|
|
|
- <p style="font-size: 22px; font-weight: 600">27</p>
|
|
|
+ <p>七日抓取次数</p>
|
|
|
+ <p style="font-size: 22px; font-weight: 600">{{pig.SevenDayGate}}</p>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
@@ -38,18 +40,18 @@
|
|
|
<div class="box">
|
|
|
<div class="circle"></div>
|
|
|
<div class="price">
|
|
|
- <strong class="price-size">15.2</strong>
|
|
|
- <span>分钟</span>
|
|
|
+ <strong class="price-size">{{pig.carPassIn}}</strong>
|
|
|
+ <span>次</span>
|
|
|
</div>
|
|
|
- <div class="text">平均洗消时长</div>
|
|
|
+ <div class="text">今日驶入</div>
|
|
|
</div>
|
|
|
<div class="box">
|
|
|
<div class="circle"></div>
|
|
|
<div class="price">
|
|
|
- <strong class="price-size">15.2</strong>
|
|
|
- <span>分钟</span>
|
|
|
+ <strong class="price-size">{{pig.carPassOut}}</strong>
|
|
|
+ <span>次</span>
|
|
|
</div>
|
|
|
- <div class="text">平均熏蒸时长</div>
|
|
|
+ <div class="text">今日驶出</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="bio-content-right"
|
|
@@ -313,7 +315,7 @@
|
|
|
import { swiper, swiperSlide } from 'vue-awesome-swiper'
|
|
|
import 'swiper/css/swiper.css'
|
|
|
import ChartBar from "@/views/BioSafety/chart/ChartBar";
|
|
|
-import {getCar, getRecord, getSizhu, getCarList, getPersonList, getFaceToken, getSizhuList, getHoure, getDoor, getCarWashVideo} from "@/utils/api";
|
|
|
+import {getCar, getRecord, getSizhu, getCarList, getPersonList, getFaceToken, getSizhuList, getHoure, getDoor, getCarWashVideo, getAlarmAndPig} from "@/utils/api";
|
|
|
import axios from "axios";
|
|
|
import {timeDate} from "@/utils";
|
|
|
|
|
@@ -388,7 +390,21 @@ export default {
|
|
|
enterPerson: '',
|
|
|
outPerson: '',
|
|
|
rtsp: '',
|
|
|
- selectItems: {}
|
|
|
+ selectItems: {},
|
|
|
+ pig: {
|
|
|
+ SevenDaySiZhu: "",
|
|
|
+ SevenDayXIxiao: "",
|
|
|
+ carPassIn: "",
|
|
|
+ carPassOut: "",
|
|
|
+ personPassFail: "",
|
|
|
+ personPassSuccess: "",
|
|
|
+ tadaySiZhu: "",
|
|
|
+ tadayXiXiao: "",
|
|
|
+ SevenDayGate: '',
|
|
|
+ tadayGate: '',
|
|
|
+ },
|
|
|
+ cameraOne: 'ws://36.26.62.70:9080/camera_relay?tcpaddr=admin%3Ahmkj6688%40172.16.3.180',
|
|
|
+ cameraTwo: 'rtsp://admin:hmkj6688@172.16.3.180/cam/realmonitor?channel=1&subtype=0',
|
|
|
}
|
|
|
},
|
|
|
methods: {
|
|
@@ -560,6 +576,13 @@ export default {
|
|
|
}
|
|
|
})
|
|
|
|
|
|
+ // 今日车辆驶入
|
|
|
+ getAlarmAndPig({}).then(res => {
|
|
|
+ if(res.code === 0) {
|
|
|
+ this.pig = res.data;
|
|
|
+ }
|
|
|
+ })
|
|
|
+
|
|
|
},
|
|
|
// 打开img
|
|
|
open(item, num) {
|
|
@@ -637,6 +660,8 @@ export default {
|
|
|
height: 100%;
|
|
|
background: url("../../assets/BioSafety/kuang.png") no-repeat;
|
|
|
background-size: 100% 100%;
|
|
|
+ box-sizing: border-box;
|
|
|
+ padding: 20px;
|
|
|
}
|
|
|
.bio-out {
|
|
|
width: 100%;
|