pxzsky
2023-03-09 0ec455ce15b1ddfae24689a79fb9d381099f0bce
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 = getToken();
      this.url = globalConf.baseUrl + `/jmreport/list?token=${token}`
      this.height = window.screen.availHeight
    }
  }
</script>
 
<style scoped>
 
</style>