| | |
| | | <i class="el-icon-arrow-down"></i> |
| | | </div> |
| | | <!-- 下拉框大盒子 --> |
| | | <div :class="{ 'options-box-show': !optionsShow, 'options-box-hide': optionsShow, issel: options.length >= 4 }" |
| | | <div :class="{ 'options-box-show': !optionsShow && options.length, 'options-box-hide': optionsShow, issel: options.length >= 4 }" |
| | | class="select-options"> |
| | | <!-- 下拉框 --> |
| | | <div @click="cutValue(item, index)" v-for="(item, index) in options" :key="index">{{ item[optionsName] }}</div> |
| | |
| | | } |
| | | |
| | | .select-options { |
| | | display: none; |
| | | width: 100%; |
| | | max-height: 140px; |
| | | overflow: auto; |
| | |
| | | * @Author: shuishen 1109946754@qq.com |
| | | * @Date: 2022-08-18 16:18:17 |
| | | * @LastEditors: shuishen 1109946754@qq.com |
| | | * @LastEditTime: 2023-04-02 16:49:16 |
| | | * @LastEditTime: 2023-04-02 17:22:25 |
| | | * @FilePath: \srs-police-affairs\src\views\home\index.vue |
| | | * @Description: 小区-栋-层-房屋 |
| | | * |
| | |
| | | |
| | | areaSelect (item) { |
| | | this.areaCheckValue = item.name |
| | | this.housingOptions = [] |
| | | |
| | | this.$EventBus.$emit('mapClearLayer', { |
| | | layerName: 'polygonLayer', |
| | |
| | | |
| | | if (item.name == "全部") { |
| | | this.initAreaOptionLayer() |
| | | this.housingOptions = [] |
| | | |
| | | } else { |
| | | |
| | | this.getPoliceStationTree(3, item.id) |