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
eda9d17f
Commit
eda9d17f
authored
Mar 25, 2018
by
杨柠瑞
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
coding
parent
a399dc55
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
110 additions
and
95 deletions
+110
-95
HmComplexTable.vue
src/views/haomo/components/tables/HmComplexTable.vue
+106
-92
index.vue
src/views/haomo/components/tables/index.vue
+4
-3
No files found.
src/views/haomo/components/tables/HmComplexTable.vue
View file @
eda9d17f
This diff is collapsed.
Click to expand it.
src/views/haomo/components/tables/index.vue
View file @
eda9d17f
...
@@ -24,7 +24,7 @@
...
@@ -24,7 +24,7 @@
},
},
data
()
{
data
()
{
return
{
return
{
showUserColumns
:
[
'mobile'
,
'loginid'
,
'username'
,
'email'
,
'createTime'
],
showUserColumns
:
[
{
name
:
'手机号'
,
codeCamel
:
'mobile'
,
isSort
:
true
},
{
name
:
'登录ID'
,
codeCamel
:
'loginid'
,
isSort
:
true
}
,
'username'
,
'email'
,
'createTime'
],
userFilters
:
[
userFilters
:
[
{
placeholder
:
'过滤手机号'
,
'mobile'
:
{
'like'
:
''
},
isShow
:
true
},
{
placeholder
:
'过滤手机号'
,
'mobile'
:
{
'like'
:
''
},
isShow
:
true
},
{
placeholder
:
'过滤用户名'
,
'username'
:
{
'equalTo'
:
''
},
isShow
:
true
},
{
placeholder
:
'过滤用户名'
,
'username'
:
{
'equalTo'
:
''
},
isShow
:
true
},
...
@@ -73,6 +73,7 @@
...
@@ -73,6 +73,7 @@
showExport
:
true
,
showExport
:
true
,
showDeleteButton
:
true
,
showDeleteButton
:
true
,
buttonGroup
:
false
,
buttonGroup
:
false
,
showSelection
:
false
,
showDetail
:
{
showDetail
:
{
isShow
:
true
,
isShow
:
true
,
showColumns
:
[
'mobile'
,
'loginid'
,
'username'
,
'email'
]
showColumns
:
[
'mobile'
,
'loginid'
,
'username'
,
'email'
]
...
@@ -86,8 +87,8 @@
...
@@ -86,8 +87,8 @@
definedOperate
:
[
definedOperate
:
[
{
type
:
'select'
,
label
:
''
,
placeholder
:
'类型'
,
options
:
[{
label
:
'姓名'
,
code
:
'username'
},
{
label
:
'登录ID'
,
code
:
'loginid'
}],
value
:
''
},
{
type
:
'select'
,
label
:
''
,
placeholder
:
'类型'
,
options
:
[{
label
:
'姓名'
,
code
:
'username'
},
{
label
:
'登录ID'
,
code
:
'loginid'
}],
value
:
''
},
{
type
:
'input'
,
label
:
''
,
placeholder
:
'邮箱'
,
code
:
'email'
,
value
:
''
},
{
type
:
'input'
,
label
:
''
,
placeholder
:
'邮箱'
,
code
:
'email'
,
value
:
''
},
{
type
:
'datetime'
,
label
:
''
,
placeholder
:
'创建时间'
,
code
:
'createTime'
,
value
:
''
}
,
{
type
:
'datetime'
,
label
:
''
,
placeholder
:
'创建时间'
,
code
:
'createTime'
,
value
:
''
}
{
type
:
'button'
,
label
:
'搜索'
,
icon
:
'el-icon-search'
,
func
:
this
.
dropDown
}
]
]
}
}
},
},
methods
:
{
methods
:
{
...
...
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