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
ab6f55b6
Commit
ab6f55b6
authored
Jun 25, 2023
by
zhaochengxiang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改bug
parent
e55e5b45
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
6 deletions
+9
-6
UpdateDirectoryModal.jsx
...iew/Manage/AssetManage/Component/UpdateDirectoryModal.jsx
+3
-0
ModelTable.jsx
src/view/Manage/Model/Component/ModelTable.jsx
+4
-4
index.jsx
src/view/Manage/Model/index.jsx
+2
-2
No files found.
src/view/Manage/AssetManage/Component/UpdateDirectoryModal.jsx
View file @
ab6f55b6
...
@@ -124,6 +124,9 @@ const UpdateDirectoryModal = (props) => {
...
@@ -124,6 +124,9 @@ const UpdateDirectoryModal = (props) => {
}
}
payload
.
data
=
{
...
payload
.
data
,
...{
order
:
dir
.
order
,
id
:
dirId
}
};
payload
.
data
=
{
...
payload
.
data
,
...{
order
:
dir
.
order
,
id
:
dirId
}
};
if
(
dir
.
level
===
3
)
{
payload
.
data
=
{
...
payload
.
data
,
code
:
dir
.
code
};
}
const
parentPath
=
dir
.
path
.
substring
(
0
,
dir
.
path
.
lastIndexOf
(
"/"
));;
const
parentPath
=
dir
.
path
.
substring
(
0
,
dir
.
path
.
lastIndexOf
(
"/"
));;
payload
=
{
...
payload
,
params
:
{
payload
=
{
...
payload
,
params
:
{
...
...
src/view/Manage/Model/Component/ModelTable.jsx
View file @
ab6f55b6
...
@@ -31,7 +31,7 @@ const actions = [
...
@@ -31,7 +31,7 @@ const actions = [
{
title
:
'样本数据'
,
key
:
'sample'
},
{
title
:
'样本数据'
,
key
:
'sample'
},
{
title
:
'历史版本'
,
key
:
'history'
},
{
title
:
'历史版本'
,
key
:
'history'
},
{
title
:
'授权'
,
key
:
'admit'
},
{
title
:
'授权'
,
key
:
'admit'
},
{
title
:
'申请'
,
key
:
'startFlow'
},
//
{ title: '申请', key: 'startFlow' },
// { title: '下载Tableau tds', key: 'downloadTds' },
// { title: '下载Tableau tds', key: 'downloadTds' },
// { title: '跳转至电子表格', key: 'smart' },
// { title: '跳转至电子表格', key: 'smart' },
{
title
:
'更换管理'
,
key
:
'exchangeOwner'
},
{
title
:
'更换管理'
,
key
:
'exchangeOwner'
},
...
@@ -214,9 +214,9 @@ const ModelTable = (props) => {
...
@@ -214,9 +214,9 @@ const ModelTable = (props) => {
authActionTitles
.
push
(
'授权'
);
authActionTitles
.
push
(
'授权'
);
}
}
if
(
getDataModelerRole
(
user
)
!==
DataModelerRoleReader
&&
view
!==
'grant'
&&
isOnlyEnding
&&
!
currentItem
?.
grantable
)
{
//
if (getDataModelerRole(user)!==DataModelerRoleReader && view!=='grant' && isOnlyEnding && !currentItem?.grantable) {
authActionTitles
.
push
(
'申请'
);
//
authActionTitles.push('申请');
}
//
}
if
(
getDataModelerRole
(
user
)
!==
DataModelerRoleReader
&&
view
!==
'grant'
&&
record
.
supportChangeOwn
)
{
if
(
getDataModelerRole
(
user
)
!==
DataModelerRoleReader
&&
view
!==
'grant'
&&
record
.
supportChangeOwn
)
{
authActionTitles
.
push
(
'更换管理'
);
authActionTitles
.
push
(
'更换管理'
);
...
...
src/view/Manage/Model/index.jsx
View file @
ab6f55b6
...
@@ -668,11 +668,11 @@ class Model extends React.Component {
...
@@ -668,11 +668,11 @@ class Model extends React.Component {
</Tooltip>
</Tooltip>
</Space> */}
</Space> */}
<Space>
{/*
<Space>
<Tooltip title={(selectModelerIds||[]).length===0?'请先选择服务':''}>
<Tooltip title={(selectModelerIds||[]).length===0?'请先选择服务':''}>
<Button onClick={this.onReleaseBtnClick} disabled={(selectModelerIds||[]).length===0}>发布</Button>
<Button onClick={this.onReleaseBtnClick} disabled={(selectModelerIds||[]).length===0}>发布</Button>
</Tooltip>
</Tooltip>
</Space>
</Space>
*/}
{/* <Space>
{/* <Space>
<Tooltip title={(selectModelerIds||[]).length===0?'请先选择服务':''}>
<Tooltip title={(selectModelerIds||[]).length===0?'请先选择服务':''}>
...
...
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