public function auditPatientCaseRefList($request, $response) { /*{{{*/ $doctorName = $request->doctorname; $userName = $request->username; $patientName = $request->patientname; $patientPhone = $request->patientphone; $patientProvince = $request->patientprovince; $patientCity = $request->patientcity; $patientSrc = $request->patientsrc; $status = ''; $patientId = $request->patientid; $response->patientid = $patientId; $nowPage = (int) $request->getRequest('p', 1); $pageSize = 10; $res = PatientCourseClient::getInstance()->searchPatientCase($doctorName, $userName, $status, $patientName, $patientPhone, $patientProvince, $patientCity, $patientSrc, true, $nowPage, $pageSize, '', $patientId); if (empty($res['pageInfo']) == false) { $url = "/outpatienttool/auditpatientcasereflist?patientid={$patientId}&doctorname=" . $doctorName . "&username="******"&patientname=" . $patientName . "&patientphone=" . $patientPhone . "&patientprovince=" . $patientProvince . "&patientcity=" . $patientCity . "&patientsrc=" . $patientSrc; $pageLink = PageNav::getNavLink(PageNav::getPageNavTemplate($url . "&p="), $res['pageInfo']['nowpage'], $res['pageInfo']['pagesize'], $res['pageInfo']['total']); } $response->pageLink = $pageLink; $response->patientCaseList = $res['list']; $response->doctorName = $doctorName; $response->userName = $userName; $response->patientName = $patientName; $response->patientPhone = $patientPhone; $response->patientProvince = $patientProvince; $response->patientCity = $patientCity; $response->patientSrc = $patientSrc; $response->title = "患者关联审核"; $response->showHandBandPatient = true; $response->inspectGroup = OutpatientToolInspectGroup::getPatientCaseRefGroup(); }
public function before($context) { parent::before($context); $group = OutpatientToolInspectGroup::getPatientCaseRefGroup(); DBC::requireTrue($group->isIn($context->response->curInspector), '你没有权限访问'); }