src/api/mapApi.js | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
src/api/mapUrl.js | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
src/components/BaseNav/PublicBounced/GasComponents/GasTab.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
src/components/BaseNav/PublicBounced/PublicBounced.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
src/components/LayerController/logic/WasteGas.js | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
src/api/mapApi.js
@@ -21,8 +21,8 @@ getSolidWasteBaseInfo (data) { return axios.get(mapUrl.getSolidWasteBaseInfo, data) }, GetWasteGas (data) { return axios.get(mapUrl.GetWasteGas, data) getWasteGas (data) { return axios.get(mapUrl.getWasteGas, data) }, getCompany (data) { return axios.get(mapUrl.getCompany, data) src/api/mapUrl.js
@@ -5,7 +5,7 @@ export const GetUser = $HOST + '/user/getUser' export const GetWasteGas = $HOST + '/wasteGas/getWasteGas' export const getWasteGas = $HOST + '/wasteGas/getWasteGas' export const getSolidWaste = $HOST + '/wasteSolid/getSolidWaste' src/components/BaseNav/PublicBounced/GasComponents/GasTab.vue
@@ -9,14 +9,14 @@ <div class="main"> <div class="main-matter"> <el-row type="flex" class="row-bg row-item-one" justify="space-around"> <el-col :span="12">监测点名称:{{ displayContent.Name }}</el-col> <el-col :span="12">生产单位:{{ displayContent.DeptSname }}</el-col> <el-col :span="12">排放类型加载:{{ displayContent.EmissTypeName }}</el-col> <el-col :span="8">监测点名称:{{ displayContent.Name }}</el-col> <el-col :span="8">生产单位:{{ displayContent.porltName }}</el-col> <el-col :span="8">排放类型加载:{{ displayContent.MonTypeName }}</el-col> </el-row> <el-row type="flex" class="row-bg" justify="space-around"> <el-col :span="12">排放去向:{{ displayContent.EmissTypeDirectName }}</el-col> <el-col :span="12">控制级别名称:{{ displayContent.ContrLevelShowName }}</el-col> <el-col :span="12">内/外排口:{{ displayContent.OrOutPortName }}</el-col> <el-col :span="8">排放去向:{{ displayContent.EmissDirecti }}</el-col> <el-col :span="8">控制级别名称:{{ displayContent.ContrLevelShowName }}</el-col> <el-col :span="8">内/外排口:{{ displayContent.OrOutPortName }}</el-col> </el-row> </div> </div> @@ -28,8 +28,18 @@ name: 'GasTable', props: ['displayContent'], data () { return {} return { // getGasDatas:[] } }, mounted () { // this.$nextTick(() => { // this.getGasData.forEach(item => { // this.getGasDatas = item // }) // }) } } </script> src/components/BaseNav/PublicBounced/PublicBounced.vue
@@ -55,11 +55,6 @@ this.value = value console.log(this.flag) }, // setData (data) { // this.displayContent = data // this.flag = true // // this.value = value // }, closePopup () { this.flag = false } src/components/LayerController/logic/WasteGas.js
@@ -19,7 +19,7 @@ */ this.init = async (layer, L) => { this.animalService = new AnimalService({ L: L, layer: layer }) const res = await mapApi.GetWasteGas() const res = await mapApi.getWasteGas() const data = res.Result.DataInfo || {} console.log(data) for (let i = 0; i < data.length; i++) { @@ -51,13 +51,13 @@ this.clickListener = async (e) => { // console.log(e) this.animalService.pulseEffect(e.latlng) const dataValue = { StoragePlaceId: e.layer.options.test.StoragePlaceId } const result = await mapApi.GetWasteGas(dataValue) // const dataValue = { // StoragePlaceId: e.layer.options.test.StoragePlaceId // } // const result = await mapApi.getWasteGas(dataValue) const PublicBounced = window.Vue.extend(publicBounced) const instance = new PublicBounced() instance.setData(result) instance.setData(e.layer.options.test) instance.$mount() document.body.appendChild(instance.$el) }