From b6809d98c238cb84b11cca9102042e5b211163aa Mon Sep 17 00:00:00 2001 From: "STW_TTTY\\stwtt" Date: Fri, 26 Apr 2024 10:05:07 +0700 Subject: [PATCH] =?UTF-8?q?=E0=B8=97=E0=B8=B1=E0=B9=89=E0=B8=87=E0=B8=AB?= =?UTF-8?q?=E0=B8=A1=E0=B8=94=E0=B8=A3=E0=B8=B2=E0=B8=A2=E0=B8=81=E0=B8=B2?= =?UTF-8?q?=E0=B8=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/modules/14_KPI/components/competency/01ListCompetency.vue | 3 +++ .../14_KPI/components/competency/02ListLinkPosition.vue | 3 +++ src/modules/14_KPI/components/competency/03ListLinkGroup.vue | 3 +++ src/modules/14_KPI/views/indicatorByRole.vue | 3 +++ 4 files changed, 12 insertions(+) diff --git a/src/modules/14_KPI/components/competency/01ListCompetency.vue b/src/modules/14_KPI/components/competency/01ListCompetency.vue index bcd42aa1d..10fdfdad7 100644 --- a/src/modules/14_KPI/components/competency/01ListCompetency.vue +++ b/src/modules/14_KPI/components/competency/01ListCompetency.vue @@ -18,6 +18,7 @@ import type { NewPagination, } from "@/modules/14_KPI/interface/index/Main"; +const total = ref() const store = useKPIDataStore(); const router = useRouter(); const $q = useQuasar(); @@ -78,6 +79,7 @@ async function fetchList() { `?page=${formQuery.page}&pageSize=${formQuery.pageSize}&keyword=${formQuery.keyword}&type=${store.competencyType}` ) .then(async (res) => { + total.value = res.data.result.total const data: ResDataCapacity[] = res.data.result.data; totalList.value = Math.ceil(res.data.result.total / formQuery.pageSize); rows.value = data; @@ -254,6 +256,7 @@ onMounted(() => {