| | |
| | | import SoilGroundwater from '@components/table/components/SoilGroundwater' |
| | | import WasteGas from '@components/table/components/WasteGas' |
| | | import SolidWaste from '@components/table/components/WasteSolid' |
| | | import AirQuality from '@components/table/components/AirQuality' |
| | | |
| | | import { topicList } from '../../../conf/Topic' |
| | | |
| | | import PollutionSource from '@components/table/components/PollutionSource' |
| | | import EnvironmentalRisk from '@components/table/components/EnvironmentalRisk' |
| | | import Pipeline from '@components/table/components/Pipeline' |
| | | import CorporateEmergency from '@components/table/components/CorporateEmergency' |
| | | import { TopicList } from '../../../conf/Topic' |
| | | export default { |
| | | name: 'tabHandover', |
| | | components: { |
| | |
| | | // WasteGas, |
| | | // SoilGroundwater, |
| | | SolidWaste, |
| | | AirQuality |
| | | PollutionSource, |
| | | EnvironmentalRisk, |
| | | Pipeline, |
| | | CorporateEmergency |
| | | }, |
| | | data () { |
| | | return { |
| | | titleProp: '', |
| | | activeName: 'gcComp', |
| | | topicList: topicList, |
| | | gcComp: AirQuality |
| | | activeName: '污染源', |
| | | topicList: TopicList, // tab项 |
| | | gcComp: PollutionSource |
| | | } |
| | | }, |
| | | methods: { |
| | |
| | | this.titleProp = item |
| | | }, |
| | | handleClick (tab, event) { |
| | | console.log(tab.label) |
| | | switch (tab.label) { |
| | | case '污染源': |
| | | this.gcComp = AirQuality |
| | | this.gcComp = PollutionSource |
| | | break |
| | | case '废水': |
| | | this.gcComp = WasteWater |
| | |
| | | this.gcComp = SolidWaste |
| | | break |
| | | case '环境风险': |
| | | this.gcComp = AirQuality |
| | | this.gcComp = EnvironmentalRisk |
| | | break |
| | | case '土壤及地下水': |
| | | this.gcComp = SoilGroundwater |
| | | break |
| | | case '管线': |
| | | this.gcComp = AirQuality |
| | | this.gcComp = Pipeline |
| | | break |
| | | case '企业应急': |
| | | this.gcComp = CorporateEmergency |
| | | break |
| | | } |
| | | } |