Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
W
work-order-web
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
张圳龙
work-order-web
Commits
6ecb796f
Commit
6ecb796f
authored
Sep 28, 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
8 additions
and
10 deletions
+8
-10
WidgetConfig.vue
src/components/VueFormMaking/components/WidgetConfig.vue
+7
-5
WidgetForm.vue
src/components/VueFormMaking/components/WidgetForm.vue
+0
-3
main.js
src/main.js
+0
-1
template-manager.vue
src/views/process/admin/template-manager.vue
+1
-1
No files found.
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