Merge remote-tracking branch 'origin/develop' into develop
2个文件已删除
1个文件已添加
9个文件已修改
1 文件已重命名
| | |
| | | getSolidWasteBaseInfo (data) { |
| | | return axios.get(mapUrl.getSolidWasteBaseInfo, data) |
| | | }, |
| | | // 固废详细信息 |
| | | getSolidWasteDetail (data) { |
| | | return axios.get(mapUrl.getSolidWasteDetail, data) |
| | | }, |
| | | getWasteGas (data) { |
| | | return axios.get(mapUrl.getWasteGas, data) |
| | | }, |
| | | getWasteWater (data) { |
| | | return axios.get(mapUrl.getWasteWater, data) |
| | | }, |
| | | GetWasteGas (data) { |
| | | return axios.get(mapUrl.GetWasteGas, data) |
| | | }, |
| | | getCompany (data) { |
| | | return axios.get(mapUrl.getCompany, data) |
| | |
| | | |
| | | export const getSolidWaste = $HOST + '/wasteSolid/getSolidWaste' |
| | | export const getSolidWasteBaseInfo = $HOST + '/wasteSolid/getSolidWasteBaseInfo' |
| | | export const getSolidWasteDetail = $HOST + '/wasteSolid/getSolidWasteDetail' |
| | | |
| | | export const GetWasteGas = $HOST + '/wasteGas/getWasteGas' |
| | | export const getWasteGas = $HOST + '/wasteGas/getWasteGas' |
| | | |
| | | export const getWasteWater = $HOST + '/wasteWater/getWasteWater' |
| | | |
| | |
| | | <div class="main-video"> |
| | | <el-table |
| | | tooltip-effect="dark" |
| | | :data="data" |
| | | :data="displayContentTable2" |
| | | > |
| | | <el-table-column prop="name" label="序号"></el-table-column> |
| | | <el-table-column prop="name" label="类别"></el-table-column> |
| | | <el-table-column prop="date" label="固废名称"></el-table-column> |
| | | <el-table-column prop="address" label="代码"></el-table-column> |
| | | <el-table-column prop="address" label="产生量"></el-table-column> |
| | | <el-table-column prop="name" label="储存量"></el-table-column> |
| | | <el-table-column prop="date" label="产生装置"></el-table-column> |
| | | <el-table-column prop="StoragePlaceId" label="序号"></el-table-column> |
| | | <el-table-column prop="StoragePlaceTypeName" label="类别"></el-table-column> |
| | | <el-table-column prop="StoragePlaceName" label="固废名称"></el-table-column> |
| | | <el-table-column prop="StorageZDMJ" label="代码"></el-table-column> |
| | | <el-table-column prop="StorageZCNL" label="产生量"></el-table-column> |
| | | <el-table-column prop="StorageZCL" label="储存量"></el-table-column> |
| | | <el-table-column prop="StorageType" label="产生装置"></el-table-column> |
| | | </el-table> |
| | | </div> |
| | | </div> |
| | |
| | | <script> |
| | | export default { |
| | | name: 'PublicTable', |
| | | props: ['requestSolidWasteData'], |
| | | props: ['displayContentTable'], |
| | | data () { |
| | | return { |
| | | data: [{ |
| | | date: '2016-05-03', |
| | | name: '王小虎', |
| | | address: '上海市普陀区' |
| | | }, { |
| | | date: '2016-05-02', |
| | | name: '王小虎', |
| | | address: '上海市普陀区' |
| | | }, { |
| | | date: '2016-05-02', |
| | | name: '王小虎', |
| | | address: '上海市普陀区' |
| | | }] |
| | | } |
| | | }, |
| | | mounted () { |
| | | this.$nextTick(() => { |
| | | this.getSolidWasteData() |
| | | }) |
| | | }, |
| | | methods: { |
| | | getSolidWasteData () { |
| | | // const data = requestSolidWasteData |
| | | // console.log(data) |
| | | displayContentTable2: [ |
| | | { |
| | | CompanyName: '中韩石化', |
| | | StoragePlaceId: 3, |
| | | StoragePlaceName: '灰渣场', |
| | | StoragePlaceTypeName: '一般固废填埋场', |
| | | StorageType: '粉煤灰、灰渣', |
| | | StorageZCL: '38', |
| | | StorageZCNL: '40.7', |
| | | StorageZDMJ: '10.60798' |
| | | } |
| | | ], |
| | | displayContentTable3: [] |
| | | } |
| | | } |
| | | } |
New file |
| | |
| | | <template> |
| | | <!-- 框 --> |
| | | <div class="win"> |
| | | <!-- 四个角的边框效果 --> |
| | | <div class="border_corner border_corner_left_top"></div> |
| | | <div class="border_corner border_corner_right_top"></div> |
| | | <div class="border_corner border_corner_left_bottom"></div> |
| | | <div class="border_corner border_corner_right_bottom"></div> |
| | | <div class="main"> |
| | | <div class="main-matter"> |
| | | <el-row type="flex" class="row-bg row-item-one" justify="space-around"> |
| | | <el-col :span="8">监测点名称:{{ displayContentTab2.StoragePlaceName }}</el-col> |
| | | <el-col :span="8">生产单位:{{ displayContentTab2.StoragePlaceName }}</el-col> |
| | | <el-col :span="8">排放类型加载:{{ displayContentTab2.DesignFloorArea }}</el-col> |
| | | </el-row> |
| | | <el-row type="flex" class="row-bg" justify="space-around"> |
| | | <el-col :span="8">排放去向:{{ displayContentTab2.StorageQty }}</el-col> |
| | | <el-col :span="8">控制级别名称:{{ displayContentTab2.SurplusFloorArea }}</el-col> |
| | | <el-col :span="8">内/外排口:{{ displayContentTab2.StorageDate }}</el-col> |
| | | </el-row> |
| | | <!-- <el-row type="flex" class="row-bg row-item-one" justify="space-around">--> |
| | | <!-- <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-col :span="8">监测点名称:{{ displayContentTab2.StoragePlaceName }}</el-col>–>--> |
| | | <!-- <!– <el-col :span="8">生产单位:{{ displayContentTab2.StoragePlaceName }}</el-col>–>--> |
| | | <!-- <!– <el-col :span="8">排放类型加载:{{ displayContentTab2.DesignFloorArea }}</el-col>–>--> |
| | | <!-- </el-row>--> |
| | | <!-- <el-row type="flex" class="row-bg" justify="space-around">--> |
| | | <!-- <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-col :span="8">排放去向:{{ displayContentTab2.StorageQty }}</el-col>–>--> |
| | | <!-- <!– <el-col :span="8">控制级别名称:{{ displayContentTab2.SurplusFloorArea }}</el-col>–>--> |
| | | <!-- <!– <el-col :span="8">内/外排口:{{ displayContentTab2.StorageDate }}</el-col>–>--> |
| | | <!-- </el-row>--> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </template> |
| | | |
| | | <script> |
| | | export default { |
| | | name: 'GasTable', |
| | | props: ['displayContentTab'], |
| | | data () { |
| | | return { |
| | | displayContentTab2: [] |
| | | } |
| | | }, |
| | | mounted () { |
| | | this.$nextTick(() => { |
| | | this.displayContentTab.forEach(item => { |
| | | this.displayContentTab2 = item |
| | | }) |
| | | }) |
| | | } |
| | | } |
| | | </script> |
| | | |
| | | <style scoped lang="less"> |
| | | |
| | | .win { |
| | | position: relative; |
| | | margin-bottom: 13px; |
| | | background-color: rgba(33, 41, 69,0.9); |
| | | } |
| | | .main { |
| | | width: 100%; |
| | | height: 100%; |
| | | .main-matter{ |
| | | font-size: 13px; |
| | | font-weight: normal; |
| | | padding: 10px 6px; |
| | | border: 1px solid #396d83; |
| | | .row-item-one{ |
| | | margin-bottom: 7px; |
| | | } |
| | | .el-row { |
| | | width: 100%; |
| | | color: #00d0f9; |
| | | display: flex; |
| | | font-size: 12px !important; |
| | | .el-col{ |
| | | flex: 1; |
| | | width: 100%; |
| | | background-color: #243a55;; |
| | | text-align: center; |
| | | line-height: 28px; |
| | | margin-left: 6px; |
| | | border-radius: 4px; |
| | | &:nth-child(1){ |
| | | margin-left:0; |
| | | } |
| | | } |
| | | } |
| | | } |
| | | } |
| | | .border_corner{ |
| | | z-index: 999; |
| | | position: absolute; |
| | | width: 10px; |
| | | height: 10px; |
| | | background: rgba(0,0,0,0); |
| | | border: 1.5px solid #47d5ea; |
| | | } |
| | | .border_corner_left_top{ |
| | | top: 0; |
| | | left: 0; |
| | | border-right: none; |
| | | border-bottom: none; |
| | | } |
| | | .border_corner_right_top{ |
| | | top: 0; |
| | | right: 0; |
| | | border-left: none; |
| | | border-bottom: none; |
| | | } |
| | | .border_corner_left_bottom{ |
| | | bottom: 0; |
| | | left: 0; |
| | | border-right: none; |
| | | border-top: none; |
| | | } |
| | | .border_corner_right_bottom{ |
| | | bottom: 0; |
| | | right: 0; |
| | | border-left: none; |
| | | border-top: none; |
| | | } |
| | | </style> |
| | |
| | | </div> |
| | | <div class="public-bounced-content"> |
| | | <div class="public-bounced-content-left"> |
| | | <GasTab :displayContentTab="displayContentTab" ></GasTab> |
| | | <GasTab :displayContentTab="displayContentTab"></GasTab> |
| | | <div class="public-bounced-content-left-bottom"> |
| | | <PublicTable v-if="value === 'gufei'"></PublicTable> |
| | | <PublicTable v-if="value === 'gufei'" :displayContentTable="displayContentTable"></PublicTable> |
| | | <GasECharts v-else></GasECharts> |
| | | </div> |
| | | </div> |
| | |
| | | <script> |
| | | |
| | | import '@/components/BaseNav/SolidWaste/directive/dir' |
| | | import GasTab from '@components/BaseNav/PublicBounced/GasComponents/GasTab' |
| | | import GasTab from '@components/BaseNav/PublicBounced/GasComponents/PublicTabs' |
| | | import PublicTable from '@components/BaseNav/PublicBounced/GasComponents/PublicTable' |
| | | import GasECharts from '@components/BaseNav/PublicBounced/GasComponents/GasECharts' |
| | | import GasVideo from '@components/BaseNav/PublicBounced/GasComponents/GasVideo' |
| | | import GasVideo from '@components/BaseNav/PublicBounced/GasComponents/PublicVideo' |
| | | // import GasTabs from './GasComponents/GasTabs' |
| | | |
| | | export default { |
| | |
| | | return { |
| | | displayContentTitle: '', |
| | | displayContentTab: '', |
| | | displayContentTable: '', |
| | | flag: false |
| | | } |
| | | }, |
| | | methods: { |
| | | setData (data, value) { |
| | | // data.forEach((item, index) => { |
| | | // // console.log(item.StoragePlaceName) |
| | | // // this.displayContentTitle = item.StoragePlaceName |
| | | // }) |
| | | this.displayContentTab = data |
| | | setData (dataBasic, dataDetailed, value) { |
| | | dataBasic.forEach(item => { |
| | | this.displayContentTitle = item.StoragePlaceName |
| | | }) |
| | | this.displayContentTab = dataBasic |
| | | this.displayContentTable = dataDetailed |
| | | this.flag = true |
| | | this.value = value |
| | | }, |
| | |
| | | }) |
| | | marker.bindTooltip(data[i].name, { |
| | | permanent: true, |
| | | offset: [0, -16], |
| | | direction: 'top', |
| | | className: '' |
| | | offset: [0, 14], |
| | | direction: 'bottom', |
| | | className: 'company-bindTooltip' |
| | | }) |
| | | |
| | | layer.addLayer(marker) |
| | | } |
| | | } |
| | | |
| | | /* |
| | | * 点位鼠标移入弹框 |
| | | * */ |
| | | this.bindTooltip = (layer) => { |
| | | // console.log(layer) |
| | | // return layer.options.test.name |
| | | console.log(layer) |
| | | return '<div class="company-bindTooltip-hover"><h3>污染物产生统计</h3><ul>' + |
| | | '<li>生产设施:30(个)</li>' + |
| | | '<li>治理设施:30(个)</li>' + |
| | | '</ul></div>'// layer.options.test.name |
| | | } |
| | | |
| | | /* |
| | | * 点位点击事件 |
| | | * |
| | | * */ |
| | | this.clickListener = (e) => { |
| | | // this.animalService.pulseEffect(e.latlng) |
| | | console.log(e) |
| | | const dataValue = { |
| | | StoragePlaceId: e.layer.options.test.name |
| | | } |
| | | debugger |
| | | console.log(dataValue) |
| | | // return this.PublicBounced.$el |
| | | } |
| | | } |
| | |
| | | var iconUrl = this.differentTypes(judgeValue) |
| | | |
| | | const marker = L.marker([positionX, positionY], { |
| | | test: getSolidWasteData[i], |
| | | totransferData: getSolidWasteData[i], |
| | | icon: L.icon({ |
| | | iconUrl: iconUrl, |
| | | iconSize: [50, 50], |
| | | iconAnchor: [25, 25] |
| | | }) |
| | | }) |
| | | marker.bindTooltip(getSolidWasteData[i].Name, { |
| | | permanent: true, |
| | | offset: [0, 14], |
| | | direction: 'bottom', |
| | | className: 'company-bindTooltip' |
| | | }) |
| | | layer.addLayer(marker) |
| | | } |
| | | } |
| | | |
| | | this.bindTooltip = (layer) => { |
| | | return layer.options.test.Name |
| | | return layer.options.totransferData.Name |
| | | } |
| | | |
| | | this.clickListener = (e) => { |
| | | // 点击marker的pulse()光波 |
| | | this.animalService.pulseEffect(e.latlng) |
| | | /* flyTo()弹出框平移事件 */ |
| | | // this.setPanTo(e.latlng, 200) |
| | | /* 点击数据的接口请求 */ |
| | | this.requestSolidWasteData(e).then(e) |
| | | } |
| | | |
| | | // 根据点击不同数据 进行接口的数据请求 |
| | | this.requestSolidWasteData = async (e) => { |
| | | const dataValue = { |
| | | StoragePlaceId: e.layer.options.test.StoragePlaceId |
| | | } |
| | | const result = await mapApi.getSolidWasteBaseInfo(dataValue) |
| | | // console.log(result) |
| | | const PublicBounced = window.Vue.extend(publicBounced) |
| | | const instance = new PublicBounced() |
| | | instance.$mount() |
| | | document.body.appendChild(instance.$el) |
| | | instance.setData(result.Result.DataInfo, 'gufei') |
| | | } |
| | | |
| | | // flayTo() |
| | | // this.setPanTo = (pos, value) => { |
| | | // var position = pos |
| | | // position = this.map.latLngToLayerPoint(position) |
| | | // position.y += value |
| | | // position = this.map.layerPointToLatLng(position) |
| | | // this.map.flyTo(position) |
| | | // } |
| | | |
| | | // 不同类型图片封装 |
| | | this.differentTypes = (judgeValue) => { |
| | |
| | | } |
| | | return effectOfChange |
| | | } |
| | | |
| | | // 根据点击不同数据 进行接口的数据请求 |
| | | this.requestSolidWasteData = async (e) => { |
| | | // 基本信息展示 |
| | | const dataValue = { |
| | | StoragePlaceId: e.layer.options.totransferData.StoragePlaceId |
| | | } |
| | | const resultBasic = await mapApi.getSolidWasteBaseInfo(dataValue) |
| | | // 详细信息展示 |
| | | const resultDetailed = await mapApi.getSolidWasteDetail(dataValue) |
| | | |
| | | const PublicBounced = window.Vue.extend(publicBounced) |
| | | const instance = new PublicBounced() |
| | | instance.$mount() |
| | | document.body.appendChild(instance.$el) |
| | | instance.setData(resultBasic.Result.DataInfo, resultDetailed, 'gufei') |
| | | /* flyTo()弹出框平移事件 */ |
| | | this.setPanTo(e.latlng, 200) |
| | | } |
| | | |
| | | // flayTo() |
| | | this.setPanTo = (pos, value) => { |
| | | var position = pos |
| | | position = window.map.latLngToLayerPoint(position) |
| | | position.y += value |
| | | position = window.map.layerPointToLatLng(position) |
| | | window.map.flyTo(position) |
| | | } |
| | | } |
| | |
| | | * @param L leaflet对象 |
| | | */ |
| | | this.init = async (layer, L) => { |
| | | this.animalService = new AnimalService({ |
| | | L: L, |
| | | layer: layer |
| | | }) |
| | | const res = await mapApi.GetWasteGas() |
| | | this.animalService = new AnimalService({ L: L, layer: layer }) |
| | | const res = await mapApi.getWasteGas() |
| | | const data = res.Result.DataInfo || {} |
| | | // console.log(data) |
| | | for (let i = 0; i < data.length; i++) { |
| | |
| | | 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) |
| | | } |
| | |
| | | <template> |
| | | <div class="sewers-search" v-if="judgeVisible"> |
| | | <div class="search-title"> |
| | | <span>固废</span> |
| | | </div> |
| | | <div class="search-panel "> |
| | | <el-form ref="form" :model="form" label-width="90px" class="search-form"> |
| | | <el-form-item label="设施类型:" size="mini" class="search-panel-item"> |
| | | <el-select style="width: 100%" v-model="form.pipelineType" @change="handlePipelineType" |
| | | :popper-class="'select-down'"> |
| | | <el-option |
| | | v-for="item in SolidWasteTypeOptions" |
| | | :key="item.value" |
| | | :label="item.label" |
| | | :value="item.value"> |
| | | </el-option> |
| | | </el-select> |
| | | </el-form-item> |
| | | <el-form-item :label="form.pipelineType+':'" size="mini"> |
| | | <el-select style="width: 100%" v-model="form.dataType" @change="handleDataType" :popper-class="'select-down'"> |
| | | <el-option |
| | | v-for="item in dataTypeOptions" |
| | | :key="item.value" |
| | | :label="item.label" |
| | | :value="item.value"> |
| | | </el-option> |
| | | </el-select> |
| | | </el-form-item> |
| | | <el-input v-model="form.keyword" size="mini" |
| | | placeholder="在此输入关键字搜索"> |
| | | <i slot="suffix" class="search-btn el-input__icon el-icon-search" @click="handleSearch"></i> |
| | | </el-input> |
| | | </el-form> |
| | | </div> |
| | | <el-scrollbar style="height:100%"> |
| | | <div class="B-TMD-table-list" v-for="(item,index) in list" :key="index"> |
| | | <div class="B-TMD-table-list-title"> |
| | | <div class="B-TMD-table-list-head"> |
| | | <div class="B-TMD-table-list-title-y" |
| | | :class="['B-TMD-table-list-title-y-nam', { 'warning': item.vehicleStatus==='910003' }, { 'offline': item.vehicleStatus==='910001' }]"> |
| | | <span id="waybillNumber" class="" :title="item.properties.pipename"> |
| | | <span class="location-btn" @click="handleLocation(item)">{{ item.properties.pipename }}</span> |
| | | </span> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <div class="B-TMD-table-list-content"> |
| | | |
| | | <div v-for="itm in labelList" :key="itm.label"> |
| | | <span>{{ itm.label }}:</span> |
| | | <span id="b_twe_loan" :title="item.properties[itm.key] ">{{ item.properties[itm.key] }}</span> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </el-scrollbar> |
| | | <el-card class="footer-page" v-if="total > 10"> |
| | | <el-pagination |
| | | small |
| | | @current-change="handlePage" |
| | | :page-size=pageSize |
| | | layout="prev, pager, next" |
| | | :total=total |
| | | :current-page=current |
| | | class="warnPagination" |
| | | > |
| | | </el-pagination> |
| | | </el-card> |
| | | </div> |
| | | </template> |
| | | |
| | | <script> |
| | | // 引入可选择数据 |
| | | import { SolidWasteTypeOptions } from '@/conf/layers/LayerSolidWaste' |
| | | |
| | | import WfsHelper from '@components/helpers/WfsHelper' |
| | | import AjaxUtils from '@utils/AjaxUtils' |
| | | |
| | | export default { |
| | | name: 'SolidWasteSearch', |
| | | data () { |
| | | return { |
| | | judgeVisible: true, |
| | | list: [], |
| | | labelList: SolidWasteTypeOptions[0].labelList, |
| | | total: 0, |
| | | SolidWasteTypeOptions: SolidWasteTypeOptions, |
| | | dataTypeOptions: SolidWasteTypeOptions[0].options, |
| | | form: { |
| | | pipelineType: SolidWasteTypeOptions[0].label, |
| | | dataType: SolidWasteTypeOptions[0].options[0].label, |
| | | query: SolidWasteTypeOptions[0].options[0], |
| | | keyword: '固废面板数据查询' |
| | | }, |
| | | isWaybillHover: true, |
| | | isRouteHover: false |
| | | } |
| | | }, |
| | | props: ['title'], |
| | | methods: { |
| | | handlePipelineType (val) { |
| | | this.SolidWasteTypeOptions.forEach((itm) => { |
| | | if (val === itm.value) { |
| | | this.dataTypeOptions = itm.options |
| | | this.form.pipelineType = itm.label |
| | | this.form.labelList = itm.labelList |
| | | } |
| | | }) |
| | | this.form.dataType = this.dataTypeOptions[0].label |
| | | this.form.key = this.dataTypeOptions[0].key |
| | | }, |
| | | handleDataType (val) { |
| | | this.dataTypeOptions.forEach((itm) => { |
| | | if (val === itm.value) { |
| | | this.form.query = itm |
| | | } |
| | | }) |
| | | }, |
| | | async handleSearch () { |
| | | const param = { |
| | | pipelineType: this.form.pipelineType, |
| | | dataType: this.form.dataType |
| | | } |
| | | console.log(param) |
| | | var wfsHelper = new WfsHelper() |
| | | wfsHelper.addTypeName(this.form.query.layerName) |
| | | wfsHelper.addLike(this.form.query.key, this.form.keyword) |
| | | const res = await AjaxUtils.GetDataAsynByUrl(wfsHelper.getUrl(), {}) |
| | | if (res.data instanceof Object && Object.prototype.hasOwnProperty.call(res.data, 'features')) { |
| | | this.list = res.data.features |
| | | } |
| | | }, |
| | | handleLocation (val) { |
| | | console.log(val) |
| | | const bound = this.L.geoJSON([val], {}).getBounds() |
| | | var layer = window.serviceLayerHelper.getByLayerId(val.id) |
| | | layer && layer.openPopup() |
| | | this.$store.state.map.map.flyToBounds(bound) |
| | | } |
| | | } |
| | | } |
| | | </script> |
| | | |
| | | <style lang="less" scoped> |
| | | |
| | | .sewers-search { |
| | | position: relative; |
| | | overflow: hidden; |
| | | |
| | | .search-panel { |
| | | background-color: transparent; |
| | | border: 1px solid @background-color-split; |
| | | padding: 10px; |
| | | |
| | | /deep/ input { |
| | | border-radius: 0; |
| | | background-color: @background-color-split; |
| | | border: solid 1px @color; |
| | | color: @color-gray; |
| | | font-size: 0.01rem; |
| | | |
| | | .el-select .el-input.is-focus .el-input__inner { |
| | | border-color: @color; |
| | | } |
| | | } |
| | | |
| | | /deep/ input:focus { |
| | | border-color: @color; |
| | | } |
| | | } |
| | | |
| | | .search-btn { |
| | | |
| | | } |
| | | |
| | | //location-btn{ |
| | | // |
| | | //} |
| | | .location-btn:hover, .el-input__icon:hover { |
| | | color: @color; |
| | | cursor: pointer; |
| | | } |
| | | } |
| | | </style> |
| | |
| | | * 固废图层 |
| | | * @type {string} |
| | | */ |
| | | const APP_GIS_HOST_2 = 'http://xearth.cn:8088' |
| | | // const WFS_URL = APP_GIS_HOST_2 + '/server/ogcserver/PipeLine/wfs' |
| | | export const LayerSolidWaste = { |
| | | code: 'solidWaste', |
| | | name: '固废', |
| | |
| | | } |
| | | ] |
| | | } |
| | | |
| | | // 固废设施类型 |
| | | export const LayerSolisWastePoint = [ |
| | | { |
| | | code: 'fsss', |
| | | name: '附属设施', |
| | | checked: false, // 默认选中状态 |
| | | type: 'geojson', |
| | | url: APP_GIS_HOST_2 + '/server/ogcserver/PipeLine/wfs?version=1.0.0&TYPENAME={sname}&REQUEST=getfeature&OUTPUTFORMAT=json&maxFeatures=20000', |
| | | layers: [ |
| | | { |
| | | code: 'fourlink', |
| | | name: '四通', |
| | | sname: '四通', |
| | | checked: true, |
| | | minZoom: 10, |
| | | icon: 'sewers/四通.png' |
| | | }, |
| | | { |
| | | code: 'tee', |
| | | name: '三通', |
| | | sname: '三通', |
| | | checked: false, |
| | | minZoom: 10, |
| | | icon: 'sewers/三通.png' |
| | | }, |
| | | { |
| | | code: 'piperack', |
| | | name: '管架(墩)', |
| | | sname: 'PipeRack', |
| | | minZoom: 10, |
| | | checked: false |
| | | }, |
| | | { |
| | | code: 'pipegallery', |
| | | name: '管廊(带)', |
| | | sname: 'PipeGallery', |
| | | minZoom: 10, |
| | | checked: false |
| | | }, |
| | | { |
| | | code: 'pipesegment', |
| | | name: '流向', |
| | | sname: 'ywslx', |
| | | checked: false |
| | | }, |
| | | { |
| | | code: 'pipeline', |
| | | name: '管网', |
| | | minZoom: 10, |
| | | sname: 'pipeline', |
| | | checked: false |
| | | }, |
| | | { |
| | | code: 'valve', |
| | | name: '阀门', |
| | | minZoom: 10, |
| | | sname: 'valve', |
| | | checked: false, |
| | | icon: 'sewers/阀门.png' |
| | | }, |
| | | { |
| | | code: 'elbow', |
| | | name: '弯头', |
| | | sname: 'Elbow', |
| | | minZoom: 10, |
| | | checked: false, |
| | | icon: 'sewers/弯头.png' |
| | | } |
| | | ] |
| | | }, |
| | | { |
| | | code: 'hbss', |
| | | name: '环保设施', |
| | | checked: false, // 默认选中状态 |
| | | type: 'geojson', |
| | | url: APP_GIS_HOST_2 + '/server/ogcserver/PipeLine/wfs?version=1.0.0&TYPENAME={sname}&REQUEST=getfeature&OUTPUTFORMAT=json&maxFeatures=20000', |
| | | layers: [ |
| | | { |
| | | code: 'manhole', |
| | | name: '窨井', |
| | | minZoom: 10, |
| | | sname: '窨井', |
| | | checked: false, |
| | | icon: 'sewers/窨井.png' |
| | | }, |
| | | { |
| | | code: 'firedike', |
| | | name: '防火堤', |
| | | sname: '防火堤', |
| | | minZoom: 10, |
| | | checked: false |
| | | }, |
| | | { |
| | | code: 'raingate', |
| | | name: '雨篦子', |
| | | sname: '雨篦子', |
| | | checked: false, |
| | | minZoom: 10, |
| | | icon: 'sewers/雨篦子.png' |
| | | }, |
| | | { |
| | | code: 'overflowweir', |
| | | name: '溢流堰', |
| | | sname: '溢流堰', |
| | | minZoom: 10, |
| | | checked: false |
| | | }, |
| | | { |
| | | code: 'chokevalve', |
| | | name: '截流闸', |
| | | sname: '截流闸', |
| | | minZoom: 10, |
| | | checked: false |
| | | }, |
| | | { |
| | | code: 'collectingbasin', |
| | | name: '集水池(罐)', |
| | | sname: '集水池', |
| | | minZoom: 10, |
| | | checked: false, |
| | | icon: 'sewers/集水池.png' |
| | | }, |
| | | { |
| | | code: 'oilseparator', |
| | | name: '隔油池', |
| | | sname: '隔油池', |
| | | minZoom: 10, |
| | | checked: false, |
| | | icon: 'sewers/隔油池.png' |
| | | } |
| | | ] |
| | | }, |
| | | { |
| | | code: 'pk', |
| | | name: '排口', |
| | | checked: false, // 默认选中状态 |
| | | type: 'geojson', |
| | | url: APP_GIS_HOST_2 + '/server/ogcserver/PipeLine/wfs?version=1.0.0&TYPENAME={sname}&REQUEST=getfeature&OUTPUTFORMAT=json&maxFeatures=20000', |
| | | layers: [ |
| | | { |
| | | code: 'dischargeport', |
| | | name: '排放口', |
| | | minZoom: 10, |
| | | sname: '排放口', |
| | | checked: false |
| | | } |
| | | ] |
| | | }, |
| | | { |
| | | code: 'qyxx', |
| | | name: '区域信息', |
| | | checked: false, // 默认选中状态 |
| | | type: 'geojson', |
| | | url: APP_GIS_HOST_2 + '/server/ogcserver/PipeLine/wfs?version=1.0.0&TYPENAME={sname}&REQUEST=getfeature&OUTPUTFORMAT=json&maxFeatures=20000', |
| | | layers: [ |
| | | { |
| | | code: 'thirdpartypipe', |
| | | name: '第三方管道', |
| | | minZoom: 10, |
| | | sname: '第三方管道', |
| | | checked: false |
| | | }, |
| | | { |
| | | code: 'firefightingunit', |
| | | name: '消防单位', |
| | | sname: '消防单位', |
| | | minZoom: 10, |
| | | checked: false, |
| | | icon: 'sewers/消防单位.png' |
| | | }, |
| | | { |
| | | code: 'emergencyesources', |
| | | name: '应急物资', |
| | | sname: '应急物资', |
| | | minZoom: 10, |
| | | checked: false |
| | | }, |
| | | { |
| | | code: 'emergencyres', |
| | | name: '社会专业应急救援队伍', |
| | | sname: '专业应急救援', |
| | | checked: false, |
| | | minZoom: 10, |
| | | icon: 'sewers/社会专业应急救援.png' |
| | | }, |
| | | { |
| | | code: 'maintenanceteam', |
| | | name: '维抢修队伍', |
| | | sname: '维抢修队伍', |
| | | checked: false, |
| | | minZoom: 10, |
| | | icon: 'sewers/社会专业应急救援.png' |
| | | }, |
| | | { |
| | | code: 'hospital', |
| | | name: '医院', |
| | | sname: '医院', |
| | | checked: false, |
| | | minZoom: 10, |
| | | icon: 'sewers/医院.png' |
| | | }, |
| | | { |
| | | code: 'pointpreservationzone', |
| | | name: '自然保护区', |
| | | sname: '自然保护区', |
| | | checked: false, |
| | | minZoom: 10, |
| | | icon: 'sewers/自然保护区.png' |
| | | }, |
| | | { |
| | | code: 'pointhydrology', |
| | | name: '水体', |
| | | sname: '水体', |
| | | checked: false, |
| | | minZoom: 10, |
| | | icon: 'sewers/水体.png' |
| | | }, |
| | | { |
| | | code: 'sensitivetarget', |
| | | name: '敏感目标', |
| | | sname: '敏感目标', |
| | | checked: false, |
| | | minZoom: 10, |
| | | icon: 'sewers/敏感目标.png' |
| | | }, |
| | | { |
| | | code: 'envmonunit', |
| | | name: '环境监测单位', |
| | | sname: '环境监测单位', |
| | | checked: false, |
| | | minZoom: 10, |
| | | icon: 'sewers/环境监测单位.png' |
| | | }, |
| | | { |
| | | code: 'pointcontaminants', |
| | | name: '监测点污染物指标信息', |
| | | sname: '污染物指标', |
| | | minZoom: 10, |
| | | checked: false |
| | | }, |
| | | { |
| | | code: 'dischargeportaround', |
| | | name: '排放口周边环境敏感信息', |
| | | sname: '排放口周边环境', |
| | | minZoom: 10, |
| | | checked: false, |
| | | iconN: 'sewers/排放口周边敏感信息.png' |
| | | }, |
| | | { |
| | | code: 'pump', |
| | | name: '泵', |
| | | sname: '泵', |
| | | minZoom: 10, |
| | | checked: false, |
| | | icon: 'sewers/泵.png' |
| | | }, |
| | | { |
| | | code: 'liquidlevelmeter', |
| | | name: '液位计', |
| | | sname: '液位计', |
| | | checked: false, |
| | | minZoom: 10, |
| | | icon: 'sewers/液位计.png' |
| | | }, |
| | | { |
| | | code: 'flowmeter', |
| | | name: '流量计', |
| | | sname: '流量计', |
| | | minZoom: 10, |
| | | checked: false, |
| | | icon: 'sewers/流量计.png' |
| | | }, |
| | | { |
| | | code: 'video', |
| | | name: '视频监控配置', |
| | | sname: '视频监控', |
| | | minZoom: 10, |
| | | checked: false |
| | | }, |
| | | { |
| | | code: 'onlinemonitoring', |
| | | name: '在线监测设备配置', |
| | | sname: '在线监测', |
| | | minZoom: 10, |
| | | checked: false |
| | | }, |
| | | { |
| | | code: 'combustiblegas', |
| | | name: '可燃气体报警设备配置', |
| | | sname: '可燃气体报警', |
| | | minZoom: 10, |
| | | checked: false |
| | | }, |
| | | { |
| | | code: 'hydrogensulfide', |
| | | name: 'H2S浓度报警设备配置', |
| | | sname: 'H2S浓度报警', |
| | | minZoom: 10, |
| | | checked: false |
| | | }, |
| | | { |
| | | code: 'controlpoint', |
| | | name: '管线点', |
| | | sname: '管线点', |
| | | minZoom: 10, |
| | | checked: false, |
| | | icon: 'sewers/管线点.png' |
| | | }, |
| | | { |
| | | code: 'pipesegment', |
| | | name: '管段', |
| | | sname: '管段', |
| | | minZoom: 10, |
| | | checked: false |
| | | } |
| | | ] |
| | | } |
| | | ] |
| | | |
| | | // 固废本体 |
| | | export const SolidWasteTypeOptions = [{ |
| | | value: '1', |
| | | label: '固废本体', |
| | | options: [{ |
| | | value: '1', |
| | | layerName: '固废', |
| | | key: 'pipename', |
| | | label: '全部固废' |
| | | }], |
| | | labelList: [{ |
| | | label: '输送介质', |
| | | key: 'mediumtype' |
| | | }, { |
| | | label: '长度(m)', |
| | | key: 'length' |
| | | }] |
| | | }] |