<!--
|
* @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>
|