Browse Source

正式员工数量包含试用期员工

songxy 11 months ago
parent
commit
903b443d4c
1 changed files with 1 additions and 2 deletions
  1. 1 2
      client/src/views/OaSystem/home/components/PersonInfo.vue

+ 1 - 2
client/src/views/OaSystem/home/components/PersonInfo.vue

@@ -98,7 +98,6 @@ const queryStaffStatistic = async (): Promise<void> => {
     staffStatistic.formalStaffNum = result.typeStatistic.formalStaffNum ?? 0
     staffStatistic.traineeStaffNum = result.typeStatistic.traineeStaffNum ?? 0
     staffStatistic.probationaryStaffNum = result.typeStatistic.probationaryStaffNum ?? 0
-    staffStatistic.probationaryStaffNum = result.typeStatistic.probationaryStaffNum ?? 0
   }
   if (result.ageStatistic) {
     staffStatistic.list[0].value = result.ageStatistic.underTwentyFiveStaffNum
@@ -171,7 +170,7 @@ const switchListData = (): void => {
       <div class="school">
         <span><i></i>正式员工</span>
         <span>
-          <b> {{ staffStatistic.formalStaffNum }} </b>人
+          <b> {{ staffStatistic.formalStaffNum + staffStatistic.probationaryStaffNum }} </b>人
         </span>
       </div>
       <div class="school">