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
b14b9dd1
Commit
b14b9dd1
authored
Apr 18, 2018
by
李静
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of 115.28.80.125:softwarefactory/vueelementtemplate
parents
40316230
a946a59e
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
165 additions
and
154 deletions
+165
-154
HmComplexForm.vue
src/views/haomo/components/forms/HmComplexForm.vue
+161
-150
index.vue
src/views/haomo/components/forms/index.vue
+3
-3
HmComplexTable.vue
src/views/haomo/components/tables/HmComplexTable.vue
+1
-1
No files found.
src/views/haomo/components/forms/HmComplexForm.vue
View file @
b14b9dd1
This diff is collapsed.
Click to expand it.
src/views/haomo/components/forms/index.vue
View file @
b14b9dd1
...
...
@@ -75,7 +75,7 @@
],
// default: 1
change
:
this
.
inputChange
},
// 8文件 change: this.uploadChange
{
name
:
'选择头像'
,
codeCamel
:
'avatar'
,
widgetType
:
8
,
url
:
'/api/upload'
}
// url是后台接口地址
{
name
:
'选择头像'
,
codeCamel
:
'avatar'
,
widgetType
:
8
,
url
:
'/api/upload'
,
param
:
'picture'
,
accept
:
'image/*'
}
// url是后台接口地址
],
// CcSubject示例
showUserColumns2
:
[
...
...
@@ -188,8 +188,8 @@
console
.
log
(
125
,
object
)
return
object
// 将数据返回
},
method1
()
{
console
.
log
(
'
method1
'
)
method1
(
formModel
)
{
console
.
log
(
'
formModel
'
)
},
method2
()
{
console
.
log
(
'method2'
)
...
...
src/views/haomo/components/tables/HmComplexTable.vue
View file @
b14b9dd1
...
...
@@ -136,7 +136,7 @@
<!-- 弹窗 -->
<!-- @TODO 补充详情弹窗 -->
<el-dialog
:title=
"dialogName"
:visible
.
sync=
"dialogFormVisible"
:close-on-click-modal=
"closeOnClickModal"
width=
"
dialogWidth
"
v-if=
"dialogFormVisible"
>
<el-dialog
:title=
"dialogName"
:visible
.
sync=
"dialogFormVisible"
:close-on-click-modal=
"closeOnClickModal"
width=
"
45%
"
v-if=
"dialogFormVisible"
>
<hm-complex-form
:schema=
"HmComplexForm.formSchema"
:columns=
"HmComplexForm.showUserColumns"
:buttons=
"HmComplexForm.showUserButtons"
...
...
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