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
HireTest
VueElementTemplate
Commits
79241eaa
Commit
79241eaa
authored
7 years ago
by
王康
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
form
parent
9b999237
master
storybook
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
HmComplexForm.vue
src/views/haomo/components/forms/HmComplexForm.vue
+5
-2
No files found.
src/views/haomo/components/forms/HmComplexForm.vue
View file @
79241eaa
...
...
@@ -64,6 +64,7 @@
<el-radio
v-for=
"(option,key) in column.options"
:key=
"key"
:label=
"key"
>
{{
option
}}
</el-radio>
</el-radio-group>
</el-form-item>
<!--按钮-->
<el-form-item
v-if=
"buttons && buttons.length > 0"
>
<el-col
:span=
"12"
v-for=
"(btn,key) in buttons"
:key=
"key"
>
<el-button
v-if=
"btn === '确定' || btn === '提交' || btn === '保存' || btn === '发布'"
type=
"primary"
@
click=
"onSubmit()"
>
{{
btn
}}
</el-button>
...
...
@@ -115,8 +116,10 @@
* { name: 'username', widgetType: 1 },
* { name: 'securityLevel', widgetType: 5 },
* { name: 'type', widgetType: 2, options: ['企业', '代理商'] },
* { name: 'avatar', widgetType: 3 }, { name: 'departmentId', widgetType: 4 },
* { name: 'createTime', widgetType: 6 }
* { name: 'avatar', widgetType: 3 },
* { name: 'departmentId', widgetType: 4 },
* { name: 'createTime', widgetType: 6 },
* { name: 'identity', widgetType: 7, options: ['会员', '访客'] },
* ]
*/
columns
:
{
...
...
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