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
23a6edff
Commit
23a6edff
authored
Apr 15, 2024
by
zhaochengxiang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug fix
parent
bd74aace
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
45 deletions
+2
-45
AssetTable.jsx
src/view/Manage/AssetManage/Component/AssetTable.jsx
+0
-43
ImportAssetDrawer.jsx
src/view/Manage/AssetManage/Component/ImportAssetDrawer.jsx
+1
-1
import-business-column.jsx
...w/Manage/AssetManage/Component/import-business-column.jsx
+1
-1
No files found.
src/view/Manage/AssetManage/Component/AssetTable.jsx
View file @
23a6edff
...
@@ -677,34 +677,6 @@ const AssetTable = (props) => {
...
@@ -677,34 +677,6 @@ const AssetTable = (props) => {
}
}
}
}
const subscriptAsset = () => {
if ((checkedKeys||[]).length === 0) return;
modal.confirm({
title: '提示',
content: '是否确认收藏选中的资产目录?',
onOk: () => {
dispatch({
type: 'assetmanage.addSubscribe',
payload: {
params: {
appType: 'dataAssetManager',
subType: getTemplateType(),
resourceIds: (checkedKeys??[]).toString(),
env: app?.env?.domainId,
}
},
callback: () => {
showMessage("success","收藏成功");
setCheckedKeys([]);
},
error: () => {
}
})
}
})
}
// const detailAsset = (item)=>{
// const detailAsset = (item)=>{
// setCurrentAssetId(item.id);
// setCurrentAssetId(item.id);
// window.open(`
/
center
-
home
/
asset
-
detail
?
id
=
$
{
item
.
id
}
&
dirId
=
$
{
nodeId
}
`);
// window.open(`
/
center
-
home
/
asset
-
detail
?
id
=
$
{
item
.
id
}
&
dirId
=
$
{
nodeId
}
`);
...
@@ -964,14 +936,6 @@ const AssetTable = (props) => {
...
@@ -964,14 +936,6 @@ const AssetTable = (props) => {
// </div>
// </div>
// </Menu.Item>
// </Menu.Item>
}
}
{
(reference!==AssetRecycleReference) &&
<Menu.Item disabled={(checkedKeys||[]).length===0}>
<div className='text-center' onClick={subscriptAsset}>
收藏
</div>
</Menu.Item>
}
{
{
(reference===AssetManageReference || reference===AssetRecycleReference) && <React.Fragment>
(reference===AssetManageReference || reference===AssetRecycleReference) && <React.Fragment>
...
@@ -1073,13 +1037,6 @@ const AssetTable = (props) => {
...
@@ -1073,13 +1037,6 @@ const AssetTable = (props) => {
}
}
{
{
(reference!==AssetRecycleReference) &&
<Tooltip title={(checkedKeys||[]).length===0?'请先选择资产目录':''}>
<Button onClick={subscriptAsset} disabled={(checkedKeys||[]).length===0} >收藏</Button>
</Tooltip>
}
{
(reference===AssetManageReference || reference===AssetRecycleReference) && <React.Fragment>
(reference===AssetManageReference || reference===AssetRecycleReference) && <React.Fragment>
<Tooltip title={(checkedKeys||[]).length===0?'请先选择资产目录':''}>
<Tooltip title={(checkedKeys||[]).length===0?'请先选择资产目录':''}>
<Button onClick={onBatchCatalogChangeBtnClick} disabled={(checkedKeys||[]).length===0} >{(reference===AssetRecycleReference)?'挂载':'变更目录'}</Button>
<Button onClick={onBatchCatalogChangeBtnClick} disabled={(checkedKeys||[]).length===0} >{(reference===AssetRecycleReference)?'挂载':'变更目录'}</Button>
...
...
src/view/Manage/AssetManage/Component/ImportAssetDrawer.jsx
View file @
23a6edff
...
@@ -186,7 +186,7 @@ const ImportAssetDrawer = (props) => {
...
@@ -186,7 +186,7 @@ const ImportAssetDrawer = (props) => {
<Drawer
<Drawer
forceRender
forceRender
visible={ visible }
visible={ visible }
title='
字段
导入'
title='
资产目录
导入'
width={900}
width={900}
placement="right"
placement="right"
closable={ true }
closable={ true }
...
...
src/view/Manage/AssetManage/Component/import-business-column.jsx
View file @
23a6edff
...
@@ -187,7 +187,7 @@ const ImportAssetDrawer = (props) => {
...
@@ -187,7 +187,7 @@ const ImportAssetDrawer = (props) => {
<Drawer
<Drawer
forceRender
forceRender
visible={ visible }
visible={ visible }
title='
资产目录
导入'
title='
字段
导入'
width={900}
width={900}
placement="right"
placement="right"
closable={ true }
closable={ true }
...
...
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