|
@@ -4,11 +4,20 @@
|
|
|
<mainview @statechange="getstate" />
|
|
|
</div>
|
|
|
|
|
|
- <div id="appp" v-if="webstate1 != '0'">
|
|
|
- <div id="index" ref="appRef">
|
|
|
+ <div
|
|
|
+ id="appp"
|
|
|
+ v-if="webstate1 != '0'"
|
|
|
+ >
|
|
|
+ <div
|
|
|
+ id="index"
|
|
|
+ ref="appRef"
|
|
|
+ >
|
|
|
<div class="bg">
|
|
|
<dv-loading v-if="loading">Loading...</dv-loading>
|
|
|
- <div v-else class="host-body">
|
|
|
+ <div
|
|
|
+ v-else
|
|
|
+ class="host-body"
|
|
|
+ >
|
|
|
<div class="d-flex jc-center">
|
|
|
<dv-decoration-10 class="dv-dec-10" />
|
|
|
<div class="d-flex jc-center">
|
|
@@ -57,9 +66,7 @@
|
|
|
</div>
|
|
|
<div class="react-right mr-4 react-l-s">
|
|
|
<span class="react-after"></span>
|
|
|
- <span class="text"
|
|
|
- >{{ dateYear }} {{ dateWeek }} {{ dateDay }}</span
|
|
|
- >
|
|
|
+ <span class="text">{{ dateYear }} {{ dateWeek }} {{ dateDay }}</span>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
@@ -87,7 +94,20 @@
|
|
|
|
|
|
<!-- 第四行数据 -->
|
|
|
<div class="bototm-box">
|
|
|
+
|
|
|
<dv-border-box-13>
|
|
|
+ <!-- <el-select
|
|
|
+ v-model="value"
|
|
|
+ placeholder="请选择"
|
|
|
+ >
|
|
|
+ <el-option
|
|
|
+ v-for="item in options"
|
|
|
+ :key="item.value"
|
|
|
+ :label="item.label"
|
|
|
+ :value="item.value"
|
|
|
+ >
|
|
|
+ </el-option>
|
|
|
+ </el-select> -->
|
|
|
<bottomLeft />
|
|
|
</dv-border-box-13>
|
|
|
<dv-border-box-12>
|
|
@@ -532,14 +552,26 @@ export default {
|
|
|
this.res[this.sum - this.int].GasPump2.PumpWaterSupply = JSON.stringify(
|
|
|
response.data[i].GasPump2.PumpWaterSupply
|
|
|
);
|
|
|
- this.res[this.sum - this.int].GasPump1.InletValveEnabled =
|
|
|
- JSON.stringify(response.data[i].GasPump1.InletValveEnabled);
|
|
|
- this.res[this.sum - this.int].GasPump2.InletValveEnabled =
|
|
|
- JSON.stringify(response.data[i].GasPump2.InletValveEnabled);
|
|
|
- this.res[this.sum - this.int].GasPump1.OutletValveEnabled =
|
|
|
- JSON.stringify(response.data[i].GasPump1.OutletValveEnabled);
|
|
|
- this.res[this.sum - this.int].GasPump2.OutletValveEnabled =
|
|
|
- JSON.stringify(response.data[i].GasPump2.OutletValveEnabled);
|
|
|
+ this.res[
|
|
|
+ this.sum - this.int
|
|
|
+ ].GasPump1.InletValveEnabled = JSON.stringify(
|
|
|
+ response.data[i].GasPump1.InletValveEnabled
|
|
|
+ );
|
|
|
+ this.res[
|
|
|
+ this.sum - this.int
|
|
|
+ ].GasPump2.InletValveEnabled = JSON.stringify(
|
|
|
+ response.data[i].GasPump2.InletValveEnabled
|
|
|
+ );
|
|
|
+ this.res[
|
|
|
+ this.sum - this.int
|
|
|
+ ].GasPump1.OutletValveEnabled = JSON.stringify(
|
|
|
+ response.data[i].GasPump1.OutletValveEnabled
|
|
|
+ );
|
|
|
+ this.res[
|
|
|
+ this.sum - this.int
|
|
|
+ ].GasPump2.OutletValveEnabled = JSON.stringify(
|
|
|
+ response.data[i].GasPump2.OutletValveEnabled
|
|
|
+ );
|
|
|
this.res[this.sum - this.int].GasPump1.PumpEnabled = JSON.stringify(
|
|
|
response.data[i].GasPump1.PumpEnabled
|
|
|
);
|
|
@@ -552,8 +584,11 @@ export default {
|
|
|
this.res[this.sum - this.int].CoolantPump2.PumpEnabled = JSON.stringify(
|
|
|
response.data[i].CoolantPump2.PumpEnabled
|
|
|
);
|
|
|
- this.res[this.sum - this.int].CoolingTower.TowerEnabled =
|
|
|
- JSON.stringify(response.data[i].CoolingTower.TowerEnabled);
|
|
|
+ this.res[
|
|
|
+ this.sum - this.int
|
|
|
+ ].CoolingTower.TowerEnabled = JSON.stringify(
|
|
|
+ response.data[i].CoolingTower.TowerEnabled
|
|
|
+ );
|
|
|
this.res[this.sum - this.int].HighPool.Temperature = JSON.stringify(
|
|
|
response.data[i].HighPool.Temperature
|
|
|
);
|
|
@@ -566,8 +601,11 @@ export default {
|
|
|
this.res[this.sum - this.int].LowPool.WaterLevel = JSON.stringify(
|
|
|
response.data[i].LowPool.WaterLevel
|
|
|
);
|
|
|
- this.res[this.sum - this.int].Pipe.PipeNegativePressure =
|
|
|
- JSON.stringify(response.data[i].Pipe.PipeNegativePressure);
|
|
|
+ this.res[
|
|
|
+ this.sum - this.int
|
|
|
+ ].Pipe.PipeNegativePressure = JSON.stringify(
|
|
|
+ response.data[i].Pipe.PipeNegativePressure
|
|
|
+ );
|
|
|
this.res[this.sum - this.int].Pipe.PumpingTemperature = JSON.stringify(
|
|
|
response.data[i].Pipe.PumpingTemperature
|
|
|
);
|
|
@@ -586,18 +624,36 @@ export default {
|
|
|
this.res[this.sum - this.int].GasPump1.PumpTemperature = JSON.stringify(
|
|
|
response.data[i].GasPump1.PumpTemperature
|
|
|
);
|
|
|
- this.res[this.sum - this.int].GasPump1.MotorPhaseTemperatureA =
|
|
|
- JSON.stringify(response.data[i].GasPump1.MotorPhaseTemperatureA);
|
|
|
- this.res[this.sum - this.int].GasPump1.MotorPhaseTemperatureB =
|
|
|
- JSON.stringify(response.data[i].GasPump1.MotorPhaseTemperatureB);
|
|
|
- this.res[this.sum - this.int].GasPump1.MotorPhaseTemperatureC =
|
|
|
- JSON.stringify(response.data[i].GasPump1.MotorPhaseTemperatureC);
|
|
|
- this.res[this.sum - this.int].GasPump1.MotorFrontShaftTemperature =
|
|
|
- JSON.stringify(response.data[i].GasPump1.MotorFrontShaftTemperature);
|
|
|
- this.res[this.sum - this.int].GasPump1.MotorRearShaftTemperature =
|
|
|
- JSON.stringify(response.data[i].GasPump1.MotorRearShaftTemperature);
|
|
|
- this.res[this.sum - this.int].GasPump1.ReducerShaftTemperature =
|
|
|
- JSON.stringify(response.data[i].GasPump1.ReducerShaftTemperature);
|
|
|
+ this.res[
|
|
|
+ this.sum - this.int
|
|
|
+ ].GasPump1.MotorPhaseTemperatureA = JSON.stringify(
|
|
|
+ response.data[i].GasPump1.MotorPhaseTemperatureA
|
|
|
+ );
|
|
|
+ this.res[
|
|
|
+ this.sum - this.int
|
|
|
+ ].GasPump1.MotorPhaseTemperatureB = JSON.stringify(
|
|
|
+ response.data[i].GasPump1.MotorPhaseTemperatureB
|
|
|
+ );
|
|
|
+ this.res[
|
|
|
+ this.sum - this.int
|
|
|
+ ].GasPump1.MotorPhaseTemperatureC = JSON.stringify(
|
|
|
+ response.data[i].GasPump1.MotorPhaseTemperatureC
|
|
|
+ );
|
|
|
+ this.res[
|
|
|
+ this.sum - this.int
|
|
|
+ ].GasPump1.MotorFrontShaftTemperature = JSON.stringify(
|
|
|
+ response.data[i].GasPump1.MotorFrontShaftTemperature
|
|
|
+ );
|
|
|
+ this.res[
|
|
|
+ this.sum - this.int
|
|
|
+ ].GasPump1.MotorRearShaftTemperature = JSON.stringify(
|
|
|
+ response.data[i].GasPump1.MotorRearShaftTemperature
|
|
|
+ );
|
|
|
+ this.res[
|
|
|
+ this.sum - this.int
|
|
|
+ ].GasPump1.ReducerShaftTemperature = JSON.stringify(
|
|
|
+ response.data[i].GasPump1.ReducerShaftTemperature
|
|
|
+ );
|
|
|
this.res[this.sum - this.int].GasPump2.MotorCurrent = JSON.stringify(
|
|
|
response.data[i].GasPump2.MotorCurrent
|
|
|
);
|
|
@@ -607,18 +663,36 @@ export default {
|
|
|
this.res[this.sum - this.int].GasPump2.PumpTemperature = JSON.stringify(
|
|
|
response.data[i].GasPump2.PumpTemperature
|
|
|
);
|
|
|
- this.res[this.sum - this.int].GasPump2.MotorPhaseTemperatureA =
|
|
|
- JSON.stringify(response.data[i].GasPump2.MotorPhaseTemperatureA);
|
|
|
- this.res[this.sum - this.int].GasPump2.MotorPhaseTemperatureB =
|
|
|
- JSON.stringify(response.data[i].GasPump2.MotorPhaseTemperatureB);
|
|
|
- this.res[this.sum - this.int].GasPump2.MotorPhaseTemperatureC =
|
|
|
- JSON.stringify(response.data[i].GasPump2.MotorPhaseTemperatureC);
|
|
|
- this.res[this.sum - this.int].GasPump2.MotorFrontShaftTemperature =
|
|
|
- JSON.stringify(response.data[i].GasPump2.MotorFrontShaftTemperature);
|
|
|
- this.res[this.sum - this.int].GasPump2.MotorRearShaftTemperature =
|
|
|
- JSON.stringify(response.data[i].GasPump2.MotorRearShaftTemperature);
|
|
|
- this.res[this.sum - this.int].GasPump2.ReducerShaftTemperature =
|
|
|
- JSON.stringify(response.data[i].GasPump2.ReducerShaftTemperature);
|
|
|
+ this.res[
|
|
|
+ this.sum - this.int
|
|
|
+ ].GasPump2.MotorPhaseTemperatureA = JSON.stringify(
|
|
|
+ response.data[i].GasPump2.MotorPhaseTemperatureA
|
|
|
+ );
|
|
|
+ this.res[
|
|
|
+ this.sum - this.int
|
|
|
+ ].GasPump2.MotorPhaseTemperatureB = JSON.stringify(
|
|
|
+ response.data[i].GasPump2.MotorPhaseTemperatureB
|
|
|
+ );
|
|
|
+ this.res[
|
|
|
+ this.sum - this.int
|
|
|
+ ].GasPump2.MotorPhaseTemperatureC = JSON.stringify(
|
|
|
+ response.data[i].GasPump2.MotorPhaseTemperatureC
|
|
|
+ );
|
|
|
+ this.res[
|
|
|
+ this.sum - this.int
|
|
|
+ ].GasPump2.MotorFrontShaftTemperature = JSON.stringify(
|
|
|
+ response.data[i].GasPump2.MotorFrontShaftTemperature
|
|
|
+ );
|
|
|
+ this.res[
|
|
|
+ this.sum - this.int
|
|
|
+ ].GasPump2.MotorRearShaftTemperature = JSON.stringify(
|
|
|
+ response.data[i].GasPump2.MotorRearShaftTemperature
|
|
|
+ );
|
|
|
+ this.res[
|
|
|
+ this.sum - this.int
|
|
|
+ ].GasPump2.ReducerShaftTemperature = JSON.stringify(
|
|
|
+ response.data[i].GasPump2.ReducerShaftTemperature
|
|
|
+ );
|
|
|
this.int++;
|
|
|
}
|
|
|
if (this.oldres != this.res) {
|
|
@@ -637,7 +711,7 @@ export default {
|
|
|
|
|
|
<style lang="scss" scoped>
|
|
|
@import "@/assets/scss/index.scss";
|
|
|
-@import '@/assets/scss/style.scss';
|
|
|
+@import "@/assets/scss/style.scss";
|
|
|
#appp {
|
|
|
width: 1700px;
|
|
|
height: 800px;
|