Merge branch 'develop' of github.com:Frappet/BMA-EHR-USER into develop

* 'develop' of github.com:Frappet/BMA-EHR-USER:
  รายการการประเมินผลการปฏิบัติราชการระดับบุคคล =>  ผูก API
This commit is contained in:
Warunee Tamkoo 2024-05-13 14:49:33 +07:00
commit 975253d27c
7 changed files with 219 additions and 57 deletions

View file

@ -1,16 +1,19 @@
import { defineStore } from "pinia";
import { ref, reactive } from "vue";
import type { DataOptions } from "./interface/index/Main";
import type { FormQuery } from "@/modules/08_KPI/interface/request/index";
export const useKpiDataStore = defineStore("KPIDate", () => {
const tabMainevaluator = ref<string>("1");
const yearRound = ref<number>(new Date().getFullYear());
const formQuery = reactive({
const formQuery = reactive<FormQuery>({
page: 1,
pageSize: 10,
round: "",
keyword: "",
});
const selected = ref([]);
const tabMain = ref<string>("1");
const dataProfile = ref<any>({
profileId: null,
@ -338,5 +341,6 @@ export const useKpiDataStore = defineStore("KPIDate", () => {
tabMainevaluator,
formQuery,
yearRound,
selected,
};
});