/** * Show the form for editing the specified resource. * * @param int $id * @return Response */ public function getEdit($id) { $pjbz = Pjbz::find($id); $pjzbs = Pjzb::orderBy('mc', 'asc')->get(); return view('pjbz/edit', ['title' => '编辑评价标准', 'pjbz' => $pjbz, 'pjzbs' => $pjzbs]); }
/** * Display a listing of the resource. * * @return Response */ public function getList() { $pjzbs = Pjzb::orderBy('px', 'asc')->get(); return view('pjzb/list', ['title' => '评价指标列表', 'pjzbs' => $pjzbs]); }