Authored by ‘superliu’

角色管理 授权提示======域配置悬浮提示样式修改

@@ -83,11 +83,12 @@ layui.define(['table', 'form', 'laydate', 'admin', 'layer', 'laytpl', 'common', @@ -83,11 +83,12 @@ layui.define(['table', 'form', 'laydate', 'admin', 'layer', 'laytpl', 'common',
83 if (domainIps && domainIps.length > 0){ 83 if (domainIps && domainIps.length > 0){
84 tips = '该域下所有IP段为:'; 84 tips = '该域下所有IP段为:';
85 $.each(domainIps,function (i,e) { 85 $.each(domainIps,function (i,e) {
86 - tips += '<br/>'+e.ip; 86 + tips +='&nbsp;,'+e.ip;
87 }) 87 })
88 } 88 }
89 if (tips){ 89 if (tips){
90 - return '<div><span lay-tips="'+tips+'">'+d.addr+'</span></div>'; 90 + var html="<div style='width:230px;margin:auto;height:auto;overflow:visible;text-overflow:inherit;white-space:normal;word-break: break-all;'>"+tips+"</div>"
  91 + return '<div><span lay-tips="'+html+'">'+d.addr+'</span></div>';
91 }else{ 92 }else{
92 return '<div><span>'+d.addr+'</span></div>'; 93 return '<div><span>'+d.addr+'</span></div>';
93 } 94 }
@@ -29,7 +29,7 @@ layui.define(['table', 'form', 'laydate', 'common','sessions','xmSelect','laydat @@ -29,7 +29,7 @@ layui.define(['table', 'form', 'laydate', 'common','sessions','xmSelect','laydat
29 data : JSON.stringify(bean), 29 data : JSON.stringify(bean),
30 success : function(res) { 30 success : function(res) {
31 layer.close(loading); 31 layer.close(loading);
32 - layer.msg(res.resp_msg, { 32 + layer.msg(res.resp_msg+"【功能点已全部授权】", {
33 offset: '15px' 33 offset: '15px'
34 , icon: res.resp_code == 0?1:7 34 , icon: res.resp_code == 0?1:7
35 , time: 2000 35 , time: 2000