| | |
| | | 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 |
| | | }) |