提交 c8ba2aa9 authored 作者: 王鹏飞's avatar 王鹏飞

feat: 增加生源地分布

上级 732a4574
...@@ -216,14 +216,15 @@ export const menus: IMenuItem[] = [ ...@@ -216,14 +216,15 @@ export const menus: IMenuItem[] = [
name: '数据可视化', name: '数据可视化',
path: '/teach/chart/visualization', path: '/teach/chart/visualization',
}, },
// { {
// tag: '', tag: '',
// icon: DataAnalysis, icon: DataAnalysis,
// name: '生源地分布', name: '生源地分布',
path: '/teach/chart/origin',
// path: // path:
// import.meta.env.VITE_BI_URL + // import.meta.env.VITE_BI_URL +
// '/bi/?proc=1&action=viewer&hback=true&isInPreview=true&db=!7d2b!!8346!!6559!!80b2!e-SaaS!2f!!751f!!6e90!!5730!!5206!!5e03!.db&platform=PC&browserType=chrome', // '/bi/?proc=1&action=viewer&hback=true&isInPreview=true&db=!7d2b!!8346!!6559!!80b2!e-SaaS!2f!!751f!!6e90!!5730!!5206!!5e03!.db&platform=PC&browserType=chrome',
// }, },
], ],
}, },
] ]
...@@ -154,10 +154,11 @@ const handleSelectionChange = (val: any) => { ...@@ -154,10 +154,11 @@ const handleSelectionChange = (val: any) => {
} }
const handleAnalysis = () => { const handleAnalysis = () => {
// isShowAnalysisDialog.value = true // isShowAnalysisDialog.value = true
window.open( window.open('/teach/chart/origin')
import.meta.env.VITE_BI_URL + // window.open(
'/bi/?proc=1&action=viewer&hback=true&isInPreview=true&db=!7d2b!!8346!!6559!!80b2!e-SaaS!2f!!751f!!6e90!!5730!!5206!!5e03!.db&platform=PC&browserType=chrome' // import.meta.env.VITE_BI_URL +
) // '/bi/?proc=1&action=viewer&hback=true&isInPreview=true&db=!7d2b!!8346!!6559!!80b2!e-SaaS!2f!!751f!!6e90!!5730!!5206!!5e03!.db&platform=PC&browserType=chrome'
// )
} }
</script> </script>
......
...@@ -9,6 +9,7 @@ export const routes: Array<RouteRecordRaw> = [ ...@@ -9,6 +9,7 @@ export const routes: Array<RouteRecordRaw> = [
{ path: 'resource', component: () => import('./views/Resource.vue') }, { path: 'resource', component: () => import('./views/Resource.vue') },
{ path: 'learning', component: () => import('./views/Learning.vue') }, { path: 'learning', component: () => import('./views/Learning.vue') },
{ path: 'visualization', component: () => import('./views/Visualization.vue') }, { path: 'visualization', component: () => import('./views/Visualization.vue') },
{ path: 'origin', component: () => import('./views/Origin.vue') },
], ],
}, },
] ]
差异被折叠。
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论