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
| <template>
| <iframe ref="iframe" :src="url" scrolling="auto" :style="{height:'calc(100% - 5px)',width:'100%',border:'none'}" />
| </template>
|
| <script>
| import { getToken } from '@/utils/auth';
| export default {
| name: "",
| data() {
| return {
| url: '',
| height: 500
| }
| },
| created() {
| // const orgLv = this.$store.getters.info.orgLv
| // const orgCode = this.$store.getters.info.orgNo
| // this.url = globalConf.reportUrl + `/decision/view/report?viewlet=score_summary_branch.cpt&lv=${orgLv}&orgCode=${orgCode}`
| // let token = 'Bearer ' + getToken();
| let token = getToken();
| this.url = globalConf.baseUrl + `/jmreport/view/ff9bd143582a6dfed897ba8b6f93b175?token=${token}`
| this.height = window.screen.availHeight
| }
| }
| </script>
|
| <style scoped>
|
| </style>
|
|