shuishen
2026-02-10 abd285e6d013128aa57c9e30e851b2aa76d60ec5
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
<!--
 * @Author: shuishen 1109946754@qq.com
 * @Date: 2024-12-20 18:04:37
 * @LastEditors: shuishen 1109946754@qq.com
 * @LastEditTime: 2024-12-21 16:59:07
 * @FilePath: \srs-police-affairs\src\views\comprehensiveSearch\components\enterpriseList.vue
 * @Description: 
 * 
 * Copyright (c) 2024 by shuishen, All Rights Reserved. 
-->
<!--  -->
<template>
  <div class='enterprise-list-box'>
    <searchGroup></searchGroup>
    <!-- 地址详情 -->
    <div class='search-detail-box'>
      <div class='search-detail-content'>
        <div class='search-detail-item'>
          <div class='search-detail-item-title'>前海卓越时代广场</div>
          <div class='search-detail-item-title'>商务写字楼</div>
          <div class='search-detail-item-title'>广东省深圳市宝安区新安街道</div>
        </div>
      </div>
    </div>
 
 
    <!-- 楼盘表 -->
    <buildingTable></buildingTable>
    <!-- 专题信息 -->
    <basicTopics></basicTopics>
 
  </div>
</template>
 
<script>
import searchGroup from './searchGroup'
import basicTopics from './basicTopics'
import buildingTable from './buildingTable'
 
export default {
  //import引入的组件需要注入到对象中才能使用
  components: {
    searchGroup,
    basicTopics,
    buildingTable
 
  },
  // 父组件给子组件传过来的参数
  props: {
  },
  data() {
    //这里存放数据
    return {
      show: false,
      tableData: [],
      currentRow: null
    }
  },
  //监听属性 类似于data概念
  computed: {},
  //监控data中的数据变化
  watch: {},
  //方法集合
  methods: {
    setCurrent(row) {
      this.$refs.singleTable.setCurrentRow(row)
    },
    handleCurrentChange(val) {
      this.currentRow = val
    }
  },
  //生命周期 - 创建完成(可以访问当前this实例)
  created() {
 
  },
  //生命周期 - 挂载完成(可以访问DOM元素)
  mounted() {
  },
  beforeCreate() { }, //生命周期 - 创建之前
  beforeMount() { }, //生命周期 - 挂载之前
  beforeUpdate() { }, //生命周期 - 更新之前
  updated() { }, //生命周期 - 更新之后
  beforeDestroy() { }, //生命周期 - 销毁之前
  destroyed() { }, //生命周期 - 销毁完成
  activated() { }, //如果页面有keep-alive缓存功能,这个函数会触发
}
</script>
<style lang='scss' scoped>
//@import url(); 引入公共css类
 
.enterprise-list-box {
  height: 100%;
  display: flex;
  flex-direction: column;
 
  .list {
    height: 0;
    flex: 1;
  }
}
</style>