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
e5c66a2e
You need to sign in or sign up before continuing.
Commit
e5c66a2e
authored
Aug 03, 2021
by
徐一鸣
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed bug#2665
parent
783ccf38
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
42 additions
and
46 deletions
+42
-46
src/pages/data-analysis/my-service.vue
src/pages/data-analysis/my-service.vue
+5
-25
src/pages/data-analysis/org-service.vue
src/pages/data-analysis/org-service.vue
+9
-3
src/pages/data-analysis/super-service.vue
src/pages/data-analysis/super-service.vue
+28
-18
No files found.
src/pages/data-analysis/my-service.vue
View file @
e5c66a2e
...
...
@@ -478,31 +478,11 @@ export default {
},
],
// 服务状态统计
starlistData
:
[
{
star
:
5
,
count
:
0
,
unit
:
"
个
"
,
},
{
star
:
4
,
count
:
0
,
unit
:
"
个
"
,
},
{
star
:
3
,
count
:
0
,
unit
:
"
个
"
,
},
{
star
:
2
,
count
:
0
,
unit
:
"
个
"
,
},
{
star
:
1
,
count
:
0
,
unit
:
"
个
"
,
},
{
star
:
5
,
count
:
0
,
unit
:
"
个
"
},
{
star
:
4
,
count
:
0
,
unit
:
"
个
"
},
{
star
:
3
,
count
:
0
,
unit
:
"
个
"
},
{
star
:
2
,
count
:
0
,
unit
:
"
个
"
},
{
star
:
1
,
count
:
0
,
unit
:
"
个
"
},
],
// 服务评分
starlistTotal
:
0
,
hotSearchHeader
:
[],
// 热门搜索 表头
...
...
src/pages/data-analysis/org-service.vue
View file @
e5c66a2e
...
...
@@ -497,8 +497,14 @@ export default {
toplistTargetValue
:
40
,
// 服务调用排名分析 目标值
commentlistData
:
[],
// 服务评价
linelistData
:
[],
// 服务状态统计
starlistData
:
[],
// 服务评分
starlistTotal
:
15
,
starlistData
:
[
{
star
:
5
,
count
:
0
,
unit
:
"
个
"
},
{
star
:
4
,
count
:
0
,
unit
:
"
个
"
},
{
star
:
3
,
count
:
0
,
unit
:
"
个
"
},
{
star
:
2
,
count
:
0
,
unit
:
"
个
"
},
{
star
:
1
,
count
:
0
,
unit
:
"
个
"
},
],
// 服务评分
starlistTotal
:
0
,
hotSearchHeader
:
[],
// 热门搜索 表头
hotSearchData
:
[],
// 热门搜索 数据
graph_arr
:
{
...
...
src/pages/data-analysis/super-service.vue
View file @
e5c66a2e
...
...
@@ -495,8 +495,14 @@ export default {
toplistTargetValue
:
40
,
// 服务调用排名分析 目标值
commentlistData
:
[],
// 服务评价
linelistData
:
[],
// 服务状态统计
starlistData
:
[],
// 服务评分
starlistTotal
:
15
,
starlistData
:
[
{
star
:
5
,
count
:
0
,
unit
:
"
个
"
},
{
star
:
4
,
count
:
0
,
unit
:
"
个
"
},
{
star
:
3
,
count
:
0
,
unit
:
"
个
"
},
{
star
:
2
,
count
:
0
,
unit
:
"
个
"
},
{
star
:
1
,
count
:
0
,
unit
:
"
个
"
},
],
// 评分
starlistTotal
:
10
,
hotSearchHeader
:
[],
// 热门搜索 表头
hotSearchData
:
[],
// 热门搜索 数据
graph_arr
:
{
...
...
@@ -715,26 +721,30 @@ export default {
})
.
then
((
response
)
=>
{
if
(
response
.
data
.
success
==
1
)
{
let
_data
=
response
.
data
.
data
;
if
(
this
.
right_3_state
==
0
)
{
let
data
=
response
.
data
.
data
||
[];
this
.
commentlistData
=
data
.
concat
(
this
.
commentlistData
);
_data
=
_data
||
[];
this
.
commentlistData
=
_data
.
concat
(
this
.
commentlistData
);
if
(
this
.
commentlistData
&&
this
.
commentlistData
.
length
!=
0
)
{
this
.
last_id
=
this
.
commentlistData
[
0
].
last_id
;
}
}
else
{
let
data
=
response
.
data
.
data
;
this
.
starlistData
[
0
].
count
=
data
.
score5
;
this
.
starlistData
[
1
].
count
=
data
.
score4
;
this
.
starlistData
[
2
].
count
=
data
.
score3
;
this
.
starlistData
[
3
].
count
=
data
.
score2
;
this
.
starlistData
[
4
].
count
=
data
.
score1
;
if
(
_data
)
{
this
.
starlistData
[
0
].
count
=
_
data
.
score5
;
this
.
starlistData
[
1
].
count
=
_
data
.
score4
;
this
.
starlistData
[
2
].
count
=
_
data
.
score3
;
this
.
starlistData
[
3
].
count
=
_
data
.
score2
;
this
.
starlistData
[
4
].
count
=
_
data
.
score1
;
this
.
starlistTotal
=
data
.
score5
+
data
.
score4
+
data
.
score3
+
data
.
score2
+
data
.
score1
;
console
.
log
(
this
.
starlistData
,
this
.
starlistTotal
);
_
data
.
score5
+
_
data
.
score4
+
_
data
.
score3
+
_
data
.
score2
+
_
data
.
score1
;
}
}
}
});
...
...
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