From f30dbe373cc0d4296a71b545811f0a0ad92e4cec Mon Sep 17 00:00:00 2001 From: Surpriseplus <845948745@qq.com> Date: 星期四, 29 六月 2023 17:54:47 +0800 Subject: [PATCH] 添加地表形变时序图 --- src/views/Synthesis/LeftMenu.vue | 9 ++++++++- 1 files changed, 8 insertions(+), 1 deletions(-) diff --git a/src/views/Synthesis/LeftMenu.vue b/src/views/Synthesis/LeftMenu.vue index 7c77664..a391138 100644 --- a/src/views/Synthesis/LeftMenu.vue +++ b/src/views/Synthesis/LeftMenu.vue @@ -2660,12 +2660,19 @@ start = html.lastIndexOf(tab) + tab.length + 1; end = html.indexOf("</td>", start); var gid = html.substr(start, end - start); + if (gid && tab) { this.$store.state.pickoption = { gid: gid, name: tab.replaceAll("_", "") } - + if (tab == 'm_surface_deformation_data') { + this.$store.state.surfaceDeForm.flag = true; + this.$store.state.surfaceDeForm.gid = gid; + } else { + this.$store.state.surfaceDeForm.flag = false; + this.$store.state.surfaceDeForm.gid = null; + } const res = await dataQuery_selectTabByEntity({ name: this.$store.state.pickoption.name }) -- Gitblit v1.9.3