Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gk
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
micro_app
gk
Commits
f585f48f
Commit
f585f48f
authored
Jul 26, 2024
by
daniel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(statistic): 成绩统计模块的cdn引入报错问题
parent
9c25c602
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
7 deletions
+12
-7
statistic.jsp
src/main/webapp/WEB-INF/views/cmpt/statistic.jsp
+12
-7
No files found.
src/main/webapp/WEB-INF/views/cmpt/statistic.jsp
View file @
f585f48f
...
...
@@ -15,7 +15,8 @@
<!-- Google fonts - Poppins -->
<link
rel=
"stylesheet"
href=
"${ctxStatic}/newdermon/css/font-css.css"
>
<!-- theme stylesheet-->
<link
rel=
"stylesheet"
href=
"${ctxStatic}/newdermon/css/style.default.css?v=
<%=
System
.
currentTimeMillis
()
%>
"
id=
"theme-stylesheet"
>
<link
rel=
"stylesheet"
href=
"${ctxStatic}/newdermon/css/style.default.css?v=
<%=
System
.
currentTimeMillis
()
%>
"
id=
"theme-stylesheet"
>
<!-- Custom stylesheet - for your changes-->
<link
rel=
"stylesheet"
href=
"${ctxStatic}/newdermon/css/custom.css?v=
<%=
System
.
currentTimeMillis
()
%>
"
>
<link
rel=
"stylesheet"
href=
"${ctxStatic}/newdermon/css/juery-ui-1.12.css"
>
...
...
@@ -30,7 +31,10 @@
<link
rel=
"stylesheet"
href=
"${ctxStatic}/cmpt/road-new.css"
/>
<script
src=
"${ctxStatic}/My97DatePicker/WdatePicker.js"
type=
"text/javascript"
></script>
<script
src=
"${ctxStatic}/newdermon/vendor/jquery/jquery.min.js"
></script>
<script
src=
"https://cdn.highcharts.com.cn/highcharts/8.0.4/highcharts.js"
></script>
<%--已无法访问--%>
<%--<script src="https://cdn.highcharts.com.cn/highcharts/8.0.4/highcharts.js"></script>--%>
<%--新版--%>
<script
src=
"https://code.highcharts.com/8.0.4/highcharts.js"
></script>
<script
type=
"text/javascript"
charset=
"utf-8"
src=
"${ctxStatic}/layer/layer.js"
></script>
<link
rel=
"stylesheet"
href=
"${ctxStatic}/layer/skin/layer.css"
>
<link
rel=
"stylesheet"
href=
"/static/cmpt/score.css?
<%=
System
.
currentTimeMillis
()
%>
"
>
...
...
@@ -52,17 +56,18 @@
</body>
<script>
getCharts
();
function
getCharts
()
{
$
.
ajax
({
url
:
'/geexekscore/api/v1/cmpt-score-rule-scoreinfo/scoreStatistic?cmptId='
+
getCId
(),
success
:
function
(
data
)
{
url
:
'/geexekscore/api/v1/cmpt-score-rule-scoreinfo/scoreStatistic?cmptId='
+
getCId
(),
success
:
function
(
data
)
{
var
roads
=
data
.
data
;
var
roadNames
=
[];
var
enrollCount
=
[];
var
timerCount
=
[];
var
statistic
=
new
Array
(
roadNames
.
length
);
$
.
each
(
roads
,
function
(
i
,
e
)
{
roadNames
.
push
(
"<strong>"
+
e
.
name
+
"</strong><br>报名人数:"
+
Number
(
e
.
enrollCount
));
$
.
each
(
roads
,
function
(
i
,
e
)
{
roadNames
.
push
(
"<strong>"
+
e
.
name
+
"</strong><br>报名人数:"
+
Number
(
e
.
enrollCount
));
timerCount
.
push
(
Number
(
e
.
timerCount
));
enrollCount
.
push
(
Number
(
e
.
enrollCount
));
})
...
...
@@ -91,7 +96,7 @@
})
}
function
drawChart
(
roads
,
series
)
{
function
drawChart
(
roads
,
series
)
{
var
chart
=
Highcharts
.
chart
(
'container'
,
{
chart
:
{
type
:
'column'
...
...
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