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 @@ + + + + + + + + 二维GIS地图区域 + 支持标绘/航线/空域/实时态势 + + + + + + + + + + + + + + + + + + + + + + 联合作战筹划系统 + + + + + + {{ item.name }} + + + + + + + + + + + + 作战时间 + {{ combatTime }} + + + + + + + 天文时间 + {{ astroTime }} + + + + + + + 房间编号 + {{ roomCode }} + + + + + + + 在线人数 + {{ onlineCount }}人 + + + + + + + + + 导入 + + + + + 导出 + + + + + + + + + 在线 + + + + + + + + + + + + + + + + + + + {{ item.name }} + + + + + + + {{ getMenuName(hoverMenu) }} + + + + + + + + + + + + + + + + + 方案 + + + + + + 冲突 + {{ conflictCount }} + + + + + + 平台 + + + + + + + 航线列表 + + + + + {{ route.name }} + {{ route.points }}个航点 + + + 冲突 + + + + + + + 航点列表 + + + + + {{ point.name }} + 高度: {{ point.altitude }}m | 速度: {{ point.speed }} + + + + + + + + + + + + 添加航点 + + + 取消 + + + + + + + + + + + {{ conflict.title }} + 严重 + + + + 涉及航线: + {{ conflict.routes.join('、') }} + + + 冲突时间: + {{ conflict.time }} + + + 冲突位置: + {{ conflict.position }} + + + + + 查看详情 + + + 解决冲突 + + + + + + + 暂无冲突 + + 重新检测 + + + + + + + + + + + + + + + + {{ platform.name }} + {{ platform.type }} + + + + + + + + + + + + + + + + {{ platform.name }} + {{ platform.type }} + + + + + + + + + + + + + + + + {{ platform.name }} + {{ platform.type }} + + + + + + + + + + + + + + + + + + + + + + + {{ currentTime }} + + + + + + + + K-02:00 + K-01:00 + K时 + K+01:00 + K+02:00 + + + + + + 网络延迟: + < 200ms + + + 数据同步: + 正常 + + + 检测告警: + 2处 + + + + + + + + + \ 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..9d091e0 --- /dev/null +++ b/ruoyi-ui/src/views/selectRoom/index.vue @@ -0,0 +1,28 @@ + + + 跳转 + 跳转 + + + +
二维GIS地图区域
支持标绘/航线/空域/实时态势
暂无冲突