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);