Commit cbbedaf5 by 赵增煜

修改

parent fafe5613
...@@ -115,10 +115,7 @@ protected function grid() ...@@ -115,10 +115,7 @@ protected function grid()
*/ */
protected function detail($id) protected function detail($id)
{ {
return Content ::make()->title('详情')->description('详情')->body($this->showDetail($id)); // return Content::make()->title('详情')->description('详情')->body($this->showDetail($id));
}
protected function showDetail($id){
return Show::make($id, new ExternalPrescriptionModel(), function (Show $show) { return Show::make($id, new ExternalPrescriptionModel(), function (Show $show) {
$show->field('id'); $show->field('id');
$show->field('external_prescription_id','580处方单编号'); $show->field('external_prescription_id','580处方单编号');
...@@ -166,6 +163,10 @@ protected function showDetail($id){ ...@@ -166,6 +163,10 @@ protected function showDetail($id){
}); });
} }
protected function showDetail($id){
}
/** /**
* Make a form builder. * Make a form builder.
......
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