Commit 84e9357e by zhaochengxiang

修改资产自定义获取要素接口

parent 0b4c01dc
......@@ -13,6 +13,10 @@ export function* listElements() {
return yield call(service.listElements);
}
export function* listCustomElements() {
return yield call(service.listCustomElements);
}
export function* listFilterElementIds() {
return yield call(service.listFilterElementIds);
}
......
......@@ -12,6 +12,10 @@ export function listElements() {
return PostJSON("/dataassetmanager/elementApi/listElements");
}
export function listCustomElements() {
return GetJSON("/dataassetmanager/elementApi/listCustomElements");
}
export function listFilterElementIds() {
return GetJSON("/dataassetmanager/elementApi/listFilterElementIds");
}
......
......@@ -40,7 +40,7 @@ const CustomDirectoryModal = (props) => {
const getAllElementsThenGetCurrentDirectory = () => {
dispatch({
type: 'assetmanage.listElements',
type: 'assetmanage.listCustomElements',
callback: elements => {
setData(elements||[]);
if (action === 'edit') {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment