diff --git a/plugin.xml b/plugin.xml index c13e63e..5308bbe 100644 --- a/plugin.xml +++ b/plugin.xml @@ -3,14 +3,14 @@ com.finebi.plugin.save_bi_param yes - 1.0 + 1.8 10.0 - 2018-07-31 + 2019-04-31 dailer - + - + com.finebi \ No newline at end of file diff --git a/src/main/java/com/finebi/plugin/BiParamSave.java b/src/main/java/com/finebi/plugin/BiParamSave.java index a837afc..e4810ab 100644 --- a/src/main/java/com/finebi/plugin/BiParamSave.java +++ b/src/main/java/com/finebi/plugin/BiParamSave.java @@ -1,7 +1,7 @@ package com.finebi.plugin; import com.fr.decision.fun.impl.AbstractWebResourceProvider; -import com.finebi.conf.internalimp.component.ReportComponent; +import com.finebi.conf.internalimp.component.ShowComponent; import com.fr.intelli.record.Focus; import com.fr.intelli.record.Original; import com.fr.record.analyzer.EnableMetrics; @@ -15,7 +15,7 @@ public class BiParamSave extends AbstractWebResourceProvider { @Override public Atom attach() { - return BiParamSaveComponent.KEY; + return ShowComponent.KEY; } @Override diff --git a/src/main/resources/com/finebi/plugin/web/save_params.css b/src/main/resources/com/finebi/plugin/web/save_param.css similarity index 100% rename from src/main/resources/com/finebi/plugin/web/save_params.css rename to src/main/resources/com/finebi/plugin/web/save_param.css diff --git a/src/main/resources/com/finebi/plugin/web/save_param.js b/src/main/resources/com/finebi/plugin/web/save_param.js index a795e74..dce588b 100644 --- a/src/main/resources/com/finebi/plugin/web/save_param.js +++ b/src/main/resources/com/finebi/plugin/web/save_param.js @@ -406,7 +406,9 @@ items: [ { el: { - type: "bi.button", + type: "bi.icon_text_item", + height: 24, + width: 100, text: "默认参数设定", cls: "bi-plugin-save-params-button history-filter-font", handler: function () { diff --git a/src/main/resources/com/finebi/plugin/web/scripts/save.js b/src/main/resources/com/finebi/plugin/web/scripts/save.js index 34d5408..9ac4d1a 100644 --- a/src/main/resources/com/finebi/plugin/web/scripts/save.js +++ b/src/main/resources/com/finebi/plugin/web/scripts/save.js @@ -135,7 +135,9 @@ items: [ { el: { - type: "bi.button", + type: "bi.icon_text_item", + height: 24, + width: 100, text: "默认参数设定", cls: "bi-plugin-save-params-button history-filter-font", handler: function () {