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.setConstruction(pileStationInfo.getConstruction());
vo.setBusinessHours(pileStationInfo.getBusinessHours());
vo.setAloneApply(pileStationInfo.getAloneApply());
// vo.setOrganizationCode(pileStationInfo.getor);
vo.setPublicFlag(pileStationInfo.getPublicFlag());
vo.setOpenFlag(pileStationInfo.getOpenFlag());

View File

@@ -44,6 +44,11 @@ public class PileStationVO {
*/
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.setBmsDemandElectricity(new BigDecimal(realTimeData_0x23.getBmsCurrentDemand()).toBigInteger().toString());
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.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-form-item>
</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-form-item prop="capacity" label="容量">
<el-input v-model="station.capacity" required="true"></el-input>
@@ -242,6 +255,7 @@ export default {
address: "",
stationTel: "",
matchCars: "",
aloneApply: "",
parkingNumber: "",
parkFeeDescribe: "",
accountNumber: "",
@@ -283,6 +297,16 @@ export default {
label: "否",
},
],
aloneApplyOptions: [
{
value: "1",
label: "是",
},
{
value: "0",
label: "否",
},
],
rules: {
stationName: [
{