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
| <template>
| <iframe v-show="iframeState" id="show-iframe" frameborder=0 name="showHere" scrolling=auto
| v-bind:src="reportUrl"></iframe>
| </template>
|
| <script>
| export default {
| name: "tcgl.vue",
| created() {
| this.getData();
| },
| data() {
| return {
| reportUrl: '',
| channelNumber: null,
| serialNumber: null
| }
| },
| methods: {
| getData() {
| this.reportUrl = "./realVideo/realtime-view-videos.html?channelNumber="
| + this.$route.query.channelNumber
| + "&serialNumber=" + this.$route.query.serialNumber;
| }
| }
| }
| </script>
|
| <style>
|
| #show-iframe {
| display: block !important;
| height: 95%;
|
| }
|
| .avue-main .avue-view {
| height: 100%;
| padding: 0px 5px !important;
| }
| </style>
|
|