|
@@ -68,23 +68,33 @@ export default {
|
|
|
|
|
|
|
|
|
created: function() {
|
|
|
- this.address = this.getWindPowerStationNameToSessionStorage();
|
|
|
+/* this.address = this.getWindPowerStationNameToSessionStorage();
|
|
|
this.windPowerStationId = uni.getStorageSync('windPowerStationId');
|
|
|
this.targetdetail_target();
|
|
|
this.targetdetail_curve();
|
|
|
- this.targetdetail_histogram();
|
|
|
+ this.targetdetail_histogram(); */
|
|
|
},
|
|
|
onShow() {
|
|
|
this.windPowerStationId = uni.getStorageSync('windPowerStationId');
|
|
|
this.address = this.getWindPowerStationNameToSessionStorage();
|
|
|
this.hideModals();
|
|
|
},
|
|
|
- onLoad() {
|
|
|
+ onLoad(pointKey) {
|
|
|
_self = this;
|
|
|
this.cWidth = uni.upx2px(750);
|
|
|
this.cHeight = uni.upx2px(400);
|
|
|
this.getColumnServerData();
|
|
|
this.getLineServerData();
|
|
|
+
|
|
|
+ this.address = this.getWindPowerStationNameToSessionStorage();
|
|
|
+ this.windPowerStationId = uni.getStorageSync('windPowerStationId');
|
|
|
+ this.pointKey = pointKey.pointKey;
|
|
|
+ this.targetName = pointKey.callTargetName;
|
|
|
+ this.targetUnit = pointKey.callTargetUnit;
|
|
|
+ this.targetdetail_target();
|
|
|
+ this.targetdetail_curve();
|
|
|
+ this.targetdetail_histogram();
|
|
|
+
|
|
|
},
|
|
|
onReady() {},
|
|
|
computed:{
|