소스 검색

更多主要设备卡片,名称字段修改

yunxing 4 년 전
부모
커밋
52776a32d2
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/views/equipmentFacilities/index.vue

+ 1 - 1
src/views/equipmentFacilities/index.vue

@@ -670,7 +670,7 @@ export default {
             let moreCardList = res.data
             moreCardList.map((item) => {
                 item.total = item.asset_num // card 第二行台数
-                item.name = item.category_name //card 第一行名称
+                item.name = item.type_name //card 第一行名称
                 // 设备卡片单位处理
                 if (item.name === '屋面logo') {
                     item.unit = '个'