1.jrxt ClueFollowUpController
$form->block(8, function (Form\BlockForm $form) {
$detail_data=........;
$htmlContent = View::make('clue.main', compact('detail_data'))->render();
$form->width(12);
$form->html($htmlContent);
jrxt\app\Admin\Controllers\HomeController.php
$row->column(6, function (Column $column) {
$column->row(function (Row $row) {
$data1 = DB::table('clue_info')->where('user_id',null)->count();
$data = DB::table('clue_info')->where('user_id','!=',null)->count();
$htmlContent = View::make('echarts.pie-simple', compact('data', 'data1'))->render();
$row->column(12, $htmlContent);
});
});