From 855e4353441531c16823c922ff59561cc1c5aae3 Mon Sep 17 00:00:00 2001 From: mbp <360013221@qq.com> Date: Sat, 19 Oct 2024 17:27:23 +0800 Subject: [PATCH] update solader map --- .../Home/components/HomeVector/index.vue | 6 +- .../Home/components/RoadAndEvents/index.vue | 5 +- .../components/RoadAndEvents/utils/map.js | 2 +- .../maintenanceOperations/solar/index.vue | 644 +++++++++++-- ruoyi-ui/src/views/login.vue | 909 ++++++++---------- 5 files changed, 993 insertions(+), 573 deletions(-) diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/HomeVector/index.vue b/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/HomeVector/index.vue index 53ea4cae..9265bbfc 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/HomeVector/index.vue +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/HomeVector/index.vue @@ -24,17 +24,19 @@ export default { data() { return { activeIcon: null, + isshow: false }; }, created() { this.activeIcon = window.showStakeText ? 'Vector' : null; - Vue.prototype.mapIns.pileIsShow("jhlayers", false); + //Vue.prototype.mapIns.pileIsShow("jhlayers", false); }, methods: { handleClick(type) { this.activeIcon = this.activeIcon === type ? null : type; + this.isshow = !this.isshow; Vue.prototype.isMapStatck = (this.activeIcon === type); - Vue.prototype.mapIns.pileIsShow("jhlayers", (this.activeIcon === type)); + Vue.prototype.mapIns.pileIsShow("jhlayers", this.isshow); if (this.activeIcon) window.showStakeText = true; else window.showStakeText = false; // markerClusterIns.setData(); diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/RoadAndEvents/index.vue b/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/RoadAndEvents/index.vue index 2f868c7c..5f02ce68 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/RoadAndEvents/index.vue +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/RoadAndEvents/index.vue @@ -460,7 +460,7 @@ export default { display: flex; overflow: hidden; gap: 24px; - height: 30px; + height: 30px !important; .tabs-item { display: flex; @@ -489,6 +489,9 @@ export default { .bottom { display: flex; justify-content: end; + position: absolute; + right: 20px; + bottom: 15px; .cleared-btn { // position: absolute; diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/RoadAndEvents/utils/map.js b/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/RoadAndEvents/utils/map.js index 253703c2..7287fcca 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/RoadAndEvents/utils/map.js +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/RoadAndEvents/utils/map.js @@ -171,8 +171,8 @@ export class MarkerCluster { ); await sleep(1000) console.log('执行show完毕',aryPoints,'点位数组') - Vue.prototype.mapIsLoading = false } + Vue.prototype.mapIsLoading = false if(Vue.prototype.isMapStatck){ Vue.prototype.mapIns.pileIsShow("jhlayers", true); } diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/maintenanceOperations/solar/index.vue b/ruoyi-ui/src/views/JiHeExpressway/pages/maintenanceOperations/solar/index.vue index d382a839..4338fa29 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/pages/maintenanceOperations/solar/index.vue +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/maintenanceOperations/solar/index.vue @@ -1,5 +1,12 @@ diff --git a/ruoyi-ui/src/views/login.vue b/ruoyi-ui/src/views/login.vue index e5564d89..73d9bdd7 100644 --- a/ruoyi-ui/src/views/login.vue +++ b/ruoyi-ui/src/views/login.vue @@ -1,569 +1,456 @@ + + \ No newline at end of file