web端号源性别问题 H5体检引导红点

main
yanzai 10 months ago
parent 7905f4c2de
commit d296546109

@ -84,6 +84,9 @@ class FenzhenController extends Controller
$id = request('id'); $id = request('id');
$info = DB::table('orders')->where(['id' => $id])->whereIn('status', [2, 4])->first(); $info = DB::table('orders')->where(['id' => $id])->whereIn('status', [2, 4])->first();
if (!$info) return \Yz::echoError1("查询就诊人订单失败"); if (!$info) return \Yz::echoError1("查询就诊人订单失败");
if($info->check_read_status==1){
DB::table('orders')->where('id', $id)->update(['check_read_status' => 2]);
}
$end_time = date('H:i', strtotime($info->appointment_date . ' ' . $info->appointment_time) + (60 * 60 * 0.54)); $end_time = date('H:i', strtotime($info->appointment_date . ' ' . $info->appointment_time) + (60 * 60 * 0.54));
$clinics = []; $clinics = [];
$order = new OrderService(); $order = new OrderService();

@ -38,7 +38,8 @@ class OrderController extends Controller
// 'tj_number'=>$info['data'][0]['体检号'], // 'tj_number'=>$info['data'][0]['体检号'],
'tj_number' => $exam_id, 'tj_number' => $exam_id,
'check_status' => 2, 'check_status' => 2,
'check_time' => date('Y-m-d H:i:s') 'check_time' => date('Y-m-d H:i:s'),
'check_read_status'=>1
]); ]);
return \Yz::Return(true, "", ['id' => $orderInfo->id]); return \Yz::Return(true, "", ['id' => $orderInfo->id]);
} else { } else {

@ -928,6 +928,8 @@
} }
const plan_list = ref([]) const plan_list = ref([])
const getPlanList = async () => { const getPlanList = async () => {
if(input_data.value.gender==='男') input_data.value.gender="1"
if(input_data.value.gender==='女') input_data.value.gender="2"
const response = await axios.post($api("GetDayPlanList"), { const response = await axios.post($api("GetDayPlanList"), {
hospital: input_data.value.hospital, hospital: input_data.value.hospital,
openid: "", openid: "",

@ -243,6 +243,7 @@
$store.setDuoXuanYi({}); $store.setDuoXuanYi({});
$store.setPeiOuUser({}); $store.setPeiOuUser({});
}) })
</script> </script>
<template> <template>
<view> <view>
@ -294,7 +295,7 @@
</view> </view>
</view> </view>
</view> </view>
<view class="botm_blank_wrapper" style="font-size: 18rpx;color: #ccc;">01031940</view> <view class="botm_blank_wrapper" style="font-size: 18rpx;color: #ccc;" >01031940</view>
</view> </view>
</view> </view>
</template> </template>

Loading…
Cancel
Save