Przeglądaj źródła

fix: 修复周日报完成率调整详情问题

qiny 1 rok temu
rodzic
commit
0529e95c15

+ 1 - 1
client/src/views/OaSystem/personnelManagement/dailyStatistic/index.vue

@@ -119,7 +119,7 @@ const jumpToMyLog = (row: any): void => {
     query: {
       userId: userId,
       userName: nickName,
-      date: reportYear - reportMonth
+      date: `${reportYear}-${reportMonth}`
     }
   })
 }

+ 1 - 1
client/src/views/OaSystem/personnelManagement/weeklyStatistic/index.vue

@@ -121,7 +121,7 @@ const jumpToMyLog = (row: any): void => {
     query: {
       userId: userId,
       userName: nickName,
-      date: reportYear - reportMonth
+      date: `${reportYear}-${reportMonth}`
     }
   })
 }