src/components/BaseNav/PublicBounced/GasComponents/EChartsDate.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
src/components/BaseNav/PublicBounced/GasComponents/EChartsHour.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
src/components/BaseNav/PublicBounced/GasComponents/PublicChart.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
src/components/BaseNav/PublicBounced/GasComponents/PublicTabs.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
src/components/BaseNav/PublicBounced/PublicBounced.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
src/components/LayerController/LayerController.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
src/components/panel/ToolBoxPanel.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
src/components/table/summarySheets.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
src/eventBus.js | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
src/components/BaseNav/PublicBounced/GasComponents/EChartsDate.vue
@@ -15,19 +15,14 @@ <div class="pickerData"> <span> 开始时间:</span> <span class="pickerTable"> <el-date-picker type="datetime" v-model="value1"> </el-date-picker> </span> <el-date-picker type="datetime" v-model="value1"></el-date-picker> </span> </div> <div class="pickerData"> <span >结束时间:</span> <span class="pickerTable"> <el-date-picker type="datetime" v-model="value2" > </el-date-picker> </span> <el-date-picker type="datetime" v-model="value2"></el-date-picker> </span> </div> </div> <div> @@ -308,17 +303,18 @@ // } //} .grid-content { font-size: 8px !important; font-size: 8px; background-color: #2e4967; text-align: center; margin: 0 2px 4px 2px; border-radius: 2px; margin-right: 10px; padding:0 10px } .animation { //width: 600px; //height: 0.06rem; .Infomation { margin-left: 10px; .infomation { padding: 5px 10px; } } .form-echrts { @@ -338,18 +334,8 @@ flex: 1; display: flex; >span{line-height: 22px} .pickerTable{ margin-left: 6px; /deep/.el-input{ font-size: 0px; .el-input__prefix{ width: 100%; } } /deep/.el-input__icon { width: 100%; font-size: 0; } .pickerTable { margin-left: 3px; } } } @@ -358,8 +344,8 @@ } /deep/.el-input__inner{ position: relative; width: 0.9rem!important; height: 0.125rem!important; width:140px; height:22px; background-color: #2e4967; color: #ffffff; font-size: 12px; @@ -368,6 +354,14 @@ //padding-left:20px ; //padding: 0!important; } /deep/.el-input__icon{ display: block; width: 140px; height: 22px; line-height: 22px; cursor: pointer; font-size: 0; } .echatsInput{ color: #00ffff; background-color: #2e4967; @@ -375,6 +369,7 @@ border-radius: 6px; width: 80px; height: 22px; text-align: center; } input::-webkit-calendar-picker-indicator { opacity: 100; @@ -383,7 +378,7 @@ background-color:#2e4967; text-align: center; padding: 0 7px; line-height: 20px; line-height: 24px; border-radius: 4px; margin-right: 6px; } @@ -397,9 +392,6 @@ #echarts { margin: 0; padding: 0; //height: 3rem; //border: 1px solid #396d83; //margin: 10px 10px 10px 10px; } } </style> src/components/BaseNav/PublicBounced/GasComponents/EChartsHour.vue
@@ -298,94 +298,92 @@ <style scoped lang="less"> .grid-content{ font-size: 8px!important; background-color:#2e4967; text-align: center; margin: 0 2px 4px 2px; border-radius: 2px; font-size: 8px; background-color: #2e4967; text-align: center; border-radius: 2px; margin-right: 10px; padding:0 10px } .Infomation { margin-left: 10px; .infomation { padding: 5px 10px; } .form-echrts { width: 100%; border-top: 1px solid #396d83; //margin: 10px 10px 10px 10px; .from-search{ display: flex; padding:5px; >div{margin-left: 10px} .pickerMon{ display: flex; >div:first-child{ margin-right: 10px; } .pickerData{ flex: 1; display: flex; >span{line-height: 22px} .pickerTable{ margin-left: 6px; /deep/.el-input{ font-size: 0px; .el-input__prefix{ width: 100%; } } /deep/.el-input__icon { //font-size: 0; width: 100%; } } } } /deep/.el-date-editor--datetime{ width: 100%; } /deep/.el-input__inner{ position: relative; width: 0.9rem!important; height: 0.125rem!important; background-color: #2e4967; color: #ffffff; font-size: 12px; height: 24px; padding: 0; //padding-left:20px ; //padding: 0!important; } .echatsInput{ color: #00ffff; background-color: #2e4967; border: none; border-radius: 6px; width: 80px; height: 22px; } input::-webkit-calendar-picker-indicator { opacity: 100; } .detailbtn{ background-color:#2e4967; text-align: center; padding: 0 7px; line-height: 20px; border-radius: 4px; } } .el-dialog-div { //height: 50vh!important; overflow: auto; //overflow: hidden; } #echarts { margin: 0; padding: 0; //height: 3rem; //border: 1px solid #396d83; width: 100%; border-top: 1px solid #396d83; //margin: 10px 10px 10px 10px; } .from-search{ display: flex; padding:5px; >div{margin-left: 10px} .pickerMon{ display: flex; >div:first-child { margin-right: 10px; } .pickerData{ flex: 1; display: flex; >span{line-height: 22px} .pickerTable { margin-left: 3px; } } } /deep/.el-date-editor--datetime{ width: 100%; } /deep/.el-input__inner{ position: relative; width:140px; height:22px; background-color: #2e4967; color: #ffffff; font-size: 12px; height: 24px; padding: 0; //padding-left:20px ; //padding: 0!important; } /deep/.el-input__icon{ display: block; width: 140px; height: 22px; line-height: 22px; cursor: pointer; font-size: 0; } .echatsInput{ color: #00ffff; background-color: #2e4967; border: none; border-radius: 6px; width: 80px; height: 22px; text-align: center; } input::-webkit-calendar-picker-indicator { opacity: 100; } .detailbtn{ background-color:#2e4967; text-align: center; padding: 0 7px; line-height: 24px; border-radius: 4px; margin-right: 6px; } } .el-dialog-div { //height: 50vh!important; overflow: auto; //overflow: hidden; } #echarts { margin: 0; padding: 0; } } </style> src/components/BaseNav/PublicBounced/GasComponents/PublicChart.vue
@@ -9,16 +9,15 @@ <li @click='tabTaggle("EChartsHour")'>小时数据</li> <li @click='tabTaggle("EChartsDate")'>日数据</li> <li @click='tabTaggle("ECharts")'>人工数据</li> <div id="title" > <span><strong> </strong></span> <span >正常</span> <span ></span> <span >预警</span> <span ></span> <span >超标</span> <span ></span> </div> </ul> <div class="legend" > <span >正常</span> <i style=" background: #4ec99c;"></i> <span >预警</span> <i style=" background: red;"></i> <span >超标</span> <i style=" background: orange;"></i> </div> <component :is="currentTab" v-bind="$attrs"></component> </div> </template> @@ -103,66 +102,39 @@ .tab { display: flex; border-bottom: 1px solid #396d83; margin-bottom: 10px; padding:5px 10px } li { .tab li { background-color: #243a55; margin: 10px 10px 2px 10px; /*padding: 5px 10px;*/ width: 90px; height: 25px; line-height: 25px; text-align: center; border-radius: 5px; margin-right: 10px; padding:0 15px } ul li:hover { .tab li:hover { background-color: #0e639e; color: #682000; cursor: pointer; } #title{ height: 30px; /* margin-top: 30px; */ color: #ffffff; margin-top: 5px; .legend{ position: absolute; top:10px; right: 0; display: flex; justify-items: center; } .legend i { display: block; width: 35px; height: 15px; margin:0 10px 0 3px; border-radius: 3px; } .legend span{ line-height: 15px; } #title span:nth-child(1){ /*margin-left: 478px*/ } #title span:nth-child(2){ /*margin-left: 177px*/ } #title span:nth-child(3){ display: inline-block; background-color: #4ec99c; height: 15px; width: 35px; margin-left: 10px; border-radius: 5px; } #title span:nth-child(6){ /*margin-left: 21px*/ } #title span:nth-child(7){ display: inline-block; background-color: red; height: 15px; width: 35px; margin-left: 7px; border-radius: 5px; } #title span:nth-child(4){ margin-left: 17px; } #title span:nth-child(5){ display: inline-block; background-color: orange; height: 15px; width: 35px; margin-left: 9px; border-radius: 5px; } </style> src/components/BaseNav/PublicBounced/GasComponents/PublicTabs.vue
@@ -9,16 +9,14 @@ <div class="main"> <div class="main-matter"> <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.porltName }}</el-col> <el-col :span="8">排放类型名称:{{ setWasteGasdata.MonTypeName }}</el-col> </el-row> <el-row type="flex" class="row-bg row-item-two" justify="space-around"> <el-col :span="8">排放去向:{{ setWasteGasdata.EmissDirecti }}</el-col> <el-col :span="18">控制级别名称:{{ setWasteGasdata.ContrLevelShowName }}</el-col> <el-col :span="18">内/外排口:{{ setWasteGasdata.OrOutPortName }}</el-col> </el-row> <ul> <li>监测点名称:{{ setWasteGasdata.Name }}</li> <li>生产单位:{{ setWasteGasdata.porltName }}</li> <li>排放类型名称:{{ setWasteGasdata.MonTypeName }}</li> <li>排放去向:{{ setWasteGasdata.EmissDirecti }}</li> <li>控制级别名称:{{ setWasteGasdata.ContrLevelShowName }}</li> <li>内/外排口:{{ setWasteGasdata.OrOutPortName }}</li> </ul> </div> <div v-else-if="value === 'gufei'"> <ul> @@ -31,16 +29,14 @@ </ul> </div> <div v-else-if="value === 'feishui'"> <el-row type="flex" class="row-bg row-item-one" justify="space-around"> <el-col :span="8">监测点名称:{{ setWasteWaterdata.Name }}</el-col> <el-col :span="8">生产单位:{{ setWasteWaterdata.porltName }}</el-col> <el-col :span="8">排放类型名称:{{ setWasteWaterdata.MonTypeName }}</el-col> </el-row> <el-row type="flex" class="row-bg row-item-two" justify="space-around"> <el-col :span="8">排放去向:{{ setWasteWaterdata.EmissDirecti }}</el-col> <el-col :span="8">控制级别名称:{{ setWasteWaterdata.ContrLevelShowName }}</el-col> <el-col :span="8">内/外排口:{{ setWasteWaterdata.OrOutPortName }}</el-col> </el-row> <ul> <li>监测点名称:{{ setWasteWaterdata.Name }}</li> <li>生产单位:{{ setWasteWaterdata.porltName }}</li> <li>排放类型名称:{{ setWasteWaterdata.MonTypeName }}</li> <li>排放去向:{{ setWasteWaterdata.EmissDirecti }}</li> <li>控制级别名称:{{ setWasteWaterdata.ContrLevelShowName }}</li> <li>内/外排口:{{ setWasteWaterdata.OrOutPortName }}</li> </ul> </div> </div> </div> @@ -87,40 +83,8 @@ .main-matter { font-size: 13px; font-weight: normal; padding: 0 6px; padding: 6px; border: 1px solid #396d83; .row-item-one { //flex-wrap: nowrap; overflow: hidden; margin-top: 6px; margin-bottom: 7px; //margin-left: 10px; } .row-item-two{ margin-bottom: 6px; } .el-row { width: 100%; color: #00d0f9; display: flex; font-size: 12px !important; text-align: center; .el-col { text-align: center; flex: 1; width: 100%; background-color: #243a55; margin-left: 6px; border-radius: 4px; &:nth-child(1) { margin-left: 0; } } } ul { //width: 100%; //height: 100%; @@ -128,16 +92,14 @@ align-items: center; justify-content: space-around; flex-wrap: wrap; line-height: 30px; margin-bottom: -6px; li { margin-bottom: 6px; text-align: center; width: 32%; height: 30px; margin: 5px auto; min-width: 32%; background-color: #243a55; color: #00d0f9; border-radius: 4px; border-radius: 3px; font-size: 0.08rem; } src/components/BaseNav/PublicBounced/PublicBounced.vue
@@ -1,7 +1,7 @@ <template> <div class="public-bounced" v-drag v-if="flag"> <div class="public-bounced map-background" v-drag v-if="flag"> <!-- <Echarts></Echarts>--> <div class="public-bounced-title"> <div class="public-bounced-title panel-title"> <span>{{ displayContentTitle }}</span> <i class="el-icon-circle-close" @click="closePopup"></i> </div> @@ -101,16 +101,13 @@ <style lang="less" scoped> .public-bounced { z-index: 999; z-index: 2000; position: absolute; top: 15%; left: 20%; background-color: #002432; border: 1px #9fc5c8 solid; .public-bounced-title { height: 0.1rem; border: 1px #a4c0d8 solid; padding: 10px 0; display: flex; align-items: center; @@ -123,11 +120,14 @@ } i { color: white; margin: 0 15px; font-size: 22px; cursor: pointer; color: #C0C4CC; margin: 0 15px; font-size: 22px; cursor: pointer; } i:hover{ color: #00fff6; } } .public-bounced-content { src/components/LayerController/LayerController.vue
@@ -21,7 +21,7 @@ import iconSetting from '@/assets/images/map-pages/icon/setting.png' import LcServiceLayer from './modules/LcServiceLayer' import bus from '@/eventBus' export default { name: 'LayerController', components: { LcServiceLayer }, @@ -55,9 +55,22 @@ } } }, mounted () { const that = this bus.$on('changeState', function (state) { if (state.num !== 3 && state.type) { that.layerControllerVisible = false } }) }, methods: { showPanel () { this.layerControllerVisible = !this.layerControllerVisible const state = { type: this.layerControllerVisible, num: 3 } bus.$emit('changeState', state) }, switchPanel () { this.panelSwitch.main = !this.panelSwitch.main src/components/panel/ToolBoxPanel.vue
@@ -96,6 +96,9 @@ // 测量的方法 import Measure from '@/components/plugin/MeaSure' // import bus from '@/eventBus' export default { name: 'ToolBoxPanel', components: { @@ -263,7 +266,19 @@ ] } }, mounted () { /* import bus from '@/eventBus' */ const that = this bus.$on('changeState', function (state) { if (state.num !== 1 && state.type) { that.selectGroup = false that.isShow = [] that.active = -1 } }) }, methods: { init (map) { this.map = map this.toolBoxPanelVisible = true @@ -391,6 +406,11 @@ this.isShow = !this.isShow this.active = -1 } const state = { type: this.selectGroup, num: 1 } bus.$emit('changeState', state) } } } src/components/table/summarySheets.vue
@@ -47,7 +47,7 @@ import IndexStatistics from './components/IndexStatistics' import '@/components/BaseNav/SolidWaste/directive/dir' import bus from '@/eventBus' export default { name: 'summary-sheet.vue', components: { @@ -68,6 +68,7 @@ } }, methods: { closeBtn () { this.$refs.summarySheets.show() this.summaryVisible = true @@ -82,10 +83,20 @@ }, subtopicBtn () { this.subtopic = !this.subtopic const state = { type: this.subtopic, num: 2 } bus.$emit('changeState', state) } }, mounted () { const that = this bus.$on('changeState', function (state) { if (state.num !== 2 && state.type) { that.subtopic = false } }) this.$nextTick(() => { this.$refs.summarySheets.$on('closeDialog', () => { that.summaryVisible = false src/eventBus.js
New file @@ -0,0 +1,2 @@ import Vue from 'vue' export default new Vue()