| | |
| | | <template> |
| | | <a-card :bordered="false"> |
| | | <div style="width: 100%; height: 100%;overflow: hidden"> |
| | | <a-row type="flex" :gutter="16"> |
| | | <a-col :md="5" :sm="24"> |
| | | <base-tree @getCurrSelected="changeSelectionNode"></base-tree> |
| | | </a-col> |
| | | <a-col :md="24-5" :sm="24"> |
| | | <statistical-analysis-main :equip="selectEquementnode"></statistical-analysis-main> |
| | | </a-col> |
| | | </a-row> |
| | | </div> |
| | | <a-row type="flex" :gutter="16"> |
| | | <a-col :md="5" :sm="24"> |
| | | <base-tree @getCurrSelected="changeSelectionNode"></base-tree> |
| | | </a-col> |
| | | <a-col :md="24-5" :sm="24"> |
| | | <statistical-analysis-main :equip="selectEquipmentNode"></statistical-analysis-main> |
| | | </a-col> |
| | | </a-row> |
| | | </a-card> |
| | | </template> |
| | | |
| | | <script> |
| | | import BaseTree from '../common/BaseTree' |
| | | import StatisticalAnalysisMain from './modules/StatisticalAnalysis/StatisticalAnalysisMain' |
| | | |
| | | export default { |
| | | name: 'StatisticalAnalysis', |
| | | components:{ |
| | | components: { |
| | | BaseTree, |
| | | StatisticalAnalysisMain |
| | | }, |
| | | data() { |
| | | return { |
| | | description: '设备信息', |
| | | selectEquementnode:{}, |
| | | equipmentStatisticsInfo:{}, |
| | | url:{ |
| | | equipmentStatistics:"/mdc/equipment/equipmentStatistics" |
| | | } |
| | | selectEquipmentNode: {} |
| | | } |
| | | }, |
| | | methods: { |
| | | changeSelectionNode(val){ |
| | | this.selectEquementnode = val |
| | | changeSelectionNode(val) { |
| | | this.selectEquipmentNode = val |
| | | } |
| | | } |
| | | } |
| | | </script> |
| | | |
| | | <style scoped> |
| | | |
| | | </style> |
| | | </script> |