This commit is contained in:
巴掌 committed 2021-01-24 09:02:01 +08:00
1 parent 34453fc448
commit 87531be631
12 files changed
+215 -77

No files matched your search

+1
View File
@@ -40,6 +40,7 @@ abstract class BaseController
'online'
];
/**
* 构造方法
* @access public
+1
View File
@@ -83,6 +83,7 @@
// 设置列
options.cols=[[ //表头
{type:'checkbox', fixed: 'left'},
{type:'numbers', fixed: 'left', title: '序号'},
{field: 'school_jiancheng', title: '学校', minWidth:100,sort: true},
// {field: 'nianji', title: '年级 ', minWidth:100,sort: true},
{field: "ban_title",title: '班级', minWidth:120,sort: true},
+12
View File
@@ -21,6 +21,18 @@ class Index extends AdminBase
$list['status'] = '/kaoshi/index/status';
$list['luru'] = '/kaoshi/index/luru';
// 设置要给模板赋值的信息
$list['webtitle'] = '考试列表';
$list['dataurl'] = '/kaoshi/index/data';
$list['status'] = '/kaoshi/index/status';
$list['luru'] = '/kaoshi/index/luru';
$list['create'] = '/kaoshi/index/create';
$list['edit'] = '/kaoshi/index/edit';
$list['delete'] = '/kaoshi/index/delete';
$list['more'] = '/kaoshi/index/more';
$list['user_group'] = 'admin';
$list['user_id'] = session('user_id');
// 模板赋值
$this->view->assign('list', $list);
// 渲染模板
Loaded 3 of 12 files, more files were not shown because too many files have changed in this diff. Show more