|
@@ -13,7 +13,7 @@
|
|
|
src="../../assets/img/controlcenter/daraTrue.png"
|
|
|
alt=""
|
|
|
/>
|
|
|
- <div class="titles">国电电力山西新能源开发有限公司</div>
|
|
|
+ <div class="titles">国电电力{{env === 'SX'? '山西': '河北'}}新能源开发有限公司</div>
|
|
|
</div>
|
|
|
</template>
|
|
|
<div class="body">
|
|
@@ -105,6 +105,7 @@ export default {
|
|
|
index: 0,
|
|
|
powerLineChartData: {},
|
|
|
intervals: null,
|
|
|
+ env: process.env.VUE_APP_ENV,
|
|
|
};
|
|
|
},
|
|
|
methods: {
|
|
@@ -128,11 +129,11 @@ export default {
|
|
|
},
|
|
|
async getDate() {
|
|
|
await this.getPower({
|
|
|
- PowerSet: "HB_GD_QYG_JS_XX_XX_XXX_CI0125",
|
|
|
+ PowerSet: this.env === 'HB'? "HB_GD_QYG_JS_XX_XX_XXX_CI0125" : "HB_GD_QYG_JS_XX_XX_XXX_CI0125",
|
|
|
name: "ActualPower",
|
|
|
});
|
|
|
await this.getPower({
|
|
|
- ActualPower: "HB_GD_QYG_JS_XX_XX_XXX_CI0180",
|
|
|
+ ActualPower: this.env === 'HB' ? "HB_GD_QYG_JS_XX_XX_XXX_CI0180" : "HB_GD_QYG_JS_XX_XX_XXX_CI0180",
|
|
|
name: "theoryPower",
|
|
|
});
|
|
|
this.timer = setTimeout(() => {
|