Commit c546178a by zhaochengxiang

资产管理增加自定义目录

parent c071979a
...@@ -524,4 +524,8 @@ export function* compareDataAssetWithDescribeInfo(payload) { ...@@ -524,4 +524,8 @@ export function* compareDataAssetWithDescribeInfo(payload) {
export function* listDataAssetHistoryTimeline(payload) { export function* listDataAssetHistoryTimeline(payload) {
return yield call(service.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) { ...@@ -531,4 +531,8 @@ export function compareDataAssetWithDescribeInfo(payload) {
export function listDataAssetHistoryTimeline(payload) { export function listDataAssetHistoryTimeline(payload) {
return GetJSON("/dataassetmanager/versionApi/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) => { ...@@ -554,6 +554,7 @@ const AssetTable = (props) => {
let params = { let params = {
queryElementId: currentElementId, queryElementId: currentElementId,
dirId: nodeId, dirId: nodeId,
currentDirIsCustom: nodeType==='custom',
pageNum, pageNum,
pageSize, pageSize,
keyword: encodeURIComponent(keyword) keyword: encodeURIComponent(keyword)
......
...@@ -303,20 +303,6 @@ const CustomDirectoryModal = (props) => { ...@@ -303,20 +303,6 @@ const CustomDirectoryModal = (props) => {
> >
<Input /> <Input />
</Form.Item> </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 <Form.Item
label='描述或原因' label='描述或原因'
name='desc' 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