From 61f0d4dd5fbeac715f417d05f39c9c2db2320965 Mon Sep 17 00:00:00 2001 From: "STW_TTTY\\stwtt" Date: Tue, 23 Apr 2024 16:26:38 +0700 Subject: [PATCH] =?UTF-8?q?=E0=B8=A5=E0=B8=9A=20props=20=E0=B8=A1=E0=B8=B2?= =?UTF-8?q?=E0=B9=83=E0=B8=8A=E0=B9=89=20get?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../08_KPI/components/Tab/Dialog/04_FormCompetency.vue | 4 ---- src/modules/08_KPI/components/Tab/Topic/02_CompetencyCard.vue | 4 +--- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/src/modules/08_KPI/components/Tab/Dialog/04_FormCompetency.vue b/src/modules/08_KPI/components/Tab/Dialog/04_FormCompetency.vue index c4e0bb7..a2d618a 100644 --- a/src/modules/08_KPI/components/Tab/Dialog/04_FormCompetency.vue +++ b/src/modules/08_KPI/components/Tab/Dialog/04_FormCompetency.vue @@ -17,10 +17,6 @@ const route = useRoute(); const idParam = ref(route.params.id as string); const props = defineProps({ - dataCapacity: { - type: Object as () => FormCapacityList, - required: true, - }, getDataList: Function, }); diff --git a/src/modules/08_KPI/components/Tab/Topic/02_CompetencyCard.vue b/src/modules/08_KPI/components/Tab/Topic/02_CompetencyCard.vue index ff04559..3caa9c7 100644 --- a/src/modules/08_KPI/components/Tab/Topic/02_CompetencyCard.vue +++ b/src/modules/08_KPI/components/Tab/Topic/02_CompetencyCard.vue @@ -12,7 +12,6 @@ import type { FormCapacityList } from '@/modules/08_KPI/interface/request/index' const route = useRoute() const id = ref(route.params.id as string); const idCapacity = ref(null) -const dataCapacity = ref() const $q = useQuasar() const mixin = useCounterMixin(); @@ -114,7 +113,6 @@ function getData(){ function onEdit(data:FormCapacityList){ modal.value = true; - dataCapacity.value = data idCapacity.value = data.id } @@ -216,7 +214,7 @@ onMounted(()=>{ - +