| | |
| | | <template> |
| | | <public-sector> |
| | | <template v-slot:tabs> |
| | | <!-- <public-tabs></public-tabs>--> |
| | | <div>{{ storagePlaceId }}</div> |
| | | <public-tabs ref='refsTabsData'></public-tabs> |
| | | </template> |
| | | <template v-slot:table> |
| | | <public-table ref="table"></public-table> |
| | | <public-table ref="refsTableData"></public-table> |
| | | </template> |
| | | <template v-slot:video> |
| | | <public-video></public-video> |
| | |
| | | |
| | | <script> |
| | | |
| | | // import PublicTabs from '@components/BaseNav/WasteSolid/PublicTabs' |
| | | import PublicTabs from '@components/BaseNav/WasteSolid/PublicTabs' |
| | | import PublicTable from '@components/BaseNav/WasteSolid/PublicTable' |
| | | import PublicVideo from '@components/BaseNav/PublicVideo' |
| | | import PublicSector from '@components/BaseNav/PublicSector' |
| | |
| | | name: 'WasteSolidIndex', |
| | | props: ['storagePlaceId'], |
| | | components: { |
| | | // WasteSolid, |
| | | PublicSector, |
| | | // PublicTabs, |
| | | PublicTabs, |
| | | PublicTable, |
| | | PublicVideo |
| | | }, |
| | | mounted () { |
| | | console.log(this.title) |
| | | this.$nextTick(() => { |
| | | this.refsData() |
| | | }) |
| | | }, |
| | | data () { |
| | | return { |
| | |
| | | } |
| | | }, |
| | | methods: { |
| | | refsData () { |
| | | const data = this.storagePlaceId |
| | | this.$refs.refsTabsData.refsDataTabs(data) |
| | | this.$refs.refsTableData.refsDataTable(data) |
| | | }, |
| | | // 固废相关信息设置 |
| | | setData (title, dataBasic, dataDetailed, value) { |
| | | this.flag = true |