Commit 992752eb by lujunyi

问诊人年龄

parent 2edf830e
......@@ -29,9 +29,7 @@ protected function grid()
return data_masking($content, 'idcard');
});
$grid->column('gender', '性别')->using(PatientModel::SEX_MAP);
$grid->column('age', '年龄')->display(function ($value) {
return getAgeByIdCard($this->id_card);
});
$grid->column('age', '年龄');
$grid->column('mobile')->display(function ($content) {
return data_masking($content, 'mobile');
});
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment