Explorar el Código

update src/views/ocpp/operationUtil.js

wudebin hace 8 meses
padre
commit
8a7961299b
Se han modificado 1 ficheros con 5 adiciones y 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: [],
         chargingProfileOption: [],
         chargingPurposeOption: [],
         chargingPurposeOption: [],
         certificateTypeOption: [],
         certificateTypeOption: [],
+        certificateHashOption: [],
         needChargingProfilePurpose: false
         needChargingProfilePurpose: false
       }
       }
       switch (operation.value) {
       switch (operation.value) {
@@ -135,6 +136,10 @@ const operation = {
           }
           }
           break;
           break;
         }
         }
+        case 'DCA': {//Delete Certificate
+          result.certificateHashOption = ["SHA256"]
+          break;
+        }
       }
       }
       /*if (result.needConnector && checkedList && checkedList.length > 0) {
       /*if (result.needConnector && checkedList && checkedList.length > 0) {
         let ress = await ocpp.getConnectorIds(checkedList[0].stationId);
         let ress = await ocpp.getConnectorIds(checkedList[0].stationId);