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
11e0d32c
Commit
11e0d32c
authored
Aug 11, 2020
by
徐一鸣
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
注册的服务详情
parent
f598819c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
11 deletions
+13
-11
src/pages/workbench/fwgl/serviceDetail.vue
src/pages/workbench/fwgl/serviceDetail.vue
+13
-11
No files found.
src/pages/workbench/fwgl/serviceDetail.vue
View file @
11e0d32c
...
@@ -230,19 +230,19 @@ export default {
...
@@ -230,19 +230,19 @@ export default {
prop
:
"
name
"
,
prop
:
"
name
"
,
label
:
"
字段编码
"
,
label
:
"
字段编码
"
,
align
:
"
left
"
,
align
:
"
left
"
,
width
:
2
40
width
:
2
00
,
},
},
{
{
prop
:
"
label
"
,
prop
:
"
label
"
,
label
:
"
字段名称
"
,
label
:
"
字段名称
"
,
align
:
"
center
"
,
align
:
"
center
"
,
width
:
200
width
:
200
,
},
},
{
{
prop
:
"
show_type
"
,
prop
:
"
show_type
"
,
label
:
"
字段类型
"
,
label
:
"
字段类型
"
,
align
:
"
center
"
,
align
:
"
center
"
,
width
:
240
width
:
240
,
},
},
{
{
prop
:
"
descript
"
,
prop
:
"
descript
"
,
...
@@ -253,7 +253,7 @@ export default {
...
@@ -253,7 +253,7 @@ export default {
prop
:
"
is_must
"
,
prop
:
"
is_must
"
,
label
:
"
是否必须
"
,
label
:
"
是否必须
"
,
align
:
"
center
"
,
align
:
"
center
"
,
width
:
240
width
:
240
,
},
},
],
// 请求参数-header
],
// 请求参数-header
req_data
:
[],
// 请求参数
req_data
:
[],
// 请求参数
...
@@ -263,21 +263,21 @@ export default {
...
@@ -263,21 +263,21 @@ export default {
prop
:
"
name
"
,
prop
:
"
name
"
,
label
:
"
字段编码
"
,
label
:
"
字段编码
"
,
align
:
"
left
"
,
align
:
"
left
"
,
width
:
2
40
width
:
2
00
,
},
},
{
{
prop
:
"
label
"
,
prop
:
"
label
"
,
label
:
"
字段名称
"
,
label
:
"
字段名称
"
,
minWidth
:
"
20%
"
,
minWidth
:
"
20%
"
,
align
:
"
center
"
,
align
:
"
center
"
,
width
:
200
width
:
200
,
},
},
{
{
prop
:
"
show_type
"
,
prop
:
"
show_type
"
,
label
:
"
字段类型
"
,
label
:
"
字段类型
"
,
width
:
"
100px
"
,
width
:
"
100px
"
,
align
:
"
center
"
,
align
:
"
center
"
,
width
:
240
width
:
240
,
},
},
{
{
prop
:
"
descript
"
,
prop
:
"
descript
"
,
...
@@ -290,7 +290,7 @@ export default {
...
@@ -290,7 +290,7 @@ export default {
label
:
"
字段示例数值
"
,
label
:
"
字段示例数值
"
,
width
:
"
120px
"
,
width
:
"
120px
"
,
align
:
"
center
"
,
align
:
"
center
"
,
width
:
240
width
:
240
,
},
},
],
// 响应参数-header
],
// 响应参数-header
res_data
:
[],
// 响应参数
res_data
:
[],
// 响应参数
...
@@ -683,16 +683,18 @@ export default {
...
@@ -683,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