กำหนดสิทธิ์จัดการโครงสร้าง
This commit is contained in:
parent
79875347f9
commit
6e9c8bf593
8 changed files with 801 additions and 4 deletions
|
|
@ -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,
|
||||
};
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue