|
@@ -712,7 +712,7 @@ class Writereport extends Base
|
|
|
}else{
|
|
|
$info['report_datetime'] = '';
|
|
|
}
|
|
|
-// $info['report_datetime'] = $report['report_datetime'];
|
|
|
+ $info['report_datetime_xa'] = $report['report_datetime'];
|
|
|
$info['impression'] = $report['impression'];
|
|
|
$info['description'] = $report['description'];
|
|
|
// 报告医生
|
|
@@ -807,6 +807,8 @@ class Writereport extends Base
|
|
|
$exam_info['ext'] = isset($param['ext']) ? $param['ext'] : '';
|
|
|
$exam_info['accession_num'] = isset($param['accession_num']) ? $param['accession_num'] : '';
|
|
|
$report['description'] = isset($param['description']) ? $param['description'] : '';
|
|
|
+ $report['report_datetime'] = date('Y-m-d H:i:s',time());
|
|
|
+ $report['report_doctor_id'] = $doctor['id'];
|
|
|
DB::table('patient_infos')->where('id',$param['pid'])->update($patient_info);
|
|
|
DB::table('exams')->where('id',$param['id'])->update($exam_info);
|
|
|
$rinfo = DB::table('report')->where('exam_id',$param['id'])->find();
|
|
@@ -816,8 +818,6 @@ class Writereport extends Base
|
|
|
$report['id'] = UUIDs::uuid16();
|
|
|
$report['exam_id'] = $param['id'];
|
|
|
$report['createdAt'] = date('Y-m-d H:i:s',time());
|
|
|
- $report['report_datetime'] = date('Y-m-d H:i:s',time());
|
|
|
- $report['report_doctor_id'] = $doctor['id'];
|
|
|
DB::table('report')->insert($report);
|
|
|
}
|
|
|
return json_encode(['status'=>'ok','msg'=>'成功','code'=>'0000']);
|