feat: add report views

pull/4/MERGE
xingyuv 2023-04-13 13:46:38 +08:00
parent ffff33a696
commit c74bb8adce
2 changed files with 19 additions and 2 deletions

View File

@ -1,3 +1,11 @@
<template>
<div>开发中</div>
<div>
<IFrame :src="src" />
</div>
</template>
<script setup lang="ts" name="ReportGoview">
import { ref } from 'vue'
import { IFrame } from '@/components/IFrame'
const src = ref('http://127.0.0.1:3000')
</script>

View File

@ -1,3 +1,12 @@
<template>
<div>开发中</div>
<div>
<IFrame :src="src" />
</div>
</template>
<script setup lang="ts" name="ReportJmreport">
import { ref } from 'vue'
import { IFrame } from '@/components/IFrame'
import { getAccessToken } from '@/utils/auth'
const src = ref(import.meta.env.VITE_GLOB_BASE_URL + '/jmreport/list?token=' + getAccessToken())
</script>