Browse Source

Pull request #10544: REPORT-83462 fix:fvs-图表-超链-网络报表缺少一些参数字段 && KERNEL-12559 feat:fvs先不做版本控制

Merge in DESIGN/design from ~CARLSON/design:release/11.0 to release/11.0

* commit '42dbcd84f2a4616cfc12ddf22cc12eaf53976715':
  REPORT-83462 fix:fvs-图表-超链-网络报表缺少一些参数字段 && KERNEL-12559 feat:fvs先不做版本控制
newui
Carlson-洪金阳 2 years ago
parent
commit
08678e0ace
  1. 8
      designer-base/src/main/java/com/fr/design/hyperlink/ReportletHyperlinkPane.java
  2. 4
      designer-base/src/main/java/com/fr/design/mainframe/vcs/common/VcsHelper.java

8
designer-base/src/main/java/com/fr/design/hyperlink/ReportletHyperlinkPane.java

@ -158,6 +158,14 @@ public class ReportletHyperlinkPane extends AbstractHyperLinkPane<ReportletHyper
protected boolean needRenamePane() { protected boolean needRenamePane() {
return false; return false;
} }
public ChartNoRename(HashMap hyperLinkEditorMap, boolean needRenamePace) {
super(hyperLinkEditorMap, needRenamePace);
}
public ChartNoRename() {
super();
}
} }
public ReportletHyperNorthPane getNorthPane() { public ReportletHyperNorthPane getNorthPane() {

4
designer-base/src/main/java/com/fr/design/mainframe/vcs/common/VcsHelper.java

@ -1,6 +1,7 @@
package com.fr.design.mainframe.vcs.common; package com.fr.design.mainframe.vcs.common;
import com.fr.base.extension.FileExtension;
import com.fr.concurrent.NamedThreadFactory; import com.fr.concurrent.NamedThreadFactory;
import com.fr.design.DesignerEnvManager; import com.fr.design.DesignerEnvManager;
import com.fr.design.file.HistoryTemplateListCache; import com.fr.design.file.HistoryTemplateListCache;
@ -135,6 +136,9 @@ public class VcsHelper implements JTemplateActionListener {
public void run() { public void run() {
String fileName = getEditingFilename(); String fileName = getEditingFilename();
if (FileExtension.VIS.matchExtension(fileName)) { // fvs文件先不做版本控制
return;
}
VcsOperator operator = WorkContext.getCurrent().get(VcsOperator.class); VcsOperator operator = WorkContext.getCurrent().get(VcsOperator.class);
VcsEntity entity = operator.getFileVersionByIndex(fileName, 0); VcsEntity entity = operator.getFileVersionByIndex(fileName, 0);
int latestFileVersion = 0; int latestFileVersion = 0;

Loading…
Cancel
Save