diff --git a/package-lock.json b/package-lock.json new file mode 100644 index 0000000..6a6db44 --- /dev/null +++ b/package-lock.json @@ -0,0 +1,6 @@ +{ + "name": "cesium-map-object", + "lockfileVersion": 3, + "requires": true, + "packages": {} +} diff --git a/ruoyi-ui/src/assets/map-background.png b/ruoyi-ui/src/assets/map-background.png new file mode 100644 index 0000000..91c9391 Binary files /dev/null and b/ruoyi-ui/src/assets/map-background.png differ diff --git a/ruoyi-ui/src/router/index.js b/ruoyi-ui/src/router/index.js index 8c7dc38..ef966ba 100644 --- a/ruoyi-ui/src/router/index.js +++ b/ruoyi-ui/src/router/index.js @@ -46,6 +46,18 @@ export const constantRoutes = [ component: () => import('@/views/login'), hidden: true }, + // 登录跳转选择房间 + { + path: '/selectRoom', + component: () => import('@/views/selectRoom'), + hidden: true + }, + // 选择房间跳转 + { + path: '/childRoom', + component: () => import('@/views/childRoom'), + hidden: true + }, { path: '/cesiumMap', component: () => import('@/views/cesiumMap'), diff --git a/ruoyi-ui/src/views/childRoom/index.vue b/ruoyi-ui/src/views/childRoom/index.vue new file mode 100644 index 0000000..6cf88bf --- /dev/null +++ b/ruoyi-ui/src/views/childRoom/index.vue @@ -0,0 +1,1913 @@ + + + + + \ No newline at end of file diff --git a/ruoyi-ui/src/views/login.vue b/ruoyi-ui/src/views/login.vue index dde986d..1abc839 100644 --- a/ruoyi-ui/src/views/login.vue +++ b/ruoyi-ui/src/views/login.vue @@ -144,7 +144,9 @@ export default { Cookies.remove('rememberMe') } this.$store.dispatch("Login", this.loginForm).then(() => { - this.$router.push({ path: this.redirect || "/" }).catch(()=>{}) + // this.$router.push({ path: this.redirect || "/" }).catch(()=>{}) + // 跳转选择房间 + this.$router.push({ path: this.redirect || "/selectRoom" }).catch(()=>{}) }).catch(() => { this.loading = false if (this.captchaEnabled) { diff --git a/ruoyi-ui/src/views/selectRoom/index.vue b/ruoyi-ui/src/views/selectRoom/index.vue new file mode 100644 index 0000000..2ee640a --- /dev/null +++ b/ruoyi-ui/src/views/selectRoom/index.vue @@ -0,0 +1,28 @@ + + +