Browse Source

Merge branch 'master' of git.huaml.com:zhh/huahuibao

shizhongqi 4 năm trước cách đây
mục cha
commit
0d97247ba0

+ 3 - 0
app-hd/controllers/WorkController.php

@@ -52,6 +52,9 @@ class WorkController extends BaseController
             $status = $get['status'];
             $status = $get['status'];
             $where['status'] = $status;
             $where['status'] = $status;
         }
         }
+        if (isset($get['fromType']) && is_numeric($get['fromType'])) {
+            $where['fromType'] = $get['fromType'];
+        }
         $list = WorkClass::getWorkList($where);
         $list = WorkClass::getWorkList($where);
         $list['today'] = date("Y-m-d");
         $list['today'] = date("Y-m-d");
         util::success($list);
         util::success($list);