feat: add report
parent
1335616fe7
commit
2ccb88af1a
|
@ -21,3 +21,6 @@ VITE_APP_DOCALERT_ENABLE=true
|
||||||
|
|
||||||
# 百度统计
|
# 百度统计
|
||||||
VITE_APP_BAIDU_CODE = e98f2eab6ceb8688bc6d8fc5332ff093
|
VITE_APP_BAIDU_CODE = e98f2eab6ceb8688bc6d8fc5332ff093
|
||||||
|
|
||||||
|
# GoView域名
|
||||||
|
VITE_GOVIEW_URL='http://127.0.0.1:3000'
|
||||||
|
|
|
@ -1,31 +1,25 @@
|
||||||
<script lang="ts" setup>
|
<script lang="ts" setup>
|
||||||
|
import { ref } from 'vue';
|
||||||
|
|
||||||
import { Page } from '@vben/common-ui';
|
import { Page } from '@vben/common-ui';
|
||||||
|
|
||||||
import { Button } from 'ant-design-vue';
|
|
||||||
|
|
||||||
import { DocAlert } from '#/components/doc-alert';
|
import { DocAlert } from '#/components/doc-alert';
|
||||||
|
import { IFrame } from '#/components/iframe';
|
||||||
|
|
||||||
|
defineOptions({ name: 'GoView' });
|
||||||
|
|
||||||
|
const src = ref(import.meta.env.VITE_GOVIEW_URL);
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<Page>
|
<Page auto-content-height>
|
||||||
<DocAlert title="大屏设计器" url="https://doc.iocoder.cn/report/screen/" />
|
<template #doc>
|
||||||
<Button
|
<DocAlert
|
||||||
danger
|
title="大屏设计器"
|
||||||
type="link"
|
url="https://doc.iocoder.cn/report/screen/"
|
||||||
target="_blank"
|
/>
|
||||||
href="https://github.com/yudaocode/yudao-ui-admin-vue3"
|
</template>
|
||||||
>
|
|
||||||
该功能支持 Vue3 + element-plus 版本!
|
<IFrame :src="src" />
|
||||||
</Button>
|
|
||||||
<br />
|
|
||||||
<Button
|
|
||||||
type="link"
|
|
||||||
target="_blank"
|
|
||||||
href="https://github.com/yudaocode/yudao-ui-admin-vue3/blob/master/src/views/report/goview/index"
|
|
||||||
>
|
|
||||||
可参考
|
|
||||||
https://github.com/yudaocode/yudao-ui-admin-vue3/blob/master/src/views/report/goview/index
|
|
||||||
代码,pull request 贡献给我们!
|
|
||||||
</Button>
|
|
||||||
</Page>
|
</Page>
|
||||||
</template>
|
</template>
|
||||||
|
|
|
@ -1,31 +1,28 @@
|
||||||
<script lang="ts" setup>
|
<script lang="ts" setup>
|
||||||
import { Page } from '@vben/common-ui';
|
import { ref } from 'vue';
|
||||||
|
|
||||||
import { Button } from 'ant-design-vue';
|
import { Page } from '@vben/common-ui';
|
||||||
|
import { useAccessStore } from '@vben/stores';
|
||||||
|
|
||||||
import { DocAlert } from '#/components/doc-alert';
|
import { DocAlert } from '#/components/doc-alert';
|
||||||
|
import { IFrame } from '#/components/iframe';
|
||||||
|
|
||||||
|
defineOptions({ name: 'JimuReport' });
|
||||||
|
const accessStore = useAccessStore();
|
||||||
|
|
||||||
|
const src = ref(
|
||||||
|
`${import.meta.env.VITE_BASE_URL}/jmreport/list?token=${
|
||||||
|
accessStore.refreshToken
|
||||||
|
}`,
|
||||||
|
);
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<Page>
|
<Page auto-content-height>
|
||||||
|
<template #doc>
|
||||||
<DocAlert title="报表设计器" url="https://doc.iocoder.cn/report/" />
|
<DocAlert title="报表设计器" url="https://doc.iocoder.cn/report/" />
|
||||||
<Button
|
</template>
|
||||||
danger
|
|
||||||
type="link"
|
<IFrame :src="src" />
|
||||||
target="_blank"
|
|
||||||
href="https://github.com/yudaocode/yudao-ui-admin-vue3"
|
|
||||||
>
|
|
||||||
该功能支持 Vue3 + element-plus 版本!
|
|
||||||
</Button>
|
|
||||||
<br />
|
|
||||||
<Button
|
|
||||||
type="link"
|
|
||||||
target="_blank"
|
|
||||||
href="https://github.com/yudaocode/yudao-ui-admin-vue3/blob/master/src/views/report/jmreport/index"
|
|
||||||
>
|
|
||||||
可参考
|
|
||||||
https://github.com/yudaocode/yudao-ui-admin-vue3/blob/master/src/views/report/jmreport/index
|
|
||||||
代码,pull request 贡献给我们!
|
|
||||||
</Button>
|
|
||||||
</Page>
|
</Page>
|
||||||
</template>
|
</template>
|
||||||
|
|
Loading…
Reference in New Issue