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
e0f13088
Commit
e0f13088
authored
May 18, 2020
by
仇晓婷
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
数据字典优化
parent
fcd466a7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
32 additions
and
1 deletion
+32
-1
index.vue
pages/basicData/dic/index.vue
+32
-1
No files found.
pages/basicData/dic/index.vue
View file @
e0f13088
...
...
@@ -19,7 +19,12 @@
</h3>
<div>
<Input
v-model
.
trim=
"keys"
search
placeholder=
"请输入客户名称"
clearable
/>
<Tree
:data=
"projectList"
@
on-select-change=
"change"
class=
"tree-i"
/>
<Tree
:data=
"projectList"
@
on-select-change=
"change"
class=
"tree-i"
:render=
"renderContent"
/>
</div>
</Sider>
<Content
class=
"content"
>
...
...
@@ -253,6 +258,32 @@ export default {
this
.
loadTree
();
},
methods
:
{
renderContent
(
h
,
{
root
,
node
,
data
})
{
return
h
(
"span"
,
[
h
(
"Poptip"
,
{
props
:
{
content
:
data
.
data
.
code
,
trigger
:
"hover"
,
placement
:
"top-start"
},
style
:
{
cursor
:
"pointer"
}
},[
h
(
'span'
,{
},
data
.
title
)
])
],
// data.title
);
},
copy
()
{
var
clipboard
=
new
Clipboard
(
".tag-read"
);
clipboard
.
on
(
"success"
,
e
=>
{
...
...
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