|
@@ -1,52 +1,56 @@
|
|
|
<template>
|
|
|
<div class="app-container">
|
|
|
- <el-form ref="queryForm" size="small" :inline="true">
|
|
|
- <el-form-item label="时间">
|
|
|
- <el-date-picker
|
|
|
- :clearable="false"
|
|
|
- v-model="dateTime"
|
|
|
- type="datetimerange"
|
|
|
- range-separator="至"
|
|
|
- start-placeholder="开始日期"
|
|
|
- end-placeholder="结束日期"
|
|
|
- :default-time="['00:00:00', '23:45:00']"
|
|
|
- />
|
|
|
- </el-form-item>
|
|
|
- <el-form-item label="场站名称">
|
|
|
- <el-select v-model="stationCode" placeholder="请选择">
|
|
|
- <el-option
|
|
|
- v-for="item in stationList"
|
|
|
- :key="item.value"
|
|
|
- :label="item.label"
|
|
|
- :value="item.value">
|
|
|
- </el-option>
|
|
|
- </el-select>
|
|
|
- </el-form-item>
|
|
|
- <el-form-item label="预测类型">
|
|
|
- <el-select v-model="forecastType" placeholder="请选择">
|
|
|
- <el-option
|
|
|
- v-for="item in forecastTypeList"
|
|
|
- :key="item.value"
|
|
|
- :label="item.label"
|
|
|
- :value="item.value">
|
|
|
- </el-option>
|
|
|
- </el-select>
|
|
|
- </el-form-item>
|
|
|
- <el-form-item :label="this.forecastType=='dq'?'预测D+':'预测T+'">
|
|
|
- <el-select v-model="ago" placeholder="请选择">
|
|
|
- <el-option
|
|
|
- v-for="item in this.points()"
|
|
|
- :key="item.value"
|
|
|
- :label="item.label"
|
|
|
- :value="item.value">
|
|
|
- </el-option>
|
|
|
- </el-select>
|
|
|
- </el-form-item>
|
|
|
- <el-form-item>
|
|
|
- <el-button type="primary" style="margin-left: 5px" icon="el-icon-search" @click="dataQuery">查询
|
|
|
- </el-button>
|
|
|
- </el-form-item>
|
|
|
- </el-form>
|
|
|
+ <div class="dark-el-input dark-el-button">
|
|
|
+ <el-form ref="queryForm" size="small" :inline="true">
|
|
|
+ <el-form-item label="时间">
|
|
|
+ <el-date-picker
|
|
|
+ :clearable="false"
|
|
|
+ v-model="dateTime"
|
|
|
+ type="datetimerange"
|
|
|
+ range-separator="至"
|
|
|
+ start-placeholder="开始日期"
|
|
|
+ end-placeholder="结束日期"
|
|
|
+ :default-time="['00:00:00', '23:45:00']"
|
|
|
+ popper-class="cpp-popper"
|
|
|
+ />
|
|
|
+ </el-form-item>
|
|
|
+ <el-form-item label="场站名称">
|
|
|
+ <el-select v-model="stationCode" placeholder="请选择" popper-class="cpp-popper">
|
|
|
+ <el-option
|
|
|
+ v-for="item in stationList"
|
|
|
+ :key="item.value"
|
|
|
+ :label="item.label"
|
|
|
+ :value="item.value">
|
|
|
+ </el-option>
|
|
|
+ </el-select>
|
|
|
+ </el-form-item>
|
|
|
+ <el-form-item label="预测类型">
|
|
|
+ <el-select v-model="forecastType" placeholder="请选择" popper-class="cpp-popper">
|
|
|
+ <el-option
|
|
|
+ v-for="item in forecastTypeList"
|
|
|
+ :key="item.value"
|
|
|
+ :label="item.label"
|
|
|
+ :value="item.value">
|
|
|
+ </el-option>
|
|
|
+ </el-select>
|
|
|
+ </el-form-item>
|
|
|
+ <el-form-item :label="this.forecastType=='dq'?'预测D+':'预测T+'">
|
|
|
+ <el-select v-model="ago" placeholder="请选择" popper-class="cpp-popper">
|
|
|
+ <el-option
|
|
|
+ v-for="item in this.points()"
|
|
|
+ :key="item.value"
|
|
|
+ :label="item.label"
|
|
|
+ :value="item.value">
|
|
|
+ </el-option>
|
|
|
+ </el-select>
|
|
|
+ </el-form-item>
|
|
|
+ <el-form-item>
|
|
|
+ <el-button type="primary" popper-class="cpp-popper" style="margin-left: 5px" icon="el-icon-search"
|
|
|
+ @click="dataQuery">查询
|
|
|
+ </el-button>
|
|
|
+ </el-form-item>
|
|
|
+ </el-form>
|
|
|
+ </div>
|
|
|
<div style="padding-top: 10px">
|
|
|
<div>当前结果为:[<span style="color: #FF0000">{{ this.stationCodeInfo }}</span>发电站]-[预测<span
|
|
|
style="color: #FF0000">{{ this.forecastTypeInfo }}</span>]-[预测<span
|
|
@@ -270,7 +274,7 @@ export default {
|
|
|
})
|
|
|
},
|
|
|
zqlDraw(times, datas) {
|
|
|
- this.zqlChart = echarts.init(document.getElementById('zqlCharts'), null, {renderer: 'svg'})
|
|
|
+ this.zqlChart = echarts.init(document.getElementById('zqlCharts'), "dark", {renderer: 'svg'})
|
|
|
let option = {
|
|
|
backgroundColor: 'transparent',
|
|
|
title: {
|
|
@@ -279,7 +283,7 @@ export default {
|
|
|
textStyle: {
|
|
|
fontWeight: 'normal',
|
|
|
fontSize: 16,
|
|
|
- color: this.lineColor
|
|
|
+ // //color: this.lineColor
|
|
|
},
|
|
|
left: '1%'
|
|
|
},
|
|
@@ -302,7 +306,7 @@ export default {
|
|
|
right: '4%',
|
|
|
textStyle: {
|
|
|
fontSize: 12,
|
|
|
- color: this.lineColor
|
|
|
+ // //color: this.lineColor
|
|
|
},
|
|
|
selected: {}
|
|
|
},
|
|
@@ -315,7 +319,7 @@ export default {
|
|
|
left: "15%",
|
|
|
right: "15%",
|
|
|
textStyle: {
|
|
|
- color: this.lineColor
|
|
|
+ // //color: this.lineColor
|
|
|
}
|
|
|
}, {
|
|
|
type: 'inside'
|
|
@@ -332,7 +336,7 @@ export default {
|
|
|
boundaryGap: false,
|
|
|
axisLine: {
|
|
|
lineStyle: {
|
|
|
- color: this.lineColor
|
|
|
+ //color: this.lineColor
|
|
|
}
|
|
|
},
|
|
|
data: times
|
|
@@ -347,7 +351,7 @@ export default {
|
|
|
},
|
|
|
axisLine: {
|
|
|
lineStyle: {
|
|
|
- color: this.lineColor
|
|
|
+ //color: this.lineColor
|
|
|
}
|
|
|
},
|
|
|
|
|
@@ -355,7 +359,7 @@ export default {
|
|
|
margin: 10,
|
|
|
textStyle: {
|
|
|
fontSize: 14,
|
|
|
- color: this.lineColor
|
|
|
+ //color: this.lineColor
|
|
|
},
|
|
|
formatter: '{value}',
|
|
|
},
|
|
@@ -413,7 +417,8 @@ export default {
|
|
|
});
|
|
|
},
|
|
|
pcDraw(times, datas) {
|
|
|
- this.pcChart = echarts.init(document.getElementById('pcCharts'), null, {renderer: 'svg'})
|
|
|
+ this.pcChart = echarts.init(document.getElementById('pcCharts'), "dark", {renderer: 'svg'})
|
|
|
+
|
|
|
let option = {
|
|
|
backgroundColor: 'transparent',
|
|
|
title: {
|
|
@@ -422,7 +427,7 @@ export default {
|
|
|
textStyle: {
|
|
|
fontWeight: 'normal',
|
|
|
fontSize: 16,
|
|
|
- color: this.lineColor
|
|
|
+ //color: this.lineColor
|
|
|
},
|
|
|
left: '1%'
|
|
|
},
|
|
@@ -445,7 +450,7 @@ export default {
|
|
|
right: '4%',
|
|
|
textStyle: {
|
|
|
fontSize: 12,
|
|
|
- color: this.lineColor
|
|
|
+ //color: this.lineColor
|
|
|
},
|
|
|
selected: {}
|
|
|
},
|
|
@@ -458,7 +463,7 @@ export default {
|
|
|
right: "15%",
|
|
|
top: "90%",
|
|
|
textStyle: {
|
|
|
- color: this.lineColor
|
|
|
+ //color: this.lineColor
|
|
|
}
|
|
|
}, {
|
|
|
type: 'inside'
|
|
@@ -475,7 +480,7 @@ export default {
|
|
|
boundaryGap: false,
|
|
|
axisLine: {
|
|
|
lineStyle: {
|
|
|
- color: this.lineColor
|
|
|
+ //color: this.lineColor
|
|
|
}
|
|
|
},
|
|
|
data: times
|
|
@@ -488,7 +493,7 @@ export default {
|
|
|
},
|
|
|
axisLine: {
|
|
|
lineStyle: {
|
|
|
- color: this.lineColor
|
|
|
+ //color: this.lineColor
|
|
|
}
|
|
|
},
|
|
|
|
|
@@ -496,7 +501,7 @@ export default {
|
|
|
margin: 10,
|
|
|
textStyle: {
|
|
|
fontSize: 14,
|
|
|
- color: this.lineColor
|
|
|
+ //color: this.lineColor
|
|
|
},
|
|
|
formatter: '{value}',
|
|
|
},
|