2023-12-13 15:24:59 +07:00
|
|
|
import { defineStore } from "pinia";
|
|
|
|
|
import { ref } from "vue";
|
|
|
|
|
|
2023-12-14 14:49:27 +07:00
|
|
|
export const useEvaluateStore = defineStore("evaluateStore", () => {
|
2023-12-13 15:24:59 +07:00
|
|
|
const tabMenu = ref<string>("1");
|
|
|
|
|
const step = ref<number>(1);
|
|
|
|
|
const titel = ref<string[]>([
|
|
|
|
|
"ตรวจสอบคุณสมบัติ",
|
|
|
|
|
"จัดเตรียมเอกสาร",
|
|
|
|
|
"ตรวจสอบเอกสาร",
|
|
|
|
|
"รอตรวจสอบคุณสมบัติ",
|
|
|
|
|
"ประกาศบนเว็บไซต์",
|
|
|
|
|
"จัดเตรียมเอกสารเล่ม 2",
|
|
|
|
|
"ตรวจสอบเอกสารเล่ม 2",
|
|
|
|
|
"รอพิจารณาผล",
|
|
|
|
|
"เสร็จสิ้น",
|
|
|
|
|
]);
|
|
|
|
|
|
|
|
|
|
const tabPanels = ref<string>("1");
|
|
|
|
|
|
2023-12-19 10:56:51 +07:00
|
|
|
const evaluateId = ref<string>("");
|
|
|
|
|
|
2023-12-13 15:24:59 +07:00
|
|
|
return {
|
|
|
|
|
tabMenu,
|
|
|
|
|
step,
|
|
|
|
|
titel,
|
|
|
|
|
tabPanels,
|
|
|
|
|
};
|
|
|
|
|
});
|