shudonghui hai 1 ano
pai
achega
0c6926d4ba

+ 1 - 1
src/views/work-hours/work-hours-manage/work-attendance-detail/index.vue

@@ -17,7 +17,7 @@
           </span>
           <span>异常考勤:{{ statisticsInfo.abnormal }}</span>
           <span>累计人天:{{ statisticsInfo.allDays }}天</span>
-          <span>累计工时:{{ statisticsInfo.allHours }}小时</span>
+          <span>累计工时:{{ statisticsInfo.allHours?.toFixed(1) }}小时</span>
           <template #separator>
             <t-divider layout="vertical" />
           </template>

+ 1 - 1
src/views/work-hours/work-hours-manage/work-statistics/index.vue

@@ -26,7 +26,7 @@
           <span>已提交:{{ statisticsInfo.submitted }}</span>
           <span>待提交:{{ statisticsInfo.unSubmitted }}</span>
           <span>已提交累计人天:{{ statisticsInfo.allDays }}天</span>
-          <span>已提交累计工时:{{ statisticsInfo.allHours }}小时</span>
+          <span>已提交累计工时:{{ statisticsInfo.allHours?.toFixed(1) }}小时</span>
           <template #separator>
             <t-divider layout="vertical" />
           </template>