Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
apaas-ui
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
gzga-jzapi
apaas-ui
Commits
92e28cc9
Commit
92e28cc9
authored
Aug 08, 2020
by
张俊
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
流程运行状态
parent
50031e21
Changes
15
Hide whitespace changes
Inline
Side-by-side
Showing
15 changed files
with
147 additions
and
9 deletions
+147
-9
src/assets/imgs/data_img_liucheng.gif
src/assets/imgs/data_img_liucheng.gif
+0
-0
src/assets/imgs/icon_liuchengsj.png
src/assets/imgs/icon_liuchengsj.png
+0
-0
src/assets/imgs/img_liuchengsheji.png
src/assets/imgs/img_liuchengsheji.png
+0
-0
src/assets/imgs/lcsj_btn_delete.png
src/assets/imgs/lcsj_btn_delete.png
+0
-0
src/assets/imgs/lcsj_ic_chajian.png
src/assets/imgs/lcsj_ic_chajian.png
+0
-0
src/assets/imgs/lcsj_ic_chaoshi.png
src/assets/imgs/lcsj_ic_chaoshi.png
+0
-0
src/assets/imgs/lcsj_ic_jiekou.png
src/assets/imgs/lcsj_ic_jiekou.png
+0
-0
src/assets/imgs/lcsj_ic_liucheng.png
src/assets/imgs/lcsj_ic_liucheng.png
+0
-0
src/assets/imgs/lcsj_ic_set.png
src/assets/imgs/lcsj_ic_set.png
+0
-0
src/assets/imgs/liucheng_ic_chaoshi.png
src/assets/imgs/liucheng_ic_chaoshi.png
+0
-0
src/assets/imgs/liucheng_ic_haoshi.png
src/assets/imgs/liucheng_ic_haoshi.png
+0
-0
src/assets/imgs/progress_ic_liucheng.png
src/assets/imgs/progress_ic_liucheng.png
+0
-0
src/assets/imgs/progress_ic_wancheng.png
src/assets/imgs/progress_ic_wancheng.png
+0
-0
src/components/e-charts/line_chart.vue
src/components/e-charts/line_chart.vue
+11
-7
src/pages/workbench/component-center/process-management/designer/detail.vue
...h/component-center/process-management/designer/detail.vue
+136
-2
No files found.
src/assets/imgs/data_img_liucheng.gif
0 → 100644
View file @
92e28cc9
89.1 KB
src/assets/imgs/icon_liuchengsj.png
0 → 100644
View file @
92e28cc9
1.29 KB
src/assets/imgs/img_liuchengsheji.png
0 → 100644
View file @
92e28cc9
5.45 KB
src/assets/imgs/lcsj_btn_delete.png
0 → 100644
View file @
92e28cc9
1.15 KB
src/assets/imgs/lcsj_ic_chajian.png
0 → 100644
View file @
92e28cc9
1.71 KB
src/assets/imgs/lcsj_ic_chaoshi.png
0 → 100644
View file @
92e28cc9
1.83 KB
src/assets/imgs/lcsj_ic_jiekou.png
0 → 100644
View file @
92e28cc9
1.9 KB
src/assets/imgs/lcsj_ic_liucheng.png
0 → 100644
View file @
92e28cc9
1.67 KB
src/assets/imgs/lcsj_ic_set.png
0 → 100644
View file @
92e28cc9
2.08 KB
src/assets/imgs/liucheng_ic_chaoshi.png
0 → 100644
View file @
92e28cc9
3.7 KB
src/assets/imgs/liucheng_ic_haoshi.png
0 → 100644
View file @
92e28cc9
4.16 KB
src/assets/imgs/progress_ic_liucheng.png
0 → 100644
View file @
92e28cc9
1.12 KB
src/assets/imgs/progress_ic_wancheng.png
0 → 100644
View file @
92e28cc9
1.3 KB
src/components/e-charts/line_chart.vue
View file @
92e28cc9
...
@@ -28,7 +28,11 @@ export default {
...
@@ -28,7 +28,11 @@ export default {
targetValue
:
{
targetValue
:
{
type
:
Number
,
type
:
Number
,
default
:
()
=>
0
default
:
()
=>
0
}
},
area_flag
:{
type
:
Boolean
,
default
:
true
},
},
},
components
:
{},
components
:
{},
data
()
{
data
()
{
...
@@ -87,7 +91,7 @@ export default {
...
@@ -87,7 +91,7 @@ export default {
},
},
areaStyle
:
{
areaStyle
:
{
normal
:
{
normal
:
{
color
:
new
echarts
.
graphic
.
LinearGradient
(
color
:
this
.
area_flag
?
new
echarts
.
graphic
.
LinearGradient
(
0
,
0
,
0
,
0
,
0
,
0
,
...
@@ -103,7 +107,7 @@ export default {
...
@@ -103,7 +107,7 @@ export default {
}
}
],
],
false
false
),
)
:
'
rgba(0,0,0,0)
'
,
shadowColor
:
hexToRgba
(
color
[
idx
],
0.1
),
shadowColor
:
hexToRgba
(
color
[
idx
],
0.1
),
shadowBlur
:
10
shadowBlur
:
10
}
}
...
@@ -118,10 +122,10 @@ export default {
...
@@ -118,10 +122,10 @@ export default {
});
});
var
option
=
{
var
option
=
{
backgroundColor
:
bgColor
,
//
backgroundColor: bgColor,
color
:
color
,
color
:
color
,
legend
:
{
legend
:
{
// show:false
,//是否显示图例
show
:
yarr
.
length
>=
2
,
//是否显示图例
right
:
"
center
"
,
right
:
"
center
"
,
bottom
:
0
,
bottom
:
0
,
itemWidth
:
10
,
itemWidth
:
10
,
...
@@ -144,7 +148,7 @@ export default {
...
@@ -144,7 +148,7 @@ export default {
left
:
15
,
left
:
15
,
right
:
30
,
right
:
30
,
bottom
:
30
,
bottom
:
30
,
containLabel
:
true
containLabel
:
true
,
},
},
xAxis
:
[
xAxis
:
[
{
{
...
@@ -161,7 +165,7 @@ export default {
...
@@ -161,7 +165,7 @@ export default {
}
}
},
},
splitArea
:
{
splitArea
:
{
show
:
t
rue
,
show
:
t
his
.
area_flag
,
areaStyle
:
{
areaStyle
:
{
color
:
[
"
#fff
"
,
"
#f8f9fd
"
],
color
:
[
"
#fff
"
,
"
#f8f9fd
"
],
opacity
:
0.5
opacity
:
0.5
...
...
src/pages/workbench/component-center/process-management/designer/detail.vue
View file @
92e28cc9
...
@@ -11,7 +11,53 @@
...
@@ -11,7 +11,53 @@
<info-list
:list_arr=
"now_service==0?list_arr:servicead_arr"
>
<info-list
:list_arr=
"now_service==0?list_arr:servicead_arr"
>
<table-um
style=
"width:700px;"
v-if=
"zd_table_arr.length"
height=
'250px'
:stripe=
"true"
:headers=
"header_arr"
:datas=
"zd_table_arr"
slot=
"fw_table"
></table-um>
<table-um
style=
"width:700px;"
v-if=
"zd_table_arr.length"
height=
'250px'
:stripe=
"true"
:headers=
"header_arr"
:datas=
"zd_table_arr"
slot=
"fw_table"
></table-um>
<div
slot=
"process"
>
流程
</div>
<div
slot=
"process"
>
流程
</div>
<div
slot=
"count"
>
流程
</div>
<div
slot=
"count"
>
<div
class=
"charts"
>
<div
class=
"charts_box"
>
<div
class=
"charts_box_detail"
style=
"width:233px;"
>
<img
style=
"width:48px;float:left;margin-top:20px;"
src=
"../../../../../assets/imgs/shop_ic_jierujg.png"
alt=
""
>
<div
style=
"float:right;"
>
<p>
流程实例总数
</p>
<p><span>
2,980
</span><span>
万
</span></p>
</div>
</div>
</div>
<div
class=
"charts_box"
>
<div
class=
"charts_box_detail"
style=
"width:245px;"
>
<img
style=
"width:48px;float:left;margin-top:20px;"
src=
"../../../../../assets/imgs/liucheng_ic_haoshi.png"
alt=
""
>
<div
style=
"float:right;margin-right:40px;"
>
<p>
流程平均耗时
</p>
<p
style=
"right:-38px;"
><span>
35
</span><span>
min
</span></p>
</div>
</div>
</div>
<div
class=
"charts_box"
>
<div
class=
"charts_box_detail"
style=
"width:245px;"
>
<img
style=
"width:48px;float:left;margin-top:20px;"
src=
"../../../../../assets/imgs/liucheng_ic_haoshi.png"
alt=
""
>
<div
style=
"float:right;"
>
<p>
流程超时率
</p>
<p><span>
5
</span><span>
%
</span></p>
</div>
</div>
</div>
</div>
<div
class=
"data_charts"
>
<div
class=
"data_charts_box"
>
<block-radius
class=
"block"
:show_header=
"true"
title=
"流程实例趋势分析"
:buttons_arr=
"['近7天', '近6个月']"
@
changeButton=
"changeday"
>
<line-chart
class=
"block-radius-content"
:area_flag=
"false"
:data=
"line_data"
></line-chart>
</block-radius>
</div>
<div
class=
"data_charts_box"
></div>
<div
class=
"data_charts_box"
></div>
</div>
</div>
<div
slot=
"suvice"
>
流程
</div>
<div
slot=
"suvice"
>
流程
</div>
</info-list>
</info-list>
</div>
</div>
...
@@ -25,11 +71,15 @@
...
@@ -25,11 +71,15 @@
import
serviceHeader
from
'
@/components/service-header
'
import
serviceHeader
from
'
@/components/service-header
'
import
infoList
from
'
@/components/infoList
'
import
infoList
from
'
@/components/infoList
'
import
tableUm
from
'
@/components/table/table-um
'
import
tableUm
from
'
@/components/table/table-um
'
import
BlockRadius
from
"
@/components/general/block-radius
"
;
import
lineChart
from
"
@/components/e-charts/line_chart
"
;
export
default
{
export
default
{
components
:
{
components
:
{
serviceHeader
,
serviceHeader
,
infoList
,
infoList
,
tableUm
tableUm
,
BlockRadius
,
lineChart
},
},
data
(){
data
(){
return
{
return
{
...
@@ -50,6 +100,15 @@ export default {
...
@@ -50,6 +100,15 @@ export default {
state
:
1
,
state
:
1
,
now_service
:
0
,
now_service
:
0
,
service_arr
:[],
service_arr
:[],
line_data
:{
xAxisData
:
[
'
01-02
'
,
'
01-03
'
,
'
01-04
'
,
'
01-05
'
,
'
01-06
'
,
'
01-07
'
],
seriesData
:
[
{
name
:
"
趋势
"
,
data
:
[
100
,
200
,
500
,
1000
,
1800
,
500
]
}
]
},
list_arr
:[
list_arr
:[
{
{
title
:
'
流程描述:
'
,
title
:
'
流程描述:
'
,
...
@@ -114,6 +173,9 @@ export default {
...
@@ -114,6 +173,9 @@ export default {
this
.
getbaseinfo
()
this
.
getbaseinfo
()
},
},
methods
:{
methods
:{
changeday
(){
},
get_header
(){
get_header
(){
this
.
$set
(
this
.
service_header_arr
,
'
name
'
,
'
长兴综治事故申报处理流程
'
)
this
.
$set
(
this
.
service_header_arr
,
'
name
'
,
'
长兴综治事故申报处理流程
'
)
let
state
=
this
.
state
let
state
=
this
.
state
...
@@ -275,4 +337,76 @@ export default {
...
@@ -275,4 +337,76 @@ export default {
padding
:
30px
10px
10px
10px
;
padding
:
30px
10px
10px
10px
;
width
:
100%
;
width
:
100%
;
}
}
.charts
{
width
:
100%
;
height
:
128px
;
background-color
:
#fbfcfe
;
border-radius
:
12px
;
overflow
:
hidden
;
}
.charts_box
{
float
:
left
;
width
:
calc
((
100%
-
4px
)/
3
);
height
:
65px
;
box-sizing
:
content-box
;
border-right
:
2px
solid
#e6ebfe
;
margin-top
:
30px
;
}
.charts
.charts_box
:nth-last-of-type
(
1
)
{
border
:
0
;
}
.charts_box_detail
{
margin
:
0
auto
;
overflow
:
hidden
;
}
.charts_box_detail
div
{
position
:
relative
;
margin-right
:
30px
;
}
.charts_box_detail
div
p
{
font-size
:
16px
;
color
:
#58617a
;
}
.charts_box_detail
div
p
:nth-last-of-type
(
1
)
{
position
:
absolute
;
right
:
-28px
;
}
.charts_box_detail
div
p
span
:nth-of-type
(
1
)
{
font-size
:
24px
;
font-weight
:
600
;
color
:
#242c43
;
margin-right
:
10px
;
}
.charts_box_detail
div
p
span
:nth-of-type
(
2
)
{
font-size
:
16px
;
color
:
#242c43
;
}
.data_charts
{
width
:
100%
;
height
:
300px
;
overflow
:
hidden
;
}
.data_charts_box
{
width
:
calc
((
100%
-
40px
)/
3
);
float
:
left
;
height
:
300px
;
box-sizing
:
border-box
;
background-color
:
#fbfcfe
;
border-radius
:
12px
;
margin-right
:
20px
;
margin-top
:
26px
;
}
.data_charts
.data_charts_box
:nth-last-of-type
(
1
)
{
margin-right
:
0px
;
}
.data_charts_box
>>>
.block_radius
{
background-color
:
#fbfcfe
;
height
:
100%
;
}
.block-radius-content
{
width
:
100%
;
background-color
:
#fbfcfe
;
height
:
calc
(
100%
-
36px
);
margin-top
:
15px
;
}
</
style
>
</
style
>
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