Merge branch 'develop' of http://xearth.cn:6600/r/wuyushui/SewerAndRainNetwork into develop
| | |
| | | getSolidWasteDetail (data) { |
| | | return axios.get(mapUrl.getSolidWasteDetail, data) |
| | | }, |
| | | // 固废 数据搜索 暂时 |
| | | getSolidWasteSurveyDetail (data) { |
| | | return axios.get(mapUrl.getSolidWasteSurveyDetail, data) |
| | | }, |
| | | getWasteGas (data) { |
| | | return axios.get(mapUrl.getWasteGas, data) |
| | | }, |
| | |
| | | export const getSolidWaste = $HOST + '/wasteSolid/getSolidWaste' |
| | | export const getSolidWasteBaseInfo = $HOST + '/wasteSolid/getSolidWasteBaseInfo' |
| | | export const getSolidWasteDetail = $HOST + '/wasteSolid/getSolidWasteDetail' |
| | | export const getSolidWasteSurveyDetail = $HOST + '/wasteSolid/getSolidWasteSurveyDetail' |
| | | |
| | | export const getWasteGas = $HOST + '/wasteGas/getWasteGas' |
| | | |
| | |
| | | <div v-if="value === 'feiqi'"> |
| | | <el-row type="flex" class="row-bg row-item-one" justify="space-around"> |
| | | <el-col :span="8">监测点名称:{{ setWasteGasdata.Name }}</el-col> |
| | | <el-col :span="8">生产单位:{{ setWasteGasdata.DeptSname }}</el-col> |
| | | <el-col :span="8">生产单位:{{ setWasteGasdata.porltName }}</el-col> |
| | | <el-col :span="8">排放类型名称:{{ setWasteGasdata.MonTypeName }}</el-col> |
| | | </el-row> |
| | | <el-row type="flex" class="row-bg" justify="space-around"> |
| | |
| | | console.log(done) |
| | | }, |
| | | selected (val) { |
| | | console.log(val) |
| | | // console.log(val) |
| | | this.topicList.forEach((itm) => { |
| | | itm.checked = val.name === itm.name |
| | | }) |
| | |
| | | <template> |
| | | <div class="solidwaste-search" v-if="judgeVisible"> |
| | | <div class="search-title"> |
| | | <span>废气</span> |
| | | <!-- <span>{{ title }}</span>--> |
| | | </div> |
| | | <div class="search-panel "> |
| | | <el-form ref="form" :model="form" label-width="90px" class="search-form"> |
| | | <el-form-item v-for="(item,index) in solidWasteTypeOptions" :key="index" :label="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-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> |
| | | <div class="search-radio"> |
| | | <el-radio v-model="radio" label="1">全部</el-radio> |
| | | <el-radio v-model="radio" label="2">正常</el-radio> |
| | | <el-radio v-model="radio" label="3">超标</el-radio> |
| | | <el-radio v-model="radio" label="4">异常</el-radio> |
| | | <el-radio v-model="radio" label="5">停产</el-radio> |
| | | </div> |
| | | </el-form> |
| | | <div> |
| | | <el-card class="box-card" v-for="(item,index) in searchDataDisplay" :key="index"> |
| | | <div v-if="total > 3"> |
| | | {{ item.CompanyName }} |
| | | </div> |
| | | </el-card> |
| | | <!-- <el-pagination--> |
| | | <!-- small--> |
| | | <!-- layout="prev, pager, next"--> |
| | | <!-- :total=total--> |
| | | <!-- :current-page=1--> |
| | | <!-- class="warnPagination"--> |
| | | <!-- >--> |
| | | <!-- </el-pagination>--> |
| | | </div> |
| | | <!-- <el-scrollbar style="height:100%">--> |
| | | <!-- <el-card class="footer-page">--> |
| | | <!-- <ul>--> |
| | | <!-- {{ searchDataDisplay }}--> |
| | | <!-- <li v-for="(item,index) in searchDataDisplay" :key="index">--> |
| | | <!-- {{ item.CompanyName }}--> |
| | | <!-- </li>--> |
| | | <!-- </ul>--> |
| | | <!-- </el-card>--> |
| | | <!-- <el-pagination--> |
| | | <!-- small--> |
| | | <!-- @current-change="handlePage"--> |
| | | <!-- :page-size=pageSize--> |
| | | <!-- layout="prev, pager, next"--> |
| | | <!-- :total=total--> |
| | | <!-- :current-page=current--> |
| | | <!-- class="warnPagination"--> |
| | | <!-- >--> |
| | | <!-- </el-pagination>--> |
| | | <!-- </el-card>--> |
| | | <!-- </el-scrollbar>--> |
| | | </div> |
| | | </div> |
| | | </template> |
| | | |
| | | <script> |
| | | |
| | | import mapApi from '@/api/mapApi' |
| | | |
| | | export default { |
| | | name: 'SolidWasteSearch', |
| | | props: ['title'], |
| | | data () { |
| | | return { |
| | | judgeVisible: true, |
| | | solidWasteTypeOptions: [{ |
| | | value: '1', |
| | | label: '区域', |
| | | options: [{ |
| | | value: '1', |
| | | layerName: '固废', |
| | | key: 'pipename', |
| | | label: '全部固废' |
| | | }], |
| | | labelList: [{ |
| | | label: '输送介质', |
| | | key: 'mediumtype' |
| | | }, { |
| | | label: '长度(m)', |
| | | key: 'length' |
| | | }] |
| | | }, { |
| | | value: '2', |
| | | label: '企业名称', |
| | | options: [{ |
| | | value: '1', |
| | | layerName: '固废', |
| | | key: 'pipename', |
| | | label: '全部固废' |
| | | }], |
| | | labelList: [{ |
| | | label: '输送介质', |
| | | key: 'mediumtype' |
| | | }, { |
| | | label: '长度(m)', |
| | | key: 'length' |
| | | }] |
| | | }, { |
| | | value: '3', |
| | | label: '二级单位', |
| | | options: [{ |
| | | value: '1', |
| | | layerName: '固废', |
| | | key: 'pipename', |
| | | label: '全部固废' |
| | | }], |
| | | labelList: [{ |
| | | label: '输送介质', |
| | | key: 'mediumtype' |
| | | }, { |
| | | label: '长度(m)', |
| | | key: 'length' |
| | | }] |
| | | }, { |
| | | value: '4', |
| | | label: '企业名称', |
| | | options: [{ |
| | | value: '1', |
| | | layerName: '固废', |
| | | key: 'pipename', |
| | | label: '全部固废' |
| | | }], |
| | | labelList: [{ |
| | | label: '输送介质', |
| | | key: 'mediumtype' |
| | | }, { |
| | | label: '长度(m)', |
| | | key: 'length' |
| | | }] |
| | | }], |
| | | radio: '1', |
| | | form: { |
| | | keyword: '输入关键字' |
| | | }, |
| | | searchDataDisplay: [], |
| | | total: 0 |
| | | } |
| | | }, |
| | | 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 |
| | | }, |
| | | // 点击搜索实现数据的搜索展示 |
| | | async handleSearch () { |
| | | // console.log(this.form.keyword) |
| | | const result = await mapApi.getWasteGas() |
| | | console.log(result) |
| | | this.searchDataDisplay = result.Result.DataInfo |
| | | this.total = result.Result.DataInfo.length |
| | | }, |
| | | 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> |
| | | |
| | | .solidwaste-search { |
| | | position: relative; |
| | | overflow: hidden; |
| | | background-color: #365e60; |
| | | |
| | | .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; |
| | | margin-top: 13px; |
| | | } |
| | | } |
| | | |
| | | /deep/ input:focus { |
| | | border-color: @color; |
| | | } |
| | | } |
| | | |
| | | .search-btn { |
| | | |
| | | } |
| | | |
| | | /deep/.search-radio { |
| | | margin: 6px 0; |
| | | display: flex; |
| | | flex-wrap: wrap; |
| | | //justify-content: flex-end; |
| | | //align-content: space-between; |
| | | .el-radio { |
| | | color: #ffffff!important; |
| | | line-height: 2; |
| | | .el-radio__label{ |
| | | padding-left: 0px; |
| | | } |
| | | } |
| | | } |
| | | |
| | | .location-btn:hover, .el-input__icon:hover { |
| | | color: @color; |
| | | cursor: pointer; |
| | | } |
| | | |
| | | .box-card { |
| | | margin: 15px auto; |
| | | } |
| | | } |
| | | </style> |
| | |
| | | <template> |
| | | <div class="sewers-search" v-if="judgeVisible"> |
| | | <div class="solidwaste-search" v-if="judgeVisible"> |
| | | <div class="search-title"> |
| | | <span>固废</span> |
| | | <!-- <span>{{ title }}</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-form-item v-for="(item,index) in solidWasteTypeOptions" :key="index" :label="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" |
| | | 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="在此输入关键字搜索"> |
| | | <div class="search-radio"> |
| | | <el-radio v-model="radio" label="1">全部</el-radio> |
| | | <el-radio v-model="radio" label="2">正常</el-radio> |
| | | <el-radio v-model="radio" label="3">预警</el-radio> |
| | | </div> |
| | | <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> |
| | | <el-card class="box-card" |
| | | v-for="(item,index) in searchDataDisplay.slice((currentPage-1)*PageSize,currentPage*PageSize)" |
| | | :key="index"> |
| | | <div v-if="totalCount > 0"> |
| | | {{ item.CompanyName }} |
| | | </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> |
| | | </el-card> |
| | | <div class="search-pagination"> |
| | | <el-pagination |
| | | small |
| | | @size-change="handleSizeChange" |
| | | @current-change="handleCurrentChange" |
| | | :current-page="currentPage" |
| | | :page-sizes="[1, 2, 3]" |
| | | :page-size="1" |
| | | layout="total, sizes, prev, pager, next, jumper" |
| | | :total='totalCount'> |
| | | </el-pagination> |
| | | </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> |
| | | <!-- <el-scrollbar style="height:100%">--> |
| | | <!-- </el-scrollbar>--> |
| | | </div> |
| | | </template> |
| | | |
| | | <script> |
| | | // 引入可选择数据 |
| | | import { SolidWasteTypeOptions } from '@/conf/layers/LayerSolidWaste' |
| | | |
| | | import WfsHelper from '@components/helpers/WfsHelper' |
| | | import AjaxUtils from '@utils/AjaxUtils' |
| | | import mapApi from '@/api/mapApi' |
| | | |
| | | export default { |
| | | name: 'SolidWasteSearch', |
| | | props: ['title'], |
| | | data () { |
| | | return { |
| | | judgeVisible: true, |
| | | list: [], |
| | | labelList: SolidWasteTypeOptions[0].labelList, |
| | | total: 0, |
| | | SolidWasteTypeOptions: SolidWasteTypeOptions, |
| | | dataTypeOptions: SolidWasteTypeOptions[0].options, |
| | | solidWasteTypeOptions: [{ |
| | | value: '1', |
| | | label: '区域', |
| | | options: [{ |
| | | value: '1', |
| | | layerName: '固废', |
| | | key: 'pipename', |
| | | label: '全部固废' |
| | | }], |
| | | labelList: [{ |
| | | label: '输送介质', |
| | | key: 'mediumtype' |
| | | }, { |
| | | label: '长度(m)', |
| | | key: 'length' |
| | | }] |
| | | }, { |
| | | value: '2', |
| | | label: '企业名称', |
| | | options: [{ |
| | | value: '1', |
| | | layerName: '固废', |
| | | key: 'pipename', |
| | | label: '全部固废' |
| | | }], |
| | | labelList: [{ |
| | | label: '输送介质', |
| | | key: 'mediumtype' |
| | | }, { |
| | | label: '长度(m)', |
| | | key: 'length' |
| | | }] |
| | | }, { |
| | | value: '3', |
| | | label: '二级单位', |
| | | options: [{ |
| | | value: '1', |
| | | layerName: '固废', |
| | | key: 'pipename', |
| | | label: '全部固废' |
| | | }], |
| | | labelList: [{ |
| | | label: '输送介质', |
| | | key: 'mediumtype' |
| | | }, { |
| | | label: '长度(m)', |
| | | key: 'length' |
| | | }] |
| | | }, { |
| | | value: '4', |
| | | label: '企业名称', |
| | | options: [{ |
| | | value: '1', |
| | | layerName: '固废', |
| | | key: 'pipename', |
| | | label: '全部固废' |
| | | }], |
| | | labelList: [{ |
| | | label: '输送介质', |
| | | key: 'mediumtype' |
| | | }, { |
| | | label: '长度(m)', |
| | | key: 'length' |
| | | }] |
| | | }], |
| | | radio: '1', |
| | | form: { |
| | | pipelineType: SolidWasteTypeOptions[0].label, |
| | | dataType: SolidWasteTypeOptions[0].options[0].label, |
| | | query: SolidWasteTypeOptions[0].options[0], |
| | | keyword: '固废面板数据查询' |
| | | keyword: '固废面板数据查询', |
| | | // 数据的传递 |
| | | transferData: '' |
| | | }, |
| | | isWaybillHover: true, |
| | | isRouteHover: false |
| | | searchDataDisplay: [], |
| | | // 默认显示第几页 |
| | | currentPage: 1, |
| | | // 总条数,根据接口获取数据长度(注意:这里不能为空) |
| | | totalCount: 1, |
| | | // 个数选择器(可修改) |
| | | pageSizes: [1, 2, 3, 4], |
| | | // 默认每页显示的条数(可修改) |
| | | PageSize: 1 |
| | | } |
| | | }, |
| | | props: ['title'], |
| | | methods: { |
| | | // 每页显示的条数 |
| | | handleSizeChange (val) { |
| | | this.PageSize = val |
| | | this.currentPage = 1 |
| | | }, |
| | | // 显示第几页 |
| | | handleCurrentChange (val) { |
| | | this.currentPage = val |
| | | }, |
| | | 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 |
| | | // console.log(val) |
| | | this.solidWasteTypeOptions.forEach(item => { |
| | | // console.log(item.value) |
| | | if (val === item.value) { |
| | | // console.log('数据选择相同') |
| | | // 接收数据 用于之后接口数据的调用 |
| | | // this.form.transferData = item.value |
| | | this.handleSearch(item.value) |
| | | } |
| | | }) |
| | | }, |
| | | 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) |
| | | // 点击搜索实现数据的搜索展示 |
| | | async handleSearch (data) { |
| | | // console.log(this.form.keyword) |
| | | const result = await mapApi.getSolidWasteSurveyDetail(data) |
| | | // console.log(result) |
| | | this.searchDataDisplay = result.Result.DataInfo |
| | | this.totalCount = result.Result.DataInfo.length |
| | | } |
| | | } |
| | | } |
| | |
| | | |
| | | <style lang="less" scoped> |
| | | |
| | | .sewers-search { |
| | | .solidwaste-search { |
| | | position: relative; |
| | | overflow: hidden; |
| | | |
| | |
| | | |
| | | } |
| | | |
| | | //location-btn{ |
| | | // |
| | | //} |
| | | .search-radio { |
| | | margin: 15px auto; |
| | | display: flex; |
| | | align-items: center; |
| | | justify-content: space-around; |
| | | } |
| | | |
| | | .location-btn:hover, .el-input__icon:hover { |
| | | color: @color; |
| | | cursor: pointer; |
| | | } |
| | | |
| | | .box-card { |
| | | margin: 15px auto; |
| | | } |
| | | |
| | | .search-pagination { |
| | | padding: 0; |
| | | margin: 15px auto; |
| | | } |
| | | } |
| | | </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' |
| | | }] |
| | | }] |