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
Show 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) => {
...
@@ -85,7 +85,7 @@ const AssetAction = (props) => {
payload
:
{
payload
:
{
params
:
{
params
:
{
range
:
getAssetRange
(
reference
),
range
:
getAssetRange
(
reference
),
dataAsset
:
getAssetType
(
reference
),
dataAsset
Type
:
getAssetType
(
reference
),
}
}
},
},
callback
:
data
=>
{
callback
:
data
=>
{
...
...
src/view/Manage/AssetManage/Component/CustomDirectoryModal.jsx
View file @
28c20a6b
...
@@ -53,7 +53,7 @@ const CustomDirectoryModal = (props) => {
...
@@ -53,7 +53,7 @@ const CustomDirectoryModal = (props) => {
dispatch
({
dispatch
({
type
:
'assetmanage.listCustomElements'
,
type
:
'assetmanage.listCustomElements'
,
payload
:
{
payload
:
{
dataAsset
:
getAssetType
(
reference
)
dataAsset
Type
:
getAssetType
(
reference
)
},
},
callback
:
elements
=>
{
callback
:
elements
=>
{
setData
(
elements
||
[]);
setData
(
elements
||
[]);
...
@@ -89,7 +89,7 @@ const CustomDirectoryModal = (props) => {
...
@@ -89,7 +89,7 @@ const CustomDirectoryModal = (props) => {
let
payload
=
{
let
payload
=
{
data
:
checkedValues
,
data
:
checkedValues
,
params
:
{
params
:
{
dataAsset
:
getAssetType
(
reference
)
dataAsset
Type
:
getAssetType
(
reference
)
}
}
}
}
...
@@ -168,7 +168,7 @@ const CustomDirectoryModal = (props) => {
...
@@ -168,7 +168,7 @@ const CustomDirectoryModal = (props) => {
data
:
checkedValues
,
data
:
checkedValues
,
params
:
{
params
:
{
...
row
,
...
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) => {
...
@@ -77,7 +77,7 @@ const ImportAssetDrawer = (props) => {
},
[
visible
])
},
[
visible
])
const
downloadTemplate
=
()
=>
{
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
)
=>
{
const
getLogs
=
(
p
=
1
,
s
=
20
)
=>
{
...
@@ -85,7 +85,7 @@ const ImportAssetDrawer = (props) => {
...
@@ -85,7 +85,7 @@ const ImportAssetDrawer = (props) => {
dispatch
({
dispatch
({
type
:
'assetmanage.importLogs'
,
type
:
'assetmanage.importLogs'
,
payload
:
{
payload
:
{
dataAsset
:
getAssetType
(
reference
),
dataAsset
Type
:
getAssetType
(
reference
),
page
:
p
,
page
:
p
,
pageSize
:
s
pageSize
:
s
},
},
...
@@ -137,7 +137,7 @@ const ImportAssetDrawer = (props) => {
...
@@ -137,7 +137,7 @@ const ImportAssetDrawer = (props) => {
type
:
'assetmanage.getDirectoryById'
,
type
:
'assetmanage.getDirectoryById'
,
payload
:
{
payload
:
{
dirId
:
nodeId
,
dirId
:
nodeId
,
dataAsset
:
getAssetType
(
reference
)
dataAsset
Type
:
getAssetType
(
reference
)
},
},
callback
:
data
=>
{
callback
:
data
=>
{
console
.
log
(
'path'
,
data
.
path
);
console
.
log
(
'path'
,
data
.
path
);
...
...
src/view/Manage/AssetManage/Component/ImportDirectory.jsx
View file @
28c20a6b
...
@@ -34,7 +34,7 @@ const ImportDirectory = (props) => {
...
@@ -34,7 +34,7 @@ const ImportDirectory = (props) => {
type
:
'assetmanage.getDirectoryById'
,
type
:
'assetmanage.getDirectoryById'
,
payload
:
{
payload
:
{
dirId
,
dirId
,
dataAsset
:
getAssetType
(
reference
)
dataAsset
Type
:
getAssetType
(
reference
)
},
},
callback
:
data
=>
{
callback
:
data
=>
{
setDir
(
data
);
setDir
(
data
);
...
@@ -58,7 +58,7 @@ const ImportDirectory = (props) => {
...
@@ -58,7 +58,7 @@ const ImportDirectory = (props) => {
payload
=
{
payload
=
{
params
:
{
params
:
{
ignoreRepeatPath
,
ignoreRepeatPath
,
dataAsset
:
getAssetType
(
reference
)
dataAsset
Type
:
getAssetType
(
reference
)
},
},
fileList
:
fileList
,
fileList
:
fileList
,
};
};
...
@@ -67,7 +67,7 @@ const ImportDirectory = (props) => {
...
@@ -67,7 +67,7 @@ const ImportDirectory = (props) => {
params
:
{
params
:
{
ignoreRepeatPath
,
ignoreRepeatPath
,
parentPath
:
dir
.
path
,
parentPath
:
dir
.
path
,
dataAsset
:
getAssetType
(
reference
)
dataAsset
Type
:
getAssetType
(
reference
)
},
},
fileList
:
fileList
fileList
:
fileList
};
};
...
...
src/view/Manage/AssetManage/tree.jsx
View file @
28c20a6b
...
@@ -388,7 +388,7 @@ const FC = (props) => {
...
@@ -388,7 +388,7 @@ const FC = (props) => {
<
Menu
>
<
Menu
>
<
Menu
.
Item
>
<
Menu
.
Item
>
<
div
style=
{
{
textAlign
:
'center'
}
}
onClick=
{
()
=>
{
<
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
>
</
div
>
...
@@ -400,7 +400,7 @@ const FC = (props) => {
...
@@ -400,7 +400,7 @@ const FC = (props) => {
type
:
'assetmanage.getDirectoryById'
,
type
:
'assetmanage.getDirectoryById'
,
payload
:
{
payload
:
{
dirId
:
selectedKey
,
dirId
:
selectedKey
,
dataAsset
:
getAssetType
(
AssetManageReference
)
dataAsset
Type
:
getAssetType
(
AssetManageReference
)
},
},
callback
:
data
=>
{
callback
:
data
=>
{
window
.
open
(
`/api/dataassetmanager/directoryApi/export?parentPath=${data.path}`
);
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 }) => {
...
@@ -186,7 +186,7 @@ const AssetInfoItem = ({ items, onChange }) => {
payload
:
{
payload
:
{
params
:
{
params
:
{
range
:
getAssetRange
(
ResourceManageReference
),
range
:
getAssetRange
(
ResourceManageReference
),
dataAsset
:
getAssetType
(
ResourceManageReference
),
dataAsset
Type
:
getAssetType
(
ResourceManageReference
),
}
}
},
},
callback
:
data
=>
{
callback
:
data
=>
{
...
...
src/view/Manage/AssetResourceManage/tree.jsx
View file @
28c20a6b
...
@@ -441,7 +441,7 @@ const FC = (props) => {
...
@@ -441,7 +441,7 @@ const FC = (props) => {
<
Menu
>
<
Menu
>
<
Menu
.
Item
>
<
Menu
.
Item
>
<
div
style=
{
{
textAlign
:
'center'
}
}
onClick=
{
()
=>
{
<
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
>
</
div
>
...
@@ -453,7 +453,7 @@ const FC = (props) => {
...
@@ -453,7 +453,7 @@ const FC = (props) => {
type
:
'assetmanage.getDirectoryById'
,
type
:
'assetmanage.getDirectoryById'
,
payload
:
{
payload
:
{
dirId
:
selectedKey
,
dirId
:
selectedKey
,
dataAsset
:
getAssetType
(
ResourceManageReference
)
dataAsset
Type
:
getAssetType
(
ResourceManageReference
)
},
},
callback
:
data
=>
{
callback
:
data
=>
{
window
.
open
(
`/api/dataassetmanager/directoryApi/export?parentPath=${data.path}`
);
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