浏览代码

modify infopoint

haojianlong 5 年之前
父节点
当前提交
ac1e16a09e
共有 1 个文件被更改,包括 14 次插入3 次删除
  1. 14 3
      src/views/data_admin/buildData/index-2.vue

+ 14 - 3
src/views/data_admin/buildData/index-2.vue

@@ -359,7 +359,7 @@ export default {
       ajaxMsg: "", //请求错误提示
       picShow: false, //最底层图片窗
       pointList: "", //点位标签详情数组
-      pointId: "", //点位标签详情查询需求的id
+      pointId: "all", //点位标签详情查询需求的id
       checkPointClass: "all", //点击点位标签的当前标签
       pointCheck: "", //当前点击到的点位标签
       checked: 0, //审核标志
@@ -722,7 +722,19 @@ export default {
     },
     //获取设备族列表
     getTabFamily() {
-      queryPropertyTypeCount(null, res => {
+      let pa = {
+        buildingId: this.buildId,
+        checked: this.checked,
+        endingTime: this.checkTimeArr[1],
+        pointId: this.pointId,
+        startTime: this.checkTimeArr[0]
+      }
+      if (this.floorId == 'noKnow') {
+        pa.floorId = 'isNull'
+      } else if (this.floorId != 'all') {
+        pa.floorId = this.floorId
+      }
+      queryPropertyTypeCount(pa, res => {
         this.myHotArr.length = this.myHotMainArr.length = this.myHotMainArr.length = this.pageCount.length = this.currentPageArr.length = this.pageSizeArr.length = this.currentPage.length =
           res.Content.length;
         for (let i = 0; i < this.pageCount.length; i++) {
@@ -1212,7 +1224,6 @@ export default {
     },
     //改变checked,全部未完成修订
     changeChecked(val) {
-      console.log(val)
       this.checked = val;
       this.tabChecked = 0;
       this.tabAvtive = "table0";