| | |
| | | @color:#00fff6; |
| | | @color-highlight:#fff700; |
| | | @background-color:rgba(0,16,30,.8); |
| | | @background-color-light:rgba(40,50,100,.4); |
| | |
| | | background-color: @background-color; |
| | | border-color: @color; |
| | | } |
| | | |
| | | .select-down { |
| | | border: none !important; |
| | | background-color: @background-color !important; |
| | | |
| | | //.el-scrollbar{ |
| | | // |
| | | // background-color: @background-color !important; |
| | | // } |
| | | // .el-scrollbar__view .el-select-dropdown__list{ |
| | | // background-color: @background-color !important; |
| | | // } |
| | | .el-select-dropdown__item.hover{ |
| | | background-color: @background-color-light; |
| | | } |
| | | .el-select-dropdown__item { |
| | | color: @color; |
| | | //background-color: @background-color; |
| | | } |
| | | // .el-select-dropdown{ |
| | | // border: none !important; |
| | | // background-color: @background-color !important; |
| | | // } |
| | | // .el-select-dropdown__empty{ |
| | | // color: @color; |
| | | // background-color: @background-color; |
| | | // } |
| | | .popper__arrow::after{ |
| | | border-bottom-color: @color !important; |
| | | } |
| | | } |
| | |
| | | style="" |
| | | @click="toggle()"> |
| | | <div id="menu-special-context" class="menu-special-context"> |
| | | <el-checkbox-button v-show="isShow" class="menu-special-item" v-model="specialAll.check" :checked="specialAll.checked" @change="checkedSpecialChangeAll(specialAll)"> |
| | | <div style="height: 1rem;width: 1rem;display: inline-flex;"> <img :src="specialAll.icon" ></div> |
| | | {{ specialAll.name }}</el-checkbox-button> |
| | | <el-checkbox-button v-show="isShow" class="menu-special-item" v-model="topicSelectAll.check" :checked="topicSelectAll.checked" @change="checkedSpecialChangeAll(topicSelectAll)"> |
| | | <div style="height: 1rem;width: 1rem;display: inline-flex;"> <img :src="topicSelectAll.icon" ></div> |
| | | {{ topicSelectAll.name }}</el-checkbox-button> |
| | | |
| | | <el-checkbox-group :indeterminate="isIndeterminate" v-show="isShow" v-model="checkedList" size="medium" @change="checkedGroupSpecialChange"> |
| | | <el-checkbox-button class="menu-special-item" v-for="item in specialList" :label="item.name" :key="item.id" :checked="item.checked" @change="checkedSpecialChange(item)"> |
| | | <el-checkbox-group :indeterminate="isIndeterminate" v-show="isShow" v-model="topicCheckedList" size="medium" @change="checkedGroupSpecialChange"> |
| | | <el-checkbox-button class="menu-special-item" v-for="item in topicList" :label="item.name" :key="item.id" :checked="item.checked" @change="checkedSpecialChange(item)"> |
| | | <div style="height: 1rem;width: 1rem;display: inline-flex;"> <img :src="item.icon" ></div> |
| | | {{item.name}}</el-checkbox-button> |
| | | </el-checkbox-group> |
| | |
| | | </template> |
| | | |
| | | <script> |
| | | |
| | | import { TopicSelectAll, TopicList } from '../../conf/Topic' |
| | | export default { |
| | | name: 'MenuTopic', |
| | | data () { |
| | | return { |
| | | isShow: false, |
| | | isIndeterminate: true, |
| | | checkedList: [], |
| | | specialAll: { |
| | | name: '全选', |
| | | check: false, |
| | | icon: '/assets/images/menu/special.png' |
| | | }, |
| | | specialList: [{ |
| | | name: '污染源', |
| | | id: 1, |
| | | check: false, |
| | | icon: '/assets/images/menu/special.png' |
| | | }, { |
| | | name: '废水监测', |
| | | id: 2, |
| | | checked: false, |
| | | icon: '/assets/images/menu/special.png' |
| | | }, { |
| | | name: '废气监测', |
| | | id: 3, |
| | | checked: false, |
| | | icon: '/assets/images/menu/special.png' |
| | | }, { |
| | | name: '固废管理', |
| | | id: 4, |
| | | checked: false, |
| | | icon: '/assets/images/menu/special.png' |
| | | }, { |
| | | name: '环境风险', |
| | | id: 5, |
| | | checked: false, |
| | | icon: '/assets/images/menu/special.png' |
| | | }, { |
| | | name: '土壤及地下水', |
| | | id: 6, |
| | | checked: false, |
| | | icon: '/assets/images/menu/special.png' |
| | | }, { |
| | | name: '污雨水管网', |
| | | id: 7, |
| | | checked: false, |
| | | icon: '/assets/images/menu/special.png' |
| | | }, { |
| | | name: '预警报警', |
| | | id: 8, |
| | | checked: false, |
| | | icon: '/assets/images/menu/special.png' |
| | | }, { |
| | | name: '指标统计', |
| | | id: 9, |
| | | checked: false, |
| | | icon: '/assets/images/menu/special.png' |
| | | }, { |
| | | name: '应急地图', |
| | | id: 10, |
| | | checked: false, |
| | | icon: '/assets/images/menu/special.png' |
| | | }] |
| | | topicCheckedList: [], |
| | | topicSelectAll: TopicSelectAll, |
| | | topicList: TopicList |
| | | } |
| | | }, |
| | | computed: { |
| | |
| | | methods: { |
| | | toggle () { |
| | | this.isShow = !this.isShow |
| | | // console.log('toggle') |
| | | // const el = document.getElementById('menu-special-context') |
| | | // console.log(el.clientWidth + ':' + el.offsetHeight) |
| | | // if (el.clientWidth > 0) { |
| | | // el.style.width = '0' |
| | | // } else { |
| | | // el.style.width = 'auto' |
| | | // } |
| | | }, |
| | | checkedGroupSpecialChange (val) { |
| | | const len = val.length |
| | | this.specialAll.check = len === this.specialList.length |
| | | this.isIndeterminate = len > 0 && len < this.specialList.length |
| | | this.topicSelectAll.check = len === this.topicList.length |
| | | this.isIndeterminate = len > 0 && len < this.topicList.length |
| | | this.$store.commit('setTopic', this.topicCheckedList) |
| | | }, |
| | | checkedSpecialChangeAll (val) { |
| | | // this.checkedCities = val ? this.cities.map(item => item.id) : [] |
| | | // this.isIndeterminate = false |
| | | // let list = [] |
| | | // if (val === true) { |
| | | // list = this.specialList.map(item => item.name) |
| | | // } |
| | | |
| | | this.checkedList = val.check ? this.specialList.map(item => item.name) : [] |
| | | this.topicCheckedList = val.check ? this.topicList.map(item => item.name) : [] |
| | | this.isIndeterminate = false |
| | | this.$store.commit('setTopic', this.topicCheckedList) |
| | | }, |
| | | checkedSpecialChange (item) { |
| | | console.log(item) |
| | | checkedSpecialChange () { |
| | | console.log(this.topicCheckedList) |
| | | // this.$store.commit('setTopic', this.topicCheckedList) |
| | | } |
| | | } |
| | | |
| | |
| | | <template> |
| | | <div id="right-panel"> |
| | | <div class="panel-tab"> |
| | | <div class="tab-gd" @click="handleGd" :class="{'B-TMT-tab-waybill-isActive': isWaybillHover}"></div> |
| | | <div class="tab-hb" @click="handleHb" :class="{'B-TMT-tab-route-isActive': isRouteHover}"></div> |
| | | <div class="tab-pk" @click="handlePk" :class="{'B-TMT-tab-route-isActive': isRouteHover}"></div> |
| | | <div v-for="item in topicMenu" :key="item.id" :title="item.name" class="tab-item" @click="handleGd" :class="{'B-TMT-tab-waybill-isActive': isWaybillHover}"> |
| | | <img :src="item.icon" style="width: 24px;height: 24px;"></div> |
| | | |
| | | <!-- <div class="tab-item" @click="handleHb" :class="{'B-TMT-tab-route-isActive': isRouteHover}"></div>--> |
| | | <!-- <div class="tab-item" @click="handlePk" :class="{'B-TMT-tab-route-isActive': isRouteHover}"></div>--> |
| | | </div> |
| | | <div class="panel-fold-btn"> |
| | | <div class="btn-stretch" @click="toggleMonitorPanel"></div> |
| | | </div> |
| | | |
| | | <div class="right-control"> |
| | | <div class="el-message-box__header panel_header"> |
| | | <div class="el-message-box__title panel_title"><!----><span>{{ title }}</span> |
| | | </div> |
| | | </div> |
| | | <div class="el-message-box__content" style="padding:6px;font-size: 13px;"> |
| | | <div class="monitor1" v-if="gdVisible"> |
| | | <div> |
| | | <el-card class="search-panel"> |
| | | <el-form ref="form" :model="form" label-width="90px" class="search-form"> |
| | | <el-form-item label="类型:"> |
| | | <el-select v-model="form.pipelineType" @change="handlePipelineType"> |
| | | <el-option |
| | | v-for="item in pipelineTypeOptions" |
| | | :key="item.value" |
| | | :label="item.label" |
| | | :value="item.value"> |
| | | </el-option> |
| | | </el-select> |
| | | </el-form-item> |
| | | <el-form-item label="数据类型:"> |
| | | <el-select v-model="form.dataType"> |
| | | <el-option |
| | | v-for="item in dataTypeOptions" |
| | | :key="item.value" |
| | | :label="item.label" |
| | | :value="item.value"> |
| | | </el-option> |
| | | </el-select> |
| | | </el-form-item> |
| | | <el-form-item label="模糊搜索:"> |
| | | <el-input v-model="form.key" size="mini" |
| | | placeholder="在此输入关键字"></el-input> |
| | | </el-form-item> |
| | | <el-form-item> |
| | | <input type="button" class="btn-ok" @click="handleSearch" value="查询"> |
| | | <input type="button" class="btn-reset" @click="handleSearch" value="重置"> |
| | | </el-form-item> |
| | | </el-form> |
| | | </el-card> |
| | | <el-card class="search-result" style="height:271px;"> |
| | | <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>运单号:</span> |
| | | <span id="waybillNumber" class="B-TMD-table-list-title-y-num" |
| | | :title="item.transNo"> |
| | | <span class="B-TMD-table-list-title-y-alarm">{{ item.transNo }}</span> |
| | | </span> |
| | | </div> |
| | | <div class="B-TMD-table-list-title-c"> |
| | | 载具号: |
| | | <span id="plateNumber_p"> |
| | | <span id="plateNumber_n"><a href="#">{{ item.vehicleNo }}</a></span> |
| | | </span> |
| | | </div> |
| | | </div> |
| | | <div class="B-TMD-table-icons" style="float:right"> |
| | | <ul> |
| | | <li class="B-TMD-table-list-title-y-adress" |
| | | @click="handleLocation(item)"></li> |
| | | <li :class="[{'B-TMD-table-list-title-y-car': item.vehicleStatus ==='910002', 'B-TMD-table-list-title-y-car-offline': item.vehicleStatus ==='910001','B-TMD-table-list-title-y-car-warning': item.vehicleStatus==='910003' }]"></li> |
| | | </ul> |
| | | </div> |
| | | </div> |
| | | <div class="B-TMD-table-list-content"> |
| | | <div> |
| | | <span>发货企业:</span> |
| | | <span id="b_twe_consignment" :title="item.outWarehouseName">{{ |
| | | item.outWarehouseName == null ? "暂无" : item.outWarehouseName |
| | | }}</span> |
| | | </div> |
| | | <div> |
| | | <span>承 运 商:</span> |
| | | <span id="b_twe_loan" :title="item.carrierName">{{ item.carrierName }}</span> |
| | | </div> |
| | | <div><span>收货企业:</span> <span |
| | | id="b_twe_loan1" :title="item.recvWarehouseName">{{ item.recvWarehouseName }}</span> |
| | | </div> |
| | | </div> |
| | | <div class="B-TMD-table-list-bottom"> |
| | | <div class="B-TMD-table-list-bottom-name"> |
| | | 货物名称:<span :title="item.materialName">{{ item.materialName }}</span></div> |
| | | </div> |
| | | </div> |
| | | </el-card> |
| | | |
| | | <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> |
| | | </div> |
| | | <div class="monitor2" v-if="hbVisible"> |
| | | <env-protect-search></env-protect-search> |
| | | </div> |
| | | <div class="monitor2" v-if="pkVisible"> |
| | | <discharge-search></discharge-search> |
| | | </div> |
| | | </div> |
| | | <component :title="title" :is="gcComp"></component> |
| | | </div> |
| | | </div> |
| | | </template> |
| | | |
| | | <script> |
| | | import $ from 'jquery' |
| | | import EnvProtectSearch from './EnvProtectSearch' |
| | | import DischargeSearch from './DischargeSearch' |
| | | import EnvProtectSearch from './topicSearch/EnvProtectSearch' |
| | | import DischargeSearch from './topicSearch/DischargeSearch' |
| | | import { TopicList } from '../../conf/Topic' |
| | | |
| | | import SewersSearch from '@components/panel/topicSearch/SewersSearch' |
| | | export default { |
| | | name: 'MonitorPanel', |
| | | components: { EnvProtectSearch, DischargeSearch }, |
| | | data () { |
| | | return { |
| | | topicMenu: [], |
| | | topicList: TopicList, |
| | | topicCheckedList: [], |
| | | isPanelVisible: false, |
| | | gcComp: SewersSearch, |
| | | |
| | | gdVisible: true, |
| | | hbVisible: false, |
| | | pkVisible: false, |
| | | toggleMonitorStyle: 'right:0px', |
| | | list: [], |
| | | total: 0, |
| | | title: '管道信息查询', |
| | | pipelineTypeOptions: [{ |
| | | value: '1', |
| | | label: '管线本体' |
| | | }, { |
| | | value: '2', |
| | | label: '附属设施' |
| | | }], |
| | | dataTypeOptions: [], |
| | | attachOptions: [{ |
| | | value: '1', |
| | | label: '阀门' |
| | | }, { |
| | | value: '2', |
| | | label: '管廊' |
| | | }, { |
| | | value: '3', |
| | | label: '管架' |
| | | }, { |
| | | value: '4', |
| | | label: '三通' |
| | | }, { |
| | | value: '5', |
| | | label: '四通' |
| | | }, { |
| | | value: '6', |
| | | label: '弯头' |
| | | }], |
| | | pipelineOptions: [{ |
| | | value: '1', |
| | | label: '管线' |
| | | }, { |
| | | value: '2', |
| | | label: '雨水管段' |
| | | }, { |
| | | value: '3', |
| | | label: '含盐管段' |
| | | }, { |
| | | value: '4', |
| | | label: '含油管段' |
| | | }, { |
| | | value: '5', |
| | | label: '事故水管段' |
| | | }, { |
| | | value: '6', |
| | | label: '含碱管段' |
| | | }, { |
| | | value: '7', |
| | | label: '循环水管段' |
| | | }, { |
| | | value: '8', |
| | | label: '净化水管段' |
| | | }, { |
| | | value: '9', |
| | | label: '生活污水管段' |
| | | }], |
| | | form: { |
| | | transNo: null, |
| | | carrierName: null, |
| | | transMode: null, |
| | | vehicleNo: null, |
| | | orderState: null, |
| | | size: 10, |
| | | current: 1 |
| | | }, |
| | | pageSize: 10, |
| | | current: 1, |
| | | isWaybillHover: true, |
| | | isRouteHover: false |
| | | |
| | | title: '污雨水管网' |
| | | |
| | | } |
| | | }, |
| | | computed: {}, |
| | | watch: {}, |
| | | watch: { |
| | | '$store.state.map.topic.topicCheckedList': function (newVal, oldVal) { |
| | | console.log(oldVal) |
| | | console.log(newVal) |
| | | this.topicCheckedList = newVal |
| | | this.topicMenu = [] |
| | | this.topicList.forEach((item) => { |
| | | this.topicCheckedList.forEach((itm) => { |
| | | if (item.name === itm) { |
| | | // item.checked = tr |
| | | this.topicMenu.push(item) |
| | | } |
| | | }) |
| | | }) |
| | | } |
| | | }, |
| | | methods: { |
| | | handleClose (done) { |
| | | console.log(done) |
| | | }, |
| | | handleSearch () { |
| | | |
| | | }, |
| | | handlePipelineType (item) { |
| | | console.log(item) |
| | | if (item === '2') { |
| | | this.dataTypeOptions = this.attachOptions |
| | | } else if (item === '1') { |
| | | this.dataTypeOptions = this.pipelineOptions |
| | | } |
| | | }, |
| | | handlePage (page) { |
| | | }, |
| | | handleGd () { |
| | | this.gdVisible = true |
| | | this.hbVisible = false |
| | | this.pkVisible = false |
| | | this.title = '管道信息查询' |
| | | }, |
| | | handleHb () { |
| | | this.gdVisible = false |
| | | this.hbVisible = true |
| | | this.pkVisible = false |
| | | this.title = '环保设施查询' |
| | | }, |
| | | handlePk () { |
| | | this.gdVisible = false |
| | | this.hbVisible = false |
| | | this.pkVisible = true |
| | | this.title = '排口信息查询' |
| | | }, |
| | | toggleMonitorPanel () { |
| | | const el = $('.btn-stretch') |
| | |
| | | </script> |
| | | |
| | | <style lang="less"> |
| | | @import '@assets/css/map/_map-variable'; |
| | | #right-panel { |
| | | width: 322px; |
| | | //height: 573px; |
| | |
| | | } |
| | | } |
| | | |
| | | .tab-gd { |
| | | .tab-item { |
| | | width: 32px; |
| | | height: 30px; |
| | | color: @color; |
| | | font-size: 12px; |
| | | background-color: #0B3B6D; |
| | | } |
| | | |
| | | .tab-hb { |
| | | width: 32px; |
| | | height: 30px; |
| | | background-color: #545454; |
| | | .tab-item:hover{ |
| | | cursor: pointer; |
| | | } |
| | | |
| | | .tab-pk { |
| | | width: 32px; |
| | | height: 30px; |
| | | background-color: #83a6c4; |
| | | } |
| | | |
| | | .panel-tab { |
| | | position: absolute; |
| | | left: 0; |
| | | height: 120px; |
| | | //height: 120px; |
| | | top: 0; |
| | | width: 32px; |
| | | z-index: 500; |
New file |
| | |
| | | <template> |
| | | <div id="sewers-search"> |
| | | <div class="el-message-box__header panel_header"> |
| | | <div class="el-message-box__title panel_title"><!----><span>{{ title }}</span> |
| | | </div> |
| | | </div> |
| | | <div class="el-message-box__content" style="padding:6px;font-size: 13px;"> |
| | | <div class="box__content" v-if="gdVisible"> |
| | | <div> |
| | | <el-card class="search-panel"> |
| | | <el-form ref="form" :model="form" label-width="90px" class="search-form"> |
| | | <el-form-item label="设施类型:" size="mini"> |
| | | <el-select v-model="form.pipelineType" @change="handlePipelineType" popper-class="select-down"> |
| | | <el-option |
| | | v-for="item in pipelineTypeOptions" |
| | | :key="item.value" |
| | | :label="item.label" |
| | | :value="item.value"> |
| | | </el-option> |
| | | </el-select> |
| | | </el-form-item> |
| | | <el-form-item label="数据类型:"> |
| | | <el-select v-model="form.dataType" size="mini" 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-form-item >--> |
| | | <el-input v-model="form.key" size="mini" |
| | | placeholder="在此输入关键字搜索"> |
| | | <!-- <el-button slot="append" icon="el-icon-search" size="mini"></el-button>--> |
| | | <span><i class="el-icon-edit"></i></span> |
| | | </el-input> |
| | | <!-- </el-form-item>--> |
| | | <!-- <el-form-item>--> |
| | | <!-- <input type="button" class="btn-ok" @click="handleSearch" value="查询">--> |
| | | <!-- <input type="button" class="btn-reset" @click="handleSearch" value="重置">--> |
| | | <!-- </el-form-item>--> |
| | | </el-form> |
| | | </el-card> |
| | | <el-card class="search-result" style="height:271px;"> |
| | | <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>运单号:</span> |
| | | <span id="waybillNumber" class="B-TMD-table-list-title-y-num" |
| | | :title="item.transNo"> |
| | | <span class="B-TMD-table-list-title-y-alarm">{{ item.transNo }}</span> |
| | | </span> |
| | | </div> |
| | | <div class="B-TMD-table-list-title-c"> |
| | | 载具号: |
| | | <span id="plateNumber_p"> |
| | | <span id="plateNumber_n"><a href="#">{{ item.vehicleNo }}</a></span> |
| | | </span> |
| | | </div> |
| | | </div> |
| | | <div class="B-TMD-table-icons" style="float:right"> |
| | | <ul> |
| | | <li class="B-TMD-table-list-title-y-adress" |
| | | @click="handleLocation(item)"></li> |
| | | <li :class="[{'B-TMD-table-list-title-y-car': item.vehicleStatus ==='910002', 'B-TMD-table-list-title-y-car-offline': item.vehicleStatus ==='910001','B-TMD-table-list-title-y-car-warning': item.vehicleStatus==='910003' }]"></li> |
| | | </ul> |
| | | </div> |
| | | </div> |
| | | <div class="B-TMD-table-list-content"> |
| | | <div> |
| | | <span>发货企业:</span> |
| | | <span id="b_twe_consignment" :title="item.outWarehouseName">{{ |
| | | item.outWarehouseName == null ? "暂无" : item.outWarehouseName |
| | | }}</span> |
| | | </div> |
| | | <div> |
| | | <span>承 运 商:</span> |
| | | <span id="b_twe_loan" :title="item.carrierName">{{ item.carrierName }}</span> |
| | | </div> |
| | | <div><span>收货企业:</span> <span |
| | | id="b_twe_loan1" :title="item.recvWarehouseName">{{ item.recvWarehouseName }}</span> |
| | | </div> |
| | | </div> |
| | | <div class="B-TMD-table-list-bottom"> |
| | | <div class="B-TMD-table-list-bottom-name"> |
| | | 货物名称:<span :title="item.materialName">{{ item.materialName }}</span></div> |
| | | </div> |
| | | </div> |
| | | </el-card> |
| | | |
| | | <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> |
| | | </div> |
| | | <!-- <div class="monitor2" v-if="hbVisible">--> |
| | | <!-- <env-protect-search></env-protect-search>--> |
| | | <!-- </div>--> |
| | | <!-- <div class="monitor2" v-if="pkVisible">--> |
| | | <!-- <discharge-search></discharge-search>--> |
| | | <!-- </div>--> |
| | | </div> |
| | | </div> |
| | | |
| | | </template> |
| | | |
| | | <script> |
| | | import { PipelineTypeOptions, OutletOptions, AttachOptions, PipelineOptions, EnvironmentOptions, SurroundingsOptions } from '@/conf/LayerSewers' |
| | | |
| | | export default { |
| | | name: 'SewersSearch', |
| | | data () { |
| | | return { |
| | | gdVisible: true, |
| | | list: [], |
| | | total: 0, |
| | | pipelineTypeOptions: PipelineTypeOptions, |
| | | outletOptions: OutletOptions, |
| | | dataTypeOptions: [], |
| | | |
| | | attachOptions: AttachOptions, |
| | | pipelineOptions: PipelineOptions, |
| | | environmentOptions: EnvironmentOptions, |
| | | surroundingsOptions: SurroundingsOptions, |
| | | form: { |
| | | transNo: null, |
| | | carrierName: null, |
| | | transMode: null, |
| | | vehicleNo: null, |
| | | orderState: null, |
| | | size: 10, |
| | | current: 1 |
| | | }, |
| | | pageSize: 10, |
| | | current: 1, |
| | | isWaybillHover: true, |
| | | isRouteHover: false |
| | | } |
| | | }, |
| | | props: ['title'], |
| | | methods: { |
| | | handlePipelineType (item) { |
| | | console.log(item) |
| | | if (item === '2') { |
| | | this.dataTypeOptions = this.outletOptions |
| | | } else if (item === '1') { |
| | | this.dataTypeOptions = this.pipelineOptions |
| | | } else if (item === '3') { |
| | | this.dataTypeOptions = this.attachOptions |
| | | } else if (item === '4') { |
| | | this.dataTypeOptions = this.environmentOptions |
| | | } else if (item === '5') { |
| | | this.dataTypeOptions = this.surroundingsOptions |
| | | } |
| | | }, |
| | | handleSearch () { |
| | | |
| | | } |
| | | } |
| | | } |
| | | </script> |
| | | |
| | | <style lang="less"> |
| | | @import '@assets/css/map/map-elem-ui'; |
| | | |
| | | </style> |
| | |
| | | ] |
| | | } |
| | | ] |
| | | |
| | | export const PipelineTypeOptions = [{ |
| | | value: '1', |
| | | label: '管线本体' |
| | | }, { |
| | | value: '2', |
| | | label: '排口信息' |
| | | }, { |
| | | value: '3', |
| | | label: '附属设施' |
| | | }, { |
| | | value: '4', |
| | | label: '环保设施' |
| | | }, { |
| | | value: '5', |
| | | label: '周边环境' |
| | | }] |
| | | |
| | | export const OutletOptions = [{ |
| | | value: '1', |
| | | label: '全部排口' |
| | | }, { |
| | | value: '2', |
| | | label: '内排口' |
| | | }, { |
| | | value: '3', |
| | | label: '外排口' |
| | | }] |
| | | |
| | | export const AttachOptions = [ |
| | | { |
| | | value: '1', |
| | | label: '全部设施' |
| | | }, { |
| | | value: '2', |
| | | label: '阀门' |
| | | }, { |
| | | value: '3', |
| | | label: '管廊' |
| | | }, { |
| | | value: '4', |
| | | label: '管架' |
| | | }, { |
| | | value: '5', |
| | | label: '三通' |
| | | }, { |
| | | value: '6', |
| | | label: '四通' |
| | | }, { |
| | | value: '7', |
| | | label: '弯头' |
| | | }] |
| | | |
| | | export const PipelineOptions = [{ |
| | | value: '1', |
| | | label: '全部管线' |
| | | }, { |
| | | value: '2', |
| | | label: '生活污水管线' |
| | | }, { |
| | | value: '3', |
| | | label: '含盐管线' |
| | | }, { |
| | | value: '4', |
| | | label: '雨水管线' |
| | | }, { |
| | | value: '5', |
| | | label: '含油管线' |
| | | }, { |
| | | value: '6', |
| | | label: '事故水管线' |
| | | }, { |
| | | value: '7', |
| | | label: '含碱管线' |
| | | }, { |
| | | value: '8', |
| | | label: '循环水管线' |
| | | }, { |
| | | value: '9', |
| | | label: '净化水管线' |
| | | }] |
| | | |
| | | export const EnvironmentOptions = [ |
| | | { |
| | | value: '1', |
| | | label: '全部设施' |
| | | }, { |
| | | value: '2', |
| | | label: '雨篦子' |
| | | }, { |
| | | value: '3', |
| | | label: '防火堤' |
| | | }, { |
| | | value: '4', |
| | | label: '集水池' |
| | | }, { |
| | | value: '5', |
| | | label: '收集罐' |
| | | }, { |
| | | value: '6', |
| | | label: '截流闸' |
| | | }, { |
| | | value: '7', |
| | | label: '溢流堰' |
| | | }, { |
| | | value: '8', |
| | | label: '隔油池' |
| | | }, { |
| | | value: '9', |
| | | label: '泵' |
| | | }] |
| | | |
| | | export const SurroundingsOptions = [ |
| | | { |
| | | value: '1', |
| | | label: '全部周边环境' |
| | | }, { |
| | | value: '2', |
| | | label: '医院' |
| | | }, { |
| | | value: '3', |
| | | label: '景区' |
| | | }, { |
| | | value: '4', |
| | | label: '自然保护区' |
| | | }, { |
| | | value: '5', |
| | | label: '消防' |
| | | }, { |
| | | value: '6', |
| | | label: '水体' |
| | | } |
| | | ] |
New file |
| | |
| | | export const TopicSelectAll = { |
| | | name: '全选', |
| | | check: false, |
| | | icon: '/assets/images/menu/special.png' |
| | | } |
| | | |
| | | export const TopicList = [{ |
| | | name: '污染源', |
| | | id: 1, |
| | | check: false, |
| | | icon: '/assets/images/menu/special.png' |
| | | }, { |
| | | name: '废水监测', |
| | | id: 2, |
| | | checked: false, |
| | | icon: '/assets/images/menu/special.png' |
| | | }, { |
| | | name: '废气监测', |
| | | id: 3, |
| | | checked: false, |
| | | icon: '/assets/images/menu/special.png' |
| | | }, { |
| | | name: '固废管理', |
| | | id: 4, |
| | | checked: false, |
| | | icon: '/assets/images/menu/special.png' |
| | | }, { |
| | | name: '环境风险', |
| | | id: 5, |
| | | checked: false, |
| | | icon: '/assets/images/menu/special.png' |
| | | }, { |
| | | name: '土壤及地下水', |
| | | id: 6, |
| | | checked: false, |
| | | icon: '/assets/images/menu/special.png' |
| | | }, { |
| | | name: '污雨水管网', |
| | | id: 7, |
| | | checked: false, |
| | | icon: '/assets/images/menu/special.png' |
| | | }, { |
| | | name: '预警报警', |
| | | id: 8, |
| | | checked: false, |
| | | icon: '/assets/images/menu/special.png' |
| | | }, { |
| | | name: '指标统计', |
| | | id: 9, |
| | | checked: false, |
| | | icon: '/assets/images/menu/special.png' |
| | | }, { |
| | | name: '应急地图', |
| | | id: 10, |
| | | checked: false, |
| | | icon: '/assets/images/menu/special.png' |
| | | }] |
| | |
| | | datas: { |
| | | sewers: [] |
| | | }, |
| | | topic: { |
| | | currentTopic: '', |
| | | topicCheckedList: [] |
| | | }, |
| | | config: config, |
| | | serviceLayers: config.mapConfig.Layers |
| | | } |
| | |
| | | }, |
| | | toggleServiceLayerFilter (state) { |
| | | state.showServiceLayerFilter = !state.showServiceLayerFilter |
| | | }, |
| | | setTopic (state, obj) { |
| | | state.topic.topicCheckedList = obj |
| | | } |
| | | } |
| | | const actions = {} |