Merge branch 'develop' of http://xearth.cn:6600/r/wuyushui/SewerAndRainNetwork into develop
| | |
| | | }, |
| | | "dependencies": { |
| | | "@jiaminghi/data-view": "^2.10.0", |
| | | "axios": "^0.18.0", |
| | | "axios": "^0.21.1", |
| | | "babel-polyfill": "^6.26.0", |
| | | "core-js": "^3.6.5", |
| | | "dayjs": "^1.10.4", |
| | |
| | | @import "_map-variable"; |
| | | |
| | | .leaflet-container, |
| | | html,body{ |
| | | // font-family: 'Microsoft YaHei'; |
| | | font: 12px/1.5 "Microsoft YaHei", Arial, Helvetica, sans-serif; |
| | | } |
| | | |
| | | /*全局设置***********/ |
| | | h1, h2, h3, h4, h5, h6, ul, li, p { |
| | | padding: 0; |
| | |
| | | list-style: none; |
| | | } |
| | | |
| | | i{font-style: normal} |
| | | i { |
| | | font-style: normal |
| | | } |
| | | |
| | | .el-button--primary { |
| | | color: @color; |
| | |
| | | |
| | | thead.is-group th { |
| | | background: transparent; |
| | | padding:0 |
| | | } |
| | | |
| | | .el-table__expanded-cell { |
| | |
| | | .el-scrollbar__wrap{ |
| | | |
| | | } |
| | | |
| | | .el-scrollbar__wrap::-webkit-scrollbar { |
| | | /*滚动条整体样式*/ |
| | | width : 5px; /*高宽分别对应横竖滚动条的尺寸*/ |
| | | height: 1px; |
| | | } |
| | | |
| | | .el-scrollbar__wrap::-webkit-scrollbar-thumb { |
| | | /*滚动条里面小方块*/ |
| | | border-radius : 10px; |
| | | background: none; |
| | | } |
| | | |
| | | .el-scrollbar__wrap::-webkit-scrollbar-track { |
| | | /*滚动条里面轨道*/ |
| | | box-shadow : inset 0 0 5px rgba(0, 0, 0, 0.2); |
| | | background : none; |
| | | border-radius: 10px; |
| | | } |
| | | |
| | | #el-scrollbar__wrap::-webkit-scrollbar-button { /*滚动条两端的按钮,可以用display:none让其不显示,也可以添加背景图片,颜色改变显示效果(位置2)*/ |
| | | background: #74D334; |
| | | } |
| | | |
| | | /*******************操作按钮点击选中整体样式******************************/ |
| | | .el-button{ |
| | | |
| | | } |
| | | |
| | | .hover-bottom:hover, |
| | | .active-button{ |
| | | border: 0.00521rem solid #fff700 !important; |
| | |
| | | display: flex; |
| | | justify-content: center; |
| | | justify-items: center; |
| | | img{display: block;width: 30px;height: 30px;margin-left: -15px;margin-top: -15px} |
| | | |
| | | img { |
| | | display: block; |
| | | width: 30px; |
| | | height: 30px; |
| | | margin-left: -15px; |
| | | margin-top: -15px |
| | | } |
| | | |
| | | ul{ |
| | | width: 120px; |
| | | margin-left: -60px; |
| | |
| | | position: absolute; |
| | | top:20px; |
| | | left:0; |
| | | |
| | | li{ |
| | | position: absolute; |
| | | top:0; |
| | |
| | | } |
| | | } |
| | | } |
| | | |
| | | /*.company-bindTooltip { |
| | | //background: @background-color-split; |
| | | background: none; |
| | |
| | | /*************** PublicTable 表格样式。*********************************/ |
| | | |
| | | .el-table{ |
| | | border-bottom: 1px solid #fff; |
| | | border: 1px solid #396d83 !important; |
| | | |
| | | .el-table__body-wrapper::-webkit-scrollbar { |
| | | width: 0; |
| | | height: 0; |
| | | background: none; |
| | | } |
| | | |
| | | .cell{ |
| | | padding: 0 3px !important; |
| | | |
| | | i{ |
| | | display: block; |
| | | font-style: normal; |
| | |
| | | } |
| | | } |
| | | } |
| | | |
| | | .el-table--border th{ |
| | | border-right: none; |
| | | border-left: 1px solid #ddd; |
| | | } |
| | | .el-table--border th.gutter{border-left: none} |
| | | |
| | | .el-table--border th.gutter { |
| | | border-left: none |
| | | } |
| | | |
| | | .el-table .cell, .el-table--border td:first-child .cell, .el-table--border th:first-child .cell { |
| | | |
| | | text-align: center; |
| | | } |
| | | |
| | | .el-table th>.cell { |
| | | border: 1px #396d83 solid; |
| | | color: #00fff6; |
| | | } |
| | | |
| | | .el-table__row>td{ |
| | | border: none; |
| | | } |
| | | |
| | | .el-table::before {//去掉最下面的那一条线 |
| | | height: 0; |
| | | } |
| | | |
| | | .el-table td, .el-table th.is-leaf { |
| | | font-size: 0.08rem; |
| | | } |
| | |
| | | .el-table .success-row { |
| | | background: #30455f; |
| | | } |
| | | |
| | | .el-table tbody tr:hover>td { |
| | | background-color:#28304d !important; |
| | | } |
| | | |
| | | //修改表格高度 |
| | | .el-table td { |
| | | padding: 0!important; |
| | |
| | | /* transform-origin: top left;*/ |
| | | animation: bounce-in .2s; |
| | | } |
| | | |
| | | @keyframes bounce-in { |
| | | 0% { |
| | | transform: scale(0); |
| | |
| | | opacity: 1; |
| | | } |
| | | } |
| | | |
| | | /**map 页面图标按钮*/ |
| | | .iconBtn { |
| | | width:0.26rem; |
| | |
| | | justify-content: center; |
| | | justify-items: center; |
| | | border-radius: 0.03rem; |
| | | |
| | | .icon{ |
| | | width: 20px; |
| | | margin: 0 auto; |
| | |
| | | } |
| | | |
| | | } |
| | | |
| | | .panel-title{ |
| | | color: @color-title; |
| | | font-size: 18px; |
| | |
| | | background: @background-color; |
| | | border-color:@color; |
| | | color:@color; |
| | | |
| | | .el-picker-panel__body-wrapper{ |
| | | background: @background-color; |
| | | } |
| | | |
| | | .el-input__inner{ |
| | | background:@background-color; |
| | | border-color:@color; |
| | | } |
| | | |
| | | .el-date-table td.today span{ |
| | | color:@color-highlight; |
| | | } |
| | | |
| | | .el-picker-panel__footer{ |
| | | background: @background-color; |
| | | border-top-color:@color; |
| | | } |
| | | |
| | | .el-date-table th{ |
| | | border-bottom-color:@color; |
| | | } |
| | | |
| | | .el-button{ |
| | | background: @background-color; |
| | | color:@color; |
| | | border-color:@color; |
| | | } |
| | | |
| | | .el-button--text{ |
| | | padding: 7px 15px; |
| | | } |
| | | |
| | | .el-button:hover{ |
| | | background: @background-color; |
| | | color:@color-highlight; |
| | | border-color:@color-highlight; |
| | | } |
| | | |
| | | .el-input__inner{ |
| | | color:#fff; |
| | | text-align: center; |
| | | } |
| | | |
| | | .el-date-picker__time-header{ |
| | | border-bottom-color:@background-color-split; |
| | | } |
| | | .el-date-picker__header-label{color:#fff} |
| | | |
| | | .el-date-picker__header-label { |
| | | color: #fff |
| | | } |
| | | } |
| | | |
| | | .el-select-dropdown{ |
| | | background: @background-color; |
| | | border-color:@color; |
| | | color:@color; |
| | | |
| | | .el-select-dropdown__item{ |
| | | color:#fff; |
| | | } |
| | | |
| | | .el-select-dropdown__item.hover{ |
| | | background: @background-color; |
| | | box-shadow: 0 0 5px @color-highlight inset; |
| | | } |
| | | |
| | | .el-select-dropdown__item.selected{ |
| | | color:@color-highlight; |
| | | } |
| | | } |
| | | |
| | | /***********************************************右侧管线相关************/ |
| | | .el-tabs__header { |
| | | background: none; |
| | | } |
| | | |
| | | .el-tabs--top .el-tabs__item.is-top:nth-child(2) { |
| | | padding-left: 20px; |
| | | } |
| | | .el-tabs--border-card { |
| | | background: none; |
| | | border: none; |
| | | box-shadow: none; |
| | | } |
| | | .el-tabs--border-card>.el-tabs__header { |
| | | background: none; |
| | | border-bottom: none; |
| | | margin: 0; |
| | | } |
| | | .el-tabs--border-card>.el-tabs__header .el-tabs__item.is-active { |
| | | color: #409EFF; |
| | | background: none; |
| | | border: none; |
| | | } |
| | | .el-tabs--border-card>.el-tabs__header .el-tabs__item { |
| | | border: none; |
| | | } |
| | | .panel-right ::-webkit-scrollbar-thumb { |
| | | background: none; |
| | | border: none; |
| | | } |
| | | .el-card { |
| | | margin-top: 15px; |
| | | background: rgba(0, 16, 30, 0.5); |
| | | border: 0.00521rem solid @color; |
| | | box-shadow: 0 0 0.03rem @color; |
| | | } |
| | | .clearfix { |
| | | display: inline-block; |
| | | color: #ffffff; |
| | | margin: 15px 0; |
| | | } |
| | | .fixed-table { |
| | | background: rgba(0, 16, 30, 1); |
| | | } |
| | |
| | | methods: { |
| | | processingData () { |
| | | for (var i = 0; i < this.displayContentTab.length; i++) { |
| | | console.log(this.displayContentTab[i]) |
| | | // console.log(this.displayContentTab[i]) |
| | | this.tabData = this.displayContentTab[i] |
| | | } |
| | | } |
| | |
| | | <template> |
| | | <div class="public-bounced map-background" v-drag v-if="flag"> |
| | | <div class="public-bounced map-background" v-drag v-show="flag"> |
| | | <div class="public-bounced-title panel-title" ref="publicBounced"> |
| | | <span>{{ displayContentTitle }}</span> |
| | | <i class="el-icon-circle-close" @click="closePopup"></i> |
| | |
| | | export default { |
| | | name: 'PublicBounced', |
| | | components: { |
| | | // Echarts, |
| | | PublicTabs, |
| | | PublicTable, |
| | | PublicChart, |
| | |
| | | |
| | | // 绑定弹框实例 |
| | | const PublicBounced = window.Vue.extend(publicBounced) |
| | | const instance = new PublicBounced() |
| | | instance.$mount() |
| | | const instance = new PublicBounced().$mount() |
| | | document.body.appendChild(instance.$el) |
| | | // document.body.removeChild(instance.$el) |
| | | // 通过方法 向绑定弹框传递数据 |
| | | instance.setData(resultBasic.Result.DataInfo, resultDetailed.Result.DataInfo, 'gufei') |
| | | /* flyTo()弹出框平移事件 */ |
| | |
| | | |
| | | var checked = config.checked |
| | | checked && this.load(config) |
| | | checked && this.toggleZoomByConfnig(config) |
| | | } |
| | | } |
| | | } |
| | |
| | | * @param layerConfig |
| | | */ |
| | | initEvent (layerConfig) { |
| | | this.map.on('zoomend ', (e) => this.toggleByZoom(layerConfig)) |
| | | this.map.on('zoomend ', (e) => this.toggleZoomByLayer(layerConfig)) |
| | | } |
| | | |
| | | toggleByZoom (layerConfig) { |
| | | const zoom = this.map.getZoom() |
| | | if (layerConfig) { |
| | | toggleZoomByLayer (layerConfig) { |
| | | var config = layerConfig |
| | | if (Array.isArray(layerConfig)) { |
| | | for (var i = 0, l = layerConfig.length; i < l; i++) { |
| | | var config = layerConfig[i] |
| | | config = layerConfig[i] |
| | | var layers = config.layers |
| | | var checked = config.checked |
| | | var childLayer = config.childLayer |
| | | layers && this.toggleByZoom(layers) |
| | | childLayer && this.toggleByZoom(childLayer) |
| | | layers && this.toggleZoomByLayer(layers) |
| | | childLayer && this.toggleZoomByLayer(childLayer) |
| | | this.toggleZoomByConfnig(config) |
| | | } |
| | | } else { |
| | | this.toggleZoomByConfnig(layerConfig) |
| | | } |
| | | } |
| | | |
| | | toggleZoomByConfnig (config) { |
| | | const zoom = this.map.getZoom() |
| | | var checked = config.checked |
| | | if (checked && config.minZoom) { |
| | | if (zoom > config.minZoom) { |
| | | this.show(config) |
| | | } else { |
| | | console.log(config.name) |
| | | this.hide(config) |
| | | } |
| | | } |
| | | } |
| | | } |
| | | } |
| | |
| | | </div> |
| | | </li> |
| | | </ul> --> |
| | | <ul v-for="item in topicList" :key="item.name" :class="item.checked?'module-wrap map-btn-active':'module-wrap map-btn-unactive'" @click="()=>{selected(item)}" v-show="item.isShow" > |
| | | <ul v-for="item in topicList" :key="item.name" |
| | | :class="item.checked?'module-wrap map-btn-active':'module-wrap map-btn-unactive'" |
| | | @click="()=>{selected(item)}" v-show="item.isShow"> |
| | | <el-tooltip :popper-class="'map-tooltip'" effect="dark" :content="item.name" placement="left"> |
| | | <li> |
| | | <img src="../../assets/images/map-pages/icon/sl.png" class="icon"> |
| | |
| | | import SewersSearch from '@components/panel/topicSearch/SewersSearch' |
| | | import SoilGroundWaterSearch from '@components/panel/topicSearch/SoilGroundWaterSearch.vue' |
| | | import bus from '@/eventBus' |
| | | |
| | | export default { |
| | | name: 'MonitorPanel', |
| | | components: { GasWasteSearch, WaterWasteSearch, SolidWasteSearch, EnvRiskSearch, DischargeSearch }, |
| | | components: { |
| | | GasWasteSearch, |
| | | WaterWasteSearch, |
| | | SolidWasteSearch, |
| | | EnvRiskSearch, |
| | | DischargeSearch |
| | | }, |
| | | data () { |
| | | return { |
| | | isShow: true, |
| | |
| | | transform-origin: top right; |
| | | animation: bounce-in .2s; |
| | | } |
| | | |
| | | .searchPanelChange-leave-active { |
| | | transform-origin: top right; |
| | | animation: bounce-in .2s reverse; |
| | | } |
| | | |
| | | .search-container { |
| | | position: relative; |
| | | width: 1.79167rem; |
| | | //width: 1.79167rem; |
| | | width: 2.79167rem; |
| | | /* height: 5.6475rem;*/ |
| | | overflow: hidden; |
| | | } |
| | | |
| | | .module-wrap{ |
| | | width: 0.15rem; |
| | | height: 0.15rem; |
| | |
| | | cursor: pointer; |
| | | position: relative; |
| | | line-height: 0.15rem; |
| | | |
| | | li{ |
| | | margin: 0.00521rem 0; |
| | | text-align: center; |
| | | |
| | | img{ |
| | | width: 0.1rem; |
| | | height: 0.1rem; |
| | |
| | | } |
| | | } |
| | | } |
| | | |
| | | .panel-right { |
| | | display: inline-flex; |
| | | //width: 322px; |
| | |
| | | border-radius: 50%; |
| | | z-index: 999; |
| | | } |
| | | |
| | | .el-button--default.special-button:hover{ |
| | | background:@background-color; |
| | | border:1px solid @color; |
| | | box-shadow: 0 0 2px @color; |
| | | color:@color; |
| | | } |
| | | |
| | | .el-form-item__label { |
| | | color: rgb(52, 224, 255); |
| | | color: @color; |
| | |
| | | text-overflow: ellipsis; |
| | | white-space: nowrap; |
| | | } |
| | | |
| | | .panel-fold-btn{ |
| | | overflow: hidden; |
| | | position: absolute; |
| | |
| | | /*right: 0px;*/ |
| | | background-color: rgba(5,24,66,.8); |
| | | border-radius: 10px 0 0 10px; |
| | | |
| | | .btn-stretch { |
| | | //width: 20px; |
| | | //height: 40px; |
| | |
| | | transition: transform 1s linear; |
| | | /*transition: 3s linear;*/ |
| | | } |
| | | |
| | | .btn-shrink { |
| | | width: 20px; |
| | | height: 40px; |
| | |
| | | font-size: 12px; |
| | | background-color: #0B3B6D; |
| | | } |
| | | |
| | | .tab-item:hover{ |
| | | cursor: pointer; |
| | | } |
| | | |
| | | .panel-tab { |
| | | position: relative; |
| | | z-index: 500; |
| | | margin-right: .025rem; |
| | | |
| | | .container{ |
| | | max-height: 3.125rem; |
| | | overflow: hidden; |
| | |
| | | //background: url('../../assets/images/map-pages/icon/bgc.png') no-repeat; |
| | | //background-size: 100% 98%; |
| | | } |
| | | |
| | | .a{ |
| | | transform: translateX(328px); |
| | | transition: transform 3s linear; |
| | | } |
| | | |
| | | .panel_searchTotal { |
| | | font-size: 12px; |
| | | float: right; |
| | |
| | | display: grid; |
| | | font-size: 18px; |
| | | } |
| | | |
| | | /*input 点击搜索样式*/ |
| | | |
| | | .rightButtonSearch{ |
| | | display: flex; |
| | | justify-content: space-between; |
| | | align-items: center; |
| | | .el-input{margin-right: 10px} |
| | | |
| | | .el-input { |
| | | margin-right: 10px |
| | | } |
| | | |
| | | .el-icon-search{ |
| | | width: 40px; |
| | | border:1px solid @color; |
| | |
| | | padding:0; |
| | | } |
| | | } |
| | | |
| | | /*单选按钮样式*/ |
| | | .levelOfRisk{padding-left:20px} |
| | | .levelOfRisk .el-radio{padding-bottom:6px} |
| | | |
| | | .levelOfRisk { |
| | | padding-left: 20px |
| | | } |
| | | |
| | | .levelOfRisk .el-radio { |
| | | padding-bottom: 6px |
| | | } |
| | | |
| | | .levelOfRisk-type{ |
| | | display: inline-block; |
| | | position: relative; |
| | | padding-right: 5px; |
| | | color:@color-shadow; |
| | | |
| | | i{ |
| | | display: block; |
| | | width: 15px; |
| | |
| | | margin-top: -5px; |
| | | } |
| | | } |
| | | .el-radio.is-checked .levelOfRisk-type{color:#409EFF} |
| | | |
| | | .el-radio.is-checked .levelOfRisk-type { |
| | | color: #409EFF |
| | | } |
| | | |
| | | .environmental-risk-list{ |
| | | position: relative; |
| | |
| | | padding-bottom:5px; |
| | | color: @color-shadow; |
| | | border-bottom:1px solid @background-color-split; |
| | | |
| | | .state{ |
| | | width: 30px; |
| | | height: 30px; |
| | |
| | | background: #0B3B6D; |
| | | } |
| | | } |
| | | |
| | | .environmental-risk-list.hover, |
| | | .environmental-risk-list:hover{ |
| | | color:@color-over; |
| | |
| | | background-color: #061e51 !important; |
| | | } |
| | | } |
| | | |
| | | .unfold { |
| | | transform: translateX(332px); |
| | | transition: transform 0.5s linear; |
| | | } |
| | | |
| | | .shrink { |
| | | transform: translateX(0px); |
| | | transition: transform 0.5s linear; |
| | | } |
| | | |
| | | /******************以下公共部分**********/ |
| | | |
| | | .sewers-search{ |
| | | position: relative; |
| | | overflow: hidden; |
| | | .panel-title{} |
| | | |
| | | .panel-title { |
| | | } |
| | | |
| | | .search-panel{ |
| | | background-color: transparent; |
| | | padding: 10px; |
| | |
| | | color: @color-gray; |
| | | font-size: 0.01rem; |
| | | padding:0 15px; |
| | | |
| | | .el-select .el-input.is-focus .el-input__inner{ |
| | | border-color: @color; |
| | | } |
| | | } |
| | | .el-input__inner{background: none;color:#fff;font-size: 14px;border-radius: 0; border-color: @color;background: rgba(0,16,30,.5);} |
| | | |
| | | .el-input__inner { |
| | | background: none; |
| | | color: #fff; |
| | | font-size: 14px; |
| | | border-radius: 0; |
| | | border-color: @color; |
| | | background: rgba(0, 16, 30, .5); |
| | | } |
| | | } |
| | | |
| | | .search-btn{ |
| | | |
| | | } |
| | | |
| | | //location-btn{ |
| | | // |
| | | //} |
| | |
| | | <template> |
| | | <div class="sewers-search" v-if="gdVisible"> |
| | | <div class="panel-title">{{title}}</div> |
| | | <el-tabs v-model="activeName" @tab-click="handleClick"> |
| | | <el-tab-pane label="查询" name="first"> |
| | | <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-select style="width: 100%" v-model="form.pipelineType" @change="handlePipelineType" |
| | | :popper-class="'select-down'"> |
| | | <el-option |
| | | v-for="item in pipelineTypeOptions" |
| | | :key="item.value" |
| | |
| | | </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-select style="width: 100%" v-model="form.dataType" @change="handleDataType" |
| | | :popper-class="'select-down'"> |
| | | <el-option |
| | | v-for="item in dataTypeOptions" |
| | | :key="item.value" |
| | |
| | | </el-option> |
| | | </el-select> |
| | | </el-form-item> |
| | | <!-- <el-form-item >--> |
| | | <div class="rightButtonSearch"> |
| | | <el-input v-model="form.keyword" size="mini" placeholder="在此输入关键字搜索"> |
| | | <!-- <el-button slot="append" icon="el-icon-search" size="mini"></el-button>--> |
| | | <!-- <i slot="prefix" class="el-input__icon el-icon-search"></i>--> |
| | | <!-- <i slot="suffix" class="search-btn el-input__icon el-icon-search" @click="handleSearch"></i> --> |
| | | </el-input> |
| | | <el-button class="el-icon-search" @click="handleSearch"></el-button> |
| | | </div> |
| | | <!-- </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> |
| | | </div> |
| | | <el-scrollbar style="height:380.44px;" > |
| | | <div class="environmental-risk-list" v-for="(item,index) in list" :key="index" > |
| | | <!-- <i class="state"></i> --> |
| | | <div @click="handleLocation(item)"> |
| | | <h3 class="B-TMD-table-list-title-y" :class="['B-TMD-table-list-title-y-nam', { 'warning': item.vehicleStatus==='910003' }, { 'offline': item.vehicleStatus==='910001' }]" >{{ item.properties.pipename }}</h3> |
| | | <h3 class="B-TMD-table-list-title-y" |
| | | :class="['B-TMD-table-list-title-y-nam', { 'warning': item.vehicleStatus==='910003' }, { 'offline': item.vehicleStatus==='910001' }]"> |
| | | {{ item.properties.pipename }}</h3> |
| | | <p v-for="itm in labelList" :key="itm.label"> |
| | | <span>{{ itm.label }}:</span> |
| | | <span :title="item.properties[itm.key] ">{{ item.properties[itm.key] }}</span> |
| | |
| | | > |
| | | </el-pagination> |
| | | </el-card> |
| | | </el-tab-pane> |
| | | <el-tab-pane label="分析" name="second"> |
| | | <SewersAnalysis></SewersAnalysis> |
| | | </el-tab-pane> |
| | | <el-tab-pane label="历史" name="third">历史</el-tab-pane> |
| | | </el-tabs> |
| | | </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>--> |
| | | </template> |
| | | |
| | | <script> |
| | |
| | | |
| | | import WfsHelper from '@components/helpers/WfsHelper' |
| | | import AjaxUtils from '@utils/AjaxUtils' |
| | | |
| | | // 引入分析组件内容 |
| | | import SewersAnalysis from '@components/panel/topicSearch/SewersSelect/SewersAnalysis' |
| | | |
| | | export default { |
| | | name: 'SewersSearch', |
| | | components: { |
| | | SewersAnalysis |
| | | }, |
| | | data () { |
| | | return { |
| | | activeName: 'first', |
| | | gdVisible: true, |
| | | list: [], |
| | | labelList: PipelineTypeOptions[0].labelList, |
| | |
| | | }, |
| | | props: ['title'], |
| | | methods: { |
| | | handleClick (tab, event) { |
| | | console.log(tab, event) |
| | | }, |
| | | handlePipelineType (val) { |
| | | this.pipelineTypeOptions.forEach((itm) => { |
| | | if (val === itm.value) { |
New file |
| | |
| | | <template> |
| | | <div class="connectivity"> |
| | | <el-row> |
| | | <el-button type="primary" size="mini">起始管段</el-button> |
| | | <el-button type="primary" size="mini">结束管段</el-button> |
| | | <el-button type="primary" size="mini">连通性分析</el-button> |
| | | <el-button type="primary" size="mini">清除</el-button> |
| | | </el-row> |
| | | <el-card class="box-card"> |
| | | <span class="clearfix">起始管段</span> |
| | | <el-table |
| | | :data="tableData" |
| | | style="width: 100%"> |
| | | <el-table-column |
| | | prop="date" |
| | | label="管线类型"> |
| | | </el-table-column> |
| | | <el-table-column |
| | | prop="name" |
| | | label="管线名称"> |
| | | </el-table-column> |
| | | <el-table-column |
| | | prop="province" |
| | | label="起点编号"> |
| | | </el-table-column> |
| | | <el-table-column |
| | | prop="city" |
| | | label="终点编号"> |
| | | </el-table-column> |
| | | <el-table-column |
| | | class-name="fixed-table" |
| | | fixed="right" |
| | | label="操作"> |
| | | </el-table-column> |
| | | </el-table> |
| | | <span class="clearfix">结束管段</span> |
| | | <el-table |
| | | :data="tableData" |
| | | style="width: 100%"> |
| | | <el-table-column |
| | | prop="date" |
| | | label="管线类型"> |
| | | </el-table-column> |
| | | <el-table-column |
| | | prop="name" |
| | | label="管线名称"> |
| | | </el-table-column> |
| | | <el-table-column |
| | | prop="province" |
| | | label="起点编号"> |
| | | </el-table-column> |
| | | <el-table-column |
| | | prop="city" |
| | | label="终点编号"> |
| | | </el-table-column> |
| | | <el-table-column |
| | | class-name="fixed-table" |
| | | fixed="right" |
| | | label="操作"> |
| | | </el-table-column> |
| | | </el-table> |
| | | <span class="clearfix">分析结果</span> |
| | | <el-table |
| | | :data="tableData" |
| | | style="width: 100%"> |
| | | <el-table-column |
| | | prop="date" |
| | | label="管线类型"> |
| | | </el-table-column> |
| | | <el-table-column |
| | | prop="name" |
| | | label="管线名称"> |
| | | </el-table-column> |
| | | <el-table-column |
| | | prop="province" |
| | | label="起点编号"> |
| | | </el-table-column> |
| | | <el-table-column |
| | | prop="city" |
| | | label="终点编号"> |
| | | </el-table-column> |
| | | <el-table-column |
| | | class-name="fixed-table" |
| | | fixed="right" |
| | | label="操作"> |
| | | </el-table-column> |
| | | </el-table> |
| | | </el-card> |
| | | </div> |
| | | </template> |
| | | |
| | | <script> |
| | | export default { |
| | | name: 'Connectivity', |
| | | data () { |
| | | return { |
| | | tableData: [] |
| | | } |
| | | } |
| | | } |
| | | </script> |
| | | |
| | | <style lang="less" scoped> |
| | | |
| | | </style> |
New file |
| | |
| | | <template> |
| | | <div class="connectivity"> |
| | | <el-row> |
| | | <el-button type="primary" size="mini">绘制线段</el-button> |
| | | <el-button type="primary" size="mini">截断面分析</el-button> |
| | | <el-button type="primary" size="mini">清除</el-button> |
| | | </el-row> |
| | | <el-card class="box-card"> |
| | | <span class="clearfix">管线查询结果</span> |
| | | <el-table |
| | | :data="tableData" |
| | | style="width: 100%"> |
| | | <el-table-column |
| | | prop="date" |
| | | label="管线类型"> |
| | | </el-table-column> |
| | | <el-table-column |
| | | prop="name" |
| | | label="管线名称"> |
| | | </el-table-column> |
| | | <el-table-column |
| | | prop="province" |
| | | label="起点编号"> |
| | | </el-table-column> |
| | | <el-table-column |
| | | prop="city" |
| | | label="终点编号"> |
| | | </el-table-column> |
| | | <el-table-column |
| | | class-name="fixed-table" |
| | | fixed="right" |
| | | label="操作"> |
| | | </el-table-column> |
| | | </el-table> |
| | | <span class="clearfix">断面图</span> |
| | | <div class="cross-section"> |
| | | <span>暂无数据</span> |
| | | </div> |
| | | </el-card> |
| | | </div> |
| | | </template> |
| | | |
| | | <script> |
| | | export default { |
| | | name: 'CrossSectional', |
| | | data () { |
| | | return { |
| | | tableData: [] |
| | | } |
| | | } |
| | | } |
| | | </script> |
| | | |
| | | <style lang="less" scoped> |
| | | .cross-section { |
| | | background: rgba(0, 16, 30, 0.5); |
| | | border: 0.00521rem solid @color; |
| | | box-shadow: 0 0 0.03rem @color; |
| | | color: #ffffff; |
| | | width: 100%; |
| | | height: 50px; |
| | | border-radius: 3px; |
| | | text-align: center; |
| | | line-height: 50px; |
| | | } |
| | | </style> |
New file |
| | |
| | | <template> |
| | | <div class="connectivity"> |
| | | <el-row> |
| | | <el-button type="primary" size="mini">选择管段</el-button> |
| | | </el-row> |
| | | <el-card class="box-card"> |
| | | <el-table |
| | | :data="tableData" |
| | | style="width: 100%"> |
| | | <el-table-column |
| | | prop="date" |
| | | label="管线类型"> |
| | | </el-table-column> |
| | | <el-table-column |
| | | prop="name" |
| | | label="管线名称"> |
| | | </el-table-column> |
| | | <el-table-column |
| | | prop="province" |
| | | label="起点编号"> |
| | | </el-table-column> |
| | | <el-table-column |
| | | prop="city" |
| | | label="终点编号"> |
| | | </el-table-column> |
| | | <el-table-column |
| | | class-name="fixed-table" |
| | | fixed="right" |
| | | label="操作"> |
| | | </el-table-column> |
| | | </el-table> |
| | | <span class="clearfix">分析结果</span> |
| | | <el-table |
| | | :data="tableData" |
| | | style="width: 100%"> |
| | | <el-table-column |
| | | prop="date" |
| | | label="管线类型"> |
| | | </el-table-column> |
| | | <el-table-column |
| | | prop="name" |
| | | label="管线名称"> |
| | | </el-table-column> |
| | | <el-table-column |
| | | prop="province" |
| | | label="起点编号"> |
| | | </el-table-column> |
| | | <el-table-column |
| | | prop="city" |
| | | label="终点编号"> |
| | | </el-table-column> |
| | | <el-table-column |
| | | class-name="fixed-table" |
| | | fixed="right" |
| | | label="操作"> |
| | | </el-table-column> |
| | | </el-table> |
| | | </el-card> |
| | | </div> |
| | | </template> |
| | | |
| | | <script> |
| | | export default { |
| | | name: 'Flow', |
| | | data () { |
| | | return { |
| | | tableData: [] |
| | | } |
| | | } |
| | | } |
| | | </script> |
| | | |
| | | <style lang="less" scoped> |
| | | |
| | | </style> |
New file |
| | |
| | | <template> |
| | | <div class="connectivity"> |
| | | <el-row> |
| | | <span class="tube-span">爆管(相关开关)</span> |
| | | <el-button type="primary" size="mini">选择管线</el-button> |
| | | <el-button type="primary" size="mini">清除</el-button> |
| | | </el-row> |
| | | <el-card class="box-card"> |
| | | <span class="clearfix">发生爆裂的管段</span> |
| | | <el-table |
| | | :data="tableData" |
| | | style="width: 100%"> |
| | | <el-table-column |
| | | prop="date" |
| | | label="管线类型"> |
| | | </el-table-column> |
| | | <el-table-column |
| | | prop="name" |
| | | label="管线名称"> |
| | | </el-table-column> |
| | | <el-table-column |
| | | prop="province" |
| | | label="起点编号"> |
| | | </el-table-column> |
| | | <el-table-column |
| | | prop="city" |
| | | label="终点编号"> |
| | | </el-table-column> |
| | | <el-table-column |
| | | class-name="fixed-table" |
| | | fixed="right" |
| | | label="操作"> |
| | | </el-table-column> |
| | | </el-table> |
| | | <span class="clearfix">需要关闭的阀门</span> |
| | | <el-table |
| | | :data="tableData" |
| | | style="width: 100%"> |
| | | <el-table-column |
| | | prop="date" |
| | | label="管线类型"> |
| | | </el-table-column> |
| | | <el-table-column |
| | | prop="name" |
| | | label="管线名称"> |
| | | </el-table-column> |
| | | <el-table-column |
| | | prop="province" |
| | | label="起点编号"> |
| | | </el-table-column> |
| | | <el-table-column |
| | | prop="city" |
| | | label="终点编号"> |
| | | </el-table-column> |
| | | <el-table-column |
| | | class-name="fixed-table" |
| | | fixed="right" |
| | | label="操作"> |
| | | </el-table-column> |
| | | </el-table> |
| | | </el-card> |
| | | </div> |
| | | </template> |
| | | |
| | | <script> |
| | | export default { |
| | | name: 'Tube', |
| | | data () { |
| | | return { |
| | | tableData: [] |
| | | } |
| | | } |
| | | } |
| | | </script> |
| | | |
| | | <style lang="less" scoped> |
| | | .tube-span { |
| | | color: #ffffff !important; |
| | | font-size: 14px; |
| | | margin: 0 15px; |
| | | } |
| | | </style> |
New file |
| | |
| | | <template> |
| | | <div class="sewers-analysis-tab"> |
| | | <el-tabs v-model="activeName" type="border-card" @tab-click="handleClick"> |
| | | <el-tab-pane label="连通性" name="first"> |
| | | <Connectivity></Connectivity> |
| | | </el-tab-pane> |
| | | <el-tab-pane label="爆管" name="second"> |
| | | <Tube></Tube> |
| | | </el-tab-pane> |
| | | <el-tab-pane label="流向" name="third"> |
| | | <Flow></Flow> |
| | | </el-tab-pane> |
| | | <el-tab-pane label="横断面" name="four"> |
| | | <CrossSectional></CrossSectional> |
| | | </el-tab-pane> |
| | | </el-tabs> |
| | | </div> |
| | | </template> |
| | | |
| | | <script> |
| | | import Connectivity from '@components/panel/topicSearch/SewersSelect/AnalysisChoose/Connectivity' |
| | | import Tube from '@components/panel/topicSearch/SewersSelect/AnalysisChoose/Tube' |
| | | import Flow from '@components/panel/topicSearch/SewersSelect/AnalysisChoose/Flow' |
| | | import CrossSectional from '@components/panel/topicSearch/SewersSelect/AnalysisChoose/CrossSectional' |
| | | |
| | | export default { |
| | | name: 'SewersFirstTab', |
| | | components: { |
| | | Connectivity, |
| | | Tube, |
| | | Flow, |
| | | CrossSectional |
| | | }, |
| | | data () { |
| | | return { |
| | | activeName: 'first' |
| | | } |
| | | }, |
| | | methods: { |
| | | handleClick (tab, event) { |
| | | console.log(tab, event) |
| | | } |
| | | } |
| | | } |
| | | </script> |
| | | |
| | | <style lang="less" scoped> |
| | | </style> |
| | |
| | | <template> |
| | | <div class="AirQuality"> |
| | | <el-table |
| | | class="tableBox" |
| | | :data="tableData" |
| | | :header-cell-style="tableHeaderColor" |
| | | :cell-style="rowClass" |
| | | border |
| | | > |
| | | <el-table-column |
| | | width="30px" |
| | | label="" |
| | | > |
| | | <el-table class="tableBox" :data="tableData" :header-cell-style="tableHeaderColor" :cell-style="rowClass" border> |
| | | <el-table-column width="30px" label=""> |
| | | <template> |
| | | <i class="el-icon-caret-right"></i> |
| | | <span style="margin-left: 10px"></span> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column |
| | | label="序号" |
| | | width="60px" |
| | | type="index"> |
| | | </el-table-column> |
| | | <el-table-column |
| | | prop="UserName" |
| | | label="企业名称" |
| | | width="120px"> |
| | | </el-table-column> |
| | | <el-table-column |
| | | prop="AQI" |
| | | label="AQI" |
| | | width="200px"> |
| | | </el-table-column> |
| | | <el-table-column |
| | | prop="MajorPollutant" |
| | | label="首要污染物 " |
| | | width="200px"> |
| | | </el-table-column> |
| | | <el-table-column |
| | | prop="AirQualityCategory" |
| | | label="空气质量类别" |
| | | width="200px"> |
| | | </el-table-column> |
| | | <el-table-column |
| | | prop="RegionalColor" |
| | | label="区域颜色" |
| | | width="200px"> |
| | | <el-table-column label="序号" width="60px" type="index"></el-table-column> |
| | | <el-table-column prop="UserName" label="企业名称"></el-table-column> |
| | | <el-table-column prop="AQI" label="AQI"></el-table-column> |
| | | <el-table-column prop="MajorPollutant" label="首要污染物 "></el-table-column> |
| | | <el-table-column prop="AirQualityCategory" label="空气质量类别"></el-table-column> |
| | | <el-table-column prop="RegionalColor" label="区域颜色"> |
| | | <template slot-scope="scope"> |
| | | <div v-if="scope.row.RegionalColor==='四级红色'" style="background-color: red">{{scope.row.RegionalColor}}</div> |
| | | <div v-else-if="scope.row.RegionalColor==='三级橙色'" style="background-color: orange">{{scope.row.RegionalColor}}</div> |
| | |
| | | }, |
| | | methods: { |
| | | tableHeaderColor ({ row, column, owIndex, columnIndex }) { |
| | | return 'background-color: rgba(26, 73, 81, 0.901960784313726);color:#fff;font-wight:500;font-size:12px;text-align:center;height:0px' |
| | | // return 'background-color: rgba(26, 73, 81, 0.901960784313726);color:#fff;font-wight:500;font-size:12px;text-align:center;height:0px' |
| | | }, |
| | | // 表头样式设置 |
| | | rowClass () { |
| | | return 'text-align: center;background-color: rgba(26, 73, 81, 0.901960784313726);color:#fff;width:64px' |
| | | // return 'text-align: center;background-color: rgba(26, 73, 81, 0.901960784313726);color:#fff;width:64px' |
| | | } |
| | | } |
| | | } |
| | |
| | | <template> |
| | | <el-tabs v-model="activeName"> |
| | | <el-tab-pane label="指标统计" name="first"><el-table |
| | | :data="tableData"> |
| | | <el-table-column |
| | | type="index" |
| | | label="序号"> |
| | | </el-table-column> |
| | | <el-table-column |
| | | prop="date" |
| | | label="单位名称"> |
| | | </el-table-column> |
| | | <el-table-column |
| | | prop="province" |
| | | label="工业取水量(m3)"> |
| | | </el-table-column> |
| | | <el-table-column |
| | | prop="province" |
| | | label="外排废水量(m3)"> |
| | | </el-table-column> |
| | | <el-table-column |
| | | prop="province" |
| | | label="工业废气排放量(m3)"> |
| | | </el-table-column> |
| | | <el-tab-pane label="指标统计" name="first"> |
| | | <el-table :data="tableData" > |
| | | <el-table-column type="index" label="序号"></el-table-column> |
| | | <el-table-column prop="date" label="单位名称"></el-table-column> |
| | | <el-table-column prop="province" label="工业取水量(m3)"></el-table-column> |
| | | <el-table-column prop="province" label="外排废水量(m3)"></el-table-column> |
| | | <el-table-column prop="province" label="工业废气排放量(m3)"></el-table-column> |
| | | <el-table-column label="COD(t)"> |
| | | <el-table-column |
| | | prop="province" |
| | | label="累计产生量"> |
| | | </el-table-column> |
| | | <el-table-column |
| | | prop="city" |
| | | label="当月产生量"> |
| | | </el-table-column> |
| | | <el-table-column prop="province" label="累计产生量"></el-table-column> |
| | | <el-table-column prop="city" label="当月产生量"></el-table-column> |
| | | </el-table-column> |
| | | <el-table-column label="氨氮(t)"> |
| | | <el-table-column |
| | | prop="province" |
| | | label="累计产生量"> |
| | | </el-table-column> |
| | | <el-table-column |
| | | prop="city" |
| | | label="当月产生量"> |
| | | </el-table-column> |
| | | <el-table-column prop="province" label="累计产生量"></el-table-column> |
| | | <el-table-column prop="city" label="当月产生量"></el-table-column> |
| | | </el-table-column> |
| | | <el-table-column label="二氧化硫(t)"> |
| | | <el-table-column |
| | | prop="province" |
| | | label="累计产生量"> |
| | | </el-table-column> |
| | | <el-table-column |
| | | prop="city" |
| | | label="当月产生量"> |
| | | </el-table-column> |
| | | <el-table-column prop="province" label="累计产生量"></el-table-column> |
| | | <el-table-column prop="city" label="当月产生量"></el-table-column> |
| | | </el-table-column> |
| | | <el-table-column label="氮氧化物(t)"> |
| | | <el-table-column |
| | | prop="province" |
| | | label="累计产生量"> |
| | | </el-table-column> |
| | | <el-table-column |
| | | prop="city" |
| | | label="当月产生量"> |
| | | </el-table-column> |
| | | <el-table-column prop="province" label="累计产生量"></el-table-column> |
| | | <el-table-column prop="city" label="当月产生量"></el-table-column> |
| | | </el-table-column> |
| | | <el-table-column label="VOCs(t)"> |
| | | <el-table-column |
| | | prop="province" |
| | | label="累计产生量"> |
| | | </el-table-column> |
| | | <el-table-column |
| | | prop="city" |
| | | label="当月产生量"> |
| | | </el-table-column> |
| | | <el-table-column prop="province" label="累计产生量"></el-table-column> |
| | | <el-table-column prop="city" label="当月产生量"></el-table-column> |
| | | </el-table-column> |
| | | <el-table-column label="固废(t)"> |
| | | <el-table-column |
| | | prop="province" |
| | | label="累计产生量"> |
| | | <el-table-column prop="province" label="累计产生量"></el-table-column> |
| | | <el-table-column prop="city" label="当月产生量"></el-table-column> |
| | | </el-table-column> |
| | | <el-table-column |
| | | prop="city" |
| | | label="当月产生量"> |
| | | </el-table-column> |
| | | </el-table-column> |
| | | </el-table> |
| | | </el-tab-pane> |
| | | <el-tab-pane label="企业排名" name="second"><el-table :data="tableData"> |
| | | <el-table-column type="index" label="序号"></el-table-column> |
| | | <el-table-column prop="date" label="企业名称"></el-table-column> |
| | | <el-table-column prop="name" label="废水达标率"></el-table-column> |
| | | <el-table-column prop="province" label="名次"></el-table-column> |
| | | <el-table-column prop="city" label="废气达标率"></el-table-column> |
| | | <el-table-column prop="address" label="名次"></el-table-column> |
| | | <el-table-column prop="zip" label="传输率"></el-table-column> |
| | | <el-table-column prop="zip" label="名次"></el-table-column> |
| | | <el-table-column prop="zip" label="设备完好率"></el-table-column> |
| | | <el-table-column prop="zip" label="排名"></el-table-column> |
| | | </el-table></el-tab-pane> |
| | | <el-tab-pane label="企业排名" name="second"><el-table |
| | | :data="tableData" |
| | | style="width: 100%" |
| | | max-height="250"> |
| | | <el-table-column |
| | | type="index" |
| | | label="序号"> |
| | | </el-table-column> |
| | | <el-table-column |
| | | prop="date" |
| | | label="企业名称"> |
| | | </el-table-column> |
| | | <el-table-column |
| | | prop="name" |
| | | label="废水达标率"> |
| | | </el-table-column> |
| | | <el-table-column |
| | | prop="province" |
| | | label="名次"> |
| | | </el-table-column> |
| | | <el-table-column |
| | | prop="city" |
| | | label="废气达标率"> |
| | | </el-table-column> |
| | | <el-table-column |
| | | prop="address" |
| | | label="名次"> |
| | | </el-table-column> |
| | | <el-table-column |
| | | prop="zip" |
| | | label="传输率"> |
| | | </el-table-column> |
| | | <el-table-column |
| | | prop="zip" |
| | | label="名次"> |
| | | </el-table-column> |
| | | <el-table-column |
| | | prop="zip" |
| | | label="设备完好率"> |
| | | </el-table-column> |
| | | <el-table-column |
| | | prop="zip" |
| | | label="排名"> |
| | | </el-table-column> |
| | | </el-table></el-tab-pane> |
| | | <el-tab-pane label="排放点排名" name="third"><el-table |
| | | :data="tableData"> |
| | | <el-table-column |
| | | type="index" |
| | | label="序号"> |
| | | </el-table-column> |
| | | <el-table-column |
| | | prop="date" |
| | | label="排放点名称"> |
| | | </el-table-column> |
| | | <el-table-column |
| | | prop="name" |
| | | label="排放类型"> |
| | | </el-table-column> |
| | | <el-table-column |
| | | prop="province" |
| | | label="达标率"> |
| | | </el-table-column> |
| | | <el-table-column |
| | | prop="city" |
| | | label="名次"> |
| | | </el-table-column> |
| | | <el-table-column |
| | | prop="address" |
| | | label="传输率"> |
| | | </el-table-column> |
| | | <el-table-column |
| | | prop="zip" |
| | | label="名次"> |
| | | </el-table-column> |
| | | <el-table-column |
| | | prop="zip" |
| | | label="设备完好率"> |
| | | </el-table-column> |
| | | <el-table-column |
| | | prop="zip" |
| | | label="名次"> |
| | | </el-table-column> |
| | | <el-tab-pane label="排放点排名" name="third"><el-table :data="tableData"> |
| | | <el-table-column type="index" label="序号"></el-table-column> |
| | | <el-table-column prop="date" label="排放点名称"></el-table-column> |
| | | <el-table-column prop="name" label="排放类型"></el-table-column> |
| | | <el-table-column prop="province" label="达标率"></el-table-column> |
| | | <el-table-column prop="city" label="名次"></el-table-column> |
| | | <el-table-column prop="address" label="传输率"></el-table-column> |
| | | <el-table-column prop="zip" label="名次"></el-table-column> |
| | | <el-table-column prop="zip" label="设备完好率"></el-table-column> |
| | | <el-table-column prop="zip" label="名次"></el-table-column> |
| | | </el-table></el-tab-pane> |
| | | </el-tabs> |
| | | |
| | |
| | | placement="bottom" |
| | | trigger="click" |
| | | :disabled="!isShowIcon" |
| | | popper-class="popovers" |
| | | > |
| | | popper-class="popovers"> |
| | | <ChemicalWastewater v-show="$index ===1"></ChemicalWastewater> |
| | | <i class="el-icon-caret-right" :class="{active: isActive === $index}" slot="reference" @click="doIcon($index)"></i> |
| | | <!-- <i class="el-icon-caret-bottom" slot="reference" v-else @click="doIcon($index)"></i>--> |
| | | </el-popover> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column |
| | | label="序号" |
| | | width="45px" |
| | | type="index"> |
| | | <el-table-column label="序号" width="45px" type="index"> |
| | | </el-table-column> |
| | | <el-table-column |
| | | prop="UserName" |
| | | label="企业名称" |
| | | width="120px"> |
| | | <el-table-column prop="UserName" label="企业名称" width="120px"> |
| | | <template slot-scope="scope"> |
| | | <div v-if="scope.row.UserName==='集团名称'" style="color: #00ffff">{{scope.row.UserName}}</div> |
| | | <div v-else-if="scope.row.UserName==='天津石化'" style="color: #00ffff">{{scope.row.UserName}}</div> |
| | | <div v-else >{{scope.row.UserName}}</div> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column |
| | | prop="WasteWaters" |
| | | label="外排废水量(m³)" |
| | | width="100px"> |
| | | </el-table-column> |
| | | <el-table-column prop="WasteWaters" label="外排废水量(m³)" width="100px"></el-table-column> |
| | | <el-table-column label="COD (t)"> |
| | | <el-table-column |
| | | prop="AddOutPut" |
| | | label="累计产生量" |
| | | width="70px"> |
| | | </el-table-column> |
| | | <el-table-column |
| | | prop="MonthOutPut" |
| | | label="当月生产量" |
| | | width="70px"> |
| | | </el-table-column> |
| | | <el-table-column prop="AddOutPut" label="累计产生量" width="70px"></el-table-column> |
| | | <el-table-column prop="MonthOutPut" label="当月生产量" width="70px"></el-table-column> |
| | | </el-table-column> |
| | | <el-table-column label="氨氮 (t)"> |
| | | <el-table-column |
| | | prop="NH4NPut" |
| | | label="累计产生量" |
| | | width="70px"> |
| | | </el-table-column> |
| | | <el-table-column |
| | | prop="NH4NMonth" |
| | | label="当月生产量" |
| | | width="70px"> |
| | | </el-table-column> |
| | | <el-table-column prop="NH4NPut" label="累计产生量"></el-table-column> |
| | | <el-table-column prop="NH4NMonth" label="当月生产量"></el-table-column> |
| | | </el-table-column> |
| | | <el-table-column label="排放口检测统计状态"> |
| | | <el-table-column |
| | | prop="normal" |
| | | label="正常" |
| | | width="60px"> |
| | | <el-table-column prop="normal" label="正常" width="60px"> |
| | | <template slot-scope="{row,$index}"> |
| | | <u v-if="$index!=2" >{{row.normal}}</u> |
| | | <el-popover v-else |
| | |
| | | </el-popover> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column |
| | | prop="overProof" |
| | | label="超标" |
| | | width="60px"> |
| | | </el-table-column> |
| | | <el-table-column |
| | | prop="Abnormal" |
| | | label="异常" |
| | | width="60px"> |
| | | </el-table-column> |
| | | <el-table-column |
| | | prop="StopProduction" |
| | | label="停产" |
| | | width="60px"> |
| | | </el-table-column> |
| | | <el-table-column |
| | | prop="deficiency" |
| | | label="缺失" |
| | | width="60px"> |
| | | <el-table-column prop="overProof" label="超标" width="60px"></el-table-column> |
| | | <el-table-column prop="Abnormal" label="异常" width="60px"></el-table-column> |
| | | <el-table-column prop="StopProduction" label="停产" width="60px"></el-table-column> |
| | | <el-table-column prop="deficiency" label="缺失" width="60px"> |
| | | <template slot-scope="{row,$index}"> |
| | | <u v-if="$index!=1" >{{row.deficiency}}</u> |
| | | <el-popover v-else |
| | |
| | | }, |
| | | methods: { |
| | | tableHeaderColor ({ row, column, owIndex, columnIndex }) { |
| | | return 'background-color: rgba(26, 73, 81, 0.901960784313726);color:#fff;font-wight:500;font-size:12px;text-align:center;height:0px' |
| | | // return 'background-color: rgba(26, 73, 81, 0.901960784313726);color:#fff;font-wight:500;font-size:12px;text-align:center;height:0px' |
| | | }, |
| | | // 表头样式设置 |
| | | rowClass () { |
| | | return 'text-align: center;background-color: rgba(26, 73, 81, 0.901960784313726);color:#fff;width:64px' |
| | | // return 'text-align: center;background-color: rgba(26, 73, 81, 0.901960784313726);color:#fff;width:64px' |
| | | }, |
| | | // 获取点击的表格 |
| | | handle (row, column, event, cell) { |
| | |
| | | <el-table |
| | | class="tableBox" |
| | | :data="tableData" |
| | | style="width: 100%" |
| | | :header-cell-style="tableHeaderColor" |
| | | :cell-style="rowClass" |
| | | @cell-click="handle" |
| | | > |
| | | <el-table-column |
| | |
| | | <div v-else >{{scope.row.UserName}}</div> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column |
| | | prop="WasteWaters" |
| | | label="外排废水量(m³)" |
| | | width="100px"> |
| | | </el-table-column> |
| | | <el-table-column prop="WasteWaters" label="外排废水量(m³)"></el-table-column> |
| | | <el-table-column label="COD (t)"> |
| | | <el-table-column |
| | | prop="AddOutPut" |
| | |
| | | }, |
| | | methods: { |
| | | tableHeaderColor ({ row, column, owIndex, columnIndex }) { |
| | | return 'background-color: rgba(26, 73, 81, 0.901960784313726);color:#fff;font-wight:500;font-size:12px;text-align:center;height:0px' |
| | | // return 'background-color: rgba(26, 73, 81, 0.901960784313726);color:#fff;font-wight:500;font-size:12px;text-align:center;height:0px' |
| | | }, |
| | | // 表头样式设置 |
| | | rowClass () { |
| | | return 'text-align: center;background-color: rgba(26, 73, 81, 0.901960784313726);color:#fff;width:64px' |
| | | // return 'text-align: center;background-color: rgba(26, 73, 81, 0.901960784313726);color:#fff;width:64px' |
| | | }, |
| | | // 获取点击的表格 |
| | | handle (row, column, event, cell) { |
| | |
| | | } |
| | | </script> |
| | | |
| | | <style scoped> |
| | | .popovers{ |
| | | width: auto !important; |
| | | background-color: gray !important; |
| | | } |
| | | .popovers.el-popover{ |
| | | padding:0; |
| | | } |
| | | .active { |
| | | /*color: red;*/ |
| | | transform:rotate(90deg); |
| | | } |
| | | <style> |
| | | |
| | | </style> |
| | |
| | | <template> |
| | | <el-tabs v-model="activeName" type="border-card"> |
| | | <el-tabs v-model="activeName"> |
| | | <el-tab-pane label="废水" name="first"> |
| | | <waste-water></waste-water> |
| | | </el-tab-pane> |
| | |
| | | </el-tooltip> |
| | | </div> |
| | | </transition> |
| | | <Dialog ref="summarySheets" title="企业预警报警分类统计" > |
| | | <Dialog ref="summarySheets" title="报表" > |
| | | <tab-handover></tab-handover> |
| | | </Dialog> |
| | | <Dialog ref="warnDialog" title="企业预警报警分类统计" > |
| | | <Dialog ref="warnDialog" title="预报警" > |
| | | <warn></warn> |
| | | </Dialog> |
| | | <Dialog ref="indexStatisticsDialog" title="企业指标分类统计"> |
| | |
| | | .el-tabs{} |
| | | .el-tabs{ |
| | | |
| | | } |
| | | .el-table td, .el-table th{ |
| | | padding: 0; |
| | | } |
| | | .el-tabs__header{ |
| | | border-bottom: 1px solid @background-color-split !important; |
| | | padding: 0; |
| | | position: relative; |
| | | margin: 0 0 15px; |
| | | } |
| | | |
| | | .el-tabs__active-bar{ |
| | | position: absolute; |
| | | bottom: 0; |
| | |
| | | <el-dialog v-dialogDrag |
| | | :title="title" |
| | | :visible.sync="centerDialogVisible" |
| | | width="30%" |
| | | :modal="false" |
| | | :close-on-click-modal="false" |
| | | @close='closeDialog' |