Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
B
bkunyun
Project
Project
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
Administrator
bkunyun
Commits
b19f5f62
Commit
b19f5f62
authored
Jul 13, 2022
by
吴永生#A02208
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 项目成员标准版不可看
parent
f7c30356
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
13 deletions
+10
-13
index.tsx
src/views/ConsoleLayout/components/FileItem/index.tsx
+4
-2
index.tsx
src/views/Project/ProjectSetting/index.tsx
+4
-1
index.tsx
src/views/Project/ProjectSubmitWork/index.tsx
+2
-10
No files found.
src/views/ConsoleLayout/components/FileItem/index.tsx
View file @
b19f5f62
...
...
@@ -141,9 +141,11 @@ const FileItem = observer((props: IProps) => {
<
span
className=
{
styles
.
span
}
>
{
`${storageUnitFromB(
itemInfo?.bytesUploaded || 0
)}/${storageUnitFromB(itemInfo?.bytesTotal || 0)}`
}
</
span
>
{
statusMsg
!==
'上传失败'
?
<
span
className=
{
styles
.
span
}
>
{
`${storageUnitFromB(
{
statusMsg
!==
"上传失败"
?
(
<
span
className=
{
styles
.
span
}
>
{
`${storageUnitFromB(
speed
)}/s`
}
</
span
>
:
null
}
)}/s`
}
</
span
>
)
:
null
}
</
div
>
)
}
</
div
>
...
...
src/views/Project/ProjectSetting/index.tsx
View file @
b19f5f62
...
...
@@ -2,7 +2,7 @@
* @Author: 吴永生#A02208 yongsheng.wu@wholion.com
* @Date: 2022-05-31 10:18:13
* @LastEditors: 吴永生#A02208 yongsheng.wu@wholion.com
* @LastEditTime: 2022-0
6-07 20:23:02
* @LastEditTime: 2022-0
7-13 16:51:56
* @FilePath: /bkunyun/src/views/Project/ProjectSetting/index.tsx
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
*/
...
...
@@ -16,14 +16,17 @@ import projectImg from "@/assets/project/projectIconSmall.svg";
import
ProjectMembers
from
"./ProjectMembers"
;
import
BaseInfo
from
"./BaseInfo"
;
import
Tabs
from
"@/components/mui/Tabs"
;
import
usePass
from
"@/hooks/usePass"
;
const
ProjectSetting
=
observer
(()
=>
{
const
{
currentProjectStore
}
=
useStores
();
const
isPass
=
usePass
();
const
tabList
=
useMemo
(()
=>
{
return
[
{
label
:
"项目成员"
,
value
:
"projectMember"
,
hide
:
!
isPass
(
"PROJECT_SETTING_MEMBER"
),
component
:
<
ProjectMembers
/>,
},
{
...
...
src/views/Project/ProjectSubmitWork/index.tsx
View file @
b19f5f62
...
...
@@ -2,7 +2,7 @@
* @Author: 吴永生#A02208 yongsheng.wu@wholion.com
* @Date: 2022-06-21 20:03:56
* @LastEditors: 吴永生#A02208 yongsheng.wu@wholion.com
* @LastEditTime: 2022-07-
07 10:53:41
* @LastEditTime: 2022-07-
13 16:24:06
* @FilePath: /bkunyun/src/views/Project/ProjectSubmitWork/index.tsx
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
*/
...
...
@@ -228,17 +228,10 @@ const ProjectSubmitWork = observer(() => {
{
fullScreenShow
?
null
:
(
<
div
className=
{
styles
.
swHeader
}
>
<
div
className=
{
styles
.
swHeaderLeft
}
>
{
/* <MyPopconfirm
title="返回后,当前页面已填写内容将不保存,确认返回吗?"
onConfirm={handleGoBack}
> */
}
<
IconButton
color=
"primary"
onClick=
{
(
e
:
any
)
=>
handleShowPopper
(
e
,
"返回后,当前页面已填写内容将不保存,确认返回吗?"
)
handleShowPopper
(
e
,
"返回将放弃当前页面所有操作,确认返回吗?"
)
}
aria
-
label=
"upload picture"
component=
"span"
...
...
@@ -252,7 +245,6 @@ const ProjectSubmitWork = observer(() => {
}
}
/>
</
IconButton
>
{
/* </MyPopconfirm> */
}
<
div
className=
{
styles
.
swTemplateTitle
}
>
{
templateConfigInfo
?.
title
}
...
...
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