<template> <!-- 综合分析右侧列表 --> <div class="equipRight"> <!-- 统计分析 --> <div class="contAnaly"> <reportService></reportService> </div> </div> </template> <script setup name="equipRight"> import {} from '@/api/dataAnalysis/syntherticData'; import reportService from './components/reportService.vue' const props = defineProps({ positionKey: String, }); const { proxy } = getCurrentInstance(); const emit = defineEmits(['getDialogData']); onMounted(() => { console.log('positionKey', props.positionKey); }); watch( () => props.positionKey, value => console.log('positionKey', value) ); // 页面销毁 onBeforeUnmount(() => {}); </script> <style lang="scss"> .equipmentDialog { .el-dialog__header { background: #0f69ff; padding-bottom: 20px; margin-right: 0px; } .el-dialog__title { color: #fff !important; } .el-dialog__close { color: #fff !important; } } .equipRight { width: 100%; .basePart { display: flex; flex-wrap: wrap; height: 180px; background: #ffffff; box-shadow: 0px 2px 6px 0px rgba(28, 52, 92, 0.1); p { width: 20%; display: flex; justify-content: space-between; color: #666; margin-bottom: 2px; padding: 0 30px; .value { font-weight: bold; color: #333333; } .check { color: #3782ff; cursor: pointer; } } .el-table { margin: 10px; .dbfxImg { cursor: pointer; } } } .contAnaly { background: #ffffff; box-shadow: 0px 2px 6px 0px rgba(28, 52, 92, 0.1); border-radius: 6px; padding: 0 20px; margin-top: 10px; .search { .el-button { margin-left: 15px; margin-top: -6px; } } .tabsBtn { margin-top: 20px; .el-button { border-radius: 15px; margin-right: 15px; } .tabsCont { border: 1px solid blue; margin-top: 10px; height: calc(100vh - 520px); } } } } </style>