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