参考模板
删除对话框关闭图标.zip
参考JS
//移除原有的点击事件
$('td[id*=A1]>span').removeAttr('onclick')
$('td[id*=A1]>span').click(function () {
//一、显示对话框
FR.doHyperlink(event || window.event, [{
"data": "var as=arguments; return FR.tc(function(){FR.doHyperlinkByGet4Reportlet({\"url\":\"/webroot/decision/view/report?viewlet=%252FGettingStarted.cpt\",\"para\":{\"__pi__\":true},\"target\":\"_dialog\",\"feature\":{\"width\":600,\"height\":400,\"isCenter\":true,\"title\":\"网络报表标题\"},\"title\":\"网络报表1\"})}, this, as)",
"name": "网络报表1"
}], true)
$('.fr-core-panel-tool-close').remove()
})
//移除原有的点击事件
$('td[id*=B1]>span').removeAttr('onclick')
$('td[id*=B1]>span').click(function () {
//一、显示对话框
FR.doHyperlink(event || window.event, [{
"data": "var as=arguments; return FR.tc(function(){FR.doHyperlinkByGet({\"url\":\"https://bbs.fanruan.com/wenda/question/6528.html\",\"para\":{},\"target\":\"_dialog\",\"feature\":\"width=600,height=400,\",\"title\":\"网页链接1\"})}, this, as)",
"name": "网页链接1"
}], true)
$('.fr-core-panel-tool-close').remove()
})
$('td[id*=C1]>span').removeAttr('onclick')
$('td[id*=C1]>span').click(function () {
//一、显示对话框
FR.doHyperlink(event || window.event, [{
"data": "var as=arguments; return FR.tc(function(){;return eval(\"(function(){try{var iframe = $(\\\"\\\");\\n// 对话框内 iframe 参数的命名,默认宽高占比是 100%,可向下滚动\\niframe.attr(\\\"src\\\", \\\"https://bbs.fanruan.com/wenda/question/6528.html\\\");\\n// 给 iframe 添加 src 属性\\nvar o = {\\nwidth : 300,//对话框宽度 \\nheight: 300//对话框高度\\n};\\nFR.showDialog(\\\"JS网页框\\\", o.width, o.height, iframe,o);//弹出对话框\\n\\n\\n}catch(ex){FR.Logger.error(ex);FR.Msg.toast(FR.i18nText('Custom')+'JS'+FR.i18nText('Error')+' : '+ex.message);}}).createDelegate(this, [], 0).apply(this, arguments)\");}, this, as)",
"name": "JavaScript脚本1"
}], true)
$('.fr-core-panel-tool-close').remove()
})