added checks emergency fixed bugs

This commit is contained in:
2024-09-27 14:13:09 -04:00
parent 54fa47268d
commit 7832e40bf3
17 changed files with 304 additions and 148 deletions

View File

@@ -201,20 +201,20 @@ export default defineComponent({
})
},
increaseCall() {
let path = import.meta.env.VITE_BASE_URL + '/stats/calls/add';
// increaseCall() {
// let path = import.meta.env.VITE_BASE_URL + '/stats/calls/add';
axios({
method: "put",
url: path,
withCredentials: true,
headers: authHeader(),
})
.then((response: any) => {
this.number++;
// axios({
// method: "put",
// url: path,
// withCredentials: true,
// headers: authHeader(),
// })
// .then((response: any) => {
// this.number++;
})
},
// })
// },
getCompany() {
let path = import.meta.env.VITE_BASE_URL + '/admin/company/' + import.meta.env.VITE_COMPANY_ID;