view('customer.project.report'); } public function projectIndex() { if(!Gate::allows('客户管理-项目-查询')){ return redirect('denied'); } return response()->view('customer.project.index'); } public function projectCreate() { if(!Gate::allows('客户管理-项目-录入')){ return redirect('denied'); } return response()->view('customer.project.create'); } public function projectArea() { if(!Gate::allows('客户管理-项目-面积')){ return redirect('denied'); } return response()->view('customer.project.area'); } public function financeInstantBill() { if(!Gate::allows('客户管理-财务-即时账单')){ return redirect('denied'); } return response()->view('customer.finance.instantBill'); } public function financeBillConfirmation() { if(!Gate::allows('客户管理-财务-账单确认')){ return redirect('denied'); } return response()->view('customer.finance.billConfirmation'); } }