Browse Source

画圈圈

feature
dai 3 years ago
parent
commit
25c09d3059
  1. 14
      src/views/modules/visual/command/cpts/sidemenu-left.vue
  2. 6
      src/views/modules/visual/command/index.vue

14
src/views/modules/visual/command/cpts/sidemenu-left.vue

@ -145,9 +145,19 @@ export default {
},
handleClickItem(item) {
console.log("handleClickItem", item);
if (item.categoryKey) {
this.currentKey = item.categoryKey;
this.currentItem = { ...item };
if (item.categoryKey != this.currentKey) {
this.currentKey = item.categoryKey;
this.currentItem = { ...item };
} else {
this.currentKey = "";
this.currentItem = {
categoryKey: "",
coverageType: "",
placeType: "",
};
}
} else {
this.currentUnfolded =
this.currentUnfolded == item.placeType ? "" : item.placeType;

6
src/views/modules/visual/command/index.vue

@ -50,7 +50,8 @@
@keyup.enter="handleSearch"
v-model="searchName"
/>
<img v-show="searchName"
<img
v-show="searchName"
class="i-close"
@click="clearSearch"
src="@/assets/img/shuju/command/close.png"
@ -600,6 +601,9 @@ export default {
},
async requestMapDot2Count() {
if (!this.placeType2) {
return (this.gridCountData = []);
}
const url = "/data/aggregator/coverage/dataList-left-subtotal";
let params = {
orgId: this.orgId,

Loading…
Cancel
Save