| | |
| | | <template> |
| | | <iframe v-show="iframeState" id="show-iframe" frameborder=0 name="showHere" scrolling=auto |
| | | v-bind:src="reportUrl"></iframe> |
| | | <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(); |
| | | 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; |
| | | }, |
| | | 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%; |
| | | } |
| | | |
| | | #show-iframe { |
| | | display: block !important; |
| | | height: 95%; |
| | | |
| | | } |
| | | |
| | | .avue-main .avue-view { |
| | | height: 100%; |
| | | padding: 0px 5px !important; |
| | | } |
| | | .avue-main .avue-view { |
| | | height: calc(100%); |
| | | padding: 5px 5px !important; |
| | | } |
| | | </style> |