|
@@ -1,6 +1,6 @@
|
|
<template>
|
|
<template>
|
|
<view>
|
|
<view>
|
|
- <u-navbar title="环比分析" title-color="#101010">
|
|
|
|
|
|
+ <u-navbar :title="title" title-color="#101010">
|
|
</u-navbar>
|
|
</u-navbar>
|
|
|
|
|
|
<u-picker-select :noselect="false" @confirm="selector2confirm" @reset="selector2reset" :defaultTime="queryDate"
|
|
<u-picker-select :noselect="false" @confirm="selector2confirm" @reset="selector2reset" :defaultTime="queryDate"
|
|
@@ -15,7 +15,7 @@
|
|
|
|
|
|
</view>
|
|
</view>
|
|
<span>
|
|
<span>
|
|
- 每月用电量(kW·h)
|
|
|
|
|
|
+ 环比分析-每月用电量(kW·h)
|
|
|
|
|
|
</span>
|
|
</span>
|
|
|
|
|
|
@@ -40,7 +40,7 @@
|
|
|
|
|
|
</view>
|
|
</view>
|
|
<span>
|
|
<span>
|
|
- 每小时用电量(kW·h)
|
|
|
|
|
|
+ 环比分析-每小时用电量(kW·h)
|
|
|
|
|
|
</span>
|
|
</span>
|
|
|
|
|
|
@@ -93,7 +93,8 @@
|
|
description: "",
|
|
description: "",
|
|
timeList1: [],
|
|
timeList1: [],
|
|
timeList2: [],
|
|
timeList2: [],
|
|
- nowYear: '',
|
|
|
|
|
|
+ nowYear: '',
|
|
|
|
+ title:"",
|
|
|
|
|
|
}
|
|
}
|
|
},
|
|
},
|
|
@@ -101,14 +102,14 @@
|
|
this.meterNo = op.id
|
|
this.meterNo = op.id
|
|
//this.type=op.type
|
|
//this.type=op.type
|
|
//this.typeName=op.typeName
|
|
//this.typeName=op.typeName
|
|
-
|
|
|
|
|
|
+ this.title=op.title
|
|
this.nowDate = parseUnixTime(currentTimeStamp(), '{y}-{m}-{d}');
|
|
this.nowDate = parseUnixTime(currentTimeStamp(), '{y}-{m}-{d}');
|
|
this.queryDate = parseUnixTime(beforeTimeStamp(0), '{y}-{m}-{d}');
|
|
this.queryDate = parseUnixTime(beforeTimeStamp(0), '{y}-{m}-{d}');
|
|
this.queryDateStr = parseUnixTime(new Date(this.queryDate), '{y}年{m}月{d}日');
|
|
this.queryDateStr = parseUnixTime(new Date(this.queryDate), '{y}年{m}月{d}日');
|
|
|
|
|
|
this.nowYear = new Date().getFullYear()
|
|
this.nowYear = new Date().getFullYear()
|
|
//this.showlist1 = [];
|
|
//this.showlist1 = [];
|
|
-
|
|
|
|
|
|
+
|
|
|
|
|
|
this.electricityMonthTB()
|
|
this.electricityMonthTB()
|
|
this.electricityHourByYear()
|
|
this.electricityHourByYear()
|
|
@@ -418,7 +419,8 @@
|
|
align-items: center;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
justify-content: space-between;
|
|
.icon {
|
|
.icon {
|
|
- width: 8rpx;
|
|
|
|
|
|
+ width: 8rpx;
|
|
|
|
+ margin-right: 8rpx;
|
|
height: 32rpx;
|
|
height: 32rpx;
|
|
background-color: rgba(22, 119, 255, 1);
|
|
background-color: rgba(22, 119, 255, 1);
|
|
}
|
|
}
|