แก้ id

This commit is contained in:
STW_TTTY\stwtt 2024-06-17 16:21:14 +07:00
parent 72a62b4cc0
commit a58016fb9d
2 changed files with 8 additions and 2 deletions

View file

@ -7,7 +7,9 @@ import { useQuasar } from "quasar";
import { useRouter, useRoute } from "vue-router";
import http from "@/plugins/http";
import config from "@/app.config";
import { useKpiDataStore } from "@/modules/08_KPI/store";
const store = useKpiDataStore();
const $q = useQuasar();
const mixin = useCounterMixin();
const {
@ -193,7 +195,7 @@ function close() {
function getData(){
showLoader()
http
.get(config.API.placementKeycloak+`/${id.value}`)
.get(config.API.placementKeycloak+`/${store.dataProfile.profileId}`)
.then((res)=>{
const data = res.data.result
rows.value = data