29 lines
865 B
TypeScript
29 lines
865 B
TypeScript
import { defineStore } from "pinia";
|
|
import { ref } from "vue";
|
|
|
|
export const useEvaluateStore = defineStore("evaluateStore", () => {
|
|
const tabMenu = ref<string>("1");
|
|
const step = ref<number>(1);
|
|
const titel = ref<string[]>([
|
|
"ตรวจสอบคุณสมบัติ",
|
|
"จัดเตรียมเอกสาร",
|
|
"ตรวจสอบเอกสาร",
|
|
"รอตรวจสอบคุณสมบัติ",
|
|
"ประกาศบนเว็บไซต์",
|
|
"จัดเตรียมเอกสารเล่ม 2",
|
|
"ตรวจสอบเอกสารเล่ม 2",
|
|
"รอพิจารณาผล",
|
|
"เสร็จสิ้น",
|
|
]);
|
|
|
|
const tabPanels = ref<string>("1");
|
|
|
|
const evaluateId = ref<string>("");
|
|
|
|
return {
|
|
tabMenu,
|
|
step,
|
|
titel,
|
|
tabPanels,
|
|
};
|
|
});
|