Преглед изворни кода

update src/views/ocpp/operationUtil.js

wudebin пре 8 месеци
родитељ
комит
8a7961299b
1 измењених фајлова са 5 додато и 0 уклоњено
  1. 5 0
      Strides-Admin/src/views/ocpp/operationUtil.js

+ 5 - 0
Strides-Admin/src/views/ocpp/operationUtil.js

@@ -22,6 +22,7 @@ const operation = {
         chargingProfileOption: [],
         chargingPurposeOption: [],
         certificateTypeOption: [],
+        certificateHashOption: [],
         needChargingProfilePurpose: false
       }
       switch (operation.value) {
@@ -135,6 +136,10 @@ const operation = {
           }
           break;
         }
+        case 'DCA': {//Delete Certificate
+          result.certificateHashOption = ["SHA256"]
+          break;
+        }
       }
       /*if (result.needConnector && checkedList && checkedList.length > 0) {
         let ress = await ocpp.getConnectorIds(checkedList[0].stationId);