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
6e06adc1
authored
2023-04-28 16:37:18 +0800
by
xiaomiao
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
流程图样式处理
1 parent
8e44ec0b
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
4 deletions
src/views/workflow/components/processViewer.vue
src/views/workflow/components/processViewer.vue
View file @
6e06adc
...
...
@@ -46,12 +46,11 @@
</div>
<!-- 已完成节点悬浮弹窗 -->
<div
class=
"information-list"
>
<!--
<p>
{{
dlgTitle
?
dlgTitle
:
'浏览记录'
}}
</p>
-->
<el-select
v-model=
"selectValue"
@
change=
"handleSelect"
>
<el-option
v-for=
"item in selectOptions"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
>
</el-option>
</el-select>
<el-table
:data=
"taskCommentList"
size=
"mini"
border
header-cell-class-name=
"table-header-gray"
>
<el-table
height=
"190"
:data=
"taskCommentList"
size=
"mini"
border
header-cell-class-name=
"table-header-gray"
>
<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"
>
...
...
@@ -172,9 +171,13 @@
},
// 下拉列表切换
handleSelect
(
val
)
{
this
.
taskCommentList
=
(
this
.
formData
.
allCommentList
||
[]).
filter
(
item
=>
{
return
item
.
taskDefKey
===
val
})
if
(
val
.
length
>
3
)
{
this
.
taskCommentList
=
this
.
formData
.
allCommentList
;
}
},
// 显示流程图
async
importXML
(
xml
)
{
...
...
@@ -264,8 +267,8 @@
</
script
>
<
style
scoped
lang=
"scss"
>
.information-list
{
//
height
:
15
0px
;
//
margin-top
:
10px
;
height
:
22
0px
;
margin-top
:
10px
;
p
{
font-size
:
16px
;
...
...
@@ -275,4 +278,8 @@
/
deep
/
.bjs-powered-by
{
display
:
none
;
}
//
/
deep
/
.information-list
{
//
height
:
170px
;
//
overflow
:
visible
;
//
}
</
style
>
...
...
Please
register
or
sign in
to post a comment