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
0488dd30
authored
2023-07-04 15:28:06 +0800
by
xiaomiao
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
流程图
1 parent
bdcafaba
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
3 deletions
src/views/workflow/components/processViewer.vue
src/views/workflow/components/processViewer.vue
View file @
0488dd3
...
...
@@ -65,9 +65,10 @@
</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=
"endTime"
width=
"160"
align=
"center"
/>
<el-table-column
label=
"操作方式"
prop=
"businessName"
align=
"center"
/>
<el-table-column
label=
"转入时间"
prop=
"createTime"
:formatter=
"formatDate"
width=
"160"
align=
"center"
/>
<el-table-column
label=
"认领时间"
prop=
"claimTime"
:formatter=
"formatDate"
width=
"160"
align=
"center"
/>
<el-table-column
label=
"转出时间"
prop=
"endTime"
:formatter=
"formatDate"
width=
"160"
align=
"center"
/>
<el-table-column
label=
"操作方式"
prop=
"controls"
align=
"center"
/>
<el-table-column
label=
"意见"
prop=
"idea"
align=
"center"
/>
</el-table>
</div>
...
...
@@ -118,6 +119,14 @@
this
.
clearViewer
()
},
methods
:
{
formatDate
(
row
,
column
)
{
let
data
=
row
[
column
.
property
]
if
(
data
==
null
)
{
return
null
}
let
dt
=
new
Date
(
data
)
return
dt
.
getFullYear
()
+
'-'
+
(
dt
.
getMonth
()
+
1
)
+
'-'
+
dt
.
getDate
()
+
' '
+
dt
.
getHours
()
+
':'
+
dt
.
getMinutes
()
+
':'
+
dt
.
getSeconds
()
},
processReZoom
()
{
this
.
defaultZoom
=
1
this
.
bpmnViewer
.
get
(
'canvas'
).
zoom
(
'fit-viewport'
,
'auto'
)
...
...
@@ -240,6 +249,7 @@
item
.
comments
.
forEach
(
element
=>
{
if
(
element
.
type
==
"COMPLETE"
){
this
.
formData
.
allCommentList
[
index
].
idea
=
element
.
message
this
.
formData
.
allCommentList
[
index
].
controls
=
"完成"
}
});
this
.
formData
.
allCommentList
[
index
].
agent
=
item
.
assignee
.
name
...
...
Please
register
or
sign in
to post a comment