0
This commit is contained in:
1 parent
45fb8b1020
commit
63066f8fab
36 files changed
+1744
-1802
No files matched your search
@@ -75,11 +75,7 @@ layui.use(['form', 'createInput'], function() {
|
||||
}
|
||||
|
||||
form.on('checkbox(auth)', function(data) {
|
||||
pid = $(data.elem).attr('pid');
|
||||
cid = $(data.elem).attr('cid');
|
||||
check = data.elem.checked;
|
||||
cInput.checkboxChildren(cid, check);
|
||||
cInput.checkboxParent(pid, check);
|
||||
cInput.checkboxChecked(data);
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
@@ -51,9 +51,10 @@
|
||||
<!-- 表格操作 -->
|
||||
<script>
|
||||
// 提交搜索条件后重载表格
|
||||
layui.use(['table', 'mytable', 'createInput'], function() {
|
||||
layui.use(['table', 'mytable', 'createInput', 'form'], function() {
|
||||
var table = layui.table,
|
||||
cInput = layui.createInput,
|
||||
form = layui.form,
|
||||
mytable = layui.mytable;
|
||||
|
||||
cInput.schoolSelect('school_id', '教研组', '区级');
|
||||
|
||||
@@ -141,7 +141,7 @@
|
||||
{/block}
|
||||
{block name="myjs"}
|
||||
<script>
|
||||
layui.use(['laydate', 'createInput'], function() {
|
||||
layui.use(['laydate','createInput'], function() {
|
||||
var laydate = layui.laydate,
|
||||
cInput = layui.createInput;
|
||||
|
||||
@@ -155,8 +155,7 @@ layui.use(['laydate', 'createInput'], function() {
|
||||
laydate.render({
|
||||
elem: '#shengri',
|
||||
type: 'datetime',
|
||||
trigger: 'click' //采用click弹出
|
||||
,
|
||||
trigger: 'click', //采用click弹出
|
||||
format: 'yyyy-M-d' //可任意组合
|
||||
});
|
||||
//参加工作时间
|
||||
|
||||
Loaded 3 of 36 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user