diff --git a/frontend/src/business/components/performance/report/PerformanceReportView.vue b/frontend/src/business/components/performance/report/PerformanceReportView.vue index 5753e81ab8..e967248767 100644 --- a/frontend/src/business/components/performance/report/PerformanceReportView.vue +++ b/frontend/src/business/components/performance/report/PerformanceReportView.vue @@ -381,6 +381,20 @@ export default { getProjectApplication(){ this.$get('/project_application/get/' + getCurrentProjectID()+"/PERFORMANCE_SHARE_REPORT_TIME", res => { if(res.data){ + let quantity = res.data.typeValue.substring(0, res.data.typeValue.length - 1); + let unit = res.data.typeValue.substring(res.data.typeValue.length - 1); + if(unit==='H'){ + res.data.typeValue = quantity+this.$t('commons.date_unit.hour'); + }else + if(unit==='D'){ + res.data.typeValue = quantity+this.$t('commons.date_unit.day'); + }else + if(unit==='M'){ + res.data.typeValue = quantity+this.$t('commons.date_unit.month'); + }else + if(unit==='Y'){ + res.data.typeValue = quantity+this.$t('commons.date_unit.year'); + } this.application = res.data; } }); diff --git a/frontend/src/business/components/project/menu/appmanage/TimingItem.vue b/frontend/src/business/components/project/menu/appmanage/TimingItem.vue index 066e4d23e4..b074024073 100644 --- a/frontend/src/business/components/project/menu/appmanage/TimingItem.vue +++ b/frontend/src/business/components/project/menu/appmanage/TimingItem.vue @@ -2,11 +2,11 @@