added print button and finalize
This commit is contained in:
@@ -55,6 +55,14 @@ export default defineComponent({
|
||||
user_id: 0,
|
||||
user_name: '',
|
||||
},
|
||||
company: {
|
||||
company_dba_name: '',
|
||||
company_llc_name: '',
|
||||
company_town: '',
|
||||
company_stat: 0,
|
||||
company_zip: '0',
|
||||
|
||||
},
|
||||
employee: {
|
||||
id: '',
|
||||
user_id: '',
|
||||
@@ -180,7 +188,21 @@ export default defineComponent({
|
||||
|
||||
})
|
||||
},
|
||||
getCompany() {
|
||||
let path = import.meta.env.VITE_BASE_URL + '/admin/company/' + import.meta.env.COMPANY_ID;
|
||||
|
||||
axios({
|
||||
method: "get",
|
||||
url: path,
|
||||
withCredentials: true,
|
||||
headers: authHeader(),
|
||||
})
|
||||
.then((response: any) => {
|
||||
this.company = response.data;
|
||||
|
||||
|
||||
})
|
||||
},
|
||||
},
|
||||
});
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user