请上传宽度大于 1200px,高度大于 164px 的封面图片
    调整图片尺寸与位置
    滚轮可以放大缩小图片尺寸,按住图片拖动可调整位置,多余的会自动被裁剪掉
取消
普普通通的len(uid:794398)
职业资格认证:尚未取得认证
  • 如题,弹窗的大小初始设置了,但是由于各个用户电脑不同,固定死了弹窗大小在一些720p的电脑上就很大了,所以有什么办法能够在设置了初始大小的情况下让用户能够自己像普通窗口一样调节大小吗?
  • 如题,感谢各位大佬
  • 如题,谢谢各位大佬了
  • 我用了这里的java代码:https://help.fanruan.com/finereport/doc-view-736.html,改了一些路径和参数明以后就会报这些错Starting fine assist...Fine assist start failed.java.lang.reflect.InvocationTargetExceptioncom.fr.invoke.ReflectException: java.lang.reflect.InvocationTargetException at com.fr.invoke.Reflect.on(Reflect.java:751) at com.fr.invoke.Reflect.call(Reflect.java:412) at com.fr.jvm.assist.FineAssist.loadNativeLibrary(FineAssist.java:82) at com.fr.jvm.assist.FineAssist.access$000(FineAssist.java:21) at com.fr.jvm.assist.FineAssist$1.run(FineAssist.java:52) at com.fr.jvm.util.JvmAgentUtil.runOnce(JvmAgentUtil.java:39) at com.fr.jvm.assist.FineAssist.<clinit>(FineAssist.java:58) at com.fr.runtime.FineRuntime.<clinit>(FineRuntime.java:33) at com.fr.module.engine.build.ModuleBuilder.<clinit>(ModuleBuilder.java:29) at com.fr.module.engine.build.FineModuleParser.simpleParse(FineModuleParser.java:32) at com.fr.module.tool.ActivatorToolBox.simpleLink(ActivatorToolBox.java:59) at com.fr.io.ExportReports.main(ExportReports.java:36)Caused by: java.lang.reflect.InvocationTargetException at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:568) at com.fr.invoke.Reflect.on(Reflect.java:748) ... 11 moreCaused by: java.io.IOException: Can not attach to current VM at jdk.attach/sun.tools.attach.HotSpotVirtualMachine.<init>(HotSpotVirtualMachine.java:76) at jdk.attach/sun.tools.attach.VirtualMachineImpl.<init>(VirtualMachineImpl.java:48) at jdk.attach/sun.tools.attach.AttachProviderImpl.attachVirtualMachine(AttachProviderImpl.java:69) at jdk.attach/com.sun.tools.attach.VirtualMachine.attach(VirtualMachine.java:207) ... 16 moreStarting fine runtime...Unable to make static native java.lang.Class java.lang.ClassLoader.defineClass1(java.lang.ClassLoader,java.lang.String,byte,int,int,java.security.ProtectionDomain,java.lang.String) accessible: module java.base does not "opens java.lang" to unnamed module @3b81a1bcjava.lang.reflect.InaccessibleObjectException: Unable to make static native java.lang.Class java.lang.ClassLoader.defineClass1(java.lang.ClassLoader,java.lang.String,byte,int,int,java.security.ProtectionDomain,java.lang.String) accessible: module java.base does not "opens java.lang" to unnamed module @3b81a1bc at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:354) at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:297) at java.base/java.lang.reflect.Method.checkCanSetAccessible(Method.java:199) at java.base/java.lang.reflect.Method.setAccessible(Method.java:193) at com.fr.plugin.Start$Jdk11Helper.findMethod(Start.java:122) at com.fr.plugin.Start$Helper.<init>(Start.java:96) at com.fr.plugin.Start$Jdk11Helper.<init>(Start.java:108) at com.fr.plugin.Start.defineHelper(Start.java:82) at com.fr.plugin.Start.<init>(Start.java:23) at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:77) at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499) at java.base/java.lang.reflect.ReflectAccess.newInstance(ReflectAccess.java:128) at java.base/jdk.internal.reflect.ReflectionFactory.newInstance(ReflectionFactory.java:347) at java.base/java.lang.Class.newInstance(Class.java:645) at com.fr.runtime.FineRuntime.initEncryptedBridge(FineRuntime.java:95) at com.fr.runtime.FineRuntime.start(FineRuntime.java:52) at com.fr.module.engine.build.ModuleBuilder.<clinit>(ModuleBuilder.java:29) at com.fr.module.engine.build.FineModuleParser.simpleParse(FineModuleParser.java:32) at com.fr.module.tool.ActivatorToolBox.simpleLink(ActivatorToolBox.java:59) at com.fr.io.ExportReports.main(ExportReports.java:36)com.fr.plugin.bridge.FinePluginBridgejava.lang.ClassNotFoundException: com.fr.plugin.bridge.FinePluginBridge at com.fr.plugin.Start.findClass(Start.java:69) at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:587) at com.fr.plugin.Start.loadClass(Start.java:38) at java.base/java.lang.Class.forName0(Native Method) at java.base/java.lang.Class.forName(Class.java:467) at com.fr.runtime.FineRuntime.initEncryptedBridge(FineRuntime.java:96) at com.fr.runtime.FineRuntime.start(FineRuntime.java:52) at com.fr.module.engine.build.ModuleBuilder.<clinit>(ModuleBuilder.java:29) at com.fr.module.engine.build.FineModuleParser.simpleParse(FineModuleParser.java:32) at com.fr.module.tool.ActivatorToolBox.simpleLink(ActivatorToolBox.java:59) at com.fr.io.ExportReports.main(ExportReports.java:36)Caused by: java.lang.NullPointerException: Cannot invoke "java.lang.reflect.Method.invoke(Object, Object)" because "this.method" is null at com.fr.plugin.Start$Jdk11Helper.defineClass(Start.java:114) at com.fr.plugin.Start.findClass(Start.java:67) ... 10 moreFine runtime started.Fire event AfterSwitch ,listeners : .Module VirtualActivator starting...Module BaseDBActivator starting...log4j:WARN No appenders could be found for logger (com.fr.third.org.jboss.logging).log4j:WARN Please initialize the log4j system properly.log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.1月 03, 2022 3:13:34 下午 com.fr.third.org.hsqldb.persist.Logger logSevereEvent严重: could not reopen databasecom.fr.third.org.hsqldb.HsqlException: Database lock acquisition failure: lockFile: com.fr.third.org.hsqldb.persist.LockFile@21eb5b14 method: checkHeartbeat read: 2022-01-03 07:13:33 heartbeat - read: -7587 ms. at com.fr.third.org.hsqldb.error.Error.error(Error.java:85) at com.fr.third.org.hsqldb.error.Error.error(Error.java:73) at com.fr.third.org.hsqldb.persist.LockFile.newLockFileLock(LockFile.java:642) at com.fr.third.org.hsqldb.persist.Logger.acquireLock(Logger.java:1415) at com.fr.third.org.hsqldb.persist.Logger.open(Logger.java:371) at com.fr.third.org.hsqldb.Database.reopen(Database.java:225) at com.fr.third.org.hsqldb.Database.open(Database.java:207) at com.fr.third.org.hsqldb.DatabaseManager.getDatabase(DatabaseManager.java:255) at com.fr.third.org.hsqldb.DatabaseManager.newSession(DatabaseManager.java:156) at com.fr.third.org.hsqldb.jdbc.JDBCConnection.<init>(JDBCConnection.java:3570) at com.fr.third.org.hsqldb.jdbc.JDBCDriver.getConnection(JDBCDriver.java:313) at com.fr.third.org.hsqldb.jdbc.JDBCDriver.connect(JDBCDriver.java:261) at com.fr.third.alibaba.druid.pool.DruidAbstractDataSource.createPhysicalConnection(DruidAbstractDataSource.java:1461) at com.fr.third.alibaba.druid.pool.DruidAbstractDataSource.createPhysicalConnection(DruidAbstractDataSource.java:1525) at com.fr.third.alibaba.druid.pool.DruidDataSource$CreateConnectionThread.run(DruidDataSource.java:2165)请问有大佬知道为什么吗?
  • 比如我写了如下js用来点击按钮实现数据更新var sql = "EXEC proname";var flag = confirm("确定刷新数据吗?");if (flag) { var a = FR.remoteEvaluate('SQL("FineDB","' + sql + '",1,1)'); alert("更新中..."); if (a == 1) { alert("更新成功"); setTimeout('location.reload();', 10); } else { alert("更新失败"); }}想实现的效果是,点击按钮弹出是否更新数据,选择是后弹出更新中弹框,直到收到SLQ的返回值后更新中的提示框变换为更新完成或是更新失败。目前的情况是弹出更新中后,必须点击确定才会继续执行,但是点了确定用户在直到弹出更新结果前都不知道数据在更新
  • 如图:填报报表打开时只有96项,前三列是通过查询然后纵向扩展得出的。现在模拟导入人员,在要被导入的excel中误增加了第一百行,怎么样才能让这第一百行不被导入进来下面是我的测试模板Desktop.zip
  • 帆软决策系统怎么用超管账号给所有人发布消息,想用来提醒用户什么时候会停服务更新之类的
  • 如图,这个标题太高了不适合 我想调小怎么调?在报表块里设置标题的话因为设置了冻结就不能像标题一样使用了会被冻结分开
  • 如题,使用了js来隐藏滚动条,但是滚动条隐藏了却还是占着原本的区域使我的各个组件不好对齐,怎么设置才能使这个区域显示内容呢?
  • 隐藏滚动条并且自动滚动的js:setTimeout(function() { AutoScroll();  //定义需要跑马灯效果的报表块名字,兼容大小写}, 2000);function AutoScroll(e) { for (i = 0; i < e.length; i++) { (function(e, i) { scroll(e, i); })(e, i); }}function scroll(e, i) { var $report = $("div.toUpperCase() + "]"); //获取对应report的div元素 var $scroll; if ($report.find(".frozen-center").length != 0) { $scroll = $report.find(".frozen-center"); } else if ($report.find(".scrollDiv").length != 0) { $scroll = $report.find(".scrollDiv"); } else { $scroll = $report.find(".reportContent"); } //判断是否冻结以及是否安装自定义滚动条插件 var flag = eval("window.flag" + i); //设置全局flag,控制悬停 if (interval) { clearInterval(interval); } //清除定时器,避免越滚越快 var interval = eval("window.interval" + i); $report.find("#frozen-center").css('overflow-x', 'hidden'); $report.find("#frozen-center").css('overflow-y', 'hidden'); $report.find("#frozen-north").css('overflow-x', 'hidden'); $report.find("#frozen-north").css('overflow-y', 'hidden'); //冻结情况下隐藏滚动条 $report.find(".reportContent").css('overflow-y', 'hidden'); $report.find(".reportContent").css('overflow-x', 'hidden'); //非冻结情况下隐藏滚动条 flag = true; $scroll.mouseover(function() { flag = false;                $report.find("#frozen-center").css('overflow-x', 'hidden'); $report.find("#frozen-center").css('overflow-y', 'auto'); $report.find("#frozen-north").css('overflow-x', 'hidden'); $report.find("#frozen-north").css('overflow-y', 'auto'); }) //鼠标悬浮,滚动停止 $scroll.mouseleave(function() { flag = true; $report.find("#frozen-center").css('overflow-x', 'hidden'); $report.find("#frozen-center").css('overflow-y', 'hidden'); $report.find("#frozen-north").css('overflow-x', 'hidden'); $report.find("#frozen-north").css('overflow-y', 'hidden'); }) //鼠标离开,继续滚动 var old = -1; interval = setInterval(function() { if (flag) { currentpos = $scroll.scrollTop; //获取距顶部距离 if (currentpos == old) { $scroll.scrollTop = 0; //若已到达底部,则重置 } else { old = currentpos; $scroll.scrollTop = currentpos + 1.0; //若未到达底部,则向下移动1.0像素 } } }, 100); //以100ms的频率执行}

56

11

56

10

个人成就
内容被浏览22,437
加入社区3年107天
返回顶部