Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Chatopera OpenSource
/
ferry_web
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Members
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
6ecb796f
authored
Sep 29, 2020
by
Mr. Lan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 添加子表单功能。
parent
60ba12b2
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
3 additions
and
5 deletions
src/components/VueFormMaking/components/WidgetConfig.vue
src/components/VueFormMaking/components/WidgetForm.vue
src/main.js
src/views/process/admin/template-manager.vue
src/components/VueFormMaking/components/WidgetConfig.vue
View file @
6ecb796f
...
...
@@ -531,12 +531,14 @@ export default {
},
methods
:
{
handleInitHeaders
()
{
if
(
this
.
data
.
options
)
{
for
(
var
key
in
this
.
data
.
options
.
headers
)
{
this
.
headers
.
push
({
key
:
key
,
value
:
this
.
data
.
options
.
headers
[
key
]
})
}
}
},
handleAddHeader
()
{
this
.
headers
.
push
({
...
...
src/components/VueFormMaking/components/WidgetForm.vue
View file @
6ecb796f
...
...
@@ -98,7 +98,6 @@
<div
v-if=
"el && el.key"
:key=
"el.key"
:style=
"
{width: '249px', 'display': 'inline-block', 'vertical-align': 'top'}"
@
click
.
native=
"handleSelectWidget(i)"
>
<widget-form-item
...
...
@@ -107,8 +106,6 @@
:index=
"i"
:data=
"element.columns"
:data-config=
"data"
:is-label=
"true"
:is-table=
"true"
/>
</div>
</
template
>
...
...
src/main.js
View file @
6ecb796f
...
...
@@ -40,7 +40,6 @@ Vue.use(VueEditor)
import
iconPicker
from
'e-icon-picker'
import
'e-icon-picker/dist/index.css'
// 基础样式
import
'e-icon-picker/dist/main.css'
// fontAwesome 图标库样式
Vue
.
use
(
iconPicker
)
// 全局方法挂载
...
...
src/views/process/admin/template-manager.vue
View file @
6ecb796f
...
...
@@ -103,7 +103,7 @@
upload
generate-code
generate-json
:advance-fields=
"['editor', 'imgupload', 'file']"
:advance-fields=
"['editor', 'imgupload', 'file'
, 'subform'
]"
>
<
template
slot=
"action"
/>
</fm-making-form>
...
...
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