Explorar o código

update src/views/ocpp/operationUtil.js

wudebin hai 8 meses
pai
achega
8a7961299b
Modificáronse 1 ficheiros con 5 adicións e 0 borrados
  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);