开始拆与考试相关的数据模型
This commit is contained in:
1 parent
bf6b0da925
commit
4073ee3404
13 files changed
+20
-33
No files matched your search
@@ -68,7 +68,7 @@ class Admin extends BaseModel
|
||||
|
||||
public function glGroup()
|
||||
{
|
||||
return $this->belongsToMany('AuthGroup', 'AuthGroupAccess', 'uid', 'group_id');
|
||||
return $this->belongsToMany('AuthGroup', 'AuthGroupAccess', 'group_id', 'uid');
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -59,7 +59,7 @@
|
||||
<div class="layui-form-item">
|
||||
<label for="school_id" class="layui-form-label"><span class="x-red">*</span>所在单位</label>
|
||||
<div class="layui-input-block">
|
||||
{php} $schlist = schoolList('校级', '区级');{/php}
|
||||
{php} $schlist = danweiJibie('校级', '区级');{/php}
|
||||
<select name="school_id" lay-verify="required">
|
||||
<option value=""></option>
|
||||
{volist name="schlist" id="vo"}
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
<label for="xueqi_id" class="layui-form-label" style="height: 100%">学期</label>
|
||||
<div class="layui-input-block">
|
||||
<input type="radio" name="xueqi_id" title="无" value="" lay-skin="primary" checked="">
|
||||
{php} $category = getCategory(108);{/php}
|
||||
{php} $category = categoryChildren(108);{/php}
|
||||
{volist name="category" id="vo"}
|
||||
<input type="radio" name="xueqi_id" title="{$vo.title}" value="{$vo.id}" lay-skin="primary">
|
||||
{/volist}
|
||||
@@ -33,7 +33,7 @@
|
||||
<label for="category_id" class="layui-form-label" style="height: 100%">考试类型</label>
|
||||
<div class="layui-input-block">
|
||||
<input type="radio" name="category_id" title="无" value="" lay-skin="primary" checked>
|
||||
{php} $category = getCategory(109);{/php}
|
||||
{php} $category = categoryChildren(109);{/php}
|
||||
{volist name="category" id="vo"}
|
||||
<input type="radio" name="category_id" title="{$vo.title}" value="{$vo.id}" lay-skin="primary">
|
||||
{/volist}
|
||||
@@ -96,7 +96,7 @@
|
||||
endate = d.bfdate + '~' + endate;
|
||||
return endate;
|
||||
}},
|
||||
|
||||
|
||||
|
||||
]];
|
||||
|
||||
|
||||
Loaded 3 of 13 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user