Commit fafe5613 by 赵增煜

修改

parent 39074469
...@@ -115,6 +115,10 @@ protected function grid() ...@@ -115,6 +115,10 @@ protected function grid()
*/ */
protected function detail($id) protected function detail($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处方单编号');
...@@ -162,6 +166,7 @@ protected function detail($id) ...@@ -162,6 +166,7 @@ protected function detail($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