save
This commit is contained in:
parent
cfb3326875
commit
1cf3572900
@ -91,8 +91,7 @@
|
||||
title: item.comment || item.field,
|
||||
field: field,
|
||||
hide: !item.list_show,
|
||||
sort: item.enable_sort,
|
||||
align: 'center',
|
||||
sort: item.enable_sort
|
||||
}
|
||||
|
||||
let control = item.control.toLowerCase();
|
||||
|
@ -190,9 +190,9 @@
|
||||
el: "#sex",
|
||||
name: "sex",
|
||||
initValue: initValue,
|
||||
data: e.data,
|
||||
model: {"icon":"hidden","label":{"type":"text"}},
|
||||
clickClose: 'true',
|
||||
data: e.data,
|
||||
model: {"icon":"hidden","label":{"type":"text"}},
|
||||
clickClose: 'true',
|
||||
radio: 'true',
|
||||
})
|
||||
}
|
||||
@ -211,7 +211,7 @@
|
||||
layui.use(["laydate"], function() {
|
||||
layui.laydate.render({
|
||||
elem: "#last_time",
|
||||
range: ["#last_time-date-start", "#last_time-date-end"],
|
||||
range: ["#last_time-date-start", "#last_time-date-end"],
|
||||
type: 'datetime',
|
||||
});
|
||||
})
|
||||
@ -220,7 +220,7 @@
|
||||
layui.use(["laydate"], function() {
|
||||
layui.laydate.render({
|
||||
elem: "#join_time",
|
||||
range: ["#join_time-date-start", "#join_time-date-end"],
|
||||
range: ["#join_time-date-start", "#join_time-date-end"],
|
||||
type: 'datetime',
|
||||
});
|
||||
})
|
||||
|
@ -36,12 +36,14 @@ function toggleSearchFormShow()
|
||||
* 获取控制器详细权限,并决定展示哪些按钮或dom元素
|
||||
*/
|
||||
layui.$(function () {
|
||||
if (!window.CONTROLLER) return;
|
||||
console.trace();
|
||||
console.log(CONTROLLER);
|
||||
//if (!window.CONTROLLER) return;
|
||||
let $ = layui.$;
|
||||
$.ajax({
|
||||
url: "/app/admin/admin-rule/permission",
|
||||
dataType: "json",
|
||||
data: {controller: window.CONTROLLER},
|
||||
data: {controller: CONTROLLER},
|
||||
success: function (res) {
|
||||
let style = '';
|
||||
layui.each(res.data || [], function (k, action) {
|
||||
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user