|
@@ -149,22 +149,22 @@ const actions = {
|
|
|
commit("SET_USERNAME", data.username);
|
|
|
commit("SET_ROLE", data.type);
|
|
|
//
|
|
|
- // commit("SET_PROVINCECODE", data.adminAuthDto.provinceCode);
|
|
|
- // commit("SET_GATEAUTH", data.adminAuthDto.gateAuth);
|
|
|
- // commit("SET_PORTAUTH", data.adminAuthDto.portAuth);
|
|
|
- // commit("SET_CAPTUREAUTH", data.adminAuthDto.captureAuth);
|
|
|
- // commit("SET_VEHICLEAUTH", data.adminAuthDto.vehicleAuth);
|
|
|
- // commit("SET_ARCHIVESAUTH", data.adminAuthDto.archivesAuth);
|
|
|
- // commit(
|
|
|
- // "SET_BEHAVIORARCHIVESAUTH",
|
|
|
- // data.adminAuthDto.behaviorArchivesAuth
|
|
|
- // );
|
|
|
- // commit("SET_WARNINGAUTH", data.adminAuthDto.warningAuth);
|
|
|
- // commit("SET_FUNCTIONAUTH", data.adminAuthDto.functionAuth);
|
|
|
- // commit("SET_UAVAUTH", data.adminAuthDto.uavAuth);
|
|
|
- // commit("SET_TRAFFICLIGTSAUTH", data.adminAuthDto.trafficLightsAuth);
|
|
|
- // commit("SET_RAINSNOWAUTH", data.adminAuthDto.rainSnowAuth);
|
|
|
- // commit("SET_COCKPITAUTH", data.adminAuthDto.cockpitAuth);
|
|
|
+ commit("SET_PROVINCECODE", data.adminAuthDto.provinceCode);
|
|
|
+ commit("SET_GATEAUTH", data.adminAuthDto.gateAuth);
|
|
|
+ commit("SET_PORTAUTH", data.adminAuthDto.portAuth);
|
|
|
+ commit("SET_CAPTUREAUTH", data.adminAuthDto.captureAuth);
|
|
|
+ commit("SET_VEHICLEAUTH", data.adminAuthDto.vehicleAuth);
|
|
|
+ commit("SET_ARCHIVESAUTH", data.adminAuthDto.archivesAuth);
|
|
|
+ commit(
|
|
|
+ "SET_BEHAVIORARCHIVESAUTH",
|
|
|
+ data.adminAuthDto.behaviorArchivesAuth
|
|
|
+ );
|
|
|
+ commit("SET_WARNINGAUTH", data.adminAuthDto.warningAuth);
|
|
|
+ commit("SET_FUNCTIONAUTH", data.adminAuthDto.functionAuth);
|
|
|
+ commit("SET_UAVAUTH", data.adminAuthDto.uavAuth);
|
|
|
+ commit("SET_TRAFFICLIGTSAUTH", data.adminAuthDto.trafficLightsAuth);
|
|
|
+ commit("SET_RAINSNOWAUTH", data.adminAuthDto.rainSnowAuth);
|
|
|
+ commit("SET_COCKPITAUTH", data.adminAuthDto.cockpitAuth);
|
|
|
resolve(data);
|
|
|
})
|
|
|
.catch((error) => {
|