รายการโครงการ => ผูก API รายการโครงการ
This commit is contained in:
parent
bb5847a652
commit
8266808827
6 changed files with 156 additions and 84 deletions
|
|
@ -1,23 +1,16 @@
|
|||
import { defineStore } from "pinia";
|
||||
import { reactive } from "vue";
|
||||
import { ref } from 'vue'
|
||||
import type { FormQueryProject } from "@/modules/15_development/interface/request/Main";
|
||||
import { ref } from "vue";
|
||||
|
||||
import type { QTableProps } from "quasar";
|
||||
|
||||
// store
|
||||
export const useDevelopmentDataStore = defineStore(
|
||||
"developmentDataStore",
|
||||
() => {
|
||||
const formFilter = reactive<FormQueryProject>({
|
||||
year: new Date().getFullYear(),
|
||||
keyword: "",
|
||||
});
|
||||
|
||||
const visibleColumns = ref<string[]>([]);
|
||||
const columns = ref<QTableProps["columns"]>([]);
|
||||
const rows = ref<any[]>([])
|
||||
const rows = ref<any[]>([]);
|
||||
return {
|
||||
formFilter,
|
||||
visibleColumns,
|
||||
columns,
|
||||
rows,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue