Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mes-ui
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
周远喜
mes-ui
Commits
d7a98daa
Commit
d7a98daa
authored
Oct 19, 2020
by
renjintao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug
parent
ba16e0c2
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
66 additions
and
63 deletions
+66
-63
index.vue
layouts/basic-layout/header-bug/index.vue
+66
-63
No files found.
layouts/basic-layout/header-bug/index.vue
View file @
d7a98daa
<
template
>
<
template
>
<span
class=
"i-layout-header-trigger i-layout-header-trigger-min"
>
<span
class=
"i-layout-header-trigger i-layout-header-trigger-min"
>
<Dropdown
transfer
trigger=
"hover"
@
on-click=
"handleClickUserDropdown"
>
<Dropdown
transfer
trigger=
"hover"
@
on-click=
"handleClickUserDropdown"
>
<span
@
click=
"openModelBugAdd"
>
<span
@
click=
"openModelBugAdd"
>
<Badge
:count=
"bugCount === 0 ? null : bugCount"
:overflow-count=
"99"
:offset=
"[10, 0]"
>
<Badge
:count=
"bugCount === 0 ? null : bugCount"
:overflow-count=
"99"
:offset=
"[10, 0]"
>
...
@@ -11,15 +11,16 @@
...
@@ -11,15 +11,16 @@
<DropdownItem
name=
"bug"
>
bug列表
</DropdownItem>
<DropdownItem
name=
"bug"
>
bug列表
</DropdownItem>
</DropdownMenu>
</DropdownMenu>
</Dropdown>
</Dropdown>
<Modal
title=
"新增bug"
v-model=
"bugAdd"
fullscreen
:z-index=
"
10
"
>
<Modal
title=
"新增bug"
v-model=
"bugAdd"
fullscreen
:z-index=
"
999
"
>
<addBugModal
ref=
"addBug"
></addBugModal>
<addBugModal
ref=
"addBug"
></addBugModal>
<div
slot=
"footer"
>
<div
slot=
"footer"
>
<Button
@
click=
"addCancel"
>
取消
</Button>
<Button
@
click=
"addCancel"
>
取消
</Button>
<Button
type=
"primary"
@
click=
"addSave"
>
确定
</Button>
<Button
type=
"primary"
@
click=
"addSave"
>
确定
</Button>
</div>
</div>
</Modal>
</Modal>
</span>
</span>
</
template
>
</
template
>
<
script
>
<
script
>
import
addBugModal
from
"@/pages/bug/component/add"
;
import
addBugModal
from
"@/pages/bug/component/add"
;
export
default
{
export
default
{
...
@@ -30,14 +31,16 @@ export default {
...
@@ -30,14 +31,16 @@ export default {
data
()
{
data
()
{
return
{
return
{
bugAdd
:
false
,
bugAdd
:
false
,
bugCount
:
3
bugCount
:
3
};
};
},
},
computed
:
{},
computed
:
{},
methods
:
{
methods
:
{
async
handleClickUserDropdown
(
name
)
{
async
handleClickUserDropdown
(
name
)
{
if
(
name
===
"bug"
)
{
if
(
name
===
"bug"
)
{
this
.
$router
.
push
({
name
:
"bug"
});
this
.
$router
.
push
({
name
:
"bug"
});
}
}
},
},
openModelBugAdd
()
{
openModelBugAdd
()
{
...
...
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