| | |
| | | <div id="Tab"> |
| | | <div class="animation"> |
| | | <div class="infomation"> |
| | | <span class="grid-content">氮氧化物 :<i>29.93</i> 标准 : 100</span> |
| | | <span class="grid-content">二氧化硫 : <i>17.34</i> 标准 : 50</span> |
| | | <span class="grid-content">烟尘 : <i>6.93</i> 标准 : 30</span> |
| | | <span class="grid-content">废气流量 : <i>120343.18</i></span> |
| | | <span class="grid-content">COD :<i>8.115</i> 标准 : 100</span> |
| | | <span class="grid-content">氨氮 : <i>0.31</i> 标准 : 50</span> |
| | | <span class="grid-content">废水流量 : <i>5191.693848</i></span> |
| | | </div> |
| | | </div> |
| | | <div class="form-echrts"> |
| | |
| | | <div class="pickerData"> |
| | | <span> 开始时间:</span> |
| | | <span class="pickerTable"> |
| | | <el-date-picker type="datetime" v-model="value1"></el-date-picker> |
| | | <el-date-picker type="datetime" v-model="formInline.timeStart"> |
| | | </el-date-picker> |
| | | </span> |
| | | </div> |
| | | <div class="pickerData"> |
| | | <span >结束时间:</span> |
| | | <span class="pickerTable"> |
| | | <el-date-picker type="datetime" v-model="value2"></el-date-picker> |
| | | <el-date-picker type="datetime" v-model="formInline.timeEnd"> |
| | | </el-date-picker> |
| | | </span> |
| | | </div> |
| | | </div> |
| | | <div> |
| | | 采样点数: |
| | | <el-select v-model="formInline.region" placeholder="50"> |
| | | <el-select v-model="formInline.region"> |
| | | <el-option label="0" value="0"></el-option> |
| | | <el-option label="25" value="25"></el-option> |
| | | <el-option label="50" value="50"></el-option> |
| | |
| | | <div class="detailbtn" @click="onSubmit">查询</div> |
| | | <div class="detailbtn" @click="dialogVisible = true" >明细表</div> |
| | | </div> |
| | | <div style="width:5rem;height:2rem;" id="echarts" ref="main"> |
| | | <!-- <div style="width:5rem;height:2rem;" id="popChart" ref="main">--> |
| | | <div class="boxChart" style="height: 260px"> |
| | | <div style="width: 100%;height: 100%;" id="popChart" ref="main"> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <!-- 明细弹框 --> |
| | |
| | | center |
| | | v-dialogDrag |
| | | > |
| | | <div class="el-dialog-div" style="height: 500px"> |
| | | <div class="el-dialog-div" style="height: 260px"> |
| | | <public-detailed-list v-bind="$attrs"></public-detailed-list> |
| | | </div> |
| | | </el-dialog> |
| | |
| | | import PublicDetailedList from '@components/BaseNav/PublicBounced/GasComponents/PublicDetailedList' |
| | | |
| | | export default { |
| | | name: 'ECharts', |
| | | name: 'EChartsDateWasteWater', |
| | | components: { |
| | | PublicDetailedList |
| | | }, |
| | |
| | | value: '', |
| | | formInline: { |
| | | user: '', |
| | | region: '' |
| | | region: '', |
| | | timeStart: '2021-03-14 00:00:00', |
| | | timeEnd: '2021-04-12 00:00:00' |
| | | }, |
| | | JsonDateWater: { |
| | | datatype: 1, |
| | |
| | | }, |
| | | lineStyle: { // 折线的颜色 |
| | | color: ydatas[i].zxcolor, |
| | | width: 5 |
| | | width: 4 |
| | | }, |
| | | borderColor: 'black', // 折点边框的颜色 |
| | | label: { // 显示值 |
| | |
| | | }, |
| | | lineStyle: { // 折线的颜色 |
| | | color: ydatas[i].zxcolor, |
| | | width: 5 |
| | | width: 4 |
| | | }, |
| | | borderColor: 'black', // 折点边框的颜色 |
| | | label: { // 显示值 |
| | |
| | | }, |
| | | grid: { // 网格 |
| | | top: '20%', |
| | | left: '5%' |
| | | left: '7%', |
| | | bottom: '10%' |
| | | }, |
| | | legend: { |
| | | data: legend |
| | |
| | | xAxis: { // x 轴设置 |
| | | type: 'category', |
| | | boundaryGap: false, |
| | | nameTextStyle: { |
| | | fontSize: 10 |
| | | }, |
| | | axisLabel: { // x轴全部显示 |
| | | rotate: 20, |
| | | interval: 0, |
| | | textStyle: { |
| | | color: '#fff' |
| | | color: '#fff', |
| | | fontSize: 10 |
| | | } |
| | | }, |
| | | splitLine: { // 网格垂直线为 虚线 |
| | |
| | | margin-right: 10px; |
| | | padding:0 10px |
| | | } |
| | | .animation { |
| | | //width: 600px; |
| | | //height: 0.06rem; |
| | | .infomation { |
| | | padding: 5px 10px; |
| | | } |
| | | } |
| | | |
| | | .form-echrts { |
| | | width: 100%; |
| | | border-top: 1px solid #396d83; |
| | |
| | | position: relative; |
| | | width:140px; |
| | | background-color: #2e4967; |
| | | color: #fff; |
| | | color: #ffffff; |
| | | font-size: 12px; |
| | | height: 24px; |
| | | padding: 0; |
| | |
| | | border-radius: 6px; |
| | | width: 80px; |
| | | height: 22px; |
| | | text-align: center; |
| | | } |
| | | input::-webkit-calendar-picker-indicator { |
| | | opacity: 100; |
| | |
| | | background-color:#2e4967; |
| | | text-align: center; |
| | | padding: 0 7px; |
| | | line-height: 20px; |
| | | line-height: 24px; |
| | | border-radius: 4px; |
| | | margin-right: 6px; |
| | | } |
| | | .detailbtn:hover{ |
| | | box-shadow: 0 0 0.03rem #fff700 !important; |
| | | color:#fff700 !important; |
| | | cursor: pointer; |
| | | } |
| | | } |
| | | .el-dialog-div { |
| | |
| | | //overflow: hidden; |
| | | } |
| | | |
| | | #echarts { |
| | | #popChart { |
| | | margin: 0; |
| | | padding: 0; |
| | | //height: 3rem; |
| | | //border: 1px solid #396d83; |
| | | //margin: 10px 10px 10px 10px; |
| | | } |
| | | } |
| | | </style> |