学科管理修改完成
This commit is contained in:
1 parent
3084e8460a
commit
e7e0f7b34f
8 files changed
+305
-278
No files matched your search
@@ -85,13 +85,13 @@ class Admin extends Base
|
||||
// 最后登录时间取器
|
||||
public function getLasttimeAttr($value)
|
||||
{
|
||||
return date('Y年m月d日 h:i:s',$value);
|
||||
return date('Y年m月d日 H:i:s',$value);
|
||||
}
|
||||
|
||||
// 本次登录时间取器
|
||||
public function getThistimeAttr($value)
|
||||
{
|
||||
return date('Y年m月d日 h:i:s',$value);
|
||||
return date('Y年m月d日 H:i:s',$value);
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -21,15 +21,6 @@
|
||||
autocomplete="off" class="layui-input">
|
||||
</div>
|
||||
</div>
|
||||
<div class="layui-form-item" style="margin-bottom: 0; botton">
|
||||
<label for="xingzhi" class="layui-form-label" style="height: 100%">单位性质</label>
|
||||
<div class="layui-input-block" onclick ="clickSearchButton('#search','mytable')">
|
||||
{php} $category = getCategory(101);{/php}
|
||||
{volist name="category" id="vo"}
|
||||
<input type="checkbox" name="xingzhi" title="{$vo.title}" value="{$vo.id}" lay-skin="primary">
|
||||
{/volist}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{/block}
|
||||
{block name="table"}
|
||||
@@ -88,8 +79,16 @@ layui.use(['table','laypage','form','cjgl'], function(){
|
||||
}
|
||||
}},
|
||||
{title: '用户组',templet:function(d){
|
||||
if(d.ad_school){
|
||||
return d.ad_school.jiancheng;
|
||||
if(d.gl_group){
|
||||
var str = '';
|
||||
for (var k = 0, length = d.gl_group.length; k < length; k++) {
|
||||
if(k == 0){
|
||||
str = d.gl_group[k].title;
|
||||
}else{
|
||||
str =str+'、'+d.gl_group[k].title;
|
||||
}
|
||||
}
|
||||
return str;
|
||||
}
|
||||
}},
|
||||
{field: 'phone', title: '联系电话', sort: true},
|
||||
|
||||
@@ -140,7 +140,6 @@ class School extends Base
|
||||
$this->assign('list',$list);
|
||||
// 渲染
|
||||
return $this->fetch('create');
|
||||
|
||||
}
|
||||
|
||||
// 更新单位信息
|
||||
|
||||
Loaded 3 of 8 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user