Browse Source

Merge branch 'release_v1.0.1' of http://git.qmth.com.cn/sop/web into release_v1.0.1

刘洋 1 year ago
parent
commit
2059c45e4b

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

@@ -20,7 +20,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

@@ -29,7 +29,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>