From 371a4e643efab3434be97e873ebafea0e153d188 Mon Sep 17 00:00:00 2001 From: "DESKTOP-1R2VSQH\\Lenovo ThinkPad E490" Date: Mon, 27 Nov 2023 17:40:58 +0700 Subject: [PATCH] no message --- .../11_discipline/components/2_InvestigateFacts/Form.vue | 5 +---- .../components/3_InvestigateDisciplinary/EditPage.vue | 4 ++-- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/src/modules/11_discipline/components/2_InvestigateFacts/Form.vue b/src/modules/11_discipline/components/2_InvestigateFacts/Form.vue index 4662da39a..310968fc9 100644 --- a/src/modules/11_discipline/components/2_InvestigateFacts/Form.vue +++ b/src/modules/11_discipline/components/2_InvestigateFacts/Form.vue @@ -1130,10 +1130,7 @@ onMounted(async () => { >อัปโหลดเอกสาร -
+
ไม่มีรายการเอกสาร
diff --git a/src/modules/11_discipline/components/3_InvestigateDisciplinary/EditPage.vue b/src/modules/11_discipline/components/3_InvestigateDisciplinary/EditPage.vue index 208bc342f..57371fb0c 100644 --- a/src/modules/11_discipline/components/3_InvestigateDisciplinary/EditPage.vue +++ b/src/modules/11_discipline/components/3_InvestigateDisciplinary/EditPage.vue @@ -64,7 +64,7 @@ async function fetchDetailInvestigate() { await http .get(config.API.disciplineInvestigateById(id.value)) .then((res) => { - console.log(res); + data.value = res.data.result; }) .catch((err) => { console.log(err); @@ -76,7 +76,7 @@ async function fetchDetailComplaints() { await http .get(config.API.disciplineComplaintsById(id.value)) .then((res) => { - console.log(res); + data.value = res.data.result; }) .catch((err) => { console.log(err);