กำหนดสิทธิ์จัดการโครงสร้าง

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2024-09-06 15:47:06 +07:00
parent 79875347f9
commit 6e9c8bf593
8 changed files with 801 additions and 4 deletions

View file

@ -1,5 +1,33 @@
import { defineStore } from "pinia";
import { ref } from "vue";
export const useDataStore = defineStore("storeData", () => {
return {};
import type { DataOption } from "@/modules/02_users/interface/index/Main";
export const useDataStoreUser = defineStore("storeDataUser", () => {
const searchFieldOption = ref<DataOption[]>([
{
name: "ชื่อ-นามสกุล",
id: "fullName",
},
{
name: "เลขที่ตำแห่นง",
id: "posNo",
},
{
name: "ตำแหน่งในสายงาน",
id: "position",
},
{
name: "ประเภทตำแหน่ง",
id: "postype",
},
{
name: "ระดับตำแหน่ง",
id: "poslevel",
},
]);
return {
searchFieldOption,
};
});