修改部分错误
This commit is contained in:
1 parent
ba477154fa
commit
c669cac47b
12 files changed
+102
-122
No files matched your search
@@ -46,6 +46,7 @@ class AuthRule extends Base
|
||||
public function srcStatus()
|
||||
{
|
||||
$data = $this->where('status',1)
|
||||
->order(['paixu'=>'desc'])
|
||||
->field('id,name,title,condition,paixu,ismenu,url,pid,type')
|
||||
->select()
|
||||
->toArray();
|
||||
|
||||
@@ -65,10 +65,10 @@
|
||||
// 创建div
|
||||
if(pid == 0)
|
||||
{
|
||||
mydiv = "<p><div class='layui-form-item' id='p"+pid+"'></div>";
|
||||
mydiv = "<div class='layui-form-item' id='p"+pid+"'></div>";
|
||||
$('#rule').append(mydiv);
|
||||
}else{
|
||||
mydiv = "<p><div class='layui-form-item' style='margin-left: 3%' id='p"+pid+"'></div>";
|
||||
mydiv = "<div class='layui-form-item' style='margin-left: 3%; overflow:auto' id='p"+pid+"'></div>";
|
||||
$('#'+pid).after(mydiv);
|
||||
}
|
||||
// 创建checkbox
|
||||
@@ -80,7 +80,6 @@
|
||||
mycheckbox = '<input type="checkbox" name="rules[]" title="'+arr[i].title+'" value="'+arr[i].id+'" lay-skin="primary" lay-filter="auth" lay-verify="required" id ="'+arr[i].id+'" pid="'+arr[i].pid+'">';
|
||||
}
|
||||
|
||||
|
||||
$('#p'+pid).append(mycheckbox);
|
||||
createCheckbox(arr[i].child,arr[i].id);
|
||||
}
|
||||
|
||||
@@ -31,10 +31,6 @@ class Kaohao extends BaseController
|
||||
$list['data']['nianji'] = $ksset->srcNianji($kaoshi);
|
||||
$list['data']['nianjiNum'] = array_column($list['data']['nianji'], 'nianji');
|
||||
|
||||
$kh = new KH;
|
||||
$src['kaoshi'] = $kaoshi;
|
||||
$list['data']['school'] = $kh->cySchool($src);
|
||||
|
||||
// 设置页面标题
|
||||
$list['set'] = array(
|
||||
'webtitle'=>'生成考号',
|
||||
@@ -155,7 +151,6 @@ class Kaohao extends BaseController
|
||||
} else {
|
||||
$src['ruxuenian']=array();
|
||||
}
|
||||
$list['data']['school'] = $kh->cySchool($src);
|
||||
|
||||
|
||||
// 设置页面标题
|
||||
@@ -218,12 +213,6 @@ class Kaohao extends BaseController
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* 生成指定网址的二维码
|
||||
* @param string $url 二维码中所代表的网址
|
||||
|
||||
Loaded 3 of 12 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user