| | |
| | | </template> |
| | | |
| | | <script> |
| | | import mapApi from '@/api/mapApi' |
| | | |
| | | export default { |
| | | name: 'GasTable', |
| | | data () { |
| | | return { |
| | | tabList: [], |
| | | setSolidWaste: [{ |
| | | StoragePlaceId: 0, |
| | | StoragePlaceName: '取水单元干泥暂存库', |
| | | DesignFloorArea: 0.024, |
| | | StorageQty: 0.016, |
| | | SurplusFloorArea: 0.018, |
| | | StorageDate: '2021-01-17' |
| | | }] |
| | | setSolidWaste: [] |
| | | } |
| | | }, |
| | | mounted () { |
| | | this.$nextTick(() => { |
| | | this.refsDataTabs() |
| | | }) |
| | | }, |
| | | methods: { |
| | | // async getTabsData () { |
| | | // // 基本信息 和 详细信息 展示数据所需参数 |
| | | // const dataValue = { |
| | | // StoragePlaceId: e.layer.options.totransferData.StoragePlaceId |
| | | // } |
| | | // // 基本信息 tabs |
| | | // const resultBasic = await mapApi.getSolidWasteBaseInfo(dataValue) |
| | | // } |
| | | async refsDataTabs (data) { |
| | | const StoragePlaceId = { |
| | | StoragePlaceId: data |
| | | } |
| | | const result = await mapApi.getSolidWasteBaseInfo(StoragePlaceId) |
| | | this.setSolidWaste = result.Result.DataInfo |
| | | } |
| | | } |
| | | } |
| | | </script> |