fix(leave):sort
This commit is contained in:
parent
7a833e0ee5
commit
fb3902edce
15 changed files with 388 additions and 973 deletions
|
|
@ -6,11 +6,13 @@ import { useCounterMixin } from "@/stores/mixin";
|
|||
import type { QTableProps } from "quasar";
|
||||
import type { FormDetail } from "@/modules/09_leave/interface/response/work";
|
||||
|
||||
|
||||
export const useWorklistDataStore = defineStore("work", () => {
|
||||
/** รายการลงเวลาปฏิบัติงาน */
|
||||
const tabs = ref<string>("1");
|
||||
|
||||
/** ข้อมูล Table */
|
||||
const mixin = useCounterMixin()
|
||||
const { date2Thai } = mixin
|
||||
const mixin = useCounterMixin();
|
||||
const { date2Thai } = mixin;
|
||||
const columns = ref<QTableProps["columns"]>([]);
|
||||
const visibleColumns = ref<string[]>([]);
|
||||
|
||||
|
|
@ -95,11 +97,12 @@ export const useWorklistDataStore = defineStore("work", () => {
|
|||
formData.checkOutLocationName = data.checkOutLocationName;
|
||||
}
|
||||
return {
|
||||
tabs,
|
||||
columns,
|
||||
visibleColumns,
|
||||
selectDate,
|
||||
convertSatatus,
|
||||
getData,
|
||||
formData
|
||||
formData,
|
||||
};
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue