| | |
| | | filterable |
| | | style="width :100%" |
| | | @change="setproChange" |
| | | placeholder="请选择项目" |
| | | > |
| | | <el-option |
| | | v-for="item in optionts" |
| | |
| | | </el-select> |
| | | </el-form-item> |
| | | <el-form-item> |
| | | |
| | | <el-input |
| | | placeholder="输入关键字进行过滤" |
| | | v-model="filterText" |
| | |
| | | } else { |
| | | this.shwoHistogram = false; |
| | | } |
| | | if (Node.level === 3) { |
| | | |
| | | if (Node.data.children == null) { |
| | | this.firstLevel = false; |
| | | } else { |
| | | this.firstLevel = true; |
| | | } |
| | | if (Node.level === 3 && Node.data.serveType == "Tileset") { |
| | | if (Node.data.children == null && Node.data.serveType == "Tileset") { |
| | | this.showlocal = true; |
| | | } else if (Node.level === 3 && Node.data.serveType != "Tileset") { |
| | | } else if (Node.data.children == null && Node.data.serveType != "Tileset") { |
| | | this.showlocal = false; |
| | | } |
| | | this.menuVisible = true; |
| | |
| | | }, |
| | | |
| | | async setproChange(res) { |
| | | |
| | | this.$store.state.pigCode = res; |
| | | if (res) { |
| | | var obj = { |
| | |
| | | } |
| | | this.setChangeProLayer(); |
| | | } else { |
| | | this.$store.state.isProjectLayer = []; |
| | | |
| | | this.$store.state.pigCode = null |
| | | this.setChangeWMS(); |
| | | } |
| | | }, |
| | | setChangeProLayer() { |