From b4adf6cc5c6039b0a6379aabe28c4023e7ff00ed Mon Sep 17 00:00:00 2001 From: "DESKTOP-1R2VSQH\\Lenovo ThinkPad E490" Date: Tue, 26 Sep 2023 13:09:58 +0700 Subject: [PATCH] no message --- src/modules/07_insignia/store.ts | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/src/modules/07_insignia/store.ts b/src/modules/07_insignia/store.ts index a413574a8..cfc83495a 100644 --- a/src/modules/07_insignia/store.ts +++ b/src/modules/07_insignia/store.ts @@ -37,14 +37,11 @@ export const useInsigniaDataStore = defineStore("insignia", () => { { id: '44', title: 'บัญชีแสดงจำนวนชั้นตราเครื่องราชฯ' } ]) - const typeReport = ref(""); - const titleReport = ref(""); + + const mainTab = ref("pending"); - const setTypeandTitle = (type: string, title: string) => { - typeReport.value = type; - titleReport.value = title; - }; + // เรียกราชชื่อการเสนอขอ const fetchData = async (data: any) => { if (data !== null) { @@ -154,9 +151,6 @@ export const useInsigniaDataStore = defineStore("insignia", () => { fetchData, fetchOption, searchDataTable, - setTypeandTitle, - typeReport, - titleReport, employeeClass, employeeClassOps, fetchDataInsignia,