Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
O
OKR
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
hanfeng zhang
OKR
Commits
46ac57a8
Commit
46ac57a8
authored
Jul 23, 2021
by
sixiaofeng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加部门/编辑成员/部门设置
parent
b49a3bd9
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
13 deletions
+4
-13
team-create.vue
src/views/team-create.vue
+1
-1
team-frame.vue
src/views/team-frame.vue
+3
-12
No files found.
src/views/team-create.vue
View file @
46ac57a8
...
...
@@ -17,7 +17,7 @@
<p
class=
"note text-text-primary text-base mt-36 ml-3"
>
默认创建团队的人为团队负责人
</p>
<c-button
round
buttonBg=
"bg-color-primary"
class=
"text-white mt-16"
@
click
-button
=
"$router.push('/team-QRcode')"
>
确定
</c-button>
<c-button
round
buttonBg=
"bg-color-primary"
class=
"text-white mt-16"
@
click=
"$router.push('/team-QRcode')"
>
确定
</c-button>
</div>
</main-page>
...
...
src/views/team-frame.vue
View file @
46ac57a8
...
...
@@ -23,9 +23,9 @@
</div>
<!-- 底部操作 -->
<div
class=
"py-2 px-4 grid grid-cols-3 gap-2.5 bg-common-bg w-screen fixed bottom-0 left-0 z-30"
>
<c-button
round
@
click
-button=
"addMember
"
>
添加成员
</c-button>
<c-button
round
@
click
-button=
"addDepartment
"
>
添加部门
</c-button>
<c-button
round
@
click
-button=
"setDepartment
"
>
部门设置
</c-button>
<c-button
round
@
click
=
"$router.push('/file')
"
>
添加成员
</c-button>
<c-button
round
@
click
=
"$router.push('/add-department')
"
>
添加部门
</c-button>
<c-button
round
@
click
=
"$router.push('/department-management')
"
>
部门设置
</c-button>
</div>
</div>
</main-page>
...
...
@@ -64,15 +64,6 @@ export default Vue.extend({
clickItem
(
val
:
Member
)
{
// console.log(val)
this
.
$router
.
push
(
`/team/
${
val
.
id
}
`
)
},
addMember
()
{
console
.
log
(
'添加成员'
)
},
addDepartment
()
{
console
.
log
(
'添加部门'
)
},
setDepartment
()
{
console
.
log
(
'设置部门'
)
}
}
})
...
...
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