From d584e2e1442561e6ab35a5bf16b2ff0cb1ab64e3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=93=9C=E5=93=A5?= Date: Sun, 24 Oct 2021 17:15:37 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=94=9F=E6=88=90=E8=80=83?= =?UTF-8?q?=E5=8F=B7=E6=97=B6=E7=9A=84=E6=9D=83=E9=99=90=E9=AA=8C=E8=AF=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/kaohao/view/index/create.html | 6 ++++++ app/kaoshi/view/index/create_setp3.html | 6 ++++++ 2 files changed, 12 insertions(+) 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); }