diff --git a/app/kaohao/view/index/create.html b/app/kaohao/view/index/create.html index b1bb98d7..d3c9aad5 100755 --- a/app/kaohao/view/index/create.html +++ b/app/kaohao/view/index/create.html @@ -63,6 +63,12 @@ layui.use(['form', 'canyuKaoshi', 'createInput'], function() { // 监听学校下拉菜单 form.on('select(nj)', function(data) { data = form.val("myform"); + data.auth = { + 'guanliyuan' : true + ,'zhiwu' : true + ,'zuzhang' : true + ,'banzhuren' : true + } if (data.school_id > 0 && data.ruxuenian > 0) { cInput.banjiSelect('banji_id', data); } diff --git a/app/kaoshi/view/index/create_setp3.html b/app/kaoshi/view/index/create_setp3.html index 76d375b5..4bd49210 100644 --- a/app/kaoshi/view/index/create_setp3.html +++ b/app/kaoshi/view/index/create_setp3.html @@ -74,6 +74,12 @@ layui.use(['form', 'createInput', 'canyuKaoshi'], function() { form.on('select()', function(data) { data = form.val("myform"); + data.auth = { + 'guanliyuan' : true + ,'zhiwu' : true + ,'zuzhang' : true + ,'banzhuren' : true + } if (data.school_id > 0 && data.ruxuenian > 0) { cInput.banjiCheckbox('banji_id', data); }