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
15a49db9
Commit
15a49db9
authored
Aug 12, 2020
by
张俊
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
服务详情
parent
469c1ed6
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
4 deletions
+17
-4
src/pages/workbench/component-center/process-management/designer/detail.vue
...h/component-center/process-management/designer/detail.vue
+9
-3
src/pages/workbench/fwgl/serviceDetail.vue
src/pages/workbench/fwgl/serviceDetail.vue
+8
-1
No files found.
src/pages/workbench/component-center/process-management/designer/detail.vue
View file @
15a49db9
...
...
@@ -10,7 +10,8 @@
<div
class=
"type_box_select"
>
<info-list
:list_arr=
"now_service==0?list_arr:servicead_arr"
>
<table-um
style=
"width:700px;"
height=
'250px'
:stripe=
"true"
:headers=
"header_arr"
:datas=
"zd_table_arr"
slot=
"fw_table"
></table-um>
<div
slot=
"process"
>
流程
</div>
<!--
<div
slot=
"process"
>
流程
</div>
-->
<workflows-view
slot=
"process"
:id=
"workflows_id"
:hide-detail=
"true"
></workflows-view>
<div
slot=
"count"
>
<div
class=
"charts"
>
<div
class=
"charts_box"
>
...
...
@@ -75,7 +76,8 @@
</div>
</div>
</div>
<div
slot=
"suvice"
>
流程
</div>
<!--
<div
slot=
"suvice"
>
流程
</div>
-->
<workflows-view
slot=
"suvice"
:id=
"workflows_id"
:hide-detail=
"false"
></workflows-view>
</info-list>
</div>
</div>
...
...
@@ -92,6 +94,7 @@ import BlockRadius from "@/components/general/block-radius";
import
lineChart
from
"
@/components/e-charts/line_chart
"
;
import
Toplist
from
"
@/components/e-charts/process-top-list
"
;
import
BarChart
from
"
@/components/e-charts/bar-chart
"
;
import
workflowsView
from
"
@/components/work-flow/workflows-view
"
;
export
default
{
components
:
{
serviceHeader
,
...
...
@@ -100,7 +103,8 @@ export default {
BlockRadius
,
lineChart
,
Toplist
,
BarChart
BarChart
,
workflowsView
},
data
(){
return
{
...
...
@@ -118,6 +122,7 @@ export default {
fixed_url
:
'
/
'
,
url
:
''
},
workflows_id
:
''
,
all_count
:
{
"
total_instances
"
:
0
,
//流程实例总数
"
timeout_rate
"
:
0
,
//流程超时率
...
...
@@ -200,6 +205,7 @@ export default {
created
(){
this
.
get_process_detail
()
this
.
get_table_service
()
this
.
workflows_id
=
parseInt
(
this
.
$route
.
params
.
id
)
},
methods
:{
get_process_detail
(){
...
...
src/pages/workbench/fwgl/serviceDetail.vue
View file @
15a49db9
...
...
@@ -31,7 +31,7 @@
<div
class=
"type_box_select"
>
<info-list
:list_arr=
"now_service == 0 ? list_arr : servicead_arr"
v-if=
"now_service == 0 ||
now_service == 1
"
v-if=
"now_service == 0 ||
(now_service == 1&&!workflows_id)
"
>
<table-um
:headers=
"req_header_arr"
...
...
@@ -48,6 +48,9 @@
></table-um>
<v-apaas-code
:datas=
"res_code_arr"
slot=
"res_code"
></v-apaas-code>
</info-list>
<p
v-if=
"now_service == 1&&workflows_id"
>
流程服务接口说明见文档中心流程服务接口文档
</p>
<div
v-show=
"now_service == 2"
>
<p
class=
"service_title"
><span></span>
服务运行概况
</p>
<div
class=
"service_title_card"
>
...
...
@@ -296,6 +299,7 @@ export default {
res_data
:
[],
// 响应参数
res_code_arr
:
""
,
// 响应示例
buy_type
:
""
,
workflows_id
:
''
,
//判断是否是流程服务
sizeset_flag
:
false
,
//规格设置是否显示
service_arr
:
[
[
"
服务基本信息
"
,
"
接口详细信息
"
,
"
服务运行状态
"
],
...
...
@@ -625,6 +629,9 @@ export default {
.
then
((
response
)
=>
{
if
(
response
.
data
.
success
===
1
)
{
let
data
=
response
.
data
.
data
;
if
(
data
.
workflows_id
){
this
.
workflows_id
=
data
.
workflows_id
}
this
.
$set
(
this
.
service_header_arr
,
"
portal_id
"
,
data
.
portal_id
);
// 时空服务id
this
.
$set
(
this
.
service_header_arr
,
...
...
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