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
13610dbf
Unverified
Commit
13610dbf
authored
Sep 24, 2020
by
lanyulei
Committed by
GitHub
Sep 24, 2020
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #29 from lanyulei/dev
fix bug.
parents
b9b38df1
6e718e20
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
44 additions
and
27 deletions
+44
-27
Container.vue
src/components/VueFormMaking/components/Container.vue
+9
-1
GenerateForm.vue
src/components/VueFormMaking/components/GenerateForm.vue
+0
-1
GenerateFormItem.vue
src/components/VueFormMaking/components/GenerateFormItem.vue
+3
-1
WidgetConfig.vue
src/components/VueFormMaking/components/WidgetConfig.vue
+0
-1
apply-process-list.vue
src/views/process/list/apply-process-list.vue
+31
-22
create.vue
src/views/process/list/create.vue
+1
-1
No files found.
src/components/VueFormMaking/components/Container.vue
View file @
13610dbf
...
...
@@ -109,7 +109,15 @@
form
@
on-close=
"previewVisible = false"
>
<generate-form
v-if=
"previewVisible"
ref=
"generateForm"
insite=
"true"
:data=
"widgetForm"
:value=
"widgetModels"
:remote=
"remoteFuncs"
@
on-change=
"handleDataChange"
>
<generate-form
v-if=
"previewVisible"
ref=
"generateForm"
insite=
"true"
:data=
"widgetForm"
:value=
"widgetModels"
:remote=
"remoteFuncs"
@
on-change=
"handleDataChange"
>
<
template
slot-scope=
"scope"
>
Width
<el-input
v-model=
"scope.model.blank.width"
style=
"width: 100px"
/>
...
...
src/components/VueFormMaking/components/GenerateForm.vue
View file @
13610dbf
...
...
@@ -164,7 +164,6 @@ export default {
})
}
else
if
(
genList
[
i
].
type
===
'subform'
)
{
// this.generateModle(genList[i].columns.list)
console
.
log
(
genList
[
i
].
columns
)
}
else
{
if
(
this
.
value
&&
Object
.
keys
(
this
.
value
).
indexOf
(
genList
[
i
].
model
)
>=
0
)
{
this
.
models
[
genList
[
i
].
model
]
=
this
.
value
[
genList
[
i
].
model
]
...
...
src/components/VueFormMaking/components/GenerateFormItem.vue
View file @
13610dbf
...
...
@@ -63,7 +63,9 @@
<
template
v-else
>
<template
v-if=
"widget.type === 'input'"
>
<el-input
v-if=
"widget.options.dataType === 'number' || widget.options.dataType === 'integer' || widget.options.dataType === 'float'"
v-if=
"widget.options.dataType === 'number'
|| widget.options.dataType === 'integer'
|| widget.options.dataType === 'float'"
v-model
.
number=
"dataModel"
:type=
"widget.options.dataType"
:placeholder=
"widget.options.placeholder"
...
...
src/components/VueFormMaking/components/WidgetConfig.vue
View file @
13610dbf
...
...
@@ -396,7 +396,6 @@
<el-checkbox
v-if=
"Object.keys(data.options).indexOf('arrowControl')>=0"
v-model=
"data.options.arrowControl"
>
{{
$t
(
'fm.config.widget.arrowControl'
)
}}
</el-checkbox>
<el-checkbox
v-if=
"Object.keys(data.options).indexOf('isDelete')>=0"
v-model=
"data.options.isDelete"
>
{{
$t
(
'fm.config.widget.isDelete'
)
}}
</el-checkbox>
<el-checkbox
v-if=
"Object.keys(data.options).indexOf('isEdit')>=0"
v-model=
"data.options.isEdit"
>
{{
$t
(
'fm.config.widget.isEdit'
)
}}
</el-checkbox>
</el-form-item>
<el-form-item
:label=
"$t('fm.config.widget.validate')"
>
<div
v-if=
"Object.keys(data.options).indexOf('required')>=0"
>
...
...
src/views/process/list/apply-process-list.vue
View file @
13610dbf
...
...
@@ -19,11 +19,18 @@
<div
v-for=
"item in processLists"
:key=
"item.id"
>
<div
v-if=
"item.process_list.length!==0"
>
<div
class=
"workflow-classify-title"
>
{{
item
.
name
}}
</div>
<div
class=
"workflow-classify-title"
>
{{
item
.
name
}}
</div>
<div
style=
"margin-bottom: 15px;"
>
<template
v-for=
"buttonItem in item.process_list"
>
<el-tooltip
:key=
"buttonItem.id"
effect=
"dark"
placement=
"top"
>
<div
slot=
"content"
>
{{
buttonItem
.
name
}}
<br>
{{
buttonItem
.
remarks
}}
</div>
<el-button
v-for=
"buttonItem in item.process_list"
:key=
"buttonItem.id"
class=
"workflow-classify-button"
plain
@
click=
"submitWorkOrder(buttonItem.id)"
...
...
@@ -42,6 +49,8 @@
</div>
</div>
</el-button>
</el-tooltip>
</
template
>
</div>
</div>
</div>
...
...
@@ -81,8 +90,8 @@ export default {
<
style
scoped
>
.workflow-classify-title
{
border-
bottom
:
1px
solid
#dddddd
;
padding-
bottom
:
5px
;
border-
left
:
3px
solid
rgb
(
64
,
158
,
255
)
;
padding-
left
:
5px
;
}
.workflow-classify-button
{
...
...
src/views/process/list/create.vue
View file @
13610dbf
...
...
@@ -52,7 +52,7 @@
:data=
"tplItem.form_structure"
:disabled=
"currentNode.readonlyTpls===undefined ||
currentNode.readonlyTpls===null ||
currentNode.readonlyTpls.indexOf(tplItem.id)===-1?
false
:true"
currentNode.readonlyTpls.indexOf(tplItem.id)===-1?
null
:true"
/>
</
template
>
</div>
...
...
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