vali %!s(int64=6) %!d(string=hai) anos
pai
achega
198775c0cc
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      application/admin/controller/Report.php

+ 2 - 1
application/admin/controller/Report.php

@@ -148,8 +148,9 @@ class Report extends Base
                 return json($retall);
             } else {
                 $title = ['账号', '姓名', '日期', '首次登陆时间', '最后登出时间', '登陆时长', '休息时长', '隐身时长', '在线占比', '休息占比', '', '隐身占比'];
+                $titleKey = ['account', 'uname', 'day', 'of0', 'of1', 'all', '1', '2', '3', 's1p', 's2p', 's3p'];
                 $retall = $this->reportDataFormat($ret1, $ret2, $uidarr['objs'], $zoneArray1, $limit, $offset, true);
-                (new Office())->outdata('数据导出', $retall, $title, ['account', 'uname', 'day', 'of0', 'of1', 'all', '1', '2', '3', 's1p', 's2p', 's3p']);
+                (new Office())->outdata('考勤数据导出', $retall, $title, $titleKey);
                 return true;
             }
         }