Lijy 2 weeks ago
parent
commit
c1fa31ca42
1 changed files with 2 additions and 2 deletions
  1. 2 2
      fhKeeper/formulahousekeeper/timesheet_h5/src/views/view/index.vue

+ 2 - 2
fhKeeper/formulahousekeeper/timesheet_h5/src/views/view/index.vue

@@ -157,7 +157,7 @@
                                         <span v-if="item1.reportTimeType == 2" style="margin-right:10px;">{{ item1.startTime + '-' +
                                             item1.endTime }}</span>{{ hideWorkingHours ? '*' : item1.time.toFixed(1) }}h
                                         <div class="button" v-if="item1.isOvertime == 1">加班<span v-if="item1.overtimeHours">{{
-                                            item1.overtimeHours.toFixed(1) }}h</span></div>
+                                            hideWorkingHours ? '*' : item1.overtimeHours.toFixed(1) }}h</span></div>
                                     </div>
                                     <div class="project_time" v-else>用时占比:
                                         {{ item1.progress }}%
@@ -169,7 +169,7 @@
                                 <div v-if="item1.multiWorktime == 1">
                                     <div>项目时长:<span style="margin-right:10px;">{{ hideWorkingHours ? '*' : item1.time.toFixed(1) }}h</span>
                                         <div class="button" v-if="item1.isOvertime == 1">加班<span v-if="item1.overtimeHours">{{
-                                            item1.overtimeHours.toFixed(1) }}h</span></div>
+                                            hideWorkingHours ? '*' : item1.overtimeHours.toFixed(1) }}h</span></div>
                                     </div>
                                     <div style="position:relative;border:#ccc 0.5px solid;padding:3px;margin:5px 0px;"
                                         v-for="(timeItem, index) in item1.worktimeList" :key="index">