Commit c546178a by zhaochengxiang

资产管理增加自定义目录

parent c071979a
......@@ -524,4 +524,8 @@ export function* compareDataAssetWithDescribeInfo(payload) {
export function* listDataAssetHistoryTimeline(payload) {
return yield call(service.listDataAssetHistoryTimeline, payload);
}
export function* queryCustomTypeRootDirectory() {
return yield call(service.queryCustomTypeRootDirectory);
}
\ No newline at end of file
......@@ -531,4 +531,8 @@ export function compareDataAssetWithDescribeInfo(payload) {
export function listDataAssetHistoryTimeline(payload) {
return GetJSON("/dataassetmanager/versionApi/listDataAssetHistoryTimeline", payload);
}
export function queryCustomTypeRootDirectory() {
return GetJSON("/dataassetmanager/directoryApi/queryCustomTypeRootDirectory");
}
\ No newline at end of file
......@@ -554,6 +554,7 @@ const AssetTable = (props) => {
let params = {
queryElementId: currentElementId,
dirId: nodeId,
currentDirIsCustom: nodeType==='custom',
pageNum,
pageSize,
keyword: encodeURIComponent(keyword)
......
......@@ -303,20 +303,6 @@ const CustomDirectoryModal = (props) => {
>
<Input />
</Form.Item>
{
reference===AssetManageReference && <Form.Item
label='数据范围'
name='resourceTypes'
>
<Select mode="multiple" allowClear>
{
resourceTypes.map((item,index) => {
return <Select.Option key={item.key}>{item.name}</Select.Option>
})
}
</Select>
</Form.Item>
}
<Form.Item
label='描述或原因'
name='desc'
......
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