From a8018dc6a9fc2b5e8d7c04ac9ee9ed1c542bee56 Mon Sep 17 00:00:00 2001 From: oat_dev Date: Thu, 28 Mar 2024 14:07:49 +0700 Subject: [PATCH] =?UTF-8?q?=E0=B8=97=E0=B8=B0=E0=B9=80=E0=B8=9A=E0=B8=B5?= =?UTF-8?q?=E0=B8=A2=E0=B8=99=E0=B8=9B=E0=B8=A3=E0=B8=B0=E0=B8=A7=E0=B8=B1?= =?UTF-8?q?=E0=B8=95=E0=B8=B4:=20=E0=B8=9D=E0=B8=B6=E0=B8=81=E0=B8=AD?= =?UTF-8?q?=E0=B8=9A=E0=B8=A3=E0=B8=A1=E0=B8=94=E0=B8=B9=E0=B8=87=E0=B8=B2?= =?UTF-8?q?=E0=B8=99=20=E0=B9=81=E0=B8=81=E0=B9=89=E0=B8=9A=E0=B8=B1?= =?UTF-8?q?=E0=B8=84=E0=B8=95=E0=B8=AD=E0=B8=99=E0=B8=A2=E0=B8=B4=E0=B8=87?= =?UTF-8?q?API?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../04_registryNew/components/detail/Achievement/02_Train.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/modules/04_registryNew/components/detail/Achievement/02_Train.vue b/src/modules/04_registryNew/components/detail/Achievement/02_Train.vue index 547981bb9..cd08799fe 100644 --- a/src/modules/04_registryNew/components/detail/Achievement/02_Train.vue +++ b/src/modules/04_registryNew/components/detail/Achievement/02_Train.vue @@ -252,6 +252,7 @@ async function addData() { ...trainData, startYear: undefined, finishYear: undefined, + isDate: isDate.value === "false" ? false : true, }) .then(() => { fetchData(id.value); @@ -272,6 +273,7 @@ async function editData(idData: string) { profileId: undefined, startYear: undefined, finishYear: undefined, + isDate: isDate.value === "false" ? false : true, }) .then(() => { fetchData(id.value); @@ -316,7 +318,6 @@ async function fetchData(id: string) { .get(config.API.profileNewTrainingByProfileId(id)) .then(async (res) => { rows.value = res.data.result; - console.log(res.data.result); }) .catch((err) => { messageError($q, err); @@ -332,7 +333,6 @@ async function fetchHistoryData(id: string) { .get(config.API.profileNewTrainingHisByTrainingId(id)) .then(async (res) => { historyRows.value = res.data.result; - console.log(historyRows.value); }) .catch((err) => { messageError($q, err);