Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
P
pc
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
wbx-PCAndMobi
pc
Commits
5eff4bbd
Commit
5eff4bbd
authored
May 11, 2021
by
levante
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
标签功能暂存
parent
d1f295bf
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
81 additions
and
59 deletions
+81
-59
index.js
src/router/index.js
+1
-1
labelList.vue
src/views/label/labelList.vue
+2
-2
labelRightSide.vue
src/views/label/labelRightSide.vue
+78
-56
No files found.
src/router/index.js
View file @
5eff4bbd
...
@@ -26,4 +26,4 @@ router.beforeEach((to, from, next) => {
...
@@ -26,4 +26,4 @@ router.beforeEach((to, from, next) => {
}
}
})
})
export
default
router
export
default
router
\ No newline at end of file
src/views/label/labelList.vue
View file @
5eff4bbd
...
@@ -11,7 +11,7 @@
...
@@ -11,7 +11,7 @@
<div
class=
"layoutMargin layoutPadding"
v-if=
"$route.name == 'lvot'"
>
<div
class=
"layoutMargin layoutPadding"
v-if=
"$route.name == 'lvot'"
>
<a-row
v-if=
"$route.name=='lvot'"
>
<a-row
v-if=
"$route.name=='lvot'"
>
<a-col
:span=
"4"
style=
"border-right:1px solid #ccc;height:100%; position:relative"
>
<a-col
:span=
"4"
style=
"border-right:1px solid #ccc;height:100%; position:relative"
>
<span
style=
"display: block; width: 90%; color:#1890ff; font-size: 16px; font-weight: 500; padding-bottom:5px;"
><a-button
style=
"width: 100%"
size=
'medium'
type=
"default"
@
click=
"addLabel"
>
<a-icon
type=
"plus"
/>
添加标签
</a-button></span>
<span
style=
"display: block; width: 90%; color:#1890ff; font-size: 16px; font-weight: 500; padding-bottom:5px;"
><a-button
style=
"width: 100%"
type=
"default"
@
click=
"addLabel"
>
<a-icon
type=
"plus"
/>
添加标签
</a-button></span>
<a-tree
<a-tree
style=
"height: 700px"
style=
"height: 700px"
:tree-data=
"treeData"
:tree-data=
"treeData"
...
@@ -20,7 +20,7 @@
...
@@ -20,7 +20,7 @@
@
select=
"onSelect"
@
select=
"onSelect"
/>
/>
</a-col>
</a-col>
<a-col
:span=
"1
7
"
:offset=
"1"
>
<a-col
:span=
"1
9
"
:offset=
"1"
>
<RightPanel
v-if=
"currentState == 'create'"
:trigger-type=
'currentState'
@
finish=
'getFinishState'
/>
<RightPanel
v-if=
"currentState == 'create'"
:trigger-type=
'currentState'
@
finish=
'getFinishState'
/>
<RightPanel
v-else-if=
"currentState == 'loadChildLabel'"
:trigger-type=
'currentState'
:label-id=
'labelId'
@
finish=
'getFinishState'
/>
<RightPanel
v-else-if=
"currentState == 'loadChildLabel'"
:trigger-type=
'currentState'
:label-id=
'labelId'
@
finish=
'getFinishState'
/>
<ParentRightPanel
v-else-if=
"currentState == 'loadParentLabel'"
:trigger-type=
'currentState'
:label-id=
'labelId'
@
finish=
'getFinishState'
/>
<ParentRightPanel
v-else-if=
"currentState == 'loadParentLabel'"
:trigger-type=
'currentState'
:label-id=
'labelId'
@
finish=
'getFinishState'
/>
...
...
src/views/label/labelRightSide.vue
View file @
5eff4bbd
This diff is collapsed.
Click to expand it.
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