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
1ee67fa6
Commit
1ee67fa6
authored
Jul 03, 2020
by
yangshuxing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
调整成绩规则,默认排序
parent
e0749ebb
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
4 deletions
+9
-4
cmptSetting.js
src/main/webapp/static/js/cmptSetting.js
+7
-2
score_review.js
src/main/webapp/static/js/score_review.js
+2
-2
No files found.
src/main/webapp/static/js/cmptSetting.js
View file @
1ee67fa6
...
...
@@ -71,10 +71,15 @@ $(function () {
layer
.
alert
(
"要启用此功能,请先在计时管理页面完成名单导入"
);
}
else
if
(
type
==
15
){
layer
.
alert
(
"要启用此功能,请先导入路线,且路线上至少有3个标注点"
);
window
.
location
.
href
=
"/gk/road/index/"
+
getCmptId
()
+
"?"
+
window
.
location
.
search
;
setTimeout
(
function
()
{
window
.
location
.
href
=
"/gk/road/index/"
+
getCmptId
()
+
"?"
+
window
.
location
.
search
;
},
3000
)
}
else
if
(
type
==
16
){
layer
.
alert
(
"要启用此功能,请先导入路线,且路线上至少有3个标注点"
);
window
.
location
.
href
=
"/gk/road/index/"
+
getCmptId
()
+
"?"
+
window
.
location
.
search
;
setTimeout
(
function
()
{
window
.
location
.
href
=
"/gk/road/index/"
+
getCmptId
()
+
"?"
+
window
.
location
.
search
;
},
3000
)
}
}
else
{
if
(
type
==
2
||
type
==
5
)
{
...
...
src/main/webapp/static/js/score_review.js
View file @
1ee67fa6
...
...
@@ -34,9 +34,9 @@ var score = new Vue({
return
value
.
substr
(
5
,
5
)
+
" "
+
value
.
substr
(
11
,
5
);
},
substrYear
:
function
(
value
){
if
(
value
)
return
""
;
if
(
!
value
)
return
""
;
var
date
=
new
Date
(
value
);
return
date
.
getFullYear
()
+
"-"
+
(
date
.
getMonth
()
+
1
)
+
date
.
getDate
()
+
" "
+
date
.
getHours
()
+
":"
+
date
.
getMinutes
()
+
":"
+
date
.
getSeconds
();
return
date
.
getFullYear
()
+
"-"
+
(
date
.
getMonth
()
+
1
)
+
"-"
+
date
.
getDate
()
+
" "
+
date
.
getHours
()
+
":"
+
date
.
getMinutes
()
+
":"
+
date
.
getSeconds
();
},
substrDate
:
function
(
value
,
length
){
if
(
!
value
||
value
.
length
<
18
)
return
""
;
...
...
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