diff --git a/src/components/information/Education.vue b/src/components/information/Education.vue index 811f60920..6075c34d8 100644 --- a/src/components/information/Education.vue +++ b/src/components/information/Education.vue @@ -633,7 +633,7 @@ const duration = ref(); const durationYear = ref(0); const other = ref(); const fundName = ref(); -const isDate = ref("true"); +const isDate = ref("true"); const finishDate = ref(new Date()); const startDate = ref(new Date().getFullYear()); const startDate2 = ref(new Date()); @@ -1514,7 +1514,7 @@ const clickHistory = async (row: RequestItemsObject) => { durationYear: e.durationYear, other: e.other, fundName: e.fundName, - isDate: e.isDate.toString(), + isDate: e.isDate, finishDate: new Date(e.finishDate), startDate: new Date(e.startDate).getFullYear(), endDate: new Date(e.endDate).getFullYear(), diff --git a/src/modules/04_registry/components/Education.vue b/src/modules/04_registry/components/Education.vue index 79fc49008..f9cd9f921 100644 --- a/src/modules/04_registry/components/Education.vue +++ b/src/modules/04_registry/components/Education.vue @@ -636,7 +636,7 @@ const duration = ref(); const durationYear = ref(0); const other = ref(); const fundName = ref(); -const isDate = ref("true"); +const isDate = ref("true"); const finishDate = ref(new Date()); const startDate = ref(new Date().getFullYear()); const startDate2 = ref(new Date()); @@ -1517,7 +1517,7 @@ const clickHistory = async (row: RequestItemsObject) => { durationYear: e.durationYear, other: e.other, fundName: e.fundName, - isDate: e.isDate.toString(), + isDate: e.isDate, finishDate: new Date(e.finishDate), startDate: new Date(e.startDate).getFullYear(), endDate: new Date(e.endDate).getFullYear(), diff --git a/src/modules/04_registry/components/Information/Information.vue b/src/modules/04_registry/components/Information/Information.vue index 6dc49a0b1..631f7c885 100644 --- a/src/modules/04_registry/components/Information/Information.vue +++ b/src/modules/04_registry/components/Information/Information.vue @@ -1,106 +1,41 @@