From 803b93038ca16e21ea60a260ca4ac882b84a87ef Mon Sep 17 00:00:00 2001 From: riku <risaku@163.com> Date: 星期五, 18 七月 2025 17:31:53 +0800 Subject: [PATCH] 2025.7.18 监管任务模块 1. 监管场景样式优化; 2. 新增监管场景GIS地图展示(待完成); --- src/views/fysp/task/components/CompTaskMap.vue | 25 +++++++++++++++++++++---- 1 files changed, 21 insertions(+), 4 deletions(-) diff --git a/src/views/fysp/task/components/CompTaskMap.vue b/src/views/fysp/task/components/CompTaskMap.vue index fb00bae..9079ab7 100644 --- a/src/views/fysp/task/components/CompTaskMap.vue +++ b/src/views/fysp/task/components/CompTaskMap.vue @@ -1,8 +1,25 @@ <template> - <SceneMap></SceneMap> + <div style="width: 70vw; height: 600px; background-color: aliceblue"> + <SceneMap :data="scenes"></SceneMap> + </div> </template> - <script setup> +import { computed } from 'vue'; +const props = defineProps({ + // 鍦烘櫙璁″垝 + plans: { + type: Array, + default: () => [] + }, + dayTasks: { + type: Array, + default: () => [] + } +}); - -</script> \ No newline at end of file +const scenes = computed(() => { + return props.plans.map((p) => { + return p.scene; + }); +}); +</script> -- Gitblit v1.9.3