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;

View File

@@ -11,12 +11,12 @@
</div>
<div class="basis-1/2 md:basis-1/4 justify-end gap-5">
<router-link :to="{ name: 'login' }">
<button class="btn btn-primary">Login</button>
</router-link>
<router-link :to="{ name: 'register' }">
<button class="btn btn-primary">Register</button>
</router-link>
<router-link :to="{ name: 'login' }">
<button class="btn btn-primary">Login</button>
</router-link>
<router-link :to="{ name: 'register' }">
<button class="btn btn-primary">Register</button>
</router-link>
</div>
</div>
@@ -32,10 +32,10 @@ import { defineComponent } from "vue";
export default defineComponent({
name: "HeaderNoAuth",
mounted () {
mounted() {
},
data () {
data() {
return {
user: null,
loaded: false,
@@ -46,11 +46,9 @@ export default defineComponent({
},
methods: {
},
});
</script>
<style scoped>
</style>
<style scoped></style>