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
e16c8575
Commit
e16c8575
authored
Oct 11, 2023
by
zhaochengxiang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新增为资产
parent
2aa7ad81
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
28 additions
and
2 deletions
+28
-2
craco.config.js
craco.config.js
+1
-1
add-to-asset.jsx
src/view/Manage/AssetResourceManage/add-to-asset.jsx
+0
-0
add-to-asset.less
src/view/Manage/AssetResourceManage/add-to-asset.less
+7
-0
table.jsx
src/view/Manage/AssetResourceManage/table.jsx
+20
-1
No files found.
craco.config.js
View file @
e16c8575
...
...
@@ -50,7 +50,7 @@ module.exports = {
},
proxy
:
{
'/api'
:
{
target
:
'http://1
39.198.127.28:1
8189'
,
target
:
'http://1
92.168.0.111:
8189'
,
changeOrigin
:
true
,
},
'/data-quality'
:
{
...
...
src/view/Manage/AssetResourceManage/add-to-asset.jsx
0 → 100644
View file @
e16c8575
This diff is collapsed.
Click to expand it.
src/view/Manage/AssetResourceManage/add-to-asset.less
0 → 100644
View file @
e16c8575
.add-to-asset {
.tree {
height: calc(80vh - 150px);
overflow: auto;
}
}
\ No newline at end of file
src/view/Manage/AssetResourceManage/table.jsx
View file @
e16c8575
...
...
@@ -12,7 +12,9 @@ import { ResourceManageReference } from '../../../util/constant'
import
PermissionButton
from
'../../../util/Component/PermissionButton'
import
PermissionMenuItem
from
'../../../util/Component/PermissionMenuItem'
import
{
FullScreenSvg
,
CancelFullScreenSvg
}
from
'../AssetManage/Component/AssetSvg'
import
AddAsset
from
'../AssetManage/Component/AddAssetModel'
import
AddToAsset
from
'./add-to-asset'
import
ImportAsset
from
'../AssetManage/Component/ImportAssetDrawer'
import
ChangeCatalog
from
'./change-catalog'
import
AssetDelete
from
'../AssetManage/Component/AssetDeleteModal'
...
...
@@ -50,6 +52,10 @@ const FC = (props) => {
visible
:
false
,
nodeId
:
undefined
})
const
[
addToAssetParams
,
setAddToAssetParams
]
=
React
.
useState
({
visible
:
false
,
items
:
undefined
})
const
[
importAssetParams
,
setImportAssetParams
]
=
React
.
useState
({
visible
:
false
,
nodeId
:
undefined
...
...
@@ -324,7 +330,10 @@ const FC = (props) => {
}
const
onAddToAssetClick
=
()
=>
{
setAddToAssetParams
({
visible
:
true
,
items
:
selectedRows
})
}
const
onTaskAllocationClick
=
()
=>
{
...
...
@@ -693,6 +702,16 @@ const FC = (props) => {
refresh && getAssets()
}}
/>
<AddToAsset
{...addToAssetParams}
onCancel={(refresh = false) => {
setAddToAssetParams({
visible: false,
items: undefined
})
refresh && getAssets()
}}
/>
<ImportAsset
{...importAssetParams}
onCancel={() => {
...
...
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