| 123456789101112131415161718192021222324252627282930313233343536373839404142434445 |
- <template>
- <!-- <ele-modal
- :visible.sync="showEditFlag"
- :close-on-click-modal="false"
- custom-class="ele-dialog-form"
- append-to-body
- :fullscreen="true"
- >
- </ele-modal> -->
- <div>
- <iframe
- :src="fileUrl"
- width="100%"
- v-if="showEditFlag"
- style="height: calc(100vh - 220px)"
- frameborder="0"
- allowfullscreen="true"
- ></iframe>
- </div>
- </template>
- <script>
- import { getJmPrintViewUrl } from '@/components/jimureport/api';
- // import jimureportBrowse from '@/components/jimureport/browseModal.vue';
- export default {
- // components: { jimureportBrowse },
- data() {
- return {
- // eomstatisticalreportprint
- showEditFlag: true,
- fileUrl: ''
- };
- },
- created() {
- this.init();
- },
- methods: {
- async init() {
- let url = await getJmPrintViewUrl('eomstatisticalreportprint');
- this.fileUrl = `${url}?token=${getToken()}`;
- }
- }
- };
- </script>
|