request->isAjax()) { $get = $this->request->get(); $this->_success('', AdminLogic::lists($get)); } $this->assign('staff',StaffLogic::serverstaff()); $this->assign('type',GoodsBrandLogic::getGoodsBrandLists()); return $this->fetch(); } /** * 获取产能订单 * @param $admin_id * @throws \think\Exception * @throws \think\exception\PDOException */ public function orederlist(){ if ($this->request->isAjax()) { $get = $this->request->get(); $this->_success('获取数据成功', OrderstaffLogic::orderlist($get)); } $this->assign('staff',StaffLogic::serverstaff()); $channel=Db::name('orderchannel')->select(); $admin=Db::name('admin')->select(); $this->assign('admin',$admin); $this->assign('channel',$channel); $this->assign('num', StatcubLogic::Numorder()); return $this->fetch(); } /** * 查看全部的子订单 * @param $admin_id * @throws \think\Exception * @throws \think\exception\PDOException */ public function allorder(){ if ($this->request->isAjax()) { // $get = $this->request->get(); // $this->_success('', OrderstaffLogic::orderlist($get)); } return $this->fetch(); } public function stafflist(){ if ($this->request->isAjax()) { $get = $this->request->get(); $this->_success('', OrderstaffLogic::stafflist($get)); } return $this->fetch(); } }