更新表单导出功能
This commit is contained in:
@@ -110,6 +110,9 @@ class Form extends Base {
|
||||
* @return html 页面
|
||||
*/
|
||||
public function lists($form_id = '') {
|
||||
if(!$form_id){
|
||||
return $this->error('无此表单!');
|
||||
}
|
||||
$form = $this->modelInfo;
|
||||
|
||||
$list = $this->model->order('id desc')->paginate(25);
|
||||
@@ -118,6 +121,7 @@ class Form extends Base {
|
||||
'grid' => $this->modelInfo['grid_list'],
|
||||
'meta_title' => $this->modelInfo['title'] . '列表',
|
||||
'form_id' => $form_id,
|
||||
'require' => ['jsname' => 'form', 'actionname' => 'lists'],
|
||||
'list' => $list,
|
||||
'page' => $list->render(),
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user