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
5715b694
Commit
5715b694
authored
Aug 11, 2020
by
张俊
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev' of
https://cloud.wodcloud.com/git/apaas/apaas-v3-ui
into dev
parents
14c19ca9
a4c1cb86
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
40 additions
and
35 deletions
+40
-35
src/assets/imgs/img_head.png
src/assets/imgs/img_head.png
+0
-0
src/components/comments-list.vue
src/components/comments-list.vue
+1
-1
src/components/e-charts/commentlist.vue
src/components/e-charts/commentlist.vue
+1
-1
src/pages/workbench/fwgl/apply_service_detail.vue
src/pages/workbench/fwgl/apply_service_detail.vue
+25
-24
src/pages/workbench/fwgl/serviceDetail.vue
src/pages/workbench/fwgl/serviceDetail.vue
+13
-9
No files found.
src/assets/imgs/img_head.png
View replaced file @
14c19ca9
View file @
5715b694
1.63 KB
|
W:
|
H:
2.15 KB
|
W:
|
H:
2-up
Swipe
Onion skin
src/components/comments-list.vue
View file @
5715b694
...
@@ -6,7 +6,7 @@
...
@@ -6,7 +6,7 @@
:key=
"'comment_' + index"
:key=
"'comment_' + index"
>
>
<div
class=
"comment-left"
>
<div
class=
"comment-left"
>
<el-avatar
:size=
"60"
fit=
"cover"
:src=
"item.picture_path"
/>
<el-avatar
:size=
"60"
fit=
"cover"
:src=
"item.picture_path
|| require('../assets/imgs/img_head.png')
"
/>
</div>
</div>
<div
class=
"comment-right"
>
<div
class=
"comment-right"
>
<p
class=
"comment-user_name"
v-text=
"item.user_name"
></p>
<p
class=
"comment-user_name"
v-text=
"item.user_name"
></p>
...
...
src/components/e-charts/commentlist.vue
View file @
5715b694
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
<ul
class=
"comments_list apaas_scroll"
>
<ul
class=
"comments_list apaas_scroll"
>
<li
class=
"comment_card"
v-for=
"(item, index) in data"
:key=
"'comment_' + index"
>
<li
class=
"comment_card"
v-for=
"(item, index) in data"
:key=
"'comment_' + index"
>
<div
class=
"comment-left"
>
<div
class=
"comment-left"
>
<el-avatar
:size=
"45"
fit=
"cover"
:src=
"item.picture_path"
/>
<el-avatar
:size=
"45"
fit=
"cover"
:src=
"item.picture_path
|| require('../../assets/imgs/img_head.png')
"
/>
</div>
</div>
<div
class=
"comment-right"
>
<div
class=
"comment-right"
>
<p
class=
"comment-base"
>
<p
class=
"comment-base"
>
...
...
src/pages/workbench/fwgl/apply_service_detail.vue
View file @
5715b694
...
@@ -157,28 +157,33 @@ export default {
...
@@ -157,28 +157,33 @@ export default {
],
],
header_arr
:[
header_arr
:[
{
{
prop
:
'
wfwmc
'
,
prop
:
"
name
"
,
label
:
'
微服务名称
'
,
label
:
"
字段编码
"
,
minWidth
:
'
20%
'
,
align
:
"
left
"
,
align
:
'
left
'
,
width
:
200
},
},
{
{
prop
:
'
jkzt
'
,
prop
:
"
label
"
,
label
:
'
健康状态
'
,
label
:
"
字段名称
"
,
width
:
'
120px
'
,
align
:
"
center
"
,
align
:
'
center
'
,
width
:
200
},
},
{
{
prop
:
'
jklj
'
,
prop
:
"
show_type
"
,
label
:
'
接口链接
'
,
label
:
"
字段类型
"
,
minWidth
:
'
40%
'
,
align
:
"
center
"
,
align
:
'
center
'
,
width
:
240
},
},
{
{
prop
:
'
wfwms
'
,
prop
:
"
descript
"
,
label
:
'
微服务描述
'
,
label
:
"
字段说明
"
,
minWidth
:
'
40%
'
,
align
:
"
left
"
,
align
:
'
left
'
,
},
{
prop
:
"
example
"
,
label
:
"
字段示例数值
"
,
align
:
"
center
"
,
width
:
240
},
},
],
],
service_arr
:[
'
服务基本信息
'
,
'
接口详细信息
'
,
'
申请审批信息
'
],
service_arr
:[
'
服务基本信息
'
,
'
接口详细信息
'
,
'
申请审批信息
'
],
...
@@ -372,14 +377,10 @@ export default {
...
@@ -372,14 +377,10 @@ export default {
this
.
$set
(
this
.
apply_arr
[
6
],
"
info
"
,
'
访问次数:
'
+
data
.
service_apply_info
.
request_spcs
.
pv
+
'
/日,
'
+
'
访问量:
'
+
data
.
service_apply_info
.
request_spcs
.
count
+
'
/日
'
);
this
.
$set
(
this
.
apply_arr
[
6
],
"
info
"
,
'
访问次数:
'
+
data
.
service_apply_info
.
request_spcs
.
pv
+
'
/日,
'
+
'
访问量:
'
+
data
.
service_apply_info
.
request_spcs
.
count
+
'
/日
'
);
this
.
$set
(
this
.
apply_arr
[
7
],
"
info
"
,
data
.
service_apply_info
.
duration
+
(
data
.
service_apply_info
.
duration_unit
==
1
?
'
月
'
:
'
年
'
));
this
.
$set
(
this
.
apply_arr
[
7
],
"
info
"
,
data
.
service_apply_info
.
duration
+
(
data
.
service_apply_info
.
duration_unit
==
1
?
'
月
'
:
'
年
'
));
this
.
$set
(
this
.
apply_arr
[
8
],
"
info
"
,
data
.
service_apply_info
.
apply_time
.
replace
(
'
T
'
,
"
"
).
split
(
'
+
'
)[
0
]);
this
.
$set
(
this
.
apply_arr
[
8
],
"
info
"
,
data
.
service_apply_info
.
apply_time
.
replace
(
'
T
'
,
"
"
).
split
(
'
+
'
)[
0
]);
this
.
zd_table_arr
=
[
this
.
zd_table_arr
=
JSON
.
parse
(
data
.
service_apply_info
.
res_fields
||
"
[]
"
);
{
if
(
this
.
zd_table_arr
.
length
===
0
)
{
wfwmc
:
data
.
name
,
this
.
$set
(
this
.
servicead_arr
[
4
],
"
info
"
,
"
无响应参数
"
);
jkzt
:
data
.
health_state
,
}
jklj
:
data
.
req_url
,
wfwms
:
data
.
descript
}
]
console
.
log
(
this
.
zd_table_arr
);
console
.
log
(
this
.
zd_table_arr
);
if
(
data
.
service_apply_info
.
approval_process
){
if
(
data
.
service_apply_info
.
approval_process
){
data
.
service_apply_info
.
approval_process
.
forEach
(
e
=>
{
data
.
service_apply_info
.
approval_process
.
forEach
(
e
=>
{
...
...
src/pages/workbench/fwgl/serviceDetail.vue
View file @
5715b694
...
@@ -229,32 +229,31 @@ export default {
...
@@ -229,32 +229,31 @@ export default {
{
{
prop
:
"
name
"
,
prop
:
"
name
"
,
label
:
"
字段编码
"
,
label
:
"
字段编码
"
,
minWidth
:
"
20%
"
,
align
:
"
left
"
,
align
:
"
left
"
,
width
:
200
,
},
},
{
{
prop
:
"
label
"
,
prop
:
"
label
"
,
label
:
"
字段名称
"
,
label
:
"
字段名称
"
,
minWidth
:
"
20%
"
,
align
:
"
center
"
,
align
:
"
center
"
,
width
:
200
,
},
},
{
{
prop
:
"
show_type
"
,
prop
:
"
show_type
"
,
label
:
"
字段类型
"
,
label
:
"
字段类型
"
,
width
:
"
100px
"
,
align
:
"
center
"
,
align
:
"
center
"
,
width
:
240
,
},
},
{
{
prop
:
"
descript
"
,
prop
:
"
descript
"
,
label
:
"
字段说明
"
,
label
:
"
字段说明
"
,
minWidth
:
"
30%
"
,
align
:
"
left
"
,
align
:
"
left
"
,
},
},
{
{
prop
:
"
is_must
"
,
prop
:
"
is_must
"
,
label
:
"
是否必须
"
,
label
:
"
是否必须
"
,
width
:
"
120px
"
,
align
:
"
center
"
,
align
:
"
center
"
,
width
:
240
,
},
},
],
// 请求参数-header
],
// 请求参数-header
req_data
:
[],
// 请求参数
req_data
:
[],
// 请求参数
...
@@ -263,20 +262,22 @@ export default {
...
@@ -263,20 +262,22 @@ export default {
{
{
prop
:
"
name
"
,
prop
:
"
name
"
,
label
:
"
字段编码
"
,
label
:
"
字段编码
"
,
minWidth
:
"
20%
"
,
align
:
"
left
"
,
align
:
"
left
"
,
width
:
200
,
},
},
{
{
prop
:
"
label
"
,
prop
:
"
label
"
,
label
:
"
字段名称
"
,
label
:
"
字段名称
"
,
minWidth
:
"
20%
"
,
minWidth
:
"
20%
"
,
align
:
"
center
"
,
align
:
"
center
"
,
width
:
200
,
},
},
{
{
prop
:
"
show_type
"
,
prop
:
"
show_type
"
,
label
:
"
字段类型
"
,
label
:
"
字段类型
"
,
width
:
"
100px
"
,
width
:
"
100px
"
,
align
:
"
center
"
,
align
:
"
center
"
,
width
:
240
,
},
},
{
{
prop
:
"
descript
"
,
prop
:
"
descript
"
,
...
@@ -289,6 +290,7 @@ export default {
...
@@ -289,6 +290,7 @@ export default {
label
:
"
字段示例数值
"
,
label
:
"
字段示例数值
"
,
width
:
"
120px
"
,
width
:
"
120px
"
,
align
:
"
center
"
,
align
:
"
center
"
,
width
:
240
,
},
},
],
// 响应参数-header
],
// 响应参数-header
res_data
:
[],
// 响应参数
res_data
:
[],
// 响应参数
...
@@ -681,16 +683,18 @@ export default {
...
@@ -681,16 +683,18 @@ export default {
"
info
"
,
"
info
"
,
this
.
request_arr
[
data
.
req_type
-
1
]
this
.
request_arr
[
data
.
req_type
-
1
]
);
// 请求方式
);
// 请求方式
this
.
req_data
=
JSON
.
parse
(
data
.
req_fields
||
data
.
req_query
||
"
[]
"
);
// 请求参数
this
.
req_data
=
JSON
.
parse
(
data
.
req_fields
||
data
.
req_query
||
"
[]
"
);
// 请求参数
if
(
this
.
req_data
.
length
===
0
)
{
if
(
this
.
req_data
.
length
===
0
)
{
this
.
$set
(
this
.
servicead_arr
[
1
],
"
type
"
,
""
);
this
.
$set
(
this
.
servicead_arr
[
1
],
"
type
"
,
""
);
this
.
$set
(
this
.
servicead_arr
[
1
],
"
info
"
,
"
无请求参数
"
);
this
.
$set
(
this
.
servicead_arr
[
1
],
"
info
"
,
"
无请求参数
"
);
}
}
this
.
req_code_arr
=
data
.
req_fields_example
||
data
.
req_query_example
||
""
;
// 请求示例
this
.
req_code_arr
=
data
.
req_fields_example
||
data
.
req_query_example
||
""
;
// 请求示例
if
(
!
this
.
req_code_arr
)
{
if
(
!
this
.
req_code_arr
)
{
this
.
$set
(
this
.
servicead_arr
[
2
],
"
type
"
,
""
);
this
.
$set
(
this
.
servicead_arr
[
2
],
"
type
"
,
""
);
this
.
$set
(
this
.
servicead_arr
[
2
],
"
info
"
,
"
无请求示例
"
);
this
.
$set
(
this
.
servicead_arr
[
2
],
"
info
"
,
"
无请求示例
"
);
}
}
this
.
$set
(
this
.
servicead_arr
[
3
],
"
info
"
,
data
.
encode_method
);
// 编码格式
this
.
$set
(
this
.
servicead_arr
[
3
],
"
info
"
,
data
.
encode_method
);
// 编码格式
this
.
res_data
=
JSON
.
parse
(
data
.
res_fields
||
"
[]
"
);
// 响应参数
this
.
res_data
=
JSON
.
parse
(
data
.
res_fields
||
"
[]
"
);
// 响应参数
...
...
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