ข้อมูลตำแหน่ง: เพิ่มจำtab
This commit is contained in:
parent
727f3c6765
commit
253163fecc
2 changed files with 10 additions and 7 deletions
|
|
@ -9,8 +9,8 @@ import { useCounterMixin } from "@/stores/mixin";
|
|||
const { date2Thai } = useCounterMixin();
|
||||
|
||||
export const usePositionDataStore = defineStore("PositionData", () => {
|
||||
const pathLocation = ref<string>("list_position");
|
||||
const row = ref<DataRow[]>([]);
|
||||
const name = ref<any>([]);
|
||||
function save(data: DataResponse[], id: string) {
|
||||
const list = data.map((e) => ({
|
||||
...e,
|
||||
|
|
@ -26,5 +26,6 @@ export const usePositionDataStore = defineStore("PositionData", () => {
|
|||
return {
|
||||
save,
|
||||
row,
|
||||
pathLocation,
|
||||
};
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue