| | |
| | | <!--点击站点 跳转至风险模型页面 --> |
| | | <script> |
| | | import subRiskModel from '@/views/risk_assessment/components/subRiskModel.vue' |
| | | import SubFlightInspection from '@/views/exception/components/SubFlightInspection.vue' |
| | | export default { |
| | | components: { |
| | | subRiskModel |
| | | SubFlightInspection |
| | | }, |
| | | data() { |
| | | return { |
| | | siteName: '', |
| | | month: '' |
| | | month: '', |
| | | // 页标题 |
| | | title:'' |
| | | } |
| | | }, |
| | | watch: {}, |
| | |
| | | // 通过 `vm` 访问组件实例 |
| | | vm.siteName = to.params.siteName |
| | | vm.month = to.params.month |
| | | vm.$nextTick(() => { |
| | | // console.log('midd11', vm.siteName, vm.month); |
| | | }) |
| | | }) |
| | | }, |
| | | methods: { |
| | |
| | | <template> |
| | | <el-page-header @back="onBack"> |
| | | <template #content> |
| | | <span> 站点风险数据详情 </span> |
| | | <span> 异常详情 </span> |
| | | </template> |
| | | </el-page-header> |
| | | |
| | | <subRiskModel :sName="siteName" :month_1="month"> </subRiskModel> |
| | | <SubFlightInspection :site-name="siteName" :month="month"> </SubFlightInspection> |
| | | </template> |
| | | |
| | | <style scoped> |