|
@@ -12,95 +12,111 @@
|
|
|
B枪
|
|
|
</view>
|
|
|
</view>
|
|
|
- <view class="container-code">
|
|
|
- <view class="container-code-one" :class="statustext[1]" v-if="showCode== 0">
|
|
|
- {{statustext[0]}}
|
|
|
- </view>
|
|
|
- <view class="container-code-one" :class="statustextA[1]" v-if="showCode== 1">
|
|
|
- {{statustextA[0]}}
|
|
|
- </view>
|
|
|
- <view class="container-code-one" :class="statustextB[1]" v-if="showCode== 2">
|
|
|
- {{statustextB[0]}}
|
|
|
- </view>
|
|
|
- <view class="container-code-two" v-if="showCode== 0">
|
|
|
- <image src="../../../static/equipment/d5.png" mode="" v-if="chargerInfoVo.chgState === 2"
|
|
|
- @click="sendCharger('断电')"></image>
|
|
|
- <image src="../../../static/equipment/c1.png" mode=""
|
|
|
- v-if="chargerInfoVo.chgState === 0 || chargerInfoVo.chgState === 3" @click="sendCharger('充电')">
|
|
|
- </image>
|
|
|
- <image src="../../../static/equipment/d6.png" mode="" v-if="chargerInfoVo.chgState !== 2"></image>
|
|
|
- <image src="../../../static/equipment/c2.png" mode=""
|
|
|
- v-if="chargerInfoVo.chgState !== 0 && chargerInfoVo.chgState !== 3"></image>
|
|
|
- </view>
|
|
|
- <view class="container-code-two" v-if="showCode== 1">
|
|
|
- <image src="../../../static/equipment/d5.png" mode="" v-if="chargerInfoOneVo.chgState === 2"
|
|
|
- @click="sendChargerOut('断电',batInfoOneVo.gunCode,chargerInfoOneVo.chargerCode)">
|
|
|
- </image>
|
|
|
- <image src="../../../static/equipment/c1.png" mode=""
|
|
|
- v-if="chargerInfoOneVo.chgState === 0 || chargerInfoOneVo.chgState === 3"
|
|
|
- @click="sendChargerOut('充电',batInfoOneVo.gunCode,chargerInfoOneVo.chargerCode)"></image>
|
|
|
- <image src="../../../static/equipment/d6.png" mode="" v-if="chargerInfoOneVo.chgState !== 2">
|
|
|
- </image>
|
|
|
- <image src="../../../static/equipment/c2.png" mode=""
|
|
|
- v-if="chargerInfoOneVo.chgState !== 0 && chargerInfoOneVo.chgState !== 3"></image>
|
|
|
- </view>
|
|
|
- <view class="container-code-two" v-if="showCode== 2">
|
|
|
- <image src="../../../static/equipment/d5.png" mode="" v-if="chargerInfoTwoVo.chgState === 2"
|
|
|
- @click="sendChargerOut('断电',batInfoTwoVo.gunCode,chargerInfoTwoVo.chargerCode)">
|
|
|
- </image>
|
|
|
- <image src="../../../static/equipment/c1.png" mode=""
|
|
|
- v-if="chargerInfoTwoVo.chgState === 0 || chargerInfoTwoVo.chgState === 3"
|
|
|
- @click="sendChargerOut('充电',batInfoTwoVo.gunCode,chargerInfoTwoVo.chargerCode)"></image>
|
|
|
- <image src="../../../static/equipment/d6.png" mode="" v-if="chargerInfoTwoVo.chgState !== 2">
|
|
|
- </image>
|
|
|
- <image src="../../../static/equipment/c2.png" mode=""
|
|
|
- v-if="chargerInfoTwoVo.chgState !== 0 && chargerInfoTwoVo.chgState !== 3"></image>
|
|
|
- </view>
|
|
|
- </view>
|
|
|
-
|
|
|
-
|
|
|
- <BatteryStatus :storeCode="storeCode" :comState="comState" :sn="sn" :soc="soc"
|
|
|
- :chgEstimatedTime="chgEstimatedTime" :showCode="showCode" v-if="showCode== 0"></BatteryStatus>
|
|
|
- <BatteryStatus :storeCode="batInfoOneVo.storeCode" :comState="chargerInfoOneVo.comState"
|
|
|
- :sn="batInfoOneVo.sn" :soc="batInfoOneVo.soc" :chgEstimatedTime="chargerInfoOneVo.chgEstimatedTime"
|
|
|
- :showCode="showCode" v-if="showCode== 1"></BatteryStatus>
|
|
|
- <BatteryStatus :storeCode="batInfoTwoVo.storeCode" :comState="chargerInfoTwoVo.comState"
|
|
|
- :sn="batInfoTwoVo.sn" :soc="batInfoTwoVo.soc" :chgEstimatedTime="chargerInfoTwoVo.chgEstimatedTime"
|
|
|
- :showCode="showCode" v-if="showCode== 2"></BatteryStatus>
|
|
|
- <view class="battery-info">
|
|
|
- <view class="vim" v-if="showCode == 1">
|
|
|
- <text>vin码</text><text>{{batInfoOneVo.vin ||'-'}}</text>
|
|
|
- </view>
|
|
|
- <view class="vim" v-if="showCode == 2">
|
|
|
- <text>vin码</text><text>{{batInfoTwoVo.vin ||'-'}}</text>
|
|
|
- </view>
|
|
|
- <BatteryInfo :num="current" unit="A" text="电流" v-if="showCode == 0"></BatteryInfo>
|
|
|
- <BatteryInfo :num="batInfoOneVo.current" unit="A" text="电流" v-if="showCode ==1"></BatteryInfo>
|
|
|
- <BatteryInfo :num="batInfoTwoVo.current" unit="A" text="电流" v-if="showCode == 2"></BatteryInfo>
|
|
|
- <BatteryInfo :num="voltage" unit="V" text="电压" v-if="showCode == 0"></BatteryInfo>
|
|
|
- <BatteryInfo :num="batInfoOneVo.voltage" unit="V" text="电压" v-if="showCode == 1"></BatteryInfo>
|
|
|
- <BatteryInfo :num="batInfoTwoVo.voltage" unit="V" text="电压" v-if="showCode == 2"></BatteryInfo>
|
|
|
- <BatteryInfo :num="soh" unit="%" text="SOH" v-if="showCode == 0"></BatteryInfo>
|
|
|
- <view class="info-right" :style="chargerColor" v-if="showCode == 0">
|
|
|
- <image class="s1" :src="require('../../../static/equipment/'+`s${chargerState[0]}`+'.png')">
|
|
|
- <text>{{chargerState[1]}}</text>
|
|
|
- </view>
|
|
|
- <view class="info-right" :style="chargerColorA" v-if="showCode == 1">
|
|
|
- <image class="s1" :src="require('../../../static/equipment/'+`s${chargerStateA[0]}`+'.png')">
|
|
|
- <text>{{chargerStateA[1]}}</text>
|
|
|
+ <view class="topBox">
|
|
|
+ <view class="container-code">
|
|
|
+ <view class="container-code-one" :class="statustext[1]" v-if="showCode== 0">
|
|
|
+ {{statustext[0]}}
|
|
|
+ </view>
|
|
|
+ <view class="container-code-one" :class="statustextA[1]" v-if="showCode== 1">
|
|
|
+ {{statustextA[0]}}
|
|
|
+ </view>
|
|
|
+ <view class="container-code-one" :class="statustextB[1]" v-if="showCode== 2">
|
|
|
+ {{statustextB[0]}}
|
|
|
+ </view>
|
|
|
+ <view class="container-code-two" v-if="showCode== 0">
|
|
|
+ <image src="../../../static/equipment/d5.png" mode="" v-if="chargerInfoVo.chgState === 2"
|
|
|
+ @click="sendCharger('断电')"></image>
|
|
|
+ <image src="../../../static/equipment/d6.png" mode="" v-if="chargerInfoVo.chgState !== 2"></image>
|
|
|
+ <image src="../../../static/equipment/c1.png" mode=""
|
|
|
+ v-if="chargerInfoVo.chgState === 0 || chargerInfoVo.chgState === 3" @click="sendCharger('充电')">
|
|
|
+ </image>
|
|
|
+ <image src="../../../static/equipment/c2.png" mode=""
|
|
|
+ v-if="chargerInfoVo.chgState !== 0 && chargerInfoVo.chgState !== 3"></image>
|
|
|
+ </view>
|
|
|
+ <view class="container-code-two" v-if="showCode== 1">
|
|
|
+ <image src="../../../static/equipment/d5.png" mode="" v-if="chargerInfoOneVo.chgState === 2"
|
|
|
+ @click="sendChargerClose('断电',batInfoOneVo.gunCode,chargerInfoOneVo.chargerCode)">
|
|
|
+ </image>
|
|
|
+ <image src="../../../static/equipment/d6.png" mode="" v-if="chargerInfoOneVo.chgState !== 2">
|
|
|
+ </image>
|
|
|
+ <image src="../../../static/equipment/c1.png" mode=""
|
|
|
+ v-if="chargerInfoOneVo.chgState === 0 || chargerInfoOneVo.chgState === 3"
|
|
|
+ @click="sendChargerOpen('充电',batInfoOneVo.gunCode,chargerInfoOneVo.chargerCode)"></image>
|
|
|
+ <image src="../../../static/equipment/c2.png" mode=""
|
|
|
+ v-if="chargerInfoOneVo.chgState !== 0 && chargerInfoOneVo.chgState !== 3"></image>
|
|
|
+ </view>
|
|
|
+ <view class="container-code-two" v-if="showCode== 2">
|
|
|
+ <image src="../../../static/equipment/d5.png" mode="" v-if="chargerInfoTwoVo.chgState === 2"
|
|
|
+ @click="sendChargerClose('断电',batInfoTwoVo.gunCode,chargerInfoTwoVo.chargerCode)">
|
|
|
+ </image>
|
|
|
+ <image src="../../../static/equipment/d6.png" mode="" v-if="chargerInfoTwoVo.chgState !== 2">
|
|
|
+ </image>
|
|
|
+ <image src="../../../static/equipment/c1.png" mode=""
|
|
|
+ v-if="chargerInfoTwoVo.chgState === 0 || chargerInfoTwoVo.chgState === 3"
|
|
|
+ @click="sendChargerOpen('充电',batInfoTwoVo.gunCode,chargerInfoTwoVo.chargerCode)"></image>
|
|
|
+ <image src="../../../static/equipment/c2.png" mode=""
|
|
|
+ v-if="chargerInfoTwoVo.chgState !== 0 && chargerInfoTwoVo.chgState !== 3"></image>
|
|
|
+ </view>
|
|
|
</view>
|
|
|
- <view class="info-right" :style="chargerColorB" v-if="showCode == 2">
|
|
|
- <image class="s1" :src="require('../../../static/equipment/'+`s${chargerStateB[0]}`+'.png')">
|
|
|
- <text>{{chargerStateB[1]}}</text>
|
|
|
+ <BatteryStatus :storeCode="storeCode" :comState="comState" :sn="sn" :soc="soc"
|
|
|
+ :chgEstimatedTime="chgEstimatedTime" :showCode="showCode" v-if="showCode== 0"></BatteryStatus>
|
|
|
+ <BatteryStatus :storeCode="batInfoOneVo.storeCode" :comState="chargerInfoOneVo.comState"
|
|
|
+ :sn="batInfoOneVo.sn" :soc="batInfoOneVo.soc" :chgEstimatedTime="chargerInfoOneVo.chgEstimatedTime"
|
|
|
+ :showCode="showCode" v-if="showCode== 1"></BatteryStatus>
|
|
|
+ <BatteryStatus :storeCode="batInfoTwoVo.storeCode" :comState="chargerInfoTwoVo.comState"
|
|
|
+ :sn="batInfoTwoVo.sn" :soc="batInfoTwoVo.soc" :chgEstimatedTime="chargerInfoTwoVo.chgEstimatedTime"
|
|
|
+ :showCode="showCode" v-if="showCode== 2"></BatteryStatus>
|
|
|
+ <view class="battery-info">
|
|
|
+ <view class="vim" v-if="showCode == 1">
|
|
|
+ <text>vin码</text><text>{{batInfoOneVo.vin ||'-'}}</text>
|
|
|
+ </view>
|
|
|
+ <view class="vim" v-if="showCode == 2">
|
|
|
+ <text>vin码</text><text>{{batInfoTwoVo.vin ||'-'}}</text>
|
|
|
+ </view>
|
|
|
+ <template v-if="showCode == 0">
|
|
|
+ <BatteryInfo :num="chargerInfoVo.demandCurrent" unit="A" text="需求电流"></BatteryInfo>
|
|
|
+ <BatteryInfo :num="chargerInfoVo.demandVoltage" unit="V" text="需求电压"></BatteryInfo>
|
|
|
+ </template>
|
|
|
+ <template v-if="showCode == 1">
|
|
|
+ <BatteryInfo :num="chargerInfoOneVo.demandCurrent" unit="A" text="需求电流"></BatteryInfo>
|
|
|
+ <BatteryInfo :num="chargerInfoOneVo.demandVoltage" unit="V" text="需求电压"></BatteryInfo>
|
|
|
+ </template>
|
|
|
+ <template v-if="showCode == 2">
|
|
|
+ <BatteryInfo :num="chargerInfoTwoVo.demandCurrent" unit="A" text="需求电流"></BatteryInfo>
|
|
|
+ <BatteryInfo :num="chargerInfoTwoVo.demandVoltage" unit="V" text="需求电压"></BatteryInfo>
|
|
|
+ </template>
|
|
|
+ <BatteryInfo :num="current" unit="A" text="电流" v-if="showCode == 0 && chgType == 0"></BatteryInfo>
|
|
|
+ <BatteryInfo :num="batInfoOneVo.current" unit="A" text="电流" v-if="showCode ==1 && chgType == 0">
|
|
|
+ </BatteryInfo>
|
|
|
+ <BatteryInfo :num="batInfoTwoVo.current" unit="A" text="电流" v-if="showCode == 2 && chgType == 0">
|
|
|
+ </BatteryInfo>
|
|
|
+ <BatteryInfo :num="voltage" unit="V" text="电压" v-if="showCode == 0 && chgType == 0"></BatteryInfo>
|
|
|
+ <BatteryInfo :num="batInfoOneVo.voltage" unit="V" text="电压" v-if="showCode == 1 && chgType == 0">
|
|
|
+ </BatteryInfo>
|
|
|
+ <BatteryInfo :num="batInfoTwoVo.voltage" unit="V" text="电压" v-if="showCode == 2 && chgType == 0">
|
|
|
+ </BatteryInfo>
|
|
|
+ <BatteryInfo :num="soh" unit="%" text="SOH" v-if="showCode == 0"></BatteryInfo>
|
|
|
+ <view class="info-right" :style="chargerColor" v-if="showCode == 0">
|
|
|
+ <image class="s1" :src="require('../../../static/equipment/'+`s${chargerState[0]}`+'.png')">
|
|
|
+ <text>{{chargerState[1]}}</text>
|
|
|
+ </view>
|
|
|
+ <view class="info-right" :style="chargerColorA" v-if="showCode == 1">
|
|
|
+ <image class="s1" :src="require('../../../static/equipment/'+`s${chargerStateA[0]}`+'.png')">
|
|
|
+ <text>{{chargerStateA[1]}}</text>
|
|
|
+ </view>
|
|
|
+ <view class="info-right" :style="chargerColorB" v-if="showCode == 2">
|
|
|
+ <image class="s1" :src="require('../../../static/equipment/'+`s${chargerStateB[0]}`+'.png')">
|
|
|
+ <text>{{chargerStateB[1]}}</text>
|
|
|
+ </view>
|
|
|
+ <!-- <BatteryInfo :num="minTemperature" unit="℃" text="最低温度"></BatteryInfo>
|
|
|
+ <BatteryInfo :num="maxTemperature" unit="℃" text="最高温度"></BatteryInfo>
|
|
|
+ <BatteryInfo :num="maxCellVoltage" unit="V" text="最高单体电压"></BatteryInfo>
|
|
|
+ <BatteryInfo :num="minCellVoltage" unit="V" text="最低单体电压"></BatteryInfo>
|
|
|
+ <view class="info-right">
|
|
|
+ <image class="s1" src="../../../static/equipment/s1.png"><text class="text">{{StateNum}}</text>
|
|
|
+ </view>
|
|
|
+ -->
|
|
|
</view>
|
|
|
- <!-- <BatteryInfo :num="minTemperature" unit="℃" text="最低温度"></BatteryInfo>
|
|
|
- <BatteryInfo :num="maxTemperature" unit="℃" text="最高温度"></BatteryInfo>
|
|
|
- <BatteryInfo :num="maxCellVoltage" unit="V" text="最高单体电压"></BatteryInfo>
|
|
|
- <BatteryInfo :num="minCellVoltage" unit="V" text="最低单体电压"></BatteryInfo>
|
|
|
- <view class="info-right">
|
|
|
- <image class="s1" src="../../../static/equipment/s1.png"><text class="text">{{StateNum}}</text>
|
|
|
- </view>
|
|
|
- -->
|
|
|
</view>
|
|
|
<view class="battery-charger">
|
|
|
<BatteryCharger :chargerCode="chargerInfoVo.chargerCode" :comState="chargerInfoVo.comState"
|
|
@@ -110,29 +126,24 @@
|
|
|
<BatteryCharger :chargerCode="chargerInfoTwoVo.chargerCode" :comState="chargerInfoTwoVo.comState"
|
|
|
v-if="chargerInfoTwoVo.chargerCode &&showCode ==2"></BatteryCharger>
|
|
|
<view class="battery-info" v-if="chargerInfoVo.chargerCode && showCode ==0">
|
|
|
- <BatteryInfo :num="chargerInfoVo.demandCurrent" unit="A" text="需求电流"></BatteryInfo>
|
|
|
- <BatteryInfo :num="chargerInfoVo.demandVoltage" unit="V" text="需求电压"></BatteryInfo>
|
|
|
<BatteryInfo :num="chargerInfoVo.chgCurrent" unit="A" text="充电电流"></BatteryInfo>
|
|
|
<BatteryInfo :num="chargerInfoVo.chgVoltage" unit="V" text="充电电压"></BatteryInfo>
|
|
|
- <BatteryInfo :num="chargerInfoVo.chgCapacity" unit="kWh" text="累计充电电量"></BatteryInfo>
|
|
|
+ <!-- <BatteryInfo :num="chargerInfoVo.chgCapacity" unit="kWh" text="累计充电电量"></BatteryInfo> -->
|
|
|
</view>
|
|
|
<view class="battery-info" v-if="chargerInfoOneVo.chargerCode && showCode ==1">
|
|
|
- <BatteryInfo :num="chargerInfoOneVo.demandCurrent" unit="A" text="需求电流"></BatteryInfo>
|
|
|
- <BatteryInfo :num="chargerInfoOneVo.demandVoltage" unit="V" text="需求电压"></BatteryInfo>
|
|
|
<BatteryInfo :num="chargerInfoOneVo.chgCurrent" unit="A" text="充电电流"></BatteryInfo>
|
|
|
<BatteryInfo :num="chargerInfoOneVo.chgVoltage" unit="V" text="充电电压"></BatteryInfo>
|
|
|
- <BatteryInfo :num="chargerInfoOneVo.chgCapacity" unit="kWh" text="累计充电电量"></BatteryInfo>
|
|
|
+ <!-- <BatteryInfo :num="chargerInfoOneVo.chgCapacity" unit="kWh" text="累计充电电量"></BatteryInfo> -->
|
|
|
</view>
|
|
|
<view class="battery-info" v-if="chargerInfoTwoVo.chargerCode && showCode ==2">
|
|
|
- <BatteryInfo :num="chargerInfoTwoVo.demandCurrent" unit="A" text="需求电流"></BatteryInfo>
|
|
|
- <BatteryInfo :num="chargerInfoTwoVo.demandVoltage" unit="V" text="需求电压"></BatteryInfo>
|
|
|
+
|
|
|
<BatteryInfo :num="chargerInfoTwoVo.chgCurrent" unit="A" text="充电电流"></BatteryInfo>
|
|
|
<BatteryInfo :num="chargerInfoTwoVo.chgVoltage" unit="V" text="充电电压"></BatteryInfo>
|
|
|
- <BatteryInfo :num="chargerInfoTwoVo.chgCapacity" unit="kWh" text="累计充电电量"></BatteryInfo>
|
|
|
+ <!-- <BatteryInfo :num="chargerInfoTwoVo.chgCapacity" unit="kWh" text="累计充电电量"></BatteryInfo> -->
|
|
|
</view>
|
|
|
<view class="battery-charger-btn">
|
|
|
<view class="Plug-gun-charging" @click="ChargingMode(chgType)">
|
|
|
- {{chgType == 0 ?'插枪充电':'线束充电'}}
|
|
|
+ {{chgType == 0 ?'切换为插枪充电':'切换为线束充电'}}
|
|
|
</view>
|
|
|
<view class="Settings Plug-gun-charging" @click="set">
|
|
|
设置
|
|
@@ -276,22 +287,12 @@
|
|
|
}
|
|
|
})
|
|
|
},
|
|
|
- //仓外充电·断电操作
|
|
|
- sendChargerOut(name, guncode, chargerId) {
|
|
|
+ //仓外·断电操作
|
|
|
+ sendChargerClose(name, guncode, chargerId) {
|
|
|
let params = {}
|
|
|
- if (this.chargerInfoOneVo.chgState === 0 || this.chargerInfoOneVo.chgState === 3 ||
|
|
|
- this.chargerInfoTwoVo.chgState === 0 || this.chargerInfoTwoVo.chgState === 3) {
|
|
|
- params = {
|
|
|
- "chargerId": chargerId * 1,
|
|
|
- "gunNo": guncode,
|
|
|
- "strategy": 4,
|
|
|
- "strategyParam": 0
|
|
|
- }
|
|
|
- } else if (this.chargerInfoOneVo.chgState === 2 || this.chargerInfoTwoVo.chgState === 2) {
|
|
|
- params = {
|
|
|
- "chargerId": chargerId * 1,
|
|
|
- "gunNo": guncode,
|
|
|
- }
|
|
|
+ params = {
|
|
|
+ "chargerId": chargerId * 1,
|
|
|
+ "gunNo": guncode,
|
|
|
}
|
|
|
let that = this
|
|
|
uni.showModal({
|
|
@@ -300,7 +301,6 @@
|
|
|
success: function(res) {
|
|
|
if (res.confirm) { //点击确定
|
|
|
//断电操作
|
|
|
- console.log(that.chargerInfoOneVo,that.chargerInfoTwoVo)
|
|
|
if (that.chargerInfoOneVo.chgState === 2 || that.chargerInfoTwoVo.chgState === 2) {
|
|
|
that.$emit('ExchangeMessage', 'success', '断电指令已下发')
|
|
|
console.log('stop')
|
|
@@ -311,7 +311,30 @@
|
|
|
}).catch(err => {
|
|
|
console.error(err)
|
|
|
})
|
|
|
- } else if (that.chargerInfoOneVo.chgState === 0 || that.chargerInfoOneVo
|
|
|
+ }
|
|
|
+ } else if (res.cancel) {
|
|
|
+ return false
|
|
|
+ //用户点击取消按钮触发
|
|
|
+ }
|
|
|
+ }
|
|
|
+ })
|
|
|
+ },
|
|
|
+ //仓外充电
|
|
|
+ sendChargerOpen(name, guncode, chargerId) {
|
|
|
+ let params = {}
|
|
|
+ params = {
|
|
|
+ "chargerId": chargerId * 1,
|
|
|
+ "gunNo": guncode,
|
|
|
+ "strategy": 4,
|
|
|
+ "strategyParam": 0
|
|
|
+ }
|
|
|
+ let that = this
|
|
|
+ uni.showModal({
|
|
|
+ title: `确认发起${name}`,
|
|
|
+ content: '',
|
|
|
+ success: function(res) {
|
|
|
+ if (res.confirm) { //点击确定
|
|
|
+ if (that.chargerInfoOneVo.chgState === 0 || that.chargerInfoOneVo
|
|
|
.chgState === 3 ||
|
|
|
that.chargerInfoTwoVo.chgState === 0 || that.chargerInfoTwoVo.chgState === 3) {
|
|
|
//充电操作
|
|
@@ -324,7 +347,6 @@
|
|
|
console.error(err)
|
|
|
})
|
|
|
}
|
|
|
-
|
|
|
} else if (res.cancel) {
|
|
|
return false
|
|
|
//用户点击取消按钮触发
|
|
@@ -342,14 +364,14 @@
|
|
|
}
|
|
|
},
|
|
|
statustextA() {
|
|
|
- if (this.chargerInfoOneVo.comState === 1) {
|
|
|
+ if (this.batInfoOneVo.conState === 1) {
|
|
|
return ['已连接', 'success']
|
|
|
} else {
|
|
|
return ['未连接', 'warning']
|
|
|
}
|
|
|
},
|
|
|
statustextB() {
|
|
|
- if (this.chargerInfoTwoVo.comState === 1) {
|
|
|
+ if (this.batInfoTwoVo.conState === 1) {
|
|
|
return ['已连接', 'success']
|
|
|
} else {
|
|
|
return ['未连接', 'warning']
|
|
@@ -497,7 +519,9 @@
|
|
|
background-color: #636C97;
|
|
|
}
|
|
|
}
|
|
|
-
|
|
|
+ .topBox{
|
|
|
+ height: 688rpx;
|
|
|
+ }
|
|
|
.container-code {
|
|
|
display: flex;
|
|
|
margin-bottom: 10px;
|