complete progress section

This commit is contained in:
HAM!DREZA
2024-07-01 23:09:43 +03:30
parent 87e16dc016
commit a8e723ddf0
28 changed files with 333 additions and 103 deletions
+2 -2
View File
@@ -371,7 +371,7 @@ import {Tabs, Tab} from 'vue3-tabs-component';
import { useToast } from 'vue-toastification'
const toast = useToast()
const { data: tickets, refresh: load } = await useFetch("/api/ticket");
const { data: tickets, refresh: load } = await useFetch("/api/ticket/getTickets");
const loading = ref(false);
const addTicketForm = ref(false);
const subject = ref(null);
@@ -413,7 +413,7 @@ const sendTicket = async () => {
if (subject.value === null) {
return toast.error("موضوع تیکت را وارد کنید")
}
const data = await useFetch("/api/ticket", {
const data = await useFetch("/api/ticket/send", {
method: "POST",
body: {
subject: subject.value,