Browse Source

0.0.3: 图表DEMO_EK 页面刷新接口

master
Ivan.Guo-郭一凡 9 months ago
parent
commit
3ed89f022b
  1. 1
      plugin.xml
  2. 2
      src/main/java/com/finebi/plugin/tptj/ivan/chart/demo/amap/MapHotComponentProvider.java
  3. 4
      src/main/resources/com/finebi/plugin/tptj/ivan/chart/demo/amap/js/chart.js
  4. BIN
      说明/0.0.3/0.0.3.zip
  5. BIN
      说明/0.0.3/fine-plugin-com.finebi.plugin.tptj.ivan.chart.demo.amap-0.0.2.zip

1
plugin.xml

@ -11,6 +11,7 @@
<change-notes><![CDATA[ <change-notes><![CDATA[
0.0.1: 图表DEMO_EK init<br/> 0.0.1: 图表DEMO_EK init<br/>
0.0.2: 图表DEMO_EK 数据处理接口<br/> 0.0.2: 图表DEMO_EK 数据处理接口<br/>
0.0.3: 图表DEMO_EK 页面刷新接口<br/>
]]></change-notes> ]]></change-notes>
<bi-env-version>6.0~</bi-env-version> <bi-env-version>6.0~</bi-env-version>
<main-package>com.finebi.plugin.tptj.ivan.chart.demo.amap</main-package> <main-package>com.finebi.plugin.tptj.ivan.chart.demo.amap</main-package>

2
src/main/java/com/finebi/plugin/tptj/ivan/chart/demo/amap/MapHotComponentProvider.java

@ -59,7 +59,7 @@ public class MapHotComponentProvider extends AbstractCustomComponentProvider {
@Focus(id = PluginConstantsEK.PLUGIN_ID, text = PluginConstantsEK.PLUGIN_NAME, source = Original.PLUGIN) @Focus(id = PluginConstantsEK.PLUGIN_ID, text = PluginConstantsEK.PLUGIN_NAME, source = Original.PLUGIN)
@Override @Override
public String getPreviewPageHTML(OperationContext context) { public String getPreviewPageHTML(OperationContext context) {
return "<div id=\"amap-demo-container\"></div>"; return "<div id=\"amap-demo-container\"></div><div class=\"input-card\"><div><div class=\"input-item\"><button id=\"amap-demo-click\" class=\"btn\" style=\"margin-right:1rem;\">点击</button></div></div></div>";
} }
@Override @Override

4
src/main/resources/com/finebi/plugin/tptj/ivan/chart/demo/amap/js/chart.js

@ -46,6 +46,10 @@
dom.style.width = document.body.clientWidth + "px"; dom.style.width = document.body.clientWidth + "px";
dom.style.height = document.body.clientHeight + "px"; dom.style.height = document.body.clientHeight + "px";
}); });
document.querySelector("#amap-demo-click").onclick = function () {
extensionCallBack('refresh');
}
} }
/** /**

BIN
说明/0.0.3/0.0.3.zip

Binary file not shown.

BIN
说明/0.0.3/fine-plugin-com.finebi.plugin.tptj.ivan.chart.demo.amap-0.0.2.zip

Binary file not shown.
Loading…
Cancel
Save