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
4b0c5103
Commit
4b0c5103
authored
Jul 29, 2020
by
Mr. Lan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加表单数据展示
parent
5c903f34
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
259 additions
and
202 deletions
+259
-202
GenerateForm.vue
src/components/VueFormMaking/components/GenerateForm.vue
+3
-1
GenerateFormItem.vue
src/components/VueFormMaking/components/GenerateFormItem.vue
+255
-201
handle.vue
src/views/process/list/handle.vue
+1
-0
No files found.
src/components/VueFormMaking/components/GenerateForm.vue
View file @
4b0c5103
...
@@ -28,6 +28,7 @@
...
@@ -28,6 +28,7 @@
<genetate-form-item
<genetate-form-item
v-else
v-else
:key=
"citem.key"
:key=
"citem.key"
:preview=
"preview"
:models
.
sync=
"models"
:models
.
sync=
"models"
:remote=
"remote"
:remote=
"remote"
:rules=
"rules"
:rules=
"rules"
...
@@ -49,6 +50,7 @@
...
@@ -49,6 +50,7 @@
<
template
v-else
>
<
template
v-else
>
<genetate-form-item
<genetate-form-item
:key=
"item.key"
:key=
"item.key"
:preview=
"preview"
:models
.
sync=
"models"
:models
.
sync=
"models"
:rules=
"rules"
:rules=
"rules"
:widget=
"item"
:widget=
"item"
...
@@ -73,7 +75,7 @@ export default {
...
@@ -73,7 +75,7 @@ export default {
GenetateFormItem
GenetateFormItem
},
},
/* eslint-disable */
/* eslint-disable */
props
:
[
'data'
,
'remote'
,
'value'
,
'insite'
,
'disabled'
],
props
:
[
'data'
,
'remote'
,
'value'
,
'insite'
,
'disabled'
,
'preview'
],
data
()
{
data
()
{
return
{
return
{
models
:
{},
models
:
{},
...
...
src/components/VueFormMaking/components/GenerateFormItem.vue
View file @
4b0c5103
This diff is collapsed.
Click to expand it.
src/views/process/list/handle.vue
View file @
4b0c5103
...
@@ -58,6 +58,7 @@
...
@@ -58,6 +58,7 @@
v-for=
"(tplItem, tplIndex) in processStructureValue.tpls"
v-for=
"(tplItem, tplIndex) in processStructureValue.tpls"
:key=
"tplIndex"
:key=
"tplIndex"
:ref=
"'generateForm-'+tplItem.id"
:ref=
"'generateForm-'+tplItem.id"
:preview=
"true"
:remote=
"remoteFunc"
:remote=
"remoteFunc"
:value=
"tplItem.form_data"
:value=
"tplItem.form_data"
:data=
"tplItem.form_structure"
:data=
"tplItem.form_structure"
...
...
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