เพิ่ม router.push ไปทะเบียน
This commit is contained in:
parent
c5b95ef15b
commit
bbe2dcb273
4 changed files with 44 additions and 21 deletions
|
|
@ -1,6 +1,7 @@
|
|||
import { defineStore } from "pinia";
|
||||
import { ref, } from "vue";
|
||||
import { useCounterMixin } from "@/stores/mixin";
|
||||
|
||||
const mixin = useCounterMixin();
|
||||
const {
|
||||
date2Thai
|
||||
|
|
@ -12,7 +13,6 @@ export const useInsigniaDataStore = defineStore("insignia", () => {
|
|||
let typeOc = ref<string>("")
|
||||
let rows = ref<any>([])
|
||||
const listinsignia = ref<any>([])
|
||||
const typeinsigniaValues: Set<number> = new Set();
|
||||
const typeinsignia = ref<number | string>("all");
|
||||
let typeinsigniaOptions = ref<any>([{ id: "all", name: "ทั้งหมด" }]);
|
||||
|
||||
|
|
@ -66,6 +66,7 @@ export const useInsigniaDataStore = defineStore("insignia", () => {
|
|||
}
|
||||
}
|
||||
};
|
||||
|
||||
return {
|
||||
optionsTypeOc,
|
||||
typeOc,
|
||||
|
|
@ -74,6 +75,5 @@ export const useInsigniaDataStore = defineStore("insignia", () => {
|
|||
typeinsignia,
|
||||
fetchData,
|
||||
searchFilterTable,
|
||||
|
||||
};
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue