|
@@ -159,6 +159,9 @@ class Application extends Base
|
|
|
return json_encode(['status'=>'fail','code'=>'1029','msg'=>'没有操作权限']);
|
|
|
}
|
|
|
$param = $_REQUEST['param'];
|
|
|
+ if(empty($param['remote_institution'])){
|
|
|
+ return json_encode(['status'=>'fail','code'=>'3029','msg'=>'没有选择远程机构']);
|
|
|
+ }
|
|
|
$exam_info = DB::table('exams')->where('id',$param['id'])->field('exam_status,patient_id')->find();
|
|
|
// 修改病人姓名
|
|
|
DB::table('patient_infos')->where('id',$exam_info['patient_id'])->update(['name'=>$param['name']]);
|