update 后管页面新增独立报桩字段

This commit is contained in:
Lemon
2025-04-28 16:38:35 +08:00
parent 297c251274
commit 0c76d906b3
4 changed files with 31 additions and 1 deletions

View File

@@ -207,6 +207,7 @@ public class PileStationInfoServiceImpl implements PileStationInfoService {
vo.setCountryCode(pileStationInfo.getCountryCode()); vo.setCountryCode(pileStationInfo.getCountryCode());
vo.setConstruction(pileStationInfo.getConstruction()); vo.setConstruction(pileStationInfo.getConstruction());
vo.setBusinessHours(pileStationInfo.getBusinessHours()); vo.setBusinessHours(pileStationInfo.getBusinessHours());
vo.setAloneApply(pileStationInfo.getAloneApply());
// vo.setOrganizationCode(pileStationInfo.getor); // vo.setOrganizationCode(pileStationInfo.getor);
vo.setPublicFlag(pileStationInfo.getPublicFlag()); vo.setPublicFlag(pileStationInfo.getPublicFlag());
vo.setOpenFlag(pileStationInfo.getOpenFlag()); vo.setOpenFlag(pileStationInfo.getOpenFlag());

View File

@@ -44,6 +44,11 @@ public class PileStationVO {
*/ */
private String areaCode; private String areaCode;
/**
* 是否独立报桩
*/
private String aloneApply;
/** /**
* 地区 * 地区
*/ */

View File

@@ -256,7 +256,7 @@ public class ChargeAlgorithmService {
detailInfo.setBmsDemandVoltage(new BigDecimal(realTimeData_0x23.getBmsVoltageDemand()).toBigInteger().toString()); detailInfo.setBmsDemandVoltage(new BigDecimal(realTimeData_0x23.getBmsVoltageDemand()).toBigInteger().toString());
detailInfo.setBmsDemandElectricity(new BigDecimal(realTimeData_0x23.getBmsCurrentDemand()).toBigInteger().toString()); detailInfo.setBmsDemandElectricity(new BigDecimal(realTimeData_0x23.getBmsCurrentDemand()).toBigInteger().toString());
detailInfo.setChargePower(realTimeData_0x23.getOutputPower()); detailInfo.setChargePower(realTimeData_0x23.getOutputPower());
detailInfo.setSingleMaxVoltage(new BigDecimal(parameterConfigData.getPileMaxOutputVoltage()).setScale(1, RoundingMode.HALF_DOWN).toString()); detailInfo.setSingleMaxVoltage(new BigDecimal(realTimeData_0x23.getBmsMaxVoltageAndGroup()).setScale(1, RoundingMode.HALF_DOWN).toString());
detailInfo.setSingleMinVoltage(new BigDecimal(parameterConfigData.getPileMinOutputVoltage()).setScale(1, RoundingMode.HALF_DOWN).toString()); detailInfo.setSingleMinVoltage(new BigDecimal(parameterConfigData.getPileMinOutputVoltage()).setScale(1, RoundingMode.HALF_DOWN).toString());
detailInfo.setMeasuringChargeVoltage(new BigDecimal(realTimeData_0x23.getBmsChargingVoltage()).toBigInteger().toString()); detailInfo.setMeasuringChargeVoltage(new BigDecimal(realTimeData_0x23.getBmsChargingVoltage()).toBigInteger().toString());

View File

@@ -186,6 +186,19 @@
<el-input v-model="station.accountNumber" required="true"></el-input> <el-input v-model="station.accountNumber" required="true"></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="6">
<el-form-item prop="aloneApply" label="是否独立报桩">
<el-select v-model="station.aloneApply" placeholder="请选择">
<el-option
v-for="item in aloneApplyOptions"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</el-select>
</el-form-item>
</el-col>
<el-col :span="6"> <el-col :span="6">
<el-form-item prop="capacity" label="容量"> <el-form-item prop="capacity" label="容量">
<el-input v-model="station.capacity" required="true"></el-input> <el-input v-model="station.capacity" required="true"></el-input>
@@ -242,6 +255,7 @@ export default {
address: "", address: "",
stationTel: "", stationTel: "",
matchCars: "", matchCars: "",
aloneApply: "",
parkingNumber: "", parkingNumber: "",
parkFeeDescribe: "", parkFeeDescribe: "",
accountNumber: "", accountNumber: "",
@@ -283,6 +297,16 @@ export default {
label: "否", label: "否",
}, },
], ],
aloneApplyOptions: [
{
value: "1",
label: "是",
},
{
value: "0",
label: "否",
},
],
rules: { rules: {
stationName: [ stationName: [
{ {