浏览代码

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

wang_xy 2 年之前
父节点
当前提交
dd1de91cc1
共有 1 个文件被更改,包括 4 次插入2 次删除
  1. 4 2
      src/views/forest.vue

+ 4 - 2
src/views/forest.vue

@@ -388,16 +388,18 @@
           <div class="forthis">
           <div class="forthis">
             <dv-border-box-13 backgroundColor="rgba(12, 19, 38, .90)" style="padding-bottom: 1rem;">
             <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;"/>
               <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>
                 <span>事件分类</span>
                 <dv-decoration-3 style="width:150px;height:15px;margin-right: 1rem;"/>
                 <dv-decoration-3 style="width:150px;height:15px;margin-right: 1rem;"/>
               </div>
               </div>
               <div class="i-list-con small-bottom-margin h-19">
               <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"/>
                                   style="width: 90%;height: 18vh; padding:.5rem 1rem"/>
               </div>
               </div>
             </dv-border-box-13>
             </dv-border-box-13>
           </div>
           </div>
+
           <!-- 上报排行 -->
           <!-- 上报排行 -->
           <div class="forthis">
           <div class="forthis">
             <dv-border-box-13 backgroundColor="rgba(12, 19, 38, .90)" style="padding-bottom: 1rem;">
             <dv-border-box-13 backgroundColor="rgba(12, 19, 38, .90)" style="padding-bottom: 1rem;">