|
|
|
@ -6,6 +6,7 @@ import com.fr.datacenters.tabledata.bean.DCTableDataBean;
|
|
|
|
|
import com.fr.datacenters.tabledata.filter.DCFilter; |
|
|
|
|
import com.fr.datacenters.tabledata.parameter.DCParameter; |
|
|
|
|
import com.fr.design.bridge.exec.JSBridge; |
|
|
|
|
import com.fr.design.data.DesignTableDataManager; |
|
|
|
|
import com.fr.design.dialog.DialogActionListener; |
|
|
|
|
import com.fr.design.dialog.UIDialog; |
|
|
|
|
import com.fr.design.formula.FormulaFactory; |
|
|
|
@ -135,6 +136,16 @@ public class DCTableDataJSBridge {
|
|
|
|
|
}).setVisible(true); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* 当前所有数据集名称 |
|
|
|
|
*/ |
|
|
|
|
@JSBridge |
|
|
|
|
public void getDatasetNames(final JsFunction callback) { |
|
|
|
|
JxUIPane.DEFAULT_EXECUTOR.submit(() -> |
|
|
|
|
callback.invoke(window, EmbedJson.encode( |
|
|
|
|
DesignTableDataManager.getAllDSNames(DesignTableDataManager.getEditingTableDataSource())))); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* 解析公式参数 |
|
|
|
|
*/ |
|
|
|
|