This commit is contained in:
巴掌 committed 2020-08-27 19:21:06 +08:00
1 parent dfe3a4d173
commit 15e60287b3
2 files changed
+122

No files matched your search

@@ -0,0 +1,85 @@
<?php
declare (strict_types = 1);
namespace app\controller\TeacherSearchChengji;
use think\Request;
class Luru
{
/**
* 显示资源列表
*
* @return \think\Response
*/
public function index()
{
//
}
/**
* 显示创建资源表单页.
*
* @return \think\Response
*/
public function create()
{
//
}
/**
* 保存新建的资源
*
* @param \think\Request $request
* @return \think\Response
*/
public function save(Request $request)
{
//
}
/**
* 显示指定的资源
*
* @param int $id
* @return \think\Response
*/
public function read($id)
{
//
}
/**
* 显示编辑资源表单页.
*
* @param int $id
* @return \think\Response
*/
public function edit($id)
{
//
}
/**
* 保存更新的资源
*
* @param \think\Request $request
* @param int $id
* @return \think\Response
*/
public function update(Request $request, $id)
{
//
}
/**
* 删除指定资源
*
* @param int $id
* @return \think\Response
*/
public function delete($id)
{
//
}
}
@@ -37,6 +37,24 @@ class Index extends TeacherSearchBase
$sysClass = \app\facade\System::sysClass();
$temp = [
[
'title' => '成绩采集'
,'font' => '&#xe6c9;'
,'authCid' => [
[
'title' => '扫码录入'
,'url' => '/teachersearchchengji/index/banji'
]
,[
'title' => '表格录入'
,'url' => '/teachersearchchengji/index/banji'
]
,[
'title' => '已录成绩'
,'url' => '/teachersearchchengji/index/banji'
]
]
]
,[
'title' => '成绩查询'
,'font' => '&#xe6c9;'
,'authCid' => [
@@ -335,4 +353,23 @@ class Index extends TeacherSearchBase
}
// 扫码录入
public function malu()
{
// 设置页面标题
$list['set'] = array(
'webtitle' => '扫码录成绩'
,'butname' => '录入'
,'formpost' => 'PUT'
,'url' => '/chengji/malu'
);
// 模板赋值
$this->view->assign('list', $list);
// 渲染
return $this->view->fetch('chengji@/luru/malu');
}
}