fix fetch

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2025-07-24 11:39:09 +07:00
parent 1888ce2f8b
commit 6824988322
9 changed files with 111 additions and 61 deletions

View file

@ -2,6 +2,7 @@ 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";
import type { DataProfile } from "@/interface/Main";
export const useKpiDataStore = defineStore("KPIDate", () => {
const mainRowData = ref<any>();
@ -17,7 +18,7 @@ export const useKpiDataStore = defineStore("KPIDate", () => {
const selected = ref([]);
const work = ref<boolean>(false);
const tabMain = ref<string>("");
const dataProfile = ref<any>({
const dataProfile = ref<DataProfile>({
profileId: null,
prefix: "",
rank: "",