Explorar el Código

数字交通 交通资源

wangzhe hace 2 años
padre
commit
9fcc58f3b0
Se han modificado 2 ficheros con 2 adiciones y 1 borrados
  1. 1 0
      src/api/resources.js
  2. 1 1
      src/views/resources.vue

+ 1 - 0
src/api/resources.js

@@ -22,6 +22,7 @@ export function selectResourcesByLabel(label) {
   return request({
     url: '/center-traffic/traffic/selectResourcesByLabel',
     method: 'post',
+    // data:{"label":label}
     data:{"label":label}
   })
 }

+ 1 - 1
src/views/resources.vue

@@ -14,7 +14,7 @@
               <div class="d-l-con-icon">
                 <div class="icon-con" :class="{on:iconCurrentIndex==item.resourceTable}"
                      v-for="(item,index) in resourcesCountList"
-                     v-on:click="indentleftSetMarkers(item.type)">
+                     v-on:click="selectResourcesByLabel(item.type)">
                   <!--v-on:click="indentleftSetMarkers(item.resourceTable)">-->
                   <div class="iconfont icon icon-normal" :class="item.icon"></div>
                   <div class="icon-text">