|
@@ -1,33 +1,34 @@
|
|
|
<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>
|
|
|
- <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>
|
|
|
+ <el-button type="primary" style="margin-left: 5px" icon="el-icon-search" @click="dataQuery">查询
|
|
|
+ </el-button>
|
|
|
+ </el-form-item>
|
|
|
+ </el-form>
|
|
|
+ </div>
|
|
|
<div style="padding-top: 10px">
|
|
|
<el-tabs type="card" v-model="activeName" @tab-click="tabClick">
|
|
|
<el-tab-pane label="列表" name="first">
|
|
@@ -42,8 +43,7 @@
|
|
|
border
|
|
|
resizable
|
|
|
show-overflow
|
|
|
- :data="tableData.slice((currentPage-1) * pageSize,currentPage * pageSize)"
|
|
|
- height="535">
|
|
|
+ :data="tableData.slice((currentPage-1) * pageSize,currentPage * pageSize)">
|
|
|
<vxe-table-column field="stationCode" title="场站名称" :formatter="stationCodeFormat" width="200px"
|
|
|
fixed="left"></vxe-table-column>
|
|
|
<vxe-table-column field="time" title="时间" width="180px" fixed="left"></vxe-table-column>
|
|
@@ -203,7 +203,7 @@ export default {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- this.fsChart = echarts.init(document.getElementById('fscharts'))
|
|
|
+ this.fsChart = echarts.init(document.getElementById('fscharts'),'dark')
|
|
|
|
|
|
this.fsChart.setOption({
|
|
|
backgroundColor: 'transparent',
|
|
@@ -213,7 +213,7 @@ export default {
|
|
|
textStyle: {
|
|
|
fontWeight: 'normal',
|
|
|
fontSize: 16,
|
|
|
- color: this.lineColor
|
|
|
+ // color: this.lineColor
|
|
|
},
|
|
|
left: '1%'
|
|
|
},
|
|
@@ -235,7 +235,7 @@ export default {
|
|
|
right: '4%',
|
|
|
textStyle: {
|
|
|
fontSize: 12,
|
|
|
- color: this.lineColor
|
|
|
+ // color: this.lineColor
|
|
|
},
|
|
|
selected: {
|
|
|
'总辐射': true,
|
|
@@ -250,9 +250,9 @@ export default {
|
|
|
end: 100,
|
|
|
left: "15%",
|
|
|
right: "15%",
|
|
|
- textStyle: {
|
|
|
- color: this.lineColor
|
|
|
- }
|
|
|
+ // textStyle: {
|
|
|
+ // color: this.lineColor
|
|
|
+ // }
|
|
|
}, {
|
|
|
type: 'inside'
|
|
|
}],
|
|
@@ -266,11 +266,11 @@ export default {
|
|
|
xAxis: [{
|
|
|
type: 'category',
|
|
|
boundaryGap: false,
|
|
|
- axisLine: {
|
|
|
- lineStyle: {
|
|
|
- color: this.lineColor
|
|
|
- }
|
|
|
- },
|
|
|
+ // axisLine: {
|
|
|
+ // lineStyle: {
|
|
|
+ // color: this.lineColor
|
|
|
+ // }
|
|
|
+ // },
|
|
|
data: timeaxis
|
|
|
}],
|
|
|
yAxis: [{
|
|
@@ -279,11 +279,11 @@ export default {
|
|
|
axisTick: {
|
|
|
show: false
|
|
|
},
|
|
|
- axisLine: {
|
|
|
- lineStyle: {
|
|
|
- color: this.lineColor
|
|
|
- }
|
|
|
- },
|
|
|
+ // axisLine: {
|
|
|
+ // lineStyle: {
|
|
|
+ // color: this.lineColor
|
|
|
+ // }
|
|
|
+ // },
|
|
|
axisLabel: {
|
|
|
margin: 10,
|
|
|
textStyle: {
|
|
@@ -376,7 +376,7 @@ export default {
|
|
|
rh = sdData.rhs
|
|
|
}
|
|
|
}
|
|
|
- this.sdChart = echarts.init(document.getElementById('sdcharts'))
|
|
|
+ this.sdChart = echarts.init(document.getElementById('sdcharts'),'dark')
|
|
|
|
|
|
this.sdChart.setOption({
|
|
|
backgroundColor: 'transparent',
|
|
@@ -386,7 +386,7 @@ export default {
|
|
|
textStyle: {
|
|
|
fontWeight: 'normal',
|
|
|
fontSize: 16,
|
|
|
- color: this.lineColor
|
|
|
+ // color: this.lineColor
|
|
|
},
|
|
|
left: '1%'
|
|
|
},
|
|
@@ -408,7 +408,7 @@ export default {
|
|
|
right: '4%',
|
|
|
textStyle: {
|
|
|
fontSize: 12,
|
|
|
- color: this.lineColor
|
|
|
+ // color: this.lineColor
|
|
|
},
|
|
|
selected:{
|
|
|
'压强':true,
|
|
@@ -422,9 +422,9 @@ export default {
|
|
|
end: 100,
|
|
|
left: "15%",
|
|
|
right: "15%",
|
|
|
- textStyle: {
|
|
|
- color: this.lineColor
|
|
|
- }
|
|
|
+ // textStyle: {
|
|
|
+ // color: this.lineColor
|
|
|
+ // }
|
|
|
}, {
|
|
|
type: 'inside'
|
|
|
}],
|
|
@@ -438,11 +438,11 @@ export default {
|
|
|
xAxis: [{
|
|
|
type: 'category',
|
|
|
boundaryGap: false,
|
|
|
- axisLine: {
|
|
|
- lineStyle: {
|
|
|
- color: this.lineColor
|
|
|
- }
|
|
|
- },
|
|
|
+ // axisLine: {
|
|
|
+ // lineStyle: {
|
|
|
+ // color: this.lineColor
|
|
|
+ // }
|
|
|
+ // },
|
|
|
data: timeaxis
|
|
|
}],
|
|
|
yAxis: [{
|
|
@@ -451,22 +451,17 @@ export default {
|
|
|
axisTick: {
|
|
|
show: false
|
|
|
},
|
|
|
- axisLine: {
|
|
|
- lineStyle: {
|
|
|
- color: this.lineColor
|
|
|
- }
|
|
|
- },
|
|
|
+ // axisLine: {
|
|
|
+ // lineStyle: {
|
|
|
+ // color: this.lineColor
|
|
|
+ // }
|
|
|
+ // },
|
|
|
axisLabel: {
|
|
|
margin: 10,
|
|
|
textStyle: {
|
|
|
fontSize: 14
|
|
|
}
|
|
|
},
|
|
|
- splitLine: {
|
|
|
- lineStyle: {
|
|
|
- color: '#57617B'
|
|
|
- }
|
|
|
- }
|
|
|
},
|
|
|
{
|
|
|
type: 'value',
|
|
@@ -474,22 +469,12 @@ export default {
|
|
|
axisTick: {
|
|
|
show: false
|
|
|
},
|
|
|
- axisLine: {
|
|
|
- lineStyle: {
|
|
|
- color: '#57617B'
|
|
|
- }
|
|
|
- },
|
|
|
axisLabel: {
|
|
|
margin: 10,
|
|
|
textStyle: {
|
|
|
fontSize: 14
|
|
|
}
|
|
|
},
|
|
|
- splitLine: {
|
|
|
- lineStyle: {
|
|
|
- color: '#57617B'
|
|
|
- }
|
|
|
- }
|
|
|
}
|
|
|
],
|
|
|
series: [{
|