Prechádzať zdrojové kódy

林业可视化事件分类点击事件

wang_xy 2 rokov pred
rodič
commit
dd1de91cc1
1 zmenil súbory, kde vykonal 4 pridanie a 2 odobranie
  1. 4 2
      src/views/forest.vue

+ 4 - 2
src/views/forest.vue

@@ -388,16 +388,18 @@
           <div class="forthis">
             <dv-border-box-13 backgroundColor="rgba(12, 19, 38, .90)" style="padding-bottom: 1rem;">
               <img src="../assets/images/integrated/light.png" style="width: 100%; margin-top: .4rem;"/>
-              <div class="this-title">
+              <div class="this-title"
+                   @click="setEventTypeId({eventTypeIdDl: [], eventTypeId: []})">
                 <span>事件分类</span>
                 <dv-decoration-3 style="width:150px;height:15px;margin-right: 1rem;"/>
               </div>
               <div class="i-list-con small-bottom-margin h-19">
-                <dv-capsule-chart v-if="showEventKind" :config="eventKind"
+                <dv-capsule-chart v-if="showEventKind" :config="eventKind" @setEventTypeId="setEventTypeId"
                                   style="width: 90%;height: 18vh; padding:.5rem 1rem"/>
               </div>
             </dv-border-box-13>
           </div>
+
           <!-- 上报排行 -->
           <div class="forthis">
             <dv-border-box-13 backgroundColor="rgba(12, 19, 38, .90)" style="padding-bottom: 1rem;">