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
6c63343e
Commit
6c63343e
authored
May 15, 2020
by
yangshuxing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
成绩审核
parent
c8709f7c
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
495 additions
and
2 deletions
+495
-2
CmptScoreRuleController.java
...bridge/jadp/plugins/cmpt/web/CmptScoreRuleController.java
+1
-1
ScoreReviewController.java
...dlbridge/jadp/plugins/cmpt/web/ScoreReviewController.java
+33
-0
score_review.jsp
src/main/webapp/WEB-INF/views/cmpt/score_review.jsp
+411
-0
menu.jsp
src/main/webapp/WEB-INF/views/common/menu.jsp
+7
-1
bigger.png
src/main/webapp/static/images/bigger.png
+0
-0
close-red.png
src/main/webapp/static/images/close-red.png
+0
-0
next.png
src/main/webapp/static/images/next.png
+0
-0
prev.png
src/main/webapp/static/images/prev.png
+0
-0
score_review.js
src/main/webapp/static/js/score_review.js
+43
-0
No files found.
src/main/java/com/dlbridge/jadp/plugins/cmpt/web/CmptScoreRuleController.java
View file @
6c63343e
...
...
@@ -103,7 +103,7 @@ public class CmptScoreRuleController {
/**
* 根据赛事Id获取赛事规则是单条还是多条
* @param
cmptId
* @param
* @return
*/
@ResponseBody
...
...
src/main/java/com/dlbridge/jadp/plugins/cmpt/web/ScoreReviewController.java
0 → 100644
View file @
6c63343e
package
com
.
dlbridge
.
jadp
.
plugins
.
cmpt
.
web
;
import
com.dlbridge.jadp.common.interceptor.PageView
;
import
com.dlbridge.jadp.plugins.cmpt.dao.model.Cmpt
;
import
com.dlbridge.jadp.plugins.cmpt.service.CmptService
;
import
lombok.extern.log4j.Log4j2
;
import
org.springframework.stereotype.Controller
;
import
org.springframework.web.bind.annotation.PathVariable
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.servlet.ModelAndView
;
import
springfox.documentation.annotations.ApiIgnore
;
import
javax.annotation.Resource
;
@Controller
@Log4j2
@RequestMapping
(
"gk/review/"
)
@ApiIgnore
public
class
ScoreReviewController
{
@Resource
private
CmptService
cmptService
;
@RequestMapping
(
"index/{cmptId}"
)
@PageView
public
ModelAndView
index
(
@PathVariable
(
"cmptId"
)
Integer
cmptId
,
ModelAndView
mv
)
{
Cmpt
cmpt
=
cmptService
.
queryCmptBycmptId
(
cmptId
);
mv
.
setViewName
(
"cmpt/score_review"
);
mv
.
addObject
(
"cmpt"
,
cmpt
);
return
mv
;
}
}
src/main/webapp/WEB-INF/views/cmpt/score_review.jsp
0 → 100644
View file @
6c63343e
This diff is collapsed.
Click to expand it.
src/main/webapp/WEB-INF/views/common/menu.jsp
View file @
6c63343e
...
...
@@ -160,13 +160,19 @@
<span
class=
"menu-txt"
>
扫码打卡
</span>
</a>
</li>
<li
class=
"review menu-item"
>
<a
href=
"/gk/review/index/${cmpt.cmptId}?uId=${uId}&cId=${cId}×tamp=${timestamp}&sign=${sign}"
>
<span
class=
"menuico left-arrow"
></span>
<span
class=
"menu-txt"
>
成绩审核
</span>
</a>
</li>
</ul>
</ul>
</nav>
<script>
var
classes
=
[
'cmptSetting'
,
'nameList'
,
'manual'
,
'contact'
,
'route'
,
'road'
,
'equip'
,
'photo'
,
'news'
,
'banner'
,
'score'
,
'auto'
,
'scan'
];
'banner'
,
'score'
,
'auto'
,
'scan'
,
'review'
];
let
url
=
document
.
location
.
href
;
var
done
=
false
;
for
(
var
i
in
classes
)
{
...
...
src/main/webapp/static/images/bigger.png
0 → 100644
View file @
6c63343e
1.08 KB
src/main/webapp/static/images/close-red.png
0 → 100644
View file @
6c63343e
2.3 KB
src/main/webapp/static/images/next.png
0 → 100644
View file @
6c63343e
828 Bytes
src/main/webapp/static/images/prev.png
0 → 100644
View file @
6c63343e
812 Bytes
src/main/webapp/static/js/score_review.js
0 → 100644
View file @
6c63343e
var
score
=
new
Vue
({
el
:
'#score'
,
data
:
{
checked
:
false
,
reviewStatus
:
0
,
// 0待审核 1审核通过 -1审核不通过
pass
:
false
,
noPass
:
false
,
previewImg
:
''
,
dialog
:
false
,
count
:
1000
,
roads
:
[{
roadId
:
12
,
roadName
:
'test'
}]
},
methods
:{
closeDialog
:
function
(){
score
.
$data
.
dialog
=
false
;
},
preview
:
function
(
event
)
{
score
.
$data
.
dialog
=
true
;
score
.
$data
.
previewImg
=
event
.
target
.
src
},
changeStatus
:
function
(
event
)
{
score
.
$data
.
reviewStatus
=
event
;
},
checkAll
:
function
()
{
score
.
$data
.
checked
=
!
score
.
$data
.
checked
}
}
})
$
(
document
).
ready
(
function
()
{
$
(
'body'
).
on
(
'click'
,
'.status'
,
function
()
{
var
checked
=
$
(
this
).
hasClass
(
'checked'
);
var
status
=
!
checked
?
1
:
0
;
if
(
checked
)
{
$
(
this
).
removeClass
(
"checked"
);
$
(
this
).
addClass
(
"unchecked"
);
$
(
this
).
find
(
'.txt'
).
text
(
'未启动'
)
}
else
{
$
(
this
).
removeClass
(
"unchecked"
);
$
(
this
).
addClass
(
"checked"
);
$
(
this
).
find
(
'.txt'
).
text
(
'启动'
)
}
})
});
\ No newline at end of file
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