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
ae301b60
authored
Oct 15, 2020
by
YuleiLan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 修复创建工单无法执行任务的bug。
parent
82b4e9e0
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletions
src/views/process/list/create.vue
src/views/process/list/create.vue
View file @
ae301b60
...
@@ -154,7 +154,8 @@ export default {
...
@@ -154,7 +154,8 @@ export default {
'form_data'
:
[]
'form_data'
:
[]
}
}
// 绑定流程任务
// 绑定流程任务
this
.
ruleForm
.
tasks
=
this
.
processStructureValue
.
process
.
tasks
===
undefined
?
[]
:
this
.
processStructureValue
.
process
.
tasks
console
.
log
(
this
.
processStructureValue
.
process
)
this
.
ruleForm
.
tasks
=
this
.
processStructureValue
.
process
.
task
===
undefined
?
[]
:
this
.
processStructureValue
.
process
.
task
// 追加节点任务
// 追加节点任务
if
(
this
.
processStructureValue
.
nodes
[
this
.
active
].
task
!==
undefined
&&
this
.
processStructureValue
.
nodes
[
this
.
active
].
task
.
length
>
0
)
{
if
(
this
.
processStructureValue
.
nodes
[
this
.
active
].
task
!==
undefined
&&
this
.
processStructureValue
.
nodes
[
this
.
active
].
task
.
length
>
0
)
{
for
(
var
task
of
this
.
processStructureValue
.
nodes
[
this
.
active
].
task
)
{
for
(
var
task
of
this
.
processStructureValue
.
nodes
[
this
.
active
].
task
)
{
...
...
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