Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
ferry_web
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
jianan
ferry_web
Commits
45cd8b06
Commit
45cd8b06
authored
Nov 18, 2021
by
lanyulei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 修复流程删除后,无法展示工单内容的问题。
parent
ce3e22ea
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
13 deletions
+16
-13
src/views/process/list/handle.vue
+16
-13
No files found.
src/views/process/list/handle.vue
View file @
45cd8b06
...
@@ -76,13 +76,13 @@
...
@@ -76,13 +76,13 @@
currentNode.hideTpls.indexOf(tplItem.form_structure.id)===-1"
currentNode.hideTpls.indexOf(tplItem.form_structure.id)===-1"
:key=
"tplIndex"
:key=
"tplIndex"
:ref=
"'generateForm-'+tplItem.id"
:ref=
"'generateForm-'+tplItem.id"
:preview=
"(currentNode.hideTpls!==undefined &&
:preview=
"
!!(
(currentNode.hideTpls!==undefined &&
currentNode.hideTpls!==null &&
currentNode.hideTpls!==null &&
currentNode.hideTpls.indexOf(tplItem.form_structure.id)!==-1) ||
currentNode.hideTpls.indexOf(tplItem.form_structure.id)!==-1) ||
(currentNode.writeTpls===undefined ||
(currentNode.writeTpls===undefined ||
currentNode.writeTpls===null ||
currentNode.writeTpls===null ||
currentNode.writeTpls.indexOf(tplItem.form_structure.id)===-1)||
currentNode.writeTpls.indexOf(tplItem.form_structure.id)===-1)||
(isActiveProcessing && currentNode.activeOrder)
?true:false
"
(isActiveProcessing && currentNode.activeOrder)
)
"
:remote=
"remoteFunc"
:remote=
"remoteFunc"
:value=
"tplItem.form_data"
:value=
"tplItem.form_data"
:data=
"tplItem.form_structure"
:data=
"tplItem.form_structure"
...
@@ -201,6 +201,7 @@ export default {
...
@@ -201,6 +201,7 @@ export default {
processStructureValue
:
{
processStructureValue
:
{
workOrder
:
{
title
:
''
}
workOrder
:
{
title
:
''
}
},
},
processRemarks
:
''
,
ruleForm
:
{
ruleForm
:
{
title
:
''
,
title
:
''
,
process
:
''
,
process
:
''
,
...
@@ -245,18 +246,20 @@ export default {
...
@@ -245,18 +246,20 @@ export default {
this
.
circulationHistoryList
=
this
.
processStructureValue
.
circulationHistory
this
.
circulationHistoryList
=
this
.
processStructureValue
.
circulationHistory
// 获取当前展示节点列表
// 获取当前展示节点列表
this
.
nodeStepList
=
[]
this
.
nodeStepList
=
[]
for
(
var
i
=
0
;
i
<
this
.
processStructureValue
.
nodes
.
length
;
i
++
)
{
if
(
this
.
processStructureValue
.
nodes
)
{
if
(
this
.
processStructureValue
.
nodes
[
i
].
id
===
this
.
processStructureValue
.
workOrder
.
current_state
)
{
for
(
var
i
=
0
;
i
<
this
.
processStructureValue
.
nodes
.
length
;
i
++
)
{
// 当前节点
if
(
this
.
processStructureValue
.
nodes
[
i
].
id
===
this
.
processStructureValue
.
workOrder
.
current_state
)
{
this
.
nodeStepList
.
push
(
this
.
processStructureValue
.
nodes
[
i
])
// 当前节点
this
.
activeIndex
=
this
.
nodeStepList
.
length
-
1
this
.
nodeStepList
.
push
(
this
.
processStructureValue
.
nodes
[
i
])
if
(
i
+
1
===
this
.
processStructureValue
.
nodes
.
length
)
{
this
.
activeIndex
=
this
.
nodeStepList
.
length
-
1
this
.
activeIndex
=
this
.
nodeStepList
.
length
if
(
i
+
1
===
this
.
processStructureValue
.
nodes
.
length
)
{
this
.
activeIndex
=
this
.
nodeStepList
.
length
}
this
.
currentNode
=
this
.
processStructureValue
.
nodes
[
i
]
}
else
if
(
!
this
.
processStructureValue
.
nodes
[
i
].
isHideNode
)
{
// 非隐藏节点
this
.
nodeStepList
.
push
(
this
.
processStructureValue
.
nodes
[
i
])
}
}
this
.
currentNode
=
this
.
processStructureValue
.
nodes
[
i
]
}
else
if
(
!
this
.
processStructureValue
.
nodes
[
i
].
isHideNode
)
{
// 非隐藏节点
this
.
nodeStepList
.
push
(
this
.
processStructureValue
.
nodes
[
i
])
}
}
}
}
...
...
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