DESKTOP-CRQ4N2U\jintian 2 lat temu
rodzic
commit
89d6cea26c

+ 3 - 3
src/router/index.js

@@ -52,9 +52,9 @@ export const constantRoutes = [
 					keepAlive: false // 不需要缓存
 				}
 			}, {
-				path: 'test',
-				name: 'test',
-				component: () => import('../views/test/test.vue'),
+				path: 'SysAdmin',
+				name: 'SysAdmin',
+				component: () => import('../views/SysAdmin/SysAdmin.vue'),
 				meta: {
 					keepAlive: false // 不需要缓存
 				}

+ 4 - 4
src/views/Main/components/header.vue

@@ -27,11 +27,11 @@
 				<el-menu-item index="0">
 					<router-link to="/home/Map3d">三维地图</router-link>
 				</el-menu-item>
-				<!-- <el-menu-item index="1">
-					<router-link to="/home/table">数据维护</router-link>
+				<el-menu-item index="1">
+					<router-link to="/home/SysAdmin">系统管理</router-link>
 				</el-menu-item>
-				<el-menu-item index="2">
-					<router-link to="/home/test">系统管理</router-link>
+<!-- 				<el-menu-item index="2">
+					<router-link to="/home/table">数据维护</router-link>
 				</el-menu-item>
 				<el-menu-item index="3">
 					<router-link to="/home/test">嵌套页面</router-link>

+ 41 - 0
src/views/SysAdmin/SysAdmin.vue

@@ -0,0 +1,41 @@
+<script setup>
+</script>
+
+<template>
+	<view class="main">
+		<iframe src="http://218.59.194.82:13190/sdjt-admin/" scrolling="auto" frameborder="0" class="trend-container2" id="iframe"></iframe>
+		<!-- <jt-popup :height="height" :title="title">
+			<h1>测试插槽</h1>
+		</jt-popup> -->
+	</view>
+</template>
+
+<script>
+	import {
+		Store
+	} from '@/store/index'
+	let store = Store();
+	
+	export default {
+		data() {
+			return {
+				title: '头部标题',
+				height: '600rem',
+				headerheight: '200rem',
+			}
+		},
+	}
+</script>
+
+<style scoped>
+	.main {
+		display: inline-block;
+		width: 100%;
+		height: 100%;
+	}
+
+	.trend-container2 {
+		width: 100%;
+		height: 100%;
+	}
+</style>