Commit b05366511b3aa6106ce0d00beb4b6efee5d70ce2
1 parent
39ac59ef
增加数据报表 vue
Showing
1 changed file
with
19 additions
and
0 deletions
yudao-ui-admin/src/views/visualization/jmreport/index.vue
0 → 100644
| 1 | +<template> | ||
| 2 | + <div> | ||
| 3 | + <doc-alert title="报表设计器" url="https://doc.iocoder.cn/report/" /> | ||
| 4 | + <i-frame :src="url" /> | ||
| 5 | + </div> | ||
| 6 | +</template> | ||
| 7 | +<script> | ||
| 8 | +import iFrame from "@/components/iFrame/index"; | ||
| 9 | +import {getAccessToken} from "@/utils/auth"; | ||
| 10 | +export default { | ||
| 11 | + name: "JimuReport", | ||
| 12 | + components: { iFrame }, | ||
| 13 | + data() { | ||
| 14 | + return { | ||
| 15 | + url: process.env.VUE_APP_BASE_API + "/jmreport/list?token=" + getAccessToken(), | ||
| 16 | + }; | ||
| 17 | + }, | ||
| 18 | +}; | ||
| 19 | +</script> |