提交 ea74d632 authored 作者: lidongxu's avatar lidongxu

feat(drag): 新增积木报表大屏部分

同上
上级 8cea72dd
<template>
<i-frame :src="openUrl"
id="jimuReportFrame"></i-frame>
</template>
<script>
// 报表设计器
import { getToken } from '@/utils/auth'
import iFrame from '@/components/iFrame/index'
export default {
name: "Jimu",
components: { iFrame },
data() {
return {
// 这里写暴露的统一的网关地址
openUrl: `${import.meta.env.VITE_APP_REPORT_URL}/report/drag/list?token=` + getToken(),
}
}
};
</script>
<style lang="scss">
#jimuReportFrame {
width: 100%;
// 为了隐藏积木报表顶部的广告栏
min-height: calc(100vh - 30px) !important;
margin-top: -60px;
}
</style>
\ No newline at end of file
...@@ -22,7 +22,7 @@ export default { ...@@ -22,7 +22,7 @@ export default {
#jimuReportFrame { #jimuReportFrame {
width: 100%; width: 100%;
// 为了隐藏积木报表顶部的广告栏 // 为了隐藏积木报表顶部的广告栏
min-height: calc(100vh - 50px) !important; min-height: calc(100vh - 40px) !important;
margin-top: -50px; margin-top: -45px;
} }
</style> </style>
\ No newline at end of file
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论