Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
pptist
Project
Project
Details
Activity
Releases
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
viitto
pptist
Commits
12eb4d3a
Commit
12eb4d3a
authored
May 28, 2024
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化
parent
a436aef0
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
62 additions
and
7 deletions
+62
-7
Member.vue
src/views/TeamCenter/Member.vue
+1
-1
InviteMember.vue
src/views/components/Team/InviteMember.vue
+61
-6
No files found.
src/views/TeamCenter/Member.vue
View file @
12eb4d3a
...
...
@@ -56,7 +56,7 @@
<span
class=
"q-ml-md"
>
{{
scope
.
row
.
account
}}
</span>
<
IconPencli
size=
"14"
style=
"color:#000;"
class=
"q-ml-md cusor-pointer editor-pencli"
@
click=
"setNickNameHandler(scope.row,1)"
></IconPencli
>
<
!--
<IconPencli
size=
"14"
style=
"color:#000;"
class=
"q-ml-md cusor-pointer editor-pencli"
@
click=
"setNickNameHandler(scope.row,1)"
></IconPencli>
--
>
</div>
<div
class=
"col row items-center"
v-else
>
<el-input
v-model=
"nickNameModel"
placeholder=
"请输入账号"
size=
"small"
class=
"col q-ml-md"
/>
...
...
src/views/components/Team/InviteMember.vue
View file @
12eb4d3a
<
template
>
<el-dialog
v-model=
"show"
title=
"邀请成员"
style=
"width:744px;"
@
close=
"closed"
class=
"bold-head q-pa-none"
>
<div
class=
"row"
style=
"min-height: 440px;"
>
<div
class=
"row
InviteMember
"
style=
"min-height: 440px;"
>
<div
class=
"q-pa-md full-height"
style=
"width:164px; border-right: 1px solid #f1f2f4;"
>
<el-menu
class=
"no-border md-menu"
:default-active=
"currentMenu"
>
<el-menu-item
index=
"1"
@
click=
"currentMenu = '1'"
>
邀请成员
</el-menu-item>
...
...
@@ -73,10 +73,46 @@
<
template
#
tip
></
template
>
</el-upload>
</div>
<
template
v-if=
"dialogVisible"
>
<div
class=
"q-mt-lg text-primary"
style=
"font-weight: bold;"
>
提示
</div>
<div
class=
"q-mt-xs row flex-between items-center"
style=
"position: relative;"
>
<div>
<el-alert
show-icon
title=
"人员总数"
type=
"info"
:closable=
"false"
>
<i
class=
"el-icon-coin"
></i>
<span>
{{
UploadResults
.
totalNum
>
0
?
UploadResults
.
totalNum
:
0
}}
</span>
</el-alert>
</div>
<div
class=
"q-px-md"
>
<el-alert
show-icon
title=
"成功人数"
type=
"success"
:closable=
"false"
>
<i
class=
"el-icon-coin"
></i>
<span>
{{
UploadResults
.
successNum
>=
0
?
UploadResults
.
successNum
:
0
}}
</span>
</el-alert>
</div>
<div>
<el-alert
show-icon
title=
"失败人数"
type=
"warning"
:closable=
"false"
>
<i
class=
"el-icon-coin"
></i>
<span
class=
"row"
>
<span>
{{
UploadResults
.
failNum
>=
0
?
UploadResults
.
failNum
:
0
}}
</span>
<span
v-if=
"UploadResults.DownloadUrl"
class=
"col text-primary row items-center cusor-pointer q-ml-md"
@
click=
"goDownload(1)"
>
<IconToBottom
size=
"16"
class=
"q-mr-sm"
></IconToBottom>
<span>
下载
</span>
</span>
</span>
</el-alert>
</div>
<span
class=
"close-btn cursor-pointer column items-center flex-center"
><IconClose
:size=
"10"
@
click=
"dialogVisible = false,closeUploadRes()"
></IconClose></span>
<!--
<el-button
@
click=
"dialogVisible = false,closeUploadRes()"
>
关闭
</el-button>
-->
<!--
<el-button
type=
"primary"
@
click=
"dialogVisible = false"
>
确定
</el-button>
-->
</div>
</
template
>
</div>
</div>
</el-dialog>
<el-dialog
v-model=
"dialogVisible"
title=
"导入成员名单提示"
width=
"500"
@
close=
"closeUploadRes"
>
<
!-- <
el-dialog v-model="dialogVisible" title="导入成员名单提示" width="500" @close="closeUploadRes">
<div class="row flex-between">
<div>
<el-alert show-icon title="人员总数" type="info" :closable="false">
...
...
@@ -107,12 +143,12 @@
<template #footer>
<div class="dialog-footer">
<el-button @click="dialogVisible = false">关闭</el-button>
<
!--
<
el-button
type=
"primary"
@
click=
"dialogVisible = false"
>
<el-button type="primary" @click="dialogVisible = false">
确定
</el-button>
-->
</el-button>
</div>
</template>
</el-dialog>
</el-dialog>
-->
</template>
...
...
@@ -215,7 +251,26 @@ const setIsAdminHandler = (isa: number) => {
</
script
>
<
style
>
<
style
scoped
>
.InviteMember
.content-item
{
display
:
flex
;
flex-direction
:
row
;
justify-content
:
space-between
;
font-size
:
0.73vw
;
margin-bottom
:
0.7vw
;
color
:
#000000
;
}
.InviteMember
.close-btn
{
position
:
absolute
;
top
:
20px
;
right
:
-25px
;
width
:
18px
;
height
:
18px
;
border
:
1px
solid
#AFAFAF
;
text-align
:
center
;
color
:
#AFAFAF
;
border-radius
:
50%
;
}
.bold-head
.el-dialog__header
{
font-weight
:
800
!important
;
}
...
...
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