| xqd
@@ -65,7 +65,10 @@ class OrderNurseController extends AdminController
|
|
|
return date('Y-m-d H:i:s',$w);
|
|
|
});
|
|
|
$grid->column('patients.name', __('儿保患者'));
|
|
|
- $grid->column('patients.phone', __('电话'));
|
|
|
+ $grid->column('patients.phone', __('电话'))->display(function ($w){
|
|
|
+ if(empty($w)) return $this->patients->phone;
|
|
|
+ return $w;
|
|
|
+ });
|
|
|
$grid->column('patients.sex', __('患者性别'))->display(function ($w){
|
|
|
return $w==1?'男':'女';
|
|
|
});
|