0
This commit is contained in:
1 parent
2a38267e2b
commit
51899ff56e
9 files changed
+23
-23
No files matched your search
+2
-2
@@ -44,8 +44,8 @@ function getCategory($id = '0')
|
||||
|
||||
function nianjiList($riqi=0)
|
||||
{
|
||||
// 定义学年时间节点日期为每年的8月10日
|
||||
// $yd = '8-10';
|
||||
// 定义学年时间节点日期为每年的8月1日
|
||||
// $yd = '8-1';
|
||||
if($riqi == 0)
|
||||
{
|
||||
$jiedian = strtotime(date('Y').'-8-1');
|
||||
|
||||
@@ -199,7 +199,6 @@ class Index extends BaseController
|
||||
// 设置考试信息
|
||||
public function kaoshiSet($id)
|
||||
{
|
||||
|
||||
// 获取考试信息
|
||||
$data = KS::where('id',$id)
|
||||
->with([
|
||||
@@ -232,6 +231,7 @@ class Index extends BaseController
|
||||
$nianji[] = $value['nianji'];
|
||||
}
|
||||
|
||||
|
||||
$list['data']['ks_subjectid'] = implode(',' , $subjectid);
|
||||
$list['data']['ks_nianjiid'] = implode(',' , $nianji);
|
||||
$list['data']['ks_subject'] = $subject;
|
||||
@@ -247,6 +247,7 @@ class Index extends BaseController
|
||||
);
|
||||
|
||||
|
||||
|
||||
// 模板赋值
|
||||
$this->view->assign('list',$list);
|
||||
// 渲染
|
||||
|
||||
@@ -30,6 +30,7 @@ class Kaohao extends BaseController
|
||||
'ksNianji'
|
||||
])
|
||||
->find();
|
||||
|
||||
if(count($kaoshilist->ks_nianji)>0)
|
||||
{
|
||||
foreach ($kaoshilist->ks_nianji as $key => $value) {
|
||||
@@ -53,9 +54,9 @@ class Kaohao extends BaseController
|
||||
|
||||
|
||||
// 模板赋值
|
||||
$this->assign('list',$list);
|
||||
$this->view->assign('list',$list);
|
||||
// 渲染
|
||||
return $this->fetch();
|
||||
return $this->view->fetch();
|
||||
}
|
||||
|
||||
// 保存考号
|
||||
@@ -302,9 +303,9 @@ class Kaohao extends BaseController
|
||||
);
|
||||
|
||||
// 模板赋值
|
||||
$this->assign('list',$list);
|
||||
$this->view->assign('list',$list);
|
||||
// 渲染
|
||||
return $this->fetch();
|
||||
return $this->view->fetch();
|
||||
}
|
||||
|
||||
|
||||
@@ -446,9 +447,9 @@ class Kaohao extends BaseController
|
||||
);
|
||||
|
||||
// 模板赋值
|
||||
$this->assign('list',$list);
|
||||
$this->view->assign('list',$list);
|
||||
// 渲染
|
||||
return $this->fetch('biaoqian');
|
||||
return $this->view->fetch('biaoqian');
|
||||
}
|
||||
|
||||
|
||||
|
||||
Loaded 3 of 9 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user