浏览代码

无感监管新功能

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

+ 6 - 6
src/views/forest.vue

@@ -234,14 +234,14 @@
         <div class="container1">
           <div class="topBar">企业信息</div>
           <!-- 输入框 -->
-          <el-input v-model="input" class="inputModel" placeholder="请输入要查询的企业信息 " clearable style="color:white" @change="search" >
+          <el-input v-model="regulatoryinformationQueryParams.infoTitle" class="inputModel" placeholder="请输入要查询的企业信息 " clearable style="color:white" @change="search" >
           </el-input>
           <!-- 菜单 -->
           <div class="mainContainer">
             <!-- 列表 -->
             <div class="listItem" v-for="(e,idx) in regulatoryinformation" :key="idx" @click="showTvWall(e)">
                 <div class="itemArea">
-                    <h4>{{ e.cameraName }}</h4>
+                    <h4>{{ e.infoTitle }}</h4>
                 </div>
             </div>
           </div>
@@ -484,7 +484,8 @@
         regulatoryinformationQueryParams: {
           pageNum: 1,
           pageSize: 10,
-          enterpriseName: null
+          infoTitle: null,
+          enterpriseId: null,
         },
       }
     },
@@ -577,10 +578,9 @@
             that.$refs.supermap.setMarkers(that.cameraMarkersList);
           }, 3000);
         })
-
+        that.regulatoryinformationQueryParams.enterpriseId = e.id
         selectRegulatoryinformationByEnterpriseId(that.regulatoryinformationQueryParams).then(res => {
-          debugger
-          that.regulatoryinformation = res.data
+          that.regulatoryinformation = res.rows
         })
       },
       previewBefore(cameraParam) {