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
84f46115
Commit
84f46115
authored
Jun 16, 2020
by
徐一鸣
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
服务超市服务详情修复
parent
09055732
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
20 deletions
+20
-20
src/components/service-tabs/service-tab-comments.vue
src/components/service-tabs/service-tab-comments.vue
+18
-18
src/pages/service_shop/sjfwDetail.vue
src/pages/service_shop/sjfwDetail.vue
+2
-2
No files found.
src/components/service-tabs/service-tab-comments.vue
View file @
84f46115
...
...
@@ -33,10 +33,10 @@ export default {
type
:
String
,
required
:
true
,
},
is_app_detail
:{
is_app_detail
:
{
type
:
Boolean
,
default
:
false
,
}
}
,
},
data
:
()
=>
({
commentsTtotal
:
0
,
...
...
@@ -79,30 +79,30 @@ export default {
this
.
init
();
},
init
()
{
if
(
this
.
is_app_detail
)
{
if
(
this
.
is_app_detail
)
{
var
temp
=
{
params
:
{
page
:
this
.
currentPage
,
limit
:
this
.
pageSize
,
},
}
}
else
{
params
:
{
page
:
this
.
currentPage
,
limit
:
this
.
pageSize
,
},
};
}
else
{
var
temp
=
{
params
:
{
page
:
this
.
currentPage
,
size
:
this
.
pageSize
,
},
}
params
:
{
page
:
this
.
currentPage
,
size
:
this
.
pageSize
,
},
};
}
this
.
$http
.
get
(
this
.
url
,
temp
)
.
then
(({
data
})
=>
{
if
(
this
.
is_app_detail
)
{
if
(
this
.
is_app_detail
)
{
this
.
commentsTtotal
=
data
.
data
.
overview
.
total
;
this
.
commentsList
=
data
.
data
.
list
;
}
else
{
this
.
commentsList
=
data
.
data
.
list
||
[]
;
}
else
{
this
.
commentsTtotal
=
data
.
total
;
this
.
commentsList
=
data
.
data
;
this
.
commentsList
=
data
.
data
||
[]
;
}
})
.
catch
(
function
(
error
)
{
...
...
src/pages/service_shop/sjfwDetail.vue
View file @
84f46115
...
...
@@ -111,7 +111,7 @@ export default {
name
:
"
请求参数
"
,
type
:
"
table
"
,
value
:
{
datas
:
JSON
.
parse
(
datas
.
req_fields
)
,
datas
:
(
datas
.
req_fields
&&
JSON
.
parse
(
datas
.
req_fields
))
||
[]
,
columns
:
[
{
prop
:
"
name
"
,
...
...
@@ -154,7 +154,7 @@ export default {
name
:
"
响应参数
"
,
type
:
"
table
"
,
value
:
{
datas
:
JSON
.
parse
(
datas
.
res_fields
)
,
datas
:
(
datas
.
res_fields
&&
JSON
.
parse
(
datas
.
res_fields
))
||
[]
,
columns
:
[
{
prop
:
"
name
"
,
...
...
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