From 5df6240f6cd274e698d1e6358443364d543c126c Mon Sep 17 00:00:00 2001 From: Jin Lei <jinlei_182@163.com> Date: 星期六, 23 十二月 2023 10:23:27 +0800 Subject: [PATCH] [信令]添加信令相关功能 --- src/components/menu/bottom-menu.vue | 50 ++++++++++---------------------------------------- 1 files changed, 10 insertions(+), 40 deletions(-) diff --git a/src/components/menu/bottom-menu.vue b/src/components/menu/bottom-menu.vue index a89c765..76cb04c 100644 --- a/src/components/menu/bottom-menu.vue +++ b/src/components/menu/bottom-menu.vue @@ -90,6 +90,8 @@ </el-form-item> </el-form> </div> + + </div> </template> @@ -294,7 +296,9 @@ import axios from "axios"; export default { - components: {}, + components: { + + }, name: "bottom-menu", data() { return { @@ -303,6 +307,7 @@ isShowSPRH: true, csbjShow: false, jxmxShow: false, + romanOption: [ { name: "鏍稿績鍖�" }, { name: "鏅缁垮湴" }, @@ -582,52 +587,17 @@ shoujixinling() { this.switchMenu(3); if (this.isShowSjxl) { - - const loading = this.$loading({ - lock: true, - text: "鎵嬫満淇′护鏁版嵁鍔犺浇涓紝璇风◢鍚�", - spinner: "el-icon-loading", - background: "rgba(0, 0, 0, 0.7)", - }); - setTimeout(() => { - loading.close(); - }, 1500); this.isShowSjxl = false; - let heatMapUrl = URLInCode.heatMapUrl; - sgworld.Core.getJSON(heatMapUrl, (data) => { - let res = []; - data.features.forEach((item) => { - let obj = { - x: item.properties["center_x"], - y: item.properties["center_y"], - value: item.properties["sd_total"], - radius: 50, - }; - res.push(obj); - }); - // //鍒涘缓鐑姏鍥� - heatMapItem = sgworld.Creator.addHeatMap("鐑姏鍥�", { - type: "Heatmap", // 鐑姏鍥剧被鍨嬨�怘eatmap/HeatmapGL銆戯紙鍙�夛級 - sourceData: res, - radius: 7, - gradient: { - ".3": "blue", - ".5": "green", - ".7": "yellow", - ".95": "red", - }, - tooltip: true, // tooltip鏄剧ず鏁板�� - }); - }); + this.$parent.signallingShow = true; } else { this.closeSjxl(); } }, closeSjxl() { - if (heatMapItem) { + this.isShowSjxl = true; - heatMapItem.deleteObject(); - } + this.$parent.signallingShow = false; + }, // historyHandle() { // this.$store.commit("showHistory", true); -- Gitblit v1.9.3