|
@@ -1121,6 +1121,7 @@ class Writereport extends Base
|
|
|
$sessionid = $_REQUEST['sessionid'];
|
|
|
$doctor = Cache::get($sessionid);
|
|
|
$param = $_REQUEST['param'];
|
|
|
+ $param['r_result'] = ($param['r_result'] == 'true') ? 2 : 1;
|
|
|
$report_id = $param['report_id'];
|
|
|
$rinfo = DB::table('report')->where('id',$report_id)->find();
|
|
|
if($rinfo['type'] == 2){
|