Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
VueElementTemplate
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
JIRA
JIRA
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
黄瑜
VueElementTemplate
Commits
5fd03995
Commit
5fd03995
authored
May 10, 2018
by
王康
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
树形控件样式
parent
d180cf0f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
8 deletions
+14
-8
HmComplexForm.vue
src/views/haomo/components/forms/HmComplexForm.vue
+12
-6
index.vue
src/views/haomo/components/forms/index.vue
+2
-2
No files found.
src/views/haomo/components/forms/HmComplexForm.vue
View file @
5fd03995
...
@@ -117,7 +117,7 @@
...
@@ -117,7 +117,7 @@
<!-- 8树形图 -->
<!-- 8树形图 -->
<!--:default-expanded-keys="[2, 3]"-->
<!--:default-expanded-keys="[2, 3]"-->
<!--:default-checked-keys="[5]"-->
<!--:default-checked-keys="[5]"-->
<div
@
mouseenter=
"currentTree = column.codeCamel"
v-else-if=
"column.widgetType === 9
"
>
<div
class=
"hm-form_form_div"
@
mouseenter=
"currentTree = column.codeCamel"
v-else-if=
"column.widgetType === 9"
:style=
"formStyle && formStyle.quillEditor && formStyle.quillEditor.style ||
{width:'70%'}
">
<el-tree
:data=
"column.options"
<el-tree
:data=
"column.options"
ref=
"tree"
ref=
"tree"
show-checkbox
show-checkbox
...
@@ -1365,13 +1365,19 @@
...
@@ -1365,13 +1365,19 @@
.hm-form
.ql-toolbar.ql-snow
{
.hm-form
.ql-toolbar.ql-snow
{
padding
:
7px
;
padding
:
7px
;
}
}
.hm-form
.el-input__inner
:hover
{
.hm-form
.el-input__inner
:hover
{
border-color
:
rgba
(
153
,
153
,
153
,
0.6
);
border-color
:
rgba
(
153
,
153
,
153
,
0.6
);
}
}
.hm-form
.
el-tree
{
.hm-form
.
hm-form_form_div
{
border-radius
:
4px
;
border-radius
:
4px
;
border
:
1px
solid
red
;
border
:
1px
solid
#dcdfe6
;
height
:
150px
;
max-height
:
150px
;
overflow-y
:
auto
;
overflow-y
:
scroll
;
}
.hm-form
.hm-form_form_div
:hover
{
border-color
:
rgba
(
153
,
153
,
153
,
0.6
);
}
.hm-form
.hm-form_form_div
::-webkit-scrollbar
{
display
:
none
;
}
}
</
style
>
</
style
>
src/views/haomo/components/forms/index.vue
View file @
5fd03995
...
@@ -32,7 +32,7 @@
...
@@ -32,7 +32,7 @@
showUserColumns
:
[
showUserColumns
:
[
// 1普通input
// 1普通input
{
name
:
'选择人员'
,
codeCamel
:
'type'
,
widgetType
:
9
,
disabled
:
false
,
{
name
:
'选择人员'
,
codeCamel
:
'type'
,
widgetType
:
9
,
disabled
:
false
,
change
:
this
.
inputChange
,
options
:
[
options
:
[
{
{
id
:
1
,
id
:
1
,
label
:
'公诉处'
,
label
:
'公诉处'
,
...
@@ -154,7 +154,7 @@
...
@@ -154,7 +154,7 @@
},
},
// showUserButtons: []
// showUserButtons: []
// 布局方式
// 布局方式
layout
:
{
left
:
2
,
middle
:
20
,
right
:
2
},
layout
:
{
left
:
4
,
middle
:
16
,
right
:
4
},
// 自定义提示消息
// 自定义提示消息
tips
:
{
tips
:
{
hidde
:
false
,
// 是否显示提示,默认false显示
hidde
:
false
,
// 是否显示提示,默认false显示
...
...
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