updated โครงการ tab ลักษณะโครงการ
This commit is contained in:
parent
2360aaceb5
commit
c7fca7f372
4 changed files with 189 additions and 96 deletions
|
|
@ -8,6 +8,7 @@ import type { FormAddProject } from "@/modules/15_development/interface/request/
|
|||
export const useDevelopmentDataStore = defineStore(
|
||||
"developmentDataStore",
|
||||
() => {
|
||||
const projectStatus = ref<string>("ONGOING");
|
||||
const statusEdit = ref<boolean>(false);
|
||||
const formAddProject = reactive<FormAddProject>({
|
||||
year: new Date().getFullYear(), //ปีงบประมาณ*
|
||||
|
|
@ -123,6 +124,7 @@ export const useDevelopmentDataStore = defineStore(
|
|||
const visibleColumns = ref<string[]>([]);
|
||||
const columns = ref<QTableProps["columns"]>([]);
|
||||
const rows = ref<any[]>([]);
|
||||
|
||||
return {
|
||||
formAddProject,
|
||||
clearFormAddProject,
|
||||
|
|
@ -130,6 +132,7 @@ export const useDevelopmentDataStore = defineStore(
|
|||
columns,
|
||||
rows,
|
||||
statusEdit,
|
||||
projectStatus,
|
||||
};
|
||||
}
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue