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
ae5f2179
Commit
ae5f2179
authored
Mar 28, 2018
by
杨柠瑞
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
codign
parent
12c45f7f
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
0 deletions
+8
-0
HmComplexTable.vue
src/views/haomo/components/tables/HmComplexTable.vue
+6
-0
index.vue
src/views/haomo/components/tables/index.vue
+2
-0
No files found.
src/views/haomo/components/tables/HmComplexTable.vue
View file @
ae5f2179
...
@@ -604,12 +604,18 @@
...
@@ -604,12 +604,18 @@
if
(
type
===
'editData'
)
{
if
(
type
===
'editData'
)
{
self
.
dialogName
=
'编辑'
self
.
dialogName
=
'编辑'
self
.
showUserColumns
=
self
.
options
.
editData
.
showUserColumns
self
.
showUserColumns
=
self
.
options
.
editData
.
showUserColumns
if
(
self
.
options
.
editData
.
showUserButtons
)
{
self
.
showUserButtons
=
self
.
options
.
editData
.
showUserButtons
}
self
.
formSchema
=
self
.
options
.
editData
.
formSchema
self
.
formSchema
=
self
.
options
.
editData
.
formSchema
self
.
layout
=
self
.
options
.
editData
.
layout
self
.
layout
=
self
.
options
.
editData
.
layout
self
.
tableId
=
data
.
id
self
.
tableId
=
data
.
id
}
}
if
(
type
===
'newData'
)
{
if
(
type
===
'newData'
)
{
self
.
dialogName
=
'新建'
self
.
dialogName
=
'新建'
if
(
self
.
options
.
newData
.
showUserButtons
)
{
self
.
showUserButtons
=
self
.
options
.
newData
.
showUserButtons
}
self
.
showUserColumns
=
self
.
options
.
newData
.
showUserColumns
self
.
showUserColumns
=
self
.
options
.
newData
.
showUserColumns
self
.
formSchema
=
self
.
options
.
newData
.
formSchema
self
.
formSchema
=
self
.
options
.
newData
.
formSchema
self
.
layout
=
self
.
options
.
newData
.
layout
self
.
layout
=
self
.
options
.
newData
.
layout
...
...
src/views/haomo/components/tables/index.vue
View file @
ae5f2179
...
@@ -60,12 +60,14 @@
...
@@ -60,12 +60,14 @@
{
name
:
'登录ID'
,
codeCamel
:
'loginid'
,
widgetType
:
1
},
{
name
:
'登录ID'
,
codeCamel
:
'loginid'
,
widgetType
:
1
},
{
name
:
'类型'
,
codeCamel
:
'type'
,
widgetType
:
1
}
{
name
:
'类型'
,
codeCamel
:
'type'
,
widgetType
:
1
}
],
],
showUserButtons
:
[],
formSchema
:
schema
[
'HmUser'
],
formSchema
:
schema
[
'HmUser'
],
layout
:
{
left
:
0
,
middle
:
24
,
right
:
0
}
layout
:
{
left
:
0
,
middle
:
24
,
right
:
0
}
},
},
editData
:
{
editData
:
{
isShow
:
true
,
isShow
:
true
,
showUserColumns
:
[{
name
:
'姓名'
,
codeCamel
:
'username'
,
widgetType
:
1
}],
showUserColumns
:
[{
name
:
'姓名'
,
codeCamel
:
'username'
,
widgetType
:
1
}],
showUserButtons
:
[],
formSchema
:
schema
[
'HmUser'
],
formSchema
:
schema
[
'HmUser'
],
layout
:
{
left
:
0
,
middle
:
24
,
right
:
0
}
layout
:
{
left
:
0
,
middle
:
24
,
right
:
0
}
},
},
...
...
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