Browse Source

从主分支拷贝过来

master_hella_20240701
zhaoxuebing 9 months ago
parent
commit
7fd5868d52
  1. 10
      src/views/report/goview/index.vue
  2. 13
      src/views/report/jmreport/index.vue

10
src/views/report/goview/index.vue

@ -0,0 +1,10 @@
<template>
<ContentWrap>
<IFrame :src="src" />
</ContentWrap>
</template>
<script lang="ts" setup>
defineOptions({ name: 'GoView' })
const src = 'http://127.0.0.1:3000'
</script>

13
src/views/report/jmreport/index.vue

@ -0,0 +1,13 @@
<template>
<ContentWrap>
<IFrame :src="src" />
</ContentWrap>
</template>
<script lang="ts" setup>
import { getAccessToken } from '@/utils/auth'
defineOptions({ name: 'JimuReport' })
const BASE_URL = import.meta.env.VITE_JMREPORT_BASE_URL
const src = ref(BASE_URL + '/jmreport/list?token=' + getAccessToken())
</script>
Loading…
Cancel
Save