-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ICBC DL lookup, VI incident details page, Remove Autocomplete on inpu…
…t fields (#188)
- Loading branch information
1 parent
817a903
commit 42ed1d1
Showing
24 changed files
with
319 additions
and
135 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 17 additions & 0 deletions
17
roadside-forms-frontend/frontend_web_app/src/api/icbcDriverDataAPI.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
import { api } from "./config/axiosConfig"; | ||
import { createRequestHeader } from "../utils/requestHeaders"; | ||
|
||
export const ICBCDriverDataApi = { | ||
get: async function (driver_licence_no) { | ||
const headers = { | ||
...createRequestHeader(), | ||
}; | ||
const response = await api.request({ | ||
url: `/api/v1/icbc/drivers/${driver_licence_no}`, | ||
method: "GET", | ||
headers: { ...headers }, | ||
}); | ||
console.log(response); | ||
return response; | ||
}, | ||
}; |
17 changes: 17 additions & 0 deletions
17
roadside-forms-frontend/frontend_web_app/src/api/icbcVehicleDataApi.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
import { api } from "./config/axiosConfig"; | ||
import { createRequestHeader } from "../utils/requestHeaders"; | ||
|
||
export const ICBCVehicleDataApi = { | ||
get: async function (licencePlate) { | ||
const headers = { | ||
...createRequestHeader(), | ||
}; | ||
const response = await api.request({ | ||
url: `/api/v1/icbc/vehicles/${licencePlate}`, | ||
method: "GET", | ||
headers: { ...headers }, | ||
}); | ||
console.log(response); | ||
return response.data; | ||
}, | ||
}; |
Binary file removed
BIN
-310 KB
roadside-forms-frontend/frontend_web_app/src/assets/MV2634E_082023_Driver.png
Binary file not shown.
Binary file removed
BIN
-107 KB
roadside-forms-frontend/frontend_web_app/src/assets/MV2634E_082023_ILO.png
Binary file not shown.
Binary file removed
BIN
-209 KB
roadside-forms-frontend/frontend_web_app/src/assets/MV2634E_082023_Police.png
Binary file not shown.
Binary file removed
BIN
-799 KB
roadside-forms-frontend/frontend_web_app/src/assets/MV2634_102018_driver.png
Binary file not shown.
Binary file removed
BIN
-614 KB
roadside-forms-frontend/frontend_web_app/src/assets/MV2634_102018_police.png
Binary file not shown.
Binary file added
BIN
+136 KB
...e-forms-frontend/frontend_web_app/src/assets/MV2722_201502_Incident_Details.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.