|
|
|
|
@ -94,6 +94,15 @@ class FenzhenController extends Controller
|
|
|
|
|
]);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
$end_status = 0;
|
|
|
|
|
foreach ($time_line as $time_line_item) {
|
|
|
|
|
if ($time_line_item['status'] == 4) {
|
|
|
|
|
$end_status += 1;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
if (count($time_line) <= $end_status + 1) {
|
|
|
|
|
$time_line[count($time_line) - 1]['status'] = 4;
|
|
|
|
|
}
|
|
|
|
|
// -1 报告未出 不能预约 报告解读 不显示
|
|
|
|
|
// 0 时间未到 不能预约 报告解读 不显示
|
|
|
|
|
// 1 时间已到 可以预约 报告解读
|
|
|
|
|
|