优化获取单位列表方法
This commit is contained in:
1 parent
9f092d49a9
commit
2c0f042659
10 files changed
+28
-12
No files matched your search
@@ -281,7 +281,8 @@ class Index extends Base
|
||||
// 成绩列表
|
||||
public function index($kaoshi)
|
||||
{
|
||||
// 设置要给模板赋值的信息
|
||||
|
||||
// 设置要给模板赋值的信息
|
||||
$list['webtitle'] = '学生成绩列表';
|
||||
|
||||
// 实例化考试数据模型
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
<div class="layui-form-item">
|
||||
<label for="school" class="layui-form-label"><span class="x-red">*</span>学校</label>
|
||||
<div class="layui-input-block">
|
||||
{php} $schoollist = schlist('校级','校级');{/php}
|
||||
{php} $schoollist = schlist('校级','校级',['小学','中小学']);{/php}
|
||||
<select name="school" id="school" lay-verify="required">
|
||||
<option value=""></option>
|
||||
{volist name="schoollist" id="vo"}
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
<div class="layui-form-item">
|
||||
<label for="school" class="layui-form-label" style="height: 100%">学校</label>
|
||||
<div class="layui-input-block" onclick ="clickSearchButton('#search','mytable')">
|
||||
{php} $schoollist = schlist('校级','校级');{/php}
|
||||
{php} $schoollist = schlist('校级','校级',['小学','中小学']);{/php}
|
||||
{volist name="schoollist" id="vo"}
|
||||
<input type="checkbox" name="school[]" title="{$vo.jiancheng}" value="{$vo.id}" lay-skin="primary">
|
||||
{/volist}
|
||||
|
||||
Loaded 3 of 10 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user