0
This commit is contained in:
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' => ''
|
||||
,'authCid' => [
|
||||
[
|
||||
'title' => '扫码录入'
|
||||
,'url' => '/teachersearchchengji/index/banji'
|
||||
]
|
||||
,[
|
||||
'title' => '表格录入'
|
||||
,'url' => '/teachersearchchengji/index/banji'
|
||||
]
|
||||
,[
|
||||
'title' => '已录成绩'
|
||||
,'url' => '/teachersearchchengji/index/banji'
|
||||
]
|
||||
]
|
||||
]
|
||||
,[
|
||||
'title' => '成绩查询'
|
||||
,'font' => ''
|
||||
,'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');
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user