Browse Source

清空人员时,获取当天全部日报

seyason 1 year ago
parent
commit
892b6803a8

+ 4 - 2
fhKeeper/formulahousekeeper/timesheet-workshop-h5/src/views/workView/workView.vue

@@ -176,8 +176,10 @@ export default {
         params = {
           // date: '2023-11-20',
           // userId: '8377462629387460613'
-          date: this.reportDate,
-          userId: this.personnelId
+          date: this.reportDate
+        }
+        if (this.personnelId) {
+          params.userId = this.personnelId
         }
       } else {
         urls = '/plan-procedure-total/getReportForWorkList'