您正在使用的浏览器版本过低,将不能正常浏览请升级最新浏览器或更换浏览器访问
' +'
';
formContainer.append(str)
});
}
};
// 获取xss正则;
getCheckIsXSS()
function getCheckIsXSS() {
$.ajax({
url: '/aop_component//openapp/system/getXssConfig',
crossDomain: false,
headers:data.queryParams,
type: "post",
dataType: "json",
contentType: "application/json",
success: function (res) {
if (res.code == "0000") {
data.xssRule=res.data
}
},
error: function (response) {
layer.msg(response.msg);
}
})
};
/*xss校验函数,返回值:true 表示存在xss漏洞,false:不存在*/
function checkIsXSS(v) {
return (new RegExp(data.xssRule)).test(v.replace(/[\r\n]/g,""));
};
//回复
function replyclickfun(){
data.replyWindow=!data.replyWindow;
renderTemplate(data);
replyEditorRender();
};
// 查看我的留言
$('#mine-message').on('click',function(){
// if(token === 'preview') {
// layer.msg('查看我的留言需要登录,请您先登录',{time:1000});
// return
// } else {
if("xyxx/xxlb.htm".indexOf("?") != -1){
window.locations.href="/qt/xyxx/xxlb.htm&typeId=" + typeId
}else{
window.locations.href="/qt/xyxx/xxlb.htm?typeId=" + typeId
}
// }
});
window.renderTemplate=renderTemplate;
window.codeRload=codeRload;
window.replyclickfun=replyclickfun;
})
}
' +'
' +
'' +(item.required == 'Y' ? '*' : '') +(item.fieldName == "" ? "" : item.fieldName) +'
' + '' +'
' +'' +'' +'
' +'