zengh
2022-05-16 63ad2c3598400370dd7da5534659fd7e768a0a4a
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
<!--
 * @Descripttion: 
 * @version: 
 * @Author: song
 * @Date: 2021-01-26 08:56:33
 * @LastEditors: song
 * @LastEditTime: 2021-03-18 10:37:42
-->
<template>
  <iframe
    v-show="iframeState"
    id="show-iframe"
    frameborder="0"
    name="showHere"
    scrolling="auto"
    class="iframes"
    src="https://web.byisf.com/bigScreen/view/1349193280059879426"
  ></iframe>
</template>
 
<script>
export default {
  name: "tcgl.vue",
  created() {
    //this.getData();
  },
  data() {
    return {
      dialogTableVisible: false,
      form: {},
    };
  },
  mounted() {
    window.handleStartAnimalHeat = this.handleStartAnimalHeat;
    window.handleStartHealthcode = this.handleStartHealthcode;
    window.handleStartAlarm = this.handleStartAlarm;
    window.handleStartEquipment = this.handleStartEquipment;
    window.handleStartSuser = this.handleStartSuser;
    window.handleStartParcel = this.handleStartParcel;
    window.handleStartParcelKind = this.handleStartParcelKind;
  },
  methods: {
    //体温监测分页数据
    handleStartAnimalHeat(data) {
      this.$router.push({
        path: `/animalHeat/animalHeatPage`,
        query: data[0],
      });
    },
    //健康码分页数据
    handleStartHealthcode(data) {
      this.$router.push({
        path: `/healthcode/healthcodePage`,
        query: data[0],
      });
    },
    //主动报警(一键求助,电话报警)分页数据
    handleStartAlarm(data) {
      this.$router.push({
        path: `/realTimePolice/index`,
        query: data[0],
      });
    },
    //在线设备分页数据
    handleStartEquipment(data) {
      this.$router.push({
        path: `/clientManagement/index`,
        query: data[0],
      });
    },
    //客户管理分页数据
    handleStartSuser() {
      this.$router.push({
        path: `/suser/index`,
      });
    },
    //包裹分页数据
    handleStartParcel(data) {
      debugger;
      this.$router.push({
        path: `/parcel/index`,
        query: data[0],
      });
    },
    //违禁品分页数据
    handleStartParcelKind(data) {
      this.$router.push({
        path: `/parcelKind/index`,
        query: data[0],
      });
    },
 
    // getData() {
    //   var that = this;
    //
    //   window.clearTimeout(window.realTimeQuery);
    //
    //   window.realTimeQuery = setInterval(function () {
    //     //that.dialogTableVisible = true;
    //   }, 3000);
    // }
  },
};
</script>
 
<style lang="scss">
#show-iframe {
  display: block !important;
  height: 100%;
}
 
.avue-main .avue-view {
  height: 100%;
  padding: 5px 5px !important;
}
 
.views {
    overflow-y: hidden !important;
}
 
</style>