回答:应该是没有设置主键的问题吧,如果是没有主键的话数据库新增一个id列然后插入数据的时候给他勾选上主键
回答:确认一下首页是否还在,如果在的话在管理系统那块预览下模板看下是否正常
回答:用子弹图 - https://help.fanruan.com/finereport/doc-view-2280.html
回答:点击这个按钮,更新一下jar包
回答:可以参考这个文档 - https://help.fanruan.com/finereport/doc-view-4261.html用这个试试if (a == '填报') {setTimeout(function() {_g().getParameterContainer().getWidgetByName("buttom0").invisible();},0)} else {setTimeout(function() {_g().getParameterContainer().getWidgetByName("buttom0").invisible();},0)}
回答:可以参考下这个文档 - https://help.finereport.com/doc-view-865.html
回答:[图片]
回答:参考文档JS判断PC和移动设备类型-https://help.fanruan.com/finereport/doc-view-1875.htmlif (!window.navigator) { _g().setCellValue(0, 5, 5, "移动端AP");} else { if (/Mobile|Android|webOS|iPhone|iPad|Phone/i.test(navigator.userAgent)) { _g().setCellValue(sheet号,列号,行号, "移动端H5"); } else { _g().setCellValue(sheet号,列号,行号, "PC端"); }}
回答:用条件,这个条件写在C1列上,A1="周末"
回答:var a=_g().getWidgetByName("time").getValue();var title=_g().getWidgetByName('预警信息标题').getCellValue("A1"); //模板路径var url = encodeURI(encodeURI("地址&op=form_adaptive&level=1"+"&time="+ a));//窗体var $iframe = $("<iframe id='inp' name='inp' width='100%' height='100%' scrolling='no' frameborder='0'>");//将窗体的src属性设置为模板路径$iframe.attr("src", url);//窗体的属性var o = { title: title, //标题 destroyOnClose:true, // 是否在关闭对话框的时候将对话框从dom中移除 width: "60%", //宽度 height: "80%", //高度 //closable:true, //是否显示关闭按钮,默认true //confirm:true, //是否添加确认取消按钮,默认false //draggable:true //是否可拖动,默认true};//弹出窗体FR.showDialog(o.title, o.width, o.height, $iframe, o,);$('.bi-header-background').css("background-color","rgb(52,65,71)"); // 对话框背景颜色$('.bi-font-bold').css("color","white"); // 对话框标字体颜色$('.bi-font-bold').css("font-size","18px"); // 对话框字体大小$('.b-font').css("color","white"); // 对话框关闭颜色$('.b-font').css("font-size","25px"); // 对话框关闭大小参考链接 - https://help.fanruan.com/finereport10.0/doc-view-3633.html
146
146
34
10