企业🤖AI智能体构建引擎,智能编排和调试,一键部署,支持私有化部署方案 广告
路径D:\ireport365\ireport365.war\WEB-INF\pages\enduser\designer\index.jsp 路径D:\ireport365\ireport365.war\WEB-INF\pages\enduser\home.jsp 两个文件都要修改 ~~~ <%-- 分享弹框 --%> <script type="text/ng-template" id="reportShareModal.html"> <div class="modal-header"> <h4>{{vsLang.config_report_publish_share}}-{{report.name}}</h4> </div> <div class="modal-body" style="overflow-y:auto;"> <div style="height:100%;padding-top:40px;text-align:center;color:#999;" ng-show="!report.publicShare"> <div style="font-size:22px;font-weight:bold;text-align:center;padding: 30px;color:#000;">{{report.name}}</div> <button class="btn btn-danger" ng-click="publicShare($event)">{{vsLang.enable_public_share}}</button> <div style="color:#999;padding-top:30px;">{{vsLang.public_share_tooltip}}</div> </div> <div style="height:100%;text-align:center;color:#666;" ng-show="report.publicShare"> <div class="col-xs-8" style="padding-top: 10px;"> <%-- {{vsLang.report_url}} --%> <div style="padding-top:10px;"> <textarea id="biaourl" class="form-control" rows="5" style="width:360px;height:60px !important;margin:0 auto;">{{getViewReportUrl()}}</textarea> </div> </div> <div class="col-xs-4" style="padding-top:32px;"> <div class="col-xs-6"><a href="javascript:;" class="btn btn-default" onClick="copyUrl2()">复制链接</a></div> <div class="col-xs-6"><a href="{{getViewReportUrl()}}" target="_blank" class="btn btn-primary">打开报表</a></div> </div> <div class="col-xs-12" style="padding: 10px 35px;"> <div style="font-size:16px;font-weight:bold;text-align:center;color:#222;padding-bottom:15px;">手机扫一扫</div> <img id="qrcodeImage" style="max-height:35%;max-width:28%;" ng-src="${pageContext.request.contextPath}/workbench/report/qrcode.do?reportUrl={{encodeURIComponent(getViewReportUrl())}}"/> </div> </div> </div> <div class="modal-footer" style="padding: 10px 20px;"> <button ng-show="report.publicShare" class="btn btn-danger" ng-click="unpublicShare($event)">{{vsLang.disable_public_share}}</button> <button class="btn btn-default" ng-click="dismissWindow()" style="float:right;">{{vsLang.close}}</button> </div> </script> <script> function copyUrl2(){ var Url2=document.getElementById("biaourl"); Url2.select(); // 选择对象 document.execCommand("Copy"); // 执行浏览器复制命令 alert("已复制好,可贴粘。"); } </script> ~~~