Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
sh-ds
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
李良停
sh-ds
Commits
af96a222
Commit
af96a222
authored
Jan 29, 2021
by
曹雷
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
统计页面调整
parent
ae27cc4f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
8 deletions
+11
-8
statistics.html
...center-agent/src/main/resources/templates/statistics.html
+11
-8
No files found.
eden-authcenter-agent/src/main/resources/templates/statistics.html
View file @
af96a222
...
...
@@ -486,14 +486,17 @@
success
:
function
(
result
)
{
_this
.
nums
=
result
.
data
.
all_auth
;
_this
.
numsJcjy
=
result
.
data
.
cas_edu_auth
;
_this
.
numsIdpList
=
result
.
data
.
area_auth
;
var
legend
=
[],
data
=
[];
for
(
var
i
=
0
;
i
<
result
.
data
.
area_auth
.
length
;
i
++
)
{
var
element
=
result
.
data
.
area_auth
[
i
];
legend
.
push
(
element
.
name
);
data
.
push
({
value
:
element
.
count
,
name
:
element
.
name
})
}
_this
.
numsIdpList
=
data
.
filter
(
element
=>
{
return
element
.
value
>
0
});
_this
.
numsQp
=
esult
.
data
.
qp_auth
;
_this
.
numsSy
=
esult
.
data
.
operator_auth
;
// _this.numsIdpList = result.data.area_auth;
// var legend = [], data = [];
// for (var i = 0; i
<
result
.
data
.
area_auth
.
length
;
i
++
)
{
// var element = result.data.area_auth[i];
// legend.push(element.name);
// data.push({ value: element.count, name: element.name })
// }
// _this.numsIdpList = data.filter(element => { return element.value > 0 });
// optionNums.series[0].data = data
// myChartNums.setOption(optionNums);
},
...
...
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