Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
bdc
/
bdcdj-web
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
4db760c6
authored
2023-06-30 16:21:29 +0800
by
xiaomiao
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
--no commit message
1 parent
87d653a9
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
29 additions
and
10 deletions
src/views/djbworkflow/djbBook/components/blxxtabs/dyaq.vue
src/views/workflow/components/processViewer.vue
src/views/workflow/mixin/index.js
src/views/djbworkflow/djbBook/components/blxxtabs/dyaq.vue
View file @
4db760c
This diff is collapsed.
Click to expand it.
src/views/workflow/components/processViewer.vue
View file @
4db760c
...
...
@@ -59,16 +59,16 @@
<el-table-column
label=
"序号"
header-align=
"center"
align=
"center"
type=
"index"
width=
"55px"
/>
<el-table-column
label=
"流程状态"
header-align=
"center"
align=
"center"
>
<template
slot-scope=
"scope"
>
<div
v-if=
"scope.row.
finishTime == null"
>
正在办理
</div>
<div
v-else
>
已完结
</div>
<div
v-if=
"scope.row.
endTime"
>
已完结
</div>
<div
v-else
>
正在办理
</div>
</
template
>
</el-table-column>
<el-table-column
label=
"环节名称"
prop=
"name"
minWidth=
"100"
align=
"center"
/>
<el-table-column
label=
"办理人"
prop=
"agent"
minWidth=
"120"
align=
"center"
/>
<el-table-column
label=
"
处理
时间"
prop=
"createTime"
width=
"160"
align=
"center"
/>
<el-table-column
label=
"办结时间"
prop=
"
finish
Time"
width=
"160"
align=
"center"
/>
<el-table-column
label=
"操作方式"
align=
"center"
>
<
/el-table-column
>
<el-table-column
label=
"
创建
时间"
prop=
"createTime"
width=
"160"
align=
"center"
/>
<el-table-column
label=
"办结时间"
prop=
"
end
Time"
width=
"160"
align=
"center"
/>
<el-table-column
label=
"操作方式"
prop=
"businessName"
align=
"center"
/
>
<
el-table-column
label=
"意见"
prop=
"idea"
align=
"center"
/
>
</el-table>
</div>
</div>
...
...
@@ -237,13 +237,31 @@
// 获取流程记录
getCommentList
()
{
this
.
formData
.
allCommentList
.
forEach
(
async
(
item
,
index
)
=>
{
this
.
formData
.
allCommentList
[
index
].
agent
=
item
.
assignee
.
name
item
.
comments
.
forEach
(
element
=>
{
if
(
element
.
type
==
"COMPLETE"
){
this
.
formData
.
allCommentList
[
index
].
idea
=
element
.
message
}
});
this
.
formData
.
allCommentList
[
index
].
agent
=
item
.
assignee
.
name
})
setTimeout
(()
=>
{
this
.
taskList
=
this
.
formData
.
allCommentList
;
this
.
formData
.
handlinglist
.
forEach
(
async
(
item
,
index
)
=>
{
if
(
item
.
assignee
.
name
){
this
.
formData
.
handlinglist
[
index
].
agent
=
item
.
assignee
.
name
}
else
{
let
str
=
""
item
.
countersign
.
forEach
((
item
)
=>
{
str
+=
item
.
name
+
","
})
str
=
str
.
slice
(
0
,
-
1
);
this
.
formData
.
allCommentList
[
index
].
agent
=
str
}
})
this
.
taskList
=
[...
this
.
formData
.
allCommentList
,...
this
.
formData
.
handlinglist
];
// this.taskList =this.formData.allCommentList;
// 处理数据之后赋值
this
.
taskCommentList
=
this
.
taskList
},
100
)
},
// 设置流程图元素状态
...
...
src/views/workflow/mixin/index.js
View file @
4db760c
...
...
@@ -76,6 +76,7 @@ export default {
rejectedTaskSet
:
{},
finishedSequenceFlowSet
:
result
.
finishedSequenceFlowIds
},
handlinglist
:
result
.
runningTasks
,
allCommentList
:
result
.
finishedTasks
},
'80%'
,
true
)
})
...
...
Please
register
or
sign in
to post a comment