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
42bfe7f7
Commit
42bfe7f7
authored
Aug 10, 2020
by
张俊
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
接口对接
parent
b5eab801
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
31 additions
and
18 deletions
+31
-18
src/pages/workbench/component-center/process-management/designer/detail.vue
...h/component-center/process-management/designer/detail.vue
+28
-15
src/pages/workbench/workPlace.vue
src/pages/workbench/workPlace.vue
+3
-3
No files found.
src/pages/workbench/component-center/process-management/designer/detail.vue
View file @
42bfe7f7
...
@@ -192,15 +192,28 @@ export default {
...
@@ -192,15 +192,28 @@ export default {
}
}
},
},
created
(){
created
(){
this
.
get_header
()
this
.
get_process_detail
()
this
.
getbaseinfo
()
},
},
methods
:{
methods
:{
get_process_detail
(){
this
.
$http
.
get
(
'
/apaas/serviceapp/v3/workflows/detail?id=
'
+
9
)
.
then
(
response
=>
{
let
data
=
response
.
data
.
data
console
.
log
(
data
);
this
.
state
=
data
.
state
this
.
get_header
(
data
)
this
.
getbaseinfo
(
data
)
})
.
catch
(
function
(
response
)
{
});
},
changeday
(){
changeday
(){
},
},
get_header
(){
get_header
(
data
){
this
.
$set
(
this
.
service_header_arr
,
'
name
'
,
'
长兴综治事故申报处理流程
'
)
this
.
$set
(
this
.
service_header_arr
,
'
name
'
,
data
.
name
)
let
state
=
this
.
state
let
state
=
this
.
state
//未部署
//未部署
if
(
state
==
0
){
if
(
state
==
0
){
...
@@ -208,7 +221,7 @@ export default {
...
@@ -208,7 +221,7 @@ export default {
this
.
$set
(
this
.
service_header_arr
,
'
second
'
,[])
this
.
$set
(
this
.
service_header_arr
,
'
second
'
,[])
this
.
service_header_arr
.
first
.
push
({
this
.
service_header_arr
.
first
.
push
({
name
:
'
工作区域
'
,
name
:
'
工作区域
'
,
text
:
'
1111
'
text
:
data
.
workarea_name
})
})
this
.
service_header_arr
.
first
.
push
({
this
.
service_header_arr
.
first
.
push
({
name
:
'
流程状态
'
,
name
:
'
流程状态
'
,
...
@@ -216,7 +229,7 @@ export default {
...
@@ -216,7 +229,7 @@ export default {
})
})
this
.
service_header_arr
.
second
.
push
({
this
.
service_header_arr
.
second
.
push
({
name
:
'
修改时间
'
,
name
:
'
修改时间
'
,
text
:
'
2020-04-11
'
text
:
data
.
update_time
==
'
0001-01-01T00:00:00Z
'
?
'
-
'
:
data
.
update_time
.
split
(
"
+
"
)[
0
].
replace
(
'
T
'
,
'
'
)
})
})
this
.
service_arr
=
[
'
流程基本信息
'
]
this
.
service_arr
=
[
'
流程基本信息
'
]
this
.
service_header_arr
.
fixed_process
=
true
this
.
service_header_arr
.
fixed_process
=
true
...
@@ -230,7 +243,7 @@ export default {
...
@@ -230,7 +243,7 @@ export default {
this
.
$set
(
this
.
service_header_arr
,
'
second
'
,[])
this
.
$set
(
this
.
service_header_arr
,
'
second
'
,[])
this
.
service_header_arr
.
first
.
push
({
this
.
service_header_arr
.
first
.
push
({
name
:
'
工作区域
'
,
name
:
'
工作区域
'
,
text
:
'
1111
'
text
:
data
.
workarea
})
})
this
.
service_header_arr
.
first
.
push
({
this
.
service_header_arr
.
first
.
push
({
name
:
'
流程状态
'
,
name
:
'
流程状态
'
,
...
@@ -238,11 +251,11 @@ export default {
...
@@ -238,11 +251,11 @@ export default {
})
})
this
.
service_header_arr
.
first
.
push
({
this
.
service_header_arr
.
first
.
push
({
name
:
'
部署时间
'
,
name
:
'
部署时间
'
,
text
:
'
2020-04-11
'
text
:
data
.
deployment_time
==
'
0001-01-01T00:00:00Z
'
?
'
-
'
:
data
.
deployment_time
.
split
(
"
+
"
)[
0
].
replace
(
'
T
'
,
'
'
)
})
})
this
.
service_header_arr
.
second
.
push
({
this
.
service_header_arr
.
second
.
push
({
name
:
'
服务接口地址
'
,
name
:
'
服务接口地址
'
,
text
:
'
http://localhost:1z/zdrylx?code=430100000000
'
text
:
data
.
api_url
})
})
this
.
service_arr
=
[
'
流程基本信息
'
,
'
流程运行状态
'
]
this
.
service_arr
=
[
'
流程基本信息
'
,
'
流程运行状态
'
]
this
.
service_header_arr
.
fixed_process
=
true
this
.
service_header_arr
.
fixed_process
=
true
...
@@ -256,7 +269,7 @@ export default {
...
@@ -256,7 +269,7 @@ export default {
this
.
$set
(
this
.
service_header_arr
,
'
second
'
,[])
this
.
$set
(
this
.
service_header_arr
,
'
second
'
,[])
this
.
service_header_arr
.
first
.
push
({
this
.
service_header_arr
.
first
.
push
({
name
:
'
工作区域
'
,
name
:
'
工作区域
'
,
text
:
'
1111
'
text
:
data
.
workarea
})
})
this
.
service_header_arr
.
first
.
push
({
this
.
service_header_arr
.
first
.
push
({
name
:
'
流程状态
'
,
name
:
'
流程状态
'
,
...
@@ -268,7 +281,7 @@ export default {
...
@@ -268,7 +281,7 @@ export default {
})
})
this
.
service_header_arr
.
second
.
push
({
this
.
service_header_arr
.
second
.
push
({
name
:
'
服务接口地址
'
,
name
:
'
服务接口地址
'
,
text
:
'
http://localhost:1z/zdrylx?code=430100000000
'
text
:
data
.
api_url
})
})
this
.
service_arr
=
[
'
流程基本信息
'
,
'
流程运行状态
'
]
this
.
service_arr
=
[
'
流程基本信息
'
,
'
流程运行状态
'
]
this
.
service_header_arr
.
fixed_process
=
true
this
.
service_header_arr
.
fixed_process
=
true
...
@@ -278,10 +291,10 @@ export default {
...
@@ -278,10 +291,10 @@ export default {
this
.
service_header_arr
.
deploy
=
false
this
.
service_header_arr
.
deploy
=
false
}
}
},
},
getbaseinfo
(){
getbaseinfo
(
data
){
this
.
$set
(
this
.
list_arr
[
0
],
'
info
'
,
'
浙江省长兴县综合治理平台事故申报处理流程服务,仅供长兴县使用
'
)
this
.
$set
(
this
.
list_arr
[
0
],
'
info
'
,
data
.
describe
)
this
.
$set
(
this
.
list_arr
[
1
],
'
info
'
,
'
北京比格大数据有限公司
'
)
this
.
$set
(
this
.
list_arr
[
1
],
'
info
'
,
data
.
org_name
)
this
.
$set
(
this
.
list_arr
[
2
],
'
info
'
,
'
2019-02-17 21:09:23
'
)
this
.
$set
(
this
.
list_arr
[
2
],
'
info
'
,
data
.
create_time
.
split
(
'
+
'
)[
0
].
replace
(
'
T
'
,
'
'
)
)
this
.
zd_table_arr
=
[
this
.
zd_table_arr
=
[
{
{
fwmc
:
'
身份验证服务
'
,
fwmc
:
'
身份验证服务
'
,
...
...
src/pages/workbench/workPlace.vue
View file @
42bfe7f7
...
@@ -58,7 +58,7 @@
...
@@ -58,7 +58,7 @@
style=
"margin-top:15px;margin-bottom:10px;font-size:18px;color: #0d1847;font-weight:600;padding-left:20px;"
style=
"margin-top:15px;margin-bottom:10px;font-size:18px;color: #0d1847;font-weight:600;padding-left:20px;"
>
>
<span>
<span>
<span
style=
"display: inline-block;vertical-align:middle;"
>
数据分析
中心
</span>
<span
style=
"display: inline-block;vertical-align:middle;"
>
服务运营管控
中心
</span>
<div
class=
"enter_btn"
@
click=
"$router.push('/data_analysis')"
></div>
<div
class=
"enter_btn"
@
click=
"$router.push('/data_analysis')"
></div>
</span>
</span>
</p>
</p>
...
@@ -159,7 +159,7 @@
...
@@ -159,7 +159,7 @@
style=
"margin-top:15px;margin-bottom:10px;font-size:18px;color: #0d1847;font-weight:600;padding-left:20px;"
style=
"margin-top:15px;margin-bottom:10px;font-size:18px;color: #0d1847;font-weight:600;padding-left:20px;"
>
>
<span>
<span>
<span
style=
"display: inline-block;vertical-align:middle;"
>
数据分析
中心
</span>
<span
style=
"display: inline-block;vertical-align:middle;"
>
服务运营管控
中心
</span>
<div
class=
"enter_btn"
@
click=
"$router.push('/data_analysis')"
></div>
<div
class=
"enter_btn"
@
click=
"$router.push('/data_analysis')"
></div>
</span>
</span>
</p>
</p>
...
@@ -202,7 +202,7 @@
...
@@ -202,7 +202,7 @@
style=
"margin-top:15px;margin-bottom:10px;font-size:18px;color: #0d1847;font-weight:600;padding-left:20px;"
style=
"margin-top:15px;margin-bottom:10px;font-size:18px;color: #0d1847;font-weight:600;padding-left:20px;"
>
>
<span>
<span>
<span
style=
"display: inline-block;vertical-align:middle;"
>
数据分析
中心
</span>
<span
style=
"display: inline-block;vertical-align:middle;"
>
服务运营管控
中心
</span>
<div
class=
"enter_btn"
@
click=
"$router.push('/data_analysis')"
></div>
<div
class=
"enter_btn"
@
click=
"$router.push('/data_analysis')"
></div>
</span>
</span>
</p>
</p>
...
...
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