From 9b1daba6fe7e8d2d6d673288636aad791941a62b Mon Sep 17 00:00:00 2001 From: menghao <1584479611@qq.com> Date: Thu, 22 Jan 2026 11:05:52 +0800 Subject: [PATCH 1/6] =?UTF-8?q?=E5=8E=BB=E6=8E=89=E5=86=97=E4=BD=99?= =?UTF-8?q?=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ruoyi-ui/src/views/childRoom/index.vue | 220 ++++++++++++++++----------------- 1 file changed, 108 insertions(+), 112 deletions(-) diff --git a/ruoyi-ui/src/views/childRoom/index.vue b/ruoyi-ui/src/views/childRoom/index.vue index c1c8c89..cb86576 100644 --- a/ruoyi-ui/src/views/childRoom/index.vue +++ b/ruoyi-ui/src/views/childRoom/index.vue @@ -10,10 +10,10 @@

二维GIS地图区域

支持标绘/航线/空域/实时态势

- + -
-
- +
{{ currentTime }}
- +
-
- +
- - +
- {{ playbackSpeed }}x -
- +
- + - + - + - + 1) { this.playbackSpeed--; @@ -691,40 +687,40 @@ export default { } } }, - + updateTimeFromProgress() { const totalSeconds = Math.floor(this.timeProgress * 72); const hours = Math.floor(totalSeconds / 3600) - 2; const minutes = Math.floor((totalSeconds % 3600) / 60); const seconds = totalSeconds % 60; - + const sign = hours >= 0 ? '+' : '-'; const absHours = Math.abs(hours); - + this.currentTime = `K${sign}${String(absHours).padStart(2, '0')}:${String(minutes).padStart(2, '0')}:${String(seconds).padStart(2, '0')}`; }, - + // 时间控制(保留用于底部时间轴) play() { this.$message.success('推演开始'); }, - + pause() { this.$message.info('推演暂停'); }, - + reset() { this.timeProgress = 0; this.currentTime = 'K+00:00:00'; this.$message.info('推演已重置'); }, - + formatTimeTooltip(val) { const hours = Math.floor(val / 4); const minutes = (val % 4) * 15; return `K+${hours.toString().padStart(2, '0')}:${minutes.toString().padStart(2, '0')}:00`; }, - + // 航线操作 selectRoute(route) { this.selectedRouteId = route.id; @@ -741,7 +737,7 @@ export default { // 打开航线编辑弹窗 this.openRouteDialog(route); }, - + addWaypoint() { if (this.selectedRouteDetails) { const count = this.selectedRouteDetails.waypoints.length + 1; @@ -754,35 +750,35 @@ export default { this.$message.success('添加航点成功'); } }, - + cancelRoute() { this.selectedRouteId = null; this.selectedRouteDetails = null; this.$message.info('已取消选中'); }, - + // 冲突操作 runConflictCheck() { this.conflictCount = 2; this.$message.warning('检测到2处航线冲突'); }, - + viewConflict(conflict) { this.$message.info(`查看冲突:${conflict.title}`); }, - + resolveConflict(conflict) { this.$message.success(`解决冲突:${conflict.title}`); // 移除已解决的冲突 this.conflicts = this.conflicts.filter(c => c.id !== conflict.id); this.conflictCount = this.conflicts.length; }, - + // 系统功能 exportReport() { this.$message.success('作战报表导出成功'); }, - + // 新增导入功能 importData() { this.$message.success('导入数据成功'); @@ -945,9 +941,9 @@ background: url('~@/assets/map-background.png'); color: #008aff; } -.status-dot.operating { - background: #008aff; - animation: pulse 2s infinite; +.status-dot.operating { + background: #008aff; + animation: pulse 2s infinite; box-shadow: 0 0 10px rgba(0, 138, 255, 0.8); } @@ -1170,4 +1166,4 @@ background: url('~@/assets/map-background.png'); .ml-3 { margin-left: 10px; } - \ No newline at end of file + From bfa13563beb08177dc8ec006d45f253dd0023533 Mon Sep 17 00:00:00 2001 From: menghao <1584479611@qq.com> Date: Thu, 22 Jan 2026 13:02:58 +0800 Subject: [PATCH 2/6] =?UTF-8?q?=E5=8E=BB=E6=8E=89=E5=86=97=E4=BD=99?= =?UTF-8?q?=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ruoyi-ui/src/views/childRoom/RightPanel.vue | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/ruoyi-ui/src/views/childRoom/RightPanel.vue b/ruoyi-ui/src/views/childRoom/RightPanel.vue index 87c5423..4cc93b4 100644 --- a/ruoyi-ui/src/views/childRoom/RightPanel.vue +++ b/ruoyi-ui/src/views/childRoom/RightPanel.vue @@ -18,7 +18,19 @@
-
航线列表
+
+ 航线列表 + + 新建航线 + +
+
Date: Thu, 22 Jan 2026 13:16:09 +0800 Subject: [PATCH 3/6] =?UTF-8?q?=E5=8E=BB=E6=8E=89=E5=86=97=E4=BD=99?= =?UTF-8?q?=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ruoyi-admin/src/main/resources/application-druid.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ruoyi-admin/src/main/resources/application-druid.yml b/ruoyi-admin/src/main/resources/application-druid.yml index c40f2aa..037db5c 100644 --- a/ruoyi-admin/src/main/resources/application-druid.yml +++ b/ruoyi-admin/src/main/resources/application-druid.yml @@ -8,7 +8,7 @@ spring: master: url: jdbc:mysql://localhost:3306/ry?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8 username: root - password: A20040303ctw! + password: 123456 # 从库数据源 slave: # 从数据源开关/默认关闭 From b2bc649f3f0c4cf867c77ee4e1414a801482a741 Mon Sep 17 00:00:00 2001 From: menghao <1584479611@qq.com> Date: Thu, 22 Jan 2026 13:30:05 +0800 Subject: [PATCH 4/6] 1 --- ruoyi-ui/src/views/childRoom/RightPanel.vue | 35 ++++++++++++++--------------- 1 file changed, 17 insertions(+), 18 deletions(-) diff --git a/ruoyi-ui/src/views/childRoom/RightPanel.vue b/ruoyi-ui/src/views/childRoom/RightPanel.vue index 85d9d89..e73c744 100644 --- a/ruoyi-ui/src/views/childRoom/RightPanel.vue +++ b/ruoyi-ui/src/views/childRoom/RightPanel.vue @@ -1,6 +1,5 @@ + + diff --git a/ruoyi-ui/src/views/dialogs/PageLayoutDialog.vue b/ruoyi-ui/src/views/dialogs/PageLayoutDialog.vue new file mode 100644 index 0000000..0d85718 --- /dev/null +++ b/ruoyi-ui/src/views/dialogs/PageLayoutDialog.vue @@ -0,0 +1,197 @@ + + + + +