|
@@ -21,7 +21,7 @@
|
|
</a-row>
|
|
</a-row>
|
|
</a-form>
|
|
</a-form>
|
|
</div>
|
|
</div>
|
|
- <div class="trend-charts" ref="trendCharts" :style="{ height: echartsHeight + 'px' }"></div>
|
|
|
|
|
|
+ <div class="trend-charts" ref="trendCharts" :style="{ height: echartsHeight + 'px', }"></div>
|
|
|
|
|
|
<!-- table区域-begin -->
|
|
<!-- table区域-begin -->
|
|
<div>
|
|
<div>
|
|
@@ -29,6 +29,7 @@
|
|
ref="table"
|
|
ref="table"
|
|
size="middle"
|
|
size="middle"
|
|
:scroll="{ x: true }"
|
|
:scroll="{ x: true }"
|
|
|
|
+ style="padding-top:10px;"
|
|
bordered
|
|
bordered
|
|
rowKey="id"
|
|
rowKey="id"
|
|
:columns="columns2"
|
|
:columns="columns2"
|
|
@@ -197,7 +198,6 @@ export default {
|
|
if (arg === 1) {
|
|
if (arg === 1) {
|
|
this.ipagination.current = 1
|
|
this.ipagination.current = 1
|
|
}
|
|
}
|
|
- console.log("tagtype", this.queryParams.tagtype)
|
|
|
|
var params = this.getQueryParams() //查询条件
|
|
var params = this.getQueryParams() //查询条件
|
|
params.equipmentid = !this.queryParams.equipmentid ? '' : this.queryParams.equipmentid
|
|
params.equipmentid = !this.queryParams.equipmentid ? '' : this.queryParams.equipmentid
|
|
params.day = !this.queryParams.day ? '' : this.queryParams.day
|
|
params.day = !this.queryParams.day ? '' : this.queryParams.day
|
|
@@ -281,8 +281,8 @@ export default {
|
|
initEcharts() {
|
|
initEcharts() {
|
|
var _this = this
|
|
var _this = this
|
|
var chartDom = _this.$refs.trendCharts
|
|
var chartDom = _this.$refs.trendCharts
|
|
|
|
+ _this.myChart && _this.myChart.dispose();
|
|
_this.myChart = echarts.init(chartDom)
|
|
_this.myChart = echarts.init(chartDom)
|
|
- console.log(3)
|
|
|
|
|
|
|
|
var option = {
|
|
var option = {
|
|
animationDuration: 3000, // 动态,刷新时长,3秒
|
|
animationDuration: 3000, // 动态,刷新时长,3秒
|
|
@@ -511,7 +511,7 @@ export default {
|
|
</style>
|
|
</style>
|
|
<style lang="less">
|
|
<style lang="less">
|
|
.trend-charts {
|
|
.trend-charts {
|
|
- padding: 10px;
|
|
|
|
|
|
+ padding: 12px;
|
|
margin-top: 10px;
|
|
margin-top: 10px;
|
|
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
|
|
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
|
|
}
|
|
}
|