Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
szse
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
zhaochengxiang
szse
Commits
28c20a6b
Commit
28c20a6b
authored
Oct 25, 2023
by
zhaochengxiang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
参数问题
parent
41616260
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
15 additions
and
15 deletions
+15
-15
AssetAction.jsx
src/view/Manage/AssetManage/Component/AssetAction.jsx
+1
-1
CustomDirectoryModal.jsx
...iew/Manage/AssetManage/Component/CustomDirectoryModal.jsx
+3
-3
ImportAssetDrawer.jsx
src/view/Manage/AssetManage/Component/ImportAssetDrawer.jsx
+3
-3
ImportDirectory.jsx
src/view/Manage/AssetManage/Component/ImportDirectory.jsx
+3
-3
tree.jsx
src/view/Manage/AssetManage/tree.jsx
+2
-2
add-to-asset.jsx
src/view/Manage/AssetResourceManage/add-to-asset.jsx
+1
-1
tree.jsx
src/view/Manage/AssetResourceManage/tree.jsx
+2
-2
No files found.
src/view/Manage/AssetManage/Component/AssetAction.jsx
View file @
28c20a6b
...
...
@@ -85,7 +85,7 @@ const AssetAction = (props) => {
payload
:
{
params
:
{
range
:
getAssetRange
(
reference
),
dataAsset
:
getAssetType
(
reference
),
dataAsset
Type
:
getAssetType
(
reference
),
}
},
callback
:
data
=>
{
...
...
src/view/Manage/AssetManage/Component/CustomDirectoryModal.jsx
View file @
28c20a6b
...
...
@@ -53,7 +53,7 @@ const CustomDirectoryModal = (props) => {
dispatch
({
type
:
'assetmanage.listCustomElements'
,
payload
:
{
dataAsset
:
getAssetType
(
reference
)
dataAsset
Type
:
getAssetType
(
reference
)
},
callback
:
elements
=>
{
setData
(
elements
||
[]);
...
...
@@ -89,7 +89,7 @@ const CustomDirectoryModal = (props) => {
let
payload
=
{
data
:
checkedValues
,
params
:
{
dataAsset
:
getAssetType
(
reference
)
dataAsset
Type
:
getAssetType
(
reference
)
}
}
...
...
@@ -168,7 +168,7 @@ const CustomDirectoryModal = (props) => {
data
:
checkedValues
,
params
:
{
...
row
,
dataAsset
:
getAssetType
(
reference
)
dataAsset
Type
:
getAssetType
(
reference
)
}
}
...
...
src/view/Manage/AssetManage/Component/ImportAssetDrawer.jsx
View file @
28c20a6b
...
...
@@ -77,7 +77,7 @@ const ImportAssetDrawer = (props) => {
},
[
visible
])
const
downloadTemplate
=
()
=>
{
window
.
open
(
`/api/dataassetmanager/dataAssetApi/getImportTemplate?dataAsset=
${
getAssetType
(
reference
)}
`
);
window
.
open
(
`/api/dataassetmanager/dataAssetApi/getImportTemplate?dataAsset
Type
=
${
getAssetType
(
reference
)}
`
);
}
const
getLogs
=
(
p
=
1
,
s
=
20
)
=>
{
...
...
@@ -85,7 +85,7 @@ const ImportAssetDrawer = (props) => {
dispatch
({
type
:
'assetmanage.importLogs'
,
payload
:
{
dataAsset
:
getAssetType
(
reference
),
dataAsset
Type
:
getAssetType
(
reference
),
page
:
p
,
pageSize
:
s
},
...
...
@@ -137,7 +137,7 @@ const ImportAssetDrawer = (props) => {
type
:
'assetmanage.getDirectoryById'
,
payload
:
{
dirId
:
nodeId
,
dataAsset
:
getAssetType
(
reference
)
dataAsset
Type
:
getAssetType
(
reference
)
},
callback
:
data
=>
{
console
.
log
(
'path'
,
data
.
path
);
...
...
src/view/Manage/AssetManage/Component/ImportDirectory.jsx
View file @
28c20a6b
...
...
@@ -34,7 +34,7 @@ const ImportDirectory = (props) => {
type
:
'assetmanage.getDirectoryById'
,
payload
:
{
dirId
,
dataAsset
:
getAssetType
(
reference
)
dataAsset
Type
:
getAssetType
(
reference
)
},
callback
:
data
=>
{
setDir
(
data
);
...
...
@@ -58,7 +58,7 @@ const ImportDirectory = (props) => {
payload
=
{
params
:
{
ignoreRepeatPath
,
dataAsset
:
getAssetType
(
reference
)
dataAsset
Type
:
getAssetType
(
reference
)
},
fileList
:
fileList
,
};
...
...
@@ -67,7 +67,7 @@ const ImportDirectory = (props) => {
params
:
{
ignoreRepeatPath
,
parentPath
:
dir
.
path
,
dataAsset
:
getAssetType
(
reference
)
dataAsset
Type
:
getAssetType
(
reference
)
},
fileList
:
fileList
};
...
...
src/view/Manage/AssetManage/tree.jsx
View file @
28c20a6b
...
...
@@ -388,7 +388,7 @@ const FC = (props) => {
<
Menu
>
<
Menu
.
Item
>
<
div
style=
{
{
textAlign
:
'center'
}
}
onClick=
{
()
=>
{
window
.
open
(
`/api/dataassetmanager/directoryApi/export?dataAsset=${getAssetType(AssetManageReference)}`
)
window
.
open
(
`/api/dataassetmanager/directoryApi/export?dataAsset
Type
=${getAssetType(AssetManageReference)}`
)
}
}
>
导出所有
</
div
>
...
...
@@ -400,7 +400,7 @@ const FC = (props) => {
type
:
'assetmanage.getDirectoryById'
,
payload
:
{
dirId
:
selectedKey
,
dataAsset
:
getAssetType
(
AssetManageReference
)
dataAsset
Type
:
getAssetType
(
AssetManageReference
)
},
callback
:
data
=>
{
window
.
open
(
`/api/dataassetmanager/directoryApi/export?parentPath=${data.path}`
);
...
...
src/view/Manage/AssetResourceManage/add-to-asset.jsx
View file @
28c20a6b
...
...
@@ -186,7 +186,7 @@ const AssetInfoItem = ({ items, onChange }) => {
payload
:
{
params
:
{
range
:
getAssetRange
(
ResourceManageReference
),
dataAsset
:
getAssetType
(
ResourceManageReference
),
dataAsset
Type
:
getAssetType
(
ResourceManageReference
),
}
},
callback
:
data
=>
{
...
...
src/view/Manage/AssetResourceManage/tree.jsx
View file @
28c20a6b
...
...
@@ -441,7 +441,7 @@ const FC = (props) => {
<
Menu
>
<
Menu
.
Item
>
<
div
style=
{
{
textAlign
:
'center'
}
}
onClick=
{
()
=>
{
window
.
open
(
`/api/dataassetmanager/directoryApi/export?dataAsset=${getAssetType(ResourceManageReference)}`
)
window
.
open
(
`/api/dataassetmanager/directoryApi/export?dataAsset
Type
=${getAssetType(ResourceManageReference)}`
)
}
}
>
导出所有
</
div
>
...
...
@@ -453,7 +453,7 @@ const FC = (props) => {
type
:
'assetmanage.getDirectoryById'
,
payload
:
{
dirId
:
selectedKey
,
dataAsset
:
getAssetType
(
ResourceManageReference
)
dataAsset
Type
:
getAssetType
(
ResourceManageReference
)
},
callback
:
data
=>
{
window
.
open
(
`/api/dataassetmanager/directoryApi/export?parentPath=${data.path}`
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment