Browse Source

REPORT-111279 全局查找与替换,复杂frm搜索失败

release/11.0
Destiny.Lin 11 months ago
parent
commit
d2b60fea6d
  1. 3
      designer-realize/src/main/java/com/fr/design/actions/replace/action/content/js/SearchChartJSAction.java

3
designer-realize/src/main/java/com/fr/design/actions/replace/action/content/js/SearchChartJSAction.java

@ -63,6 +63,8 @@ public class SearchChartJSAction {
//图表-特效-交互属性-监控刷新 //图表-特效-交互属性-监控刷新
dealMonitorRefreshJS(conditionContent, chartCollection, jsInfos); dealMonitorRefreshJS(conditionContent, chartCollection, jsInfos);
for (int i = 0; i < chartCollection.getChartCount(); i++) { for (int i = 0; i < chartCollection.getChartCount(); i++) {
Chart chart = chartCollection.getChart(i);
if (chart != null) {
ITContent chartContent = ITContent.copy(content); ITContent chartContent = ITContent.copy(content);
chartContent.addOtherPos(chartCollection.getChart(i).getChartName()); chartContent.addOtherPos(chartCollection.getChart(i).getChartName());
//坐标轴 //坐标轴
@ -71,6 +73,7 @@ public class SearchChartJSAction {
dealCustomPlot(jsInfos, conditionContent, chartCollection.getChart(i)); dealCustomPlot(jsInfos, conditionContent, chartCollection.getChart(i));
} }
} }
}
private void dealCustomPlot(List<JSInfo> jsInfos, ITContent conditionContent, Chart chart) { private void dealCustomPlot(List<JSInfo> jsInfos, ITContent conditionContent, Chart chart) {
if (chart.getPlot() instanceof VanChartCustomPlot) { if (chart.getPlot() instanceof VanChartCustomPlot) {

Loading…
Cancel
Save