This commit is contained in:
小松树 committed 2021-03-03 22:57:28 +08:00
1 parent c02dfde6e9
commit a6eabcca9a
7 files changed
+248 -92

No files matched your search

+28 -1
View File
@@ -210,7 +210,7 @@ class Index extends AdminBase
}
// 生成考号
// 生成考号
public function createSetp3($kaoshi_id)
{
// 获取参考年级
@@ -234,6 +234,33 @@ class Index extends AdminBase
}
// 生成考号
public function createSetp4($kaoshi_id)
{
// 设置页面标题
$list['set'] = array(
'webtitle' => '录入成绩分工'
,'butname' => '分工'
,'formpost' => 'POST'
,'url' => '/kaoshi/lrfg/save'
,'kaoshi_id' => $kaoshi_id
);
// 获取考试时间
$ks = new \app\kaoshi\model\Kaoshi;
$enddate = $ks->kaoshiInfo($kaoshi_id);
$enddate = $enddate->getData('enddate');
$list['set']['nianji'] = nianJiNameList('str', $enddate);
// 模板赋值
$this->view->assign('list', $list);
// 渲染
return $this->view->fetch();
}
// 保存信息
public function save()
{
+1
View File
@@ -26,6 +26,7 @@ Route::group('index', function () {
Route::rule('setp1','Index/createSetp1','get'); # 添加信息
Route::rule('setp2/<kaoshi_id>','Index/createSetp2','get'); # 添加信息
Route::rule('setp3/<kaoshi_id>','Index/createSetp3','get'); # 添加信息
Route::rule('setp4/<kaoshi_id>','Index/createSetp4','get'); # 添加信息
Route::rule('tongji/<kaoshi_id>','Index/tongji','get'); # 添加信息
Route::rule('chengji/<kaoshi_id>','Index/chengji','get'); # 添加信息
Route::rule('editsetp1/<id>','Index/editSetp1','get'); # 更新信息
+3 -2
View File
@@ -27,8 +27,9 @@
<div class="layui-form-item">
<div class="dh wancheng" style="width: 10%;">开始</div>
<div class="dh jinxing" style="width: 20%;">考试信息</div>
<div class="dh weicaozuo" style="width: 30%;">各年级参加考试学科和分数线</div>
<div class="dh weicaozuo" style="width: 30%;">生成参加考试学生名单</div>
<div class="dh weicaozuo" style="width: 20%;">各年级参加考试学科和分数线</div>
<div class="dh weicaozuo" style="width: 20%;">生成参加考试学生名单</div>
<div class="dh weicaozuo" style="width: 20%;">分配录入成绩任务</div>
<div class="dh weicaozuo" style="width: 9%;">完成</div>
</div>
Loaded 3 of 7 files, more files were not shown because too many files have changed in this diff. Show more