Commit 5a7cf2e2 by liuyongshuai

修改批量授权的一个问题;修改批量授权提示的样式

parent 85ec004e
......@@ -235,7 +235,6 @@
})
});
function removeUser(obj) {
console.log(obj);
var checkboxs, origin, target, num = 0;
if ($(obj).hasClass('right')) {
origin = $('.layui-table-main');
......@@ -254,16 +253,16 @@
$(checkboxs[i]).parents("tr").find("td").each(function () {
if($(this).attr("data-field")=="id"){
idStr = $(this).find("div").text();
console.log("id:"+idStr);
}
});
target.each(function () {
if($(this).attr("data-field")=="id"){
target.find('.layui-form-checkbox').each(function () {
$(this).parents("tr").find("td").each(function () {
if(idStr ==$(this).find("div").text()){
//如果已经有该用户,则不再允许移动
running = true;
return;
};
}
}
});
});
}
......
......@@ -33,3 +33,6 @@
.layui-layer-dialog>.layui-layer-content{
color: black;
}
.layui-layer-msg{
background: rgba(235, 235, 235, 0.82);
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment