修复系统设置错误、教师添加与修改
This commit is contained in:
1 parent
2b33e838bd
commit
5d8b4c13f8
20 files changed
+652
-303
No files matched your search
@@ -45,7 +45,6 @@ class Index extends Base
|
||||
'zhiwu'=>array(),
|
||||
'danwei'=>array(),
|
||||
'xueli'=>array(),
|
||||
'subject'=>array(),
|
||||
'searchval'=>''
|
||||
],'POST');
|
||||
|
||||
@@ -80,13 +79,17 @@ class Index extends Base
|
||||
public function create()
|
||||
{
|
||||
// 设置页面标题
|
||||
$list['title'] = '添加教师';
|
||||
$list['set'] = array(
|
||||
'webtitle'=>'添加老师',
|
||||
'butname'=>'添加',
|
||||
'formpost'=>'POST',
|
||||
'url'=>'/teacher',
|
||||
);
|
||||
|
||||
// 模板赋值
|
||||
$this->assign('list',$list);
|
||||
|
||||
// 渲染
|
||||
return $this->fetch();
|
||||
return $this->fetch('create');
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user