xiongzhu před 4 roky
rodič
revize
00504d4e25

+ 8 - 0
src/main/data-center-admin/src/router.js

@@ -268,6 +268,14 @@ const router = new Router({
                     meta: {
                         title: '指标管理'
                     }
+                },
+                {
+                    path: '/gis',
+                    name: 'gis',
+                    component: () => import(/* webpackChunkName: "gis" */ '@/views/gis.vue'),
+                    meta: {
+                        title: 'gis'
+                    }
                 }
                 /**INSERT_LOCATION**/
             ]

+ 2 - 1
src/main/data-center-admin/src/views/Admin.vue

@@ -269,7 +269,8 @@ export default {
                         { active: false, name: '指标列表', path: '/metricList', icon: 'fas fa-bars' },
                         { active: false, name: '指标编辑', path: '/metricEdit', icon: 'fas fa-bars' }
                     ]
-                }
+                },
+                { active: false, name: 'GIS', path: '/gis', icon: 'fas fa-bars' }
             ];
             function setId(parentId, menus) {
                 menus.forEach((i, idx) => {

+ 16 - 0
src/main/data-center-admin/src/views/gis.vue

@@ -0,0 +1,16 @@
+<template>
+    <div class="edit-view">
+        <iframe src=""></iframe>
+    </div>
+</template>
+<script>
+export default {
+    name: 'MetricEdit',
+    created() {},
+    data() {
+        return {};
+    },
+    methods: {}
+};
+</script>
+<style lang="less" scoped></style>