diff --git a/core/core-frontend/src/assets/img/资源 9.png b/core/core-frontend/src/assets/img/menuhoverbg.png similarity index 100% rename from core/core-frontend/src/assets/img/资源 9.png rename to core/core-frontend/src/assets/img/menuhoverbg.png diff --git a/core/core-frontend/src/components/visualization/UserViewEnlarge.vue b/core/core-frontend/src/components/visualization/UserViewEnlarge.vue index 5fc122b..dc62abd 100644 --- a/core/core-frontend/src/components/visualization/UserViewEnlarge.vue +++ b/core/core-frontend/src/components/visualization/UserViewEnlarge.vue @@ -51,7 +51,7 @@ " @click="downloadViewDetails('view')" > - {{ t('chart.export_excel') }} @@ -68,7 +68,7 @@ state.dataFrom === 'template' " > - {{ t('chart.export_raw_details') }} diff --git a/core/core-frontend/src/router/index.ts b/core/core-frontend/src/router/index.ts index ab66a0e..6280169 100644 --- a/core/core-frontend/src/router/index.ts +++ b/core/core-frontend/src/router/index.ts @@ -219,6 +219,13 @@ export const routes: AppRouteRecordRaw[] = [ hidden: true, meta: {}, component: () => import('@/viewsnew/application/menuconfig/index.vue') + }, + { + path: '/PreviewSystem', + name: 'PreviewSystem', + hidden: true, + meta: {}, + component: () => import('@/viewsnew/application/PreviewSystem.vue') } ] diff --git a/core/core-frontend/src/viewsnew/application/PreviewSystem.vue b/core/core-frontend/src/viewsnew/application/PreviewSystem.vue new file mode 100644 index 0000000..d011b26 --- /dev/null +++ b/core/core-frontend/src/viewsnew/application/PreviewSystem.vue @@ -0,0 +1,42 @@ + + + + diff --git a/core/core-frontend/src/viewsnew/application/index.vue b/core/core-frontend/src/viewsnew/application/index.vue index 94c09b8..82674c0 100644 --- a/core/core-frontend/src/viewsnew/application/index.vue +++ b/core/core-frontend/src/viewsnew/application/index.vue @@ -68,6 +68,13 @@ function delClick(row){ }) } +function preview(row){ + const route = router.resolve({ + path: '/PreviewSystem', + query: { id: row.id,name:row.name } + }); + window.open(route.href, '_blank'); +}