Office driver api get data works

This commit is contained in:
2024-03-12 18:28:22 -04:00
parent 54ee44ba66
commit b989344aa4
13 changed files with 140 additions and 25 deletions

View File

@@ -238,7 +238,7 @@ export default defineComponent({
mounted() {
this.getEmployeeTypeList();
this.getStatesList();
this.getEmployee(this.$route.params.id)
this.getEmployee(this.$route.params.id)
},
watch: {
$route() {

View File

@@ -236,7 +236,7 @@ export default defineComponent({
})
.then((response: any) => {
if (response.data) {
console.log(response.data)
this.employee = response.data;
this.loaded = true;