|
|
|
@ -1069,6 +1069,9 @@ class OrderController extends Controller
|
|
|
|
$sex='';
|
|
|
|
$sex='';
|
|
|
|
if($order_info->sex=='1') $sex='男';
|
|
|
|
if($order_info->sex=='1') $sex='男';
|
|
|
|
if($order_info->sex=='2') $sex='女';
|
|
|
|
if($order_info->sex=='2') $sex='女';
|
|
|
|
|
|
|
|
$loginfo=DB::table('questions_log')->where(['personid' => $order_info->person_id])->orderBy('id','desc')->first();
|
|
|
|
|
|
|
|
if(!$loginfo) return ['status' => false,'msg' => "未找到婚检问题记录"];
|
|
|
|
|
|
|
|
$loginfo=json_decode($loginfo->content,true);
|
|
|
|
$data_array = [
|
|
|
|
$data_array = [
|
|
|
|
"action" => "1",
|
|
|
|
"action" => "1",
|
|
|
|
"ghzid" => $person->ghzid,
|
|
|
|
"ghzid" => $person->ghzid,
|
|
|
|
@ -1084,6 +1087,22 @@ class OrderController extends Controller
|
|
|
|
"YYSJ_B" => $order_info->appointment_time,
|
|
|
|
"YYSJ_B" => $order_info->appointment_time,
|
|
|
|
"YYSJ_E" => $order_info->appointment_time,
|
|
|
|
"YYSJ_E" => $order_info->appointment_time,
|
|
|
|
"YYSJ_BE" =>substr($order_info->appointment_time, 0, 5).'-'.substr($order_info->appointment_time, 0, 5),
|
|
|
|
"YYSJ_BE" =>substr($order_info->appointment_time, 0, 5).'-'.substr($order_info->appointment_time, 0, 5),
|
|
|
|
|
|
|
|
"zy"=>$loginfo['职业'],
|
|
|
|
|
|
|
|
"whcd"=>$loginfo['文化程度'],
|
|
|
|
|
|
|
|
"gj"=>$loginfo['国籍'],
|
|
|
|
|
|
|
|
"mz"=>$loginfo['民族'],
|
|
|
|
|
|
|
|
"csd"=>$loginfo['出生地'],
|
|
|
|
|
|
|
|
"sBjSfz"=>$order_info->id_number,
|
|
|
|
|
|
|
|
"s_province"=>$loginfo['户籍地址省市区'][0]['text'],
|
|
|
|
|
|
|
|
"s_city"=>$loginfo['户籍地址省市区'][1]['text'],
|
|
|
|
|
|
|
|
"s_county"=>$loginfo['户籍地址省市区'][2]['text'],
|
|
|
|
|
|
|
|
"xxdz"=>$loginfo['现地址'],
|
|
|
|
|
|
|
|
"yzbm"=>"",
|
|
|
|
|
|
|
|
"dw"=>$loginfo['工作单位'],
|
|
|
|
|
|
|
|
"poxm"=>$loginfo['配偶姓名'],
|
|
|
|
|
|
|
|
"xb"=>$loginfo['血缘关系'],
|
|
|
|
|
|
|
|
"hjdz"=>$loginfo['户籍地址'],
|
|
|
|
|
|
|
|
|
|
|
|
];
|
|
|
|
];
|
|
|
|
$aspnet=new AspNetZhuanController();
|
|
|
|
$aspnet=new AspNetZhuanController();
|
|
|
|
$res = $aspnet->HunjianHis($data_array);
|
|
|
|
$res = $aspnet->HunjianHis($data_array);
|
|
|
|
|