|
@@ -83,6 +83,15 @@
|
|
|
:doorcount="ndoorcount"
|
|
|
></doorAnimate>
|
|
|
</div>
|
|
|
+ <div class="flcard" v-if="this.TabCur == 'windrect'">
|
|
|
+ <windrectAnimate
|
|
|
+ :state="state"
|
|
|
+ :title="title"
|
|
|
+ :videoURL="viedeoUrl"
|
|
|
+ :height="height"
|
|
|
+ :type="deviceType"
|
|
|
+ ></windrectAnimate>
|
|
|
+ </div>
|
|
|
<div
|
|
|
class="flcard"
|
|
|
v-if="this.TabCur == 'window' && this.nwindownum == 1"
|
|
@@ -209,6 +218,8 @@
|
|
|
import api from "@/api/api";
|
|
|
import doorAnimate from "../doorAnimate/doorAnimate.vue";
|
|
|
import windowAnimate from "../windowAnimate/windowAnimate.vue";
|
|
|
+import windrectAnimate from "../windrectAnimate/windrectAnimate.vue";
|
|
|
+import fanlocalAnimate from "../fanlocalAnimate/fanlocalAnimate.vue";
|
|
|
export default {
|
|
|
data() {
|
|
|
return {
|
|
@@ -240,6 +251,8 @@ export default {
|
|
|
windowAngle1: 0, //后窗打开角度
|
|
|
windowArea: "", //风窗面积设定值
|
|
|
viedeoUrl: "", //监控url
|
|
|
+ sign:"",
|
|
|
+ title:"测风设备"
|
|
|
};
|
|
|
},
|
|
|
onLoad(query) {
|
|
@@ -250,7 +263,7 @@ export default {
|
|
|
this.getShowList();
|
|
|
this.ndoorcount = 2;
|
|
|
},
|
|
|
- components: { doorAnimate, windowAnimate },
|
|
|
+ components: { doorAnimate, windowAnimate,windrectAnimate,fanlocalAnimate },
|
|
|
created() {
|
|
|
this.getDeviceInfo(this.itemId);
|
|
|
this.getVideoUrlById(this.itemId);
|
|
@@ -325,6 +338,8 @@ export default {
|
|
|
response.data.result.msgTxt[0].datalist[0].ndoorcount;
|
|
|
this.deviceType =
|
|
|
response.data.result.msgTxt[0].datalist[0].deviceType;
|
|
|
+ this.state =
|
|
|
+ response.data.result.msgTxt[0].datalist[0].readData.sign;
|
|
|
this.frontGateStatus = this.tableData.frontGateOpen;
|
|
|
this.rearGateStatus = this.tableData.rearGateOpen;
|
|
|
var maxarea = response.data.result.msgTxt[0].datalist[0].maxarea;
|