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
eef19127
Commit
eef19127
authored
Jul 23, 2020
by
yangshuxing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改成绩ui、手册删除bug
parent
0d4f54f2
Hide whitespace changes
Inline
Side-by-side
Showing
17 changed files
with
239 additions
and
141 deletions
+239
-141
ManualMapper.xml
...om/dlbridge/jadp/plugins/cmpt/dao/mapper/ManualMapper.xml
+1
-1
ManualController.java
.../com/dlbridge/jadp/plugins/cmpt/web/ManualController.java
+16
-24
cert.jsp
src/main/webapp/WEB-INF/views/cmpt/cert.jsp
+1
-1
cmptManual.jsp
src/main/webapp/WEB-INF/views/cmpt/cmptManual.jsp
+1
-1
contact.jsp
src/main/webapp/WEB-INF/views/cmpt/contact.jsp
+2
-2
news.jsp
src/main/webapp/WEB-INF/views/cmpt/news.jsp
+1
-1
outter-link.jsp
src/main/webapp/WEB-INF/views/cmpt/outter-link.jsp
+8
-0
scan.jsp
src/main/webapp/WEB-INF/views/cmpt/scan.jsp
+1
-1
score.jsp
src/main/webapp/WEB-INF/views/cmpt/score.jsp
+1
-1
score_review.jsp
src/main/webapp/WEB-INF/views/cmpt/score_review.jsp
+15
-12
sure-letter.jsp
src/main/webapp/WEB-INF/views/cmpt/sure-letter.jsp
+4
-0
menu.jsp
src/main/webapp/WEB-INF/views/common/menu.jsp
+69
-22
score_review.css
src/main/webapp/static/cmpt/score_review.css
+37
-12
setting.css
src/main/webapp/static/cmpt/setting.css
+14
-8
cmptManual.js
src/main/webapp/static/js/cmptManual.js
+0
-3
score_review.js
src/main/webapp/static/js/score_review.js
+26
-11
style.default.css
src/main/webapp/static/newdermon/css/style.default.css
+42
-41
No files found.
src/main/java/com/dlbridge/jadp/plugins/cmpt/dao/mapper/ManualMapper.xml
View file @
eef19127
...
@@ -81,7 +81,7 @@
...
@@ -81,7 +81,7 @@
<update
id=
"delete"
>
<update
id=
"delete"
>
UPDATE gk_manual SET
UPDATE gk_manual SET
del_flag = #{
DEL_FLAG_DELETE
}
del_flag = #{
delFlag
}
WHERE id = #{id}
WHERE id = #{id}
</update>
</update>
...
...
src/main/java/com/dlbridge/jadp/plugins/cmpt/web/ManualController.java
View file @
eef19127
package
com
.
dlbridge
.
jadp
.
plugins
.
cmpt
.
web
;
package
com
.
dlbridge
.
jadp
.
plugins
.
cmpt
.
web
;
import
java.util.HashMap
;
import
java.util.List
;
import
java.util.Map
;
import
javax.annotation.Resource
;
import
javax.servlet.http.HttpServletRequest
;
import
com.dlbridge.jadp.common.interceptor.PageView
;
import
com.dlbridge.jadp.common.interceptor.PageView
;
import
com.google.gson.Gson
;
import
com.neusoft.www.utils.web.Result
;
import
lombok.extern.log4j.Log4j2
;
import
org.apache.commons.lang3.StringUtils
;
import
org.springframework.stereotype.Controller
;
import
org.springframework.ui.Model
;
import
org.springframework.web.bind.annotation.*
;
import
com.dlbridge.jadp.plugins.cmpt.dao.model.Cmpt
;
import
com.dlbridge.jadp.plugins.cmpt.dao.model.Cmpt
;
import
com.dlbridge.jadp.plugins.cmpt.dao.model.CmptSetting
;
import
com.dlbridge.jadp.plugins.cmpt.dao.model.Manual
;
import
com.dlbridge.jadp.plugins.cmpt.dao.model.Manual
;
import
com.dlbridge.jadp.plugins.cmpt.service.CmptService
;
import
com.dlbridge.jadp.plugins.cmpt.service.CmptService
;
import
com.dlbridge.jadp.plugins.cmpt.service.CmptSettingService
;
import
com.dlbridge.jadp.plugins.cmpt.service.CmptSettingService
;
import
com.dlbridge.jadp.plugins.cmpt.service.ManualService
;
import
com.dlbridge.jadp.plugins.cmpt.service.ManualService
;
import
com.github.pagehelper.util.StringUtil
;
import
com.github.pagehelper.util.StringUtil
;
import
com.neusoft.www.utils.web.Result
;
import
lombok.extern.log4j.Log4j2
;
import
org.apache.commons.lang3.StringUtils
;
import
org.springframework.stereotype.Controller
;
import
org.springframework.ui.Model
;
import
org.springframework.web.bind.annotation.*
;
import
springfox.documentation.annotations.ApiIgnore
;
import
springfox.documentation.annotations.ApiIgnore
;
import
sun.misc.BASE64Decoder
;
import
sun.misc.BASE64Decoder
;
import
sun.rmi.runtime.Log
;
import
javax.annotation.Resource
;
import
javax.servlet.http.HttpServletRequest
;
import
java.util.HashMap
;
import
java.util.List
;
import
java.util.Map
;
@Log4j2
@Log4j2
@Controller
@Controller
...
@@ -87,11 +81,7 @@ public class ManualController {
...
@@ -87,11 +81,7 @@ public class ManualController {
model
.
addAttribute
(
"cmpt"
,
cmpt
);
model
.
addAttribute
(
"cmpt"
,
cmpt
);
}
}
model
.
addAttribute
(
"manuals"
,
manuals
);
model
.
addAttribute
(
"manuals"
,
manuals
);
for
(
Manual
manual
:
manuals
)
{
log
.
info
(
"manual id: "
+
manual
.
getId
()
+
" CmptId:"
+
manual
.
getCmptId
()
+
" name:"
+
manual
.
getName
()
+
" seq:"
+
manual
.
getSeq
());
}
model
.
addAttribute
(
"cmptId"
,
cmptId
);
model
.
addAttribute
(
"cmptId"
,
cmptId
);
model
.
addAttribute
(
"pagecount"
,
manuals
.
size
());
model
.
addAttribute
(
"pagecount"
,
manuals
.
size
());
...
@@ -196,17 +186,19 @@ public class ManualController {
...
@@ -196,17 +186,19 @@ public class ManualController {
*
*
* @param id
* @param id
*/
*/
@ResponseBody
@RequestMapping
(
value
=
"delManual"
)
@RequestMapping
(
value
=
"delManual"
)
@ResponseBody
public
Map
<
String
,
Object
>
delManual
(
String
id
)
{
public
Map
<
String
,
Object
>
delManual
(
String
id
)
{
Map
<
String
,
Object
>
resultMap
=
new
HashMap
<>();
Map
<
String
,
Object
>
resultMap
=
new
HashMap
<>();
String
result
=
"删除成功"
;
String
result
=
"删除成功"
;
String
code
=
"200"
;
String
code
=
"200"
;
Manual
manual
=
new
Manual
();
Manual
manual
=
new
Manual
();
manual
.
setId
(
id
);
manual
.
setId
(
id
);
manual
.
setDelFlag
(
"1"
);
try
{
try
{
manualService
.
delete
(
manual
);
manualService
.
delete
(
manual
);
}
catch
(
Exception
e
)
{
}
catch
(
Exception
e
)
{
log
.
info
(
e
.
getMessage
(),
e
);
result
=
"删除失败"
;
result
=
"删除失败"
;
code
=
"201"
;
code
=
"201"
;
}
}
...
...
src/main/webapp/WEB-INF/views/cmpt/cert.jsp
View file @
eef19127
...
@@ -22,7 +22,7 @@
...
@@ -22,7 +22,7 @@
<link
rel=
"shortcut icon"
href=
"img/favicon.ico"
>
<link
rel=
"shortcut icon"
href=
"img/favicon.ico"
>
<link
rel=
"stylesheet"
href=
"${ctxStatic}/newdermon/css/custom.css?v=
<%=
System
.
currentTimeMillis
()
%>
"
>
<link
rel=
"stylesheet"
href=
"${ctxStatic}/newdermon/css/custom.css?v=
<%=
System
.
currentTimeMillis
()
%>
"
>
<link
rel=
"stylesheet"
href=
"${ctxStatic}/newdermon/css/main.css?v=
<%=
System
.
currentTimeMillis
()
%>
"
>
<link
rel=
"stylesheet"
href=
"${ctxStatic}/newdermon/css/main.css?v=
<%=
System
.
currentTimeMillis
()
%>
"
>
<link
rel=
"stylesheet"
href=
"${ctxStatic}/cmpt/setting.css"
>
<link
rel=
"stylesheet"
href=
"${ctxStatic}/cmpt/setting.css
?v=
<%=
System
.
currentTimeMillis
()
%>
"
>
<link
rel=
"stylesheet"
href=
"${ctxStatic}/leaflet/css/leaflet.css?v=
<%=
System
.
currentTimeMillis
()
%>
"
/>
<link
rel=
"stylesheet"
href=
"${ctxStatic}/leaflet/css/leaflet.css?v=
<%=
System
.
currentTimeMillis
()
%>
"
/>
<link
rel=
"stylesheet"
href=
"${ctxStatic}/leaflet/css/leaflet_label.css"
/>
<link
rel=
"stylesheet"
href=
"${ctxStatic}/leaflet/css/leaflet_label.css"
/>
<link
rel=
"stylesheet"
href=
"${ctxStatic}/cmpt/road.css?v=
<%=
System
.
currentTimeMillis
()
%>
"
/>
<link
rel=
"stylesheet"
href=
"${ctxStatic}/cmpt/road.css?v=
<%=
System
.
currentTimeMillis
()
%>
"
/>
...
...
src/main/webapp/WEB-INF/views/cmpt/cmptManual.jsp
View file @
eef19127
...
@@ -189,7 +189,7 @@
...
@@ -189,7 +189,7 @@
<script
src=
"${ctxStatic}/newdermon/vendor/jquery.cookie/jquery.cookie.js"
></script>
<script
src=
"${ctxStatic}/newdermon/vendor/jquery.cookie/jquery.cookie.js"
></script>
<script
src=
"${ctxStatic}/newdermon/vendor/jquery-validation/jquery.validate.min.js"
></script>
<script
src=
"${ctxStatic}/newdermon/vendor/jquery-validation/jquery.validate.min.js"
></script>
<script
src=
"${ctxStatic}/newdermon/js/jquery-ui.js"
></script>
<script
src=
"${ctxStatic}/newdermon/js/jquery-ui.js"
></script>
<script
src=
"${ctxStatic}/js/cmptManual.js"
></script>
<script
src=
"${ctxStatic}/js/cmptManual.js
?v=
<%=
System
.
currentTimeMillis
()
%>
"
></script>
<script
src=
"${ctxStatic}/js/qikoo.js"
></script>
<script
src=
"${ctxStatic}/js/qikoo.js"
></script>
<!-- Main File-->
<!-- Main File-->
...
...
src/main/webapp/WEB-INF/views/cmpt/contact.jsp
View file @
eef19127
...
@@ -14,7 +14,7 @@
...
@@ -14,7 +14,7 @@
<!-- Google fonts - Poppins -->
<!-- Google fonts - Poppins -->
<link
rel=
"stylesheet"
href=
"${ctxStatic}/newdermon/css/font-css.css"
>
<link
rel=
"stylesheet"
href=
"${ctxStatic}/newdermon/css/font-css.css"
>
<!-- theme stylesheet-->
<!-- theme stylesheet-->
<link
rel=
"stylesheet"
href=
"${ctxStatic}/newdermon/css/style.default.css"
id=
"theme-stylesheet"
>
<link
rel=
"stylesheet"
href=
"${ctxStatic}/newdermon/css/style.default.css
?v=
<%=
System
.
currentTimeMillis
()
%>
"
id=
"theme-stylesheet"
>
<!-- Custom stylesheet - for your changes-->
<!-- Custom stylesheet - for your changes-->
<link
rel=
"stylesheet"
href=
"${ctxStatic}/newdermon/css/custom.css"
>
<link
rel=
"stylesheet"
href=
"${ctxStatic}/newdermon/css/custom.css"
>
<link
rel=
"stylesheet"
href=
"${ctxStatic}/newdermon/css/juery-ui-1.12.css"
>
<link
rel=
"stylesheet"
href=
"${ctxStatic}/newdermon/css/juery-ui-1.12.css"
>
...
@@ -22,7 +22,7 @@
...
@@ -22,7 +22,7 @@
<link
rel=
"shortcut icon"
href=
"img/favicon.ico"
>
<link
rel=
"shortcut icon"
href=
"img/favicon.ico"
>
<link
rel=
"stylesheet"
href=
"${ctxStatic}/newdermon/css/custom.css"
>
<link
rel=
"stylesheet"
href=
"${ctxStatic}/newdermon/css/custom.css"
>
<link
rel=
"stylesheet"
href=
"${ctxStatic}/newdermon/css/main.css"
>
<link
rel=
"stylesheet"
href=
"${ctxStatic}/newdermon/css/main.css"
>
<link
rel=
"stylesheet"
href=
"${ctxStatic}/cmpt/setting.css"
>
<link
rel=
"stylesheet"
href=
"${ctxStatic}/cmpt/setting.css
?v=
<%=
System
.
currentTimeMillis
()
%>
"
>
<link
rel=
"stylesheet"
href=
"${ctxStatic}/leaflet/css/leaflet.css?v=
<%=
System
.
currentTimeMillis
()
%>
"
/>
<link
rel=
"stylesheet"
href=
"${ctxStatic}/leaflet/css/leaflet.css?v=
<%=
System
.
currentTimeMillis
()
%>
"
/>
<link
rel=
"stylesheet"
href=
"${ctxStatic}/leaflet/css/leaflet_label.css"
/>
<link
rel=
"stylesheet"
href=
"${ctxStatic}/leaflet/css/leaflet_label.css"
/>
...
...
src/main/webapp/WEB-INF/views/cmpt/news.jsp
View file @
eef19127
...
@@ -23,7 +23,7 @@
...
@@ -23,7 +23,7 @@
<link
rel=
"shortcut icon"
href=
"img/favicon.ico"
>
<link
rel=
"shortcut icon"
href=
"img/favicon.ico"
>
<link
rel=
"stylesheet"
href=
"${ctxStatic}/newdermon/css/custom.css?v=
<%=
System
.
currentTimeMillis
()
%>
"
>
<link
rel=
"stylesheet"
href=
"${ctxStatic}/newdermon/css/custom.css?v=
<%=
System
.
currentTimeMillis
()
%>
"
>
<link
rel=
"stylesheet"
href=
"${ctxStatic}/newdermon/css/main.css?v=
<%=
System
.
currentTimeMillis
()
%>
"
>
<link
rel=
"stylesheet"
href=
"${ctxStatic}/newdermon/css/main.css?v=
<%=
System
.
currentTimeMillis
()
%>
"
>
<link
rel=
"stylesheet"
href=
"${ctxStatic}/cmpt/setting.css"
>
<link
rel=
"stylesheet"
href=
"${ctxStatic}/cmpt/setting.css
?v=
<%=
System
.
currentTimeMillis
()
%>
"
>
<link
rel=
"stylesheet"
href=
"${ctxStatic}/leaflet/css/leaflet.css?v=
<%=
System
.
currentTimeMillis
()
%>
"
/>
<link
rel=
"stylesheet"
href=
"${ctxStatic}/leaflet/css/leaflet.css?v=
<%=
System
.
currentTimeMillis
()
%>
"
/>
<link
rel=
"stylesheet"
href=
"${ctxStatic}/leaflet/css/leaflet_label.css"
/>
<link
rel=
"stylesheet"
href=
"${ctxStatic}/leaflet/css/leaflet_label.css"
/>
...
...
src/main/webapp/WEB-INF/views/cmpt/outter-link.jsp
View file @
eef19127
...
@@ -179,6 +179,14 @@
...
@@ -179,6 +179,14 @@
}
}
},
},
save
:
function
()
{
save
:
function
()
{
if
(
customerV
.
$data
.
letter
.
nameWeb
.
length
==
0
){
layer
.
msg
(
"功能名称不能为空!"
,{
icon
:
5
,
duration
:
1500
});
return
;
}
if
(
customerV
.
$data
.
letter
.
appId
.
length
==
0
){
layer
.
msg
(
"AppId不能为空!"
,{
icon
:
5
,
duration
:
1500
});
return
;
}
$
.
ajax
({
$
.
ajax
({
url
:
'/gk/sure-letter/updateName'
,
url
:
'/gk/sure-letter/updateName'
,
data
:
customerV
.
$data
.
letter
,
data
:
customerV
.
$data
.
letter
,
...
...
src/main/webapp/WEB-INF/views/cmpt/scan.jsp
View file @
eef19127
...
@@ -23,7 +23,7 @@
...
@@ -23,7 +23,7 @@
<link
rel=
"shortcut icon"
href=
"img/favicon.ico"
>
<link
rel=
"shortcut icon"
href=
"img/favicon.ico"
>
<link
rel=
"stylesheet"
href=
"${ctxStatic}/newdermon/css/custom.css"
>
<link
rel=
"stylesheet"
href=
"${ctxStatic}/newdermon/css/custom.css"
>
<link
rel=
"stylesheet"
href=
"${ctxStatic}/newdermon/css/main.css"
>
<link
rel=
"stylesheet"
href=
"${ctxStatic}/newdermon/css/main.css"
>
<link
rel=
"stylesheet"
href=
"${ctxStatic}/cmpt/setting.css"
>
<link
rel=
"stylesheet"
href=
"${ctxStatic}/cmpt/setting.css
?v=
<%=
System
.
currentTimeMillis
()
%>
"
>
<link
rel=
"stylesheet"
href=
"${ctxStatic}/leaflet/css/leaflet.css?v=
<%=
System
.
currentTimeMillis
()
%>
"
/>
<link
rel=
"stylesheet"
href=
"${ctxStatic}/leaflet/css/leaflet.css?v=
<%=
System
.
currentTimeMillis
()
%>
"
/>
<link
rel=
"stylesheet"
href=
"${ctxStatic}/leaflet/css/leaflet_label.css"
/>
<link
rel=
"stylesheet"
href=
"${ctxStatic}/leaflet/css/leaflet_label.css"
/>
<link
rel=
"stylesheet"
href=
"${ctxStatic}/cmpt/road.css?v=
<%=
System
.
currentTimeMillis
()
%>
"
/>
<link
rel=
"stylesheet"
href=
"${ctxStatic}/cmpt/road.css?v=
<%=
System
.
currentTimeMillis
()
%>
"
/>
...
...
src/main/webapp/WEB-INF/views/cmpt/score.jsp
View file @
eef19127
...
@@ -23,7 +23,7 @@
...
@@ -23,7 +23,7 @@
<link
rel=
"shortcut icon"
href=
"img/favicon.ico"
>
<link
rel=
"shortcut icon"
href=
"img/favicon.ico"
>
<link
rel=
"stylesheet"
href=
"${ctxStatic}/newdermon/css/custom.css?v=
<%=
System
.
currentTimeMillis
()
%>
"
>
<link
rel=
"stylesheet"
href=
"${ctxStatic}/newdermon/css/custom.css?v=
<%=
System
.
currentTimeMillis
()
%>
"
>
<link
rel=
"stylesheet"
href=
"${ctxStatic}/newdermon/css/main.css?v=
<%=
System
.
currentTimeMillis
()
%>
"
>
<link
rel=
"stylesheet"
href=
"${ctxStatic}/newdermon/css/main.css?v=
<%=
System
.
currentTimeMillis
()
%>
"
>
<link
rel=
"stylesheet"
href=
"${ctxStatic}/cmpt/setting.css"
>
<link
rel=
"stylesheet"
href=
"${ctxStatic}/cmpt/setting.css
?v=
<%=
System
.
currentTimeMillis
()
%>
"
>
<link
rel=
"stylesheet"
href=
"${ctxStatic}/leaflet/css/leaflet.css?v=
<%=
System
.
currentTimeMillis
()
%>
"
/>
<link
rel=
"stylesheet"
href=
"${ctxStatic}/leaflet/css/leaflet.css?v=
<%=
System
.
currentTimeMillis
()
%>
"
/>
<link
rel=
"stylesheet"
href=
"${ctxStatic}/leaflet/css/leaflet_label.css"
/>
<link
rel=
"stylesheet"
href=
"${ctxStatic}/leaflet/css/leaflet_label.css"
/>
<link
rel=
"stylesheet"
href=
"${ctxStatic}/cmpt/road.css?v=
<%=
System
.
currentTimeMillis
()
%>
"
/>
<link
rel=
"stylesheet"
href=
"${ctxStatic}/cmpt/road.css?v=
<%=
System
.
currentTimeMillis
()
%>
"
/>
...
...
src/main/webapp/WEB-INF/views/cmpt/score_review.jsp
View file @
eef19127
...
@@ -23,12 +23,12 @@
...
@@ -23,12 +23,12 @@
<link
rel=
"shortcut icon"
href=
"img/favicon.ico"
>
<link
rel=
"shortcut icon"
href=
"img/favicon.ico"
>
<link
rel=
"stylesheet"
href=
"${ctxStatic}/newdermon/css/custom.css?v=
<%=
System
.
currentTimeMillis
()
%>
"
>
<link
rel=
"stylesheet"
href=
"${ctxStatic}/newdermon/css/custom.css?v=
<%=
System
.
currentTimeMillis
()
%>
"
>
<link
rel=
"stylesheet"
href=
"${ctxStatic}/newdermon/css/main.css?v=
<%=
System
.
currentTimeMillis
()
%>
"
>
<link
rel=
"stylesheet"
href=
"${ctxStatic}/newdermon/css/main.css?v=
<%=
System
.
currentTimeMillis
()
%>
"
>
<link
rel=
"stylesheet"
href=
"${ctxStatic}/cmpt/setting.css"
>
<link
rel=
"stylesheet"
href=
"${ctxStatic}/cmpt/setting.css
?v=
<%=
System
.
currentTimeMillis
()
%>
"
>
<link
rel=
"stylesheet"
href=
"${ctxStatic}/leaflet/css/leaflet.css?v=
<%=
System
.
currentTimeMillis
()
%>
"
/>
<link
rel=
"stylesheet"
href=
"${ctxStatic}/leaflet/css/leaflet.css?v=
<%=
System
.
currentTimeMillis
()
%>
"
/>
<link
rel=
"stylesheet"
href=
"${ctxStatic}/leaflet/css/leaflet_label.css"
/>
<link
rel=
"stylesheet"
href=
"${ctxStatic}/leaflet/css/leaflet_label.css"
/>
<link
rel=
"stylesheet"
href=
"${ctxStatic}/cmpt/road.css?v=
<%=
System
.
currentTimeMillis
()
%>
"
/>
<link
rel=
"stylesheet"
href=
"${ctxStatic}/cmpt/road.css?v=
<%=
System
.
currentTimeMillis
()
%>
"
/>
<link
rel=
"stylesheet"
href=
"${ctxStatic}/cmpt/road-new.css?v=
<%=
System
.
currentTimeMillis
()
%>
"
/>
<link
rel=
"stylesheet"
href=
"${ctxStatic}/cmpt/road-new.css?v=
<%=
System
.
currentTimeMillis
()
%>
"
/>
<link
rel=
"stylesheet"
href=
"${ctxStatic}/cmpt/score_review.css"
/>
<link
rel=
"stylesheet"
href=
"${ctxStatic}/cmpt/score_review.css
?
<%=
System
.
currentTimeMillis
()
%>
"
/>
<script
src=
"${ctxStatic}/My97DatePicker/WdatePicker.js"
type=
"text/javascript"
></script>
<script
src=
"${ctxStatic}/My97DatePicker/WdatePicker.js"
type=
"text/javascript"
></script>
<script
src=
"${ctxStatic}/newdermon/vendor/jquery/jquery.min.js"
></script>
<script
src=
"${ctxStatic}/newdermon/vendor/jquery/jquery.min.js"
></script>
<script
type=
"text/javascript"
charset=
"utf-8"
src=
"${ctxStatic}/layer/layer.js"
></script>
<script
type=
"text/javascript"
charset=
"utf-8"
src=
"${ctxStatic}/layer/layer.js"
></script>
...
@@ -79,7 +79,7 @@
...
@@ -79,7 +79,7 @@
<span
class=
"export-btn"
>
导出名单
</span>
<span
class=
"export-btn"
>
导出名单
</span>
</div>
</div>
<div
class=
"flex"
>
<div
class=
"flex"
style=
"margin: 20px 0px 0px 0px"
>
<div
class=
"flex-vt select-section"
>
<div
class=
"flex-vt select-section"
>
<label>
项目
</label>
<label>
项目
</label>
<div
style=
"position: relative;"
>
<div
style=
"position: relative;"
>
...
@@ -136,7 +136,7 @@
...
@@ -136,7 +136,7 @@
<span>
参赛号码
</span>
<span>
参赛号码
</span>
<span>
上传时间
</span>
<span>
上传时间
</span>
<span>
完成时间
</span>
<span>
完成时间
</span>
<span>
里程
(KM)
</span>
<span>
里程
(KM)
</span>
<span>
用时
</span>
<span>
用时
</span>
<span>
平均配速
</span>
<span>
平均配速
</span>
<span>
操作
</span>
<span>
操作
</span>
...
@@ -168,8 +168,8 @@
...
@@ -168,8 +168,8 @@
<span
v-text=
"score.name"
></span>
<span
v-text=
"score.name"
></span>
<span
v-text=
"score.markNo"
></span>
<span
v-text=
"score.markNo"
></span>
<span>
{{score.insertTime | substr(10)}}
</span>
<span>
{{score.insertTime | substr(10)}}
</span>
<span><input
v-on:click
.
stop=
""
class=
"score-input doneTime"
type=
"text"
<span><input
:scoreId=
"score.cmptScoreRuleScoreinfoId"
v-on:click
.
stop=
""
class=
"score-input doneTime"
type=
"text"
onclick=
"WdatePicker({skin:'whyGreen',dateFmt:'yyyy-MM-dd'})"
onclick=
"WdatePicker({skin:'whyGreen',dateFmt:'yyyy-MM-dd'
,onpicked: calculateDate
})"
:value=
"score.subsectionTime | substrDate(10)"
></span>
:value=
"score.subsectionTime | substrDate(10)"
></span>
<span><input
v-on:click
.
stop=
""
class=
"score-input miles"
type=
"text"
<span><input
v-on:click
.
stop=
""
class=
"score-input miles"
type=
"text"
:value=
"Number(score.subsectionMileage/1000).toFixed(3)"
@
input=
"calculateMile($event,score)"
></span>
:value=
"Number(score.subsectionMileage/1000).toFixed(3)"
@
input=
"calculateMile($event,score)"
></span>
...
@@ -188,7 +188,8 @@
...
@@ -188,7 +188,8 @@
<template
v-if=
"score.save"
>
<template
v-if=
"score.save"
>
<div
class=
"flex score-img"
v-on:click
.
stop=
""
>
<div
class=
"flex score-img"
v-on:click
.
stop=
""
>
<div
class=
"img-item"
v-for=
"item in score.scoreFieldValueList"
>
<div
class=
"img-item"
v-for=
"item in score.scoreFieldValueList"
>
<video
v-if=
"item.fieldType == 2 && (item.scoreFieldValue.indexOf('mp4')> -1 ||item.scoreFieldValue.indexOf('mov') > -1)"
<video
v-if=
"item.fieldType == 2 && (item.scoreFieldValue.indexOf('mp4')> -1 ||
item.scoreFieldValue.toLocaleLowerCase().indexOf('mov') > -1)"
v-on:click=
"preview($event,item)"
name=
"media"
:src=
"item.scoreFieldValue"
type=
"video/mp4"
></video>
v-on:click=
"preview($event,item)"
name=
"media"
:src=
"item.scoreFieldValue"
type=
"video/mp4"
></video>
<img
v-else
v-on:click
.
stop=
""
<img
v-else
v-on:click
.
stop=
""
v-on:click=
"preview($event,item)"
class=
"img"
v-on:click=
"preview($event,item)"
class=
"img"
...
@@ -245,10 +246,12 @@
...
@@ -245,10 +246,12 @@
</div>
</div>
</div>
</div>
<div
id=
"dialog"
v-show=
"dialog"
>
<div
id=
"dialog"
v-show=
"dialog"
style=
"display: none"
>
<div
style=
"position: relative;"
class=
"preview"
>
<div
class=
"dialog-content"
>
<video
v-if=
"previewItem.fieldType==2"
v-bind:src=
"previewItem.previewImg"
controls
name=
"media"
preload=
"none"
></video>
<div
class=
"preview"
>
<img
v-else
width=
"auto"
height=
"100%"
v-bind:src=
"previewItem.previewImg"
alt=
""
>
<video
width=
"100%"
v-if=
"previewItem.fieldType==2"
v-bind:src=
"previewItem.previewImg"
controls
name=
"media"
preload=
"none"
></video>
<img
width=
"100%"
v-else
width=
"auto"
width=
"100%"
v-bind:src=
"previewItem.previewImg"
alt=
""
>
</div>
<span
v-on:click=
"closeDialog"
class=
"iconClose"
></span>
<span
v-on:click=
"closeDialog"
class=
"iconClose"
></span>
</div>
</div>
</div>
</div>
...
@@ -258,7 +261,7 @@
...
@@ -258,7 +261,7 @@
<script
src=
"${ctxStatic}/newdermon/vendor/popper.js/umd/popper.min.js"
></script>
<script
src=
"${ctxStatic}/newdermon/vendor/popper.js/umd/popper.min.js"
></script>
<script
src=
"${ctxStatic}/js/qikoo.js"
></script>
<script
src=
"${ctxStatic}/js/qikoo.js"
></script>
<script
src=
"${ctxStatic}/js/score_review.js"
></script>
<script
src=
"${ctxStatic}/js/score_review.js
?
<%=
System
.
currentTimeMillis
()
%>
"
></script>
</body>
</body>
...
...
src/main/webapp/WEB-INF/views/cmpt/sure-letter.jsp
View file @
eef19127
...
@@ -148,6 +148,10 @@
...
@@ -148,6 +148,10 @@
}
}
},
},
save
:
function
()
{
save
:
function
()
{
if
(
customerV
.
$data
.
letter
.
nameWeb
.
length
==
0
){
layer
.
msg
(
"功能名称不能为空!"
,{
icon
:
5
,
duration
:
1500
});
return
;
}
$
.
ajax
({
$
.
ajax
({
url
:
'/gk/sure-letter/updateName'
,
url
:
'/gk/sure-letter/updateName'
,
data
:
customerV
.
$data
.
letter
,
data
:
customerV
.
$data
.
letter
,
...
...
src/main/webapp/WEB-INF/views/common/menu.jsp
View file @
eef19127
...
@@ -15,12 +15,11 @@
...
@@ -15,12 +15,11 @@
.menu-item.active
{
.menu-item.active
{
color
:
#ce3939
;
color
:
#ce3939
;
opacity
:
0.9
;
opacity
:
0.9
;
box-shadow
:
0px
0px
8px
#ffdcdc
;
border-radius
:
4px
;
}
}
.menu-sub-item.active
{
.menu-sub-item.active
{
border-left
:
#ce3939
;
border-left-width
:
4px
;
border-left-style
:
solid
;
background
:
rgba
(
206
,
57
,
57
,
0.1
);
}
}
.active
span
.menu-txt
{
.active
span
.menu-txt
{
...
@@ -28,21 +27,26 @@
...
@@ -28,21 +27,26 @@
font-weight
:
bold
;
font-weight
:
bold
;
}
}
.menu-hidden
{
display
:
none
;
}
.left-arrow
{
.left-arrow
{
background
:
url(/static/images/left_arrow.png)
no-repeat
;
background
:
url(/static/images/left_arrow.png)
no-repeat
;
width
:
8
px
;
width
:
30
px
;
display
:
none
;
display
:
none
;
height
:
13
px
;
height
:
30
px
;
background-size
:
contain
;
background-size
:
contain
;
position
:
absolute
;
position
:
absolute
;
left
:
62px
;
left
:
26px
;
top
:
20px
;
top
:
10px
;
background-color
:
#ffffff
!
Important
;
z-index
:
99999
;
}
}
.active
.left-arrow
{
.active
.left-arrow
{
display
:
inline-block
;
display
:
inline-block
;
background
:
url(/static/images/left_arrow_select.png)
no-repeat
;
background
:
url(/static/images/left_arrow_select.png)
no-repeat
;
background-size
:
contain
;
background-size
:
25%
;
background-position
:
center
;
}
}
.flex
{
.flex
{
display
:
flex
;
display
:
flex
;
...
@@ -62,7 +66,7 @@
...
@@ -62,7 +66,7 @@
background
:
url(/static/images/manage/iconset_grey.png)
no-repeat
center
;
background
:
url(/static/images/manage/iconset_grey.png)
no-repeat
center
;
background-size
:
50%
;
background-size
:
50%
;
position
:
absolute
;
position
:
absolute
;
left
:
4
5px
;
left
:
2
5px
;
top
:
6px
;
top
:
6px
;
}
}
.active
.icon-xingxiang
{
.active
.icon-xingxiang
{
...
@@ -73,10 +77,10 @@
...
@@ -73,10 +77,10 @@
width
:
32px
;
width
:
32px
;
height
:
32px
;
height
:
32px
;
display
:
inline-block
;
display
:
inline-block
;
background
:
url(
'/static/images/manage/func_white.png'
)
no-repeat
center
;
background
:
url(
/static/images/manage/func_white.png
)
no-repeat
center
;
background-size
:
50%
;
background-size
:
50%
;
position
:
absolute
;
position
:
absolute
;
left
:
4
5px
;
left
:
2
5px
;
top
:
6px
;
top
:
6px
;
}
}
.active
.icon-function
{
.active
.icon-function
{
...
@@ -90,7 +94,7 @@
...
@@ -90,7 +94,7 @@
background
:
url('/static/images/manage/base-setting.png')
no-repeat
center
;
background
:
url('/static/images/manage/base-setting.png')
no-repeat
center
;
background-size
:
50%
;
background-size
:
50%
;
position
:
absolute
;
position
:
absolute
;
left
:
4
5px
;
left
:
2
5px
;
top
:
6px
;
top
:
6px
;
}
}
.menu-sub-item
{
.menu-sub-item
{
...
@@ -111,6 +115,33 @@
...
@@ -111,6 +115,33 @@
font-size
:
16px
;
font-size
:
16px
;
color
:
#999
;
color
:
#999
;
}
}
.menu-sub-item
:first-child::after
{
content
:
""
;
height
:
29px
;
width
:
1px
;
background
:
#ce3939
;
position
:
absolute
;
left
:
43px
;
top
:
20px
;
}
.menu-sub-item
:last-child::after
{
content
:
""
;
height
:
29px
;
width
:
1px
;
background
:
#ce3939
;
position
:
absolute
;
left
:
43px
;
top
:
0px
;
}
.menu-sub-item
::after
{
content
:
""
;
height
:
49px
;
width
:
1px
;
background
:
#ce3939
;
position
:
absolute
;
left
:
43px
;
top
:
0px
;
}
</style>
</style>
<input
type=
"hidden"
value=
"${cmpt.cmptId}"
id=
"cmpt"
>
<input
type=
"hidden"
value=
"${cmpt.cmptId}"
id=
"cmpt"
>
<input
type=
"hidden"
value=
"${uId}"
id=
"uId"
>
<input
type=
"hidden"
value=
"${uId}"
id=
"uId"
>
...
@@ -125,8 +156,8 @@
...
@@ -125,8 +156,8 @@
<span
class=
"menu-txt"
>
形象管理
</span>
<span
class=
"menu-txt"
>
形象管理
</span>
</a>
</a>
</li>
</li>
<ul
style=
"padding: 0px"
>
<ul
style=
"padding: 0px
;margin: 15px 0px;
"
>
<li
class=
"cmptSetting menu-item"
>
<li
id=
"cmptSetting"
class=
"cmptSetting menu-item"
>
<a
href=
"/gk/cmpt/cmptSetting/${cmpt.cmptId}?uId=${uId}&cId=${cId}×tamp=${timestamp}&sign=${sign}"
>
<a
href=
"/gk/cmpt/cmptSetting/${cmpt.cmptId}?uId=${uId}&cId=${cId}×tamp=${timestamp}&sign=${sign}"
>
<span
class=
"icon-function"
></span>
<span
class=
"icon-function"
></span>
<span
class=
"menu-txt"
>
功能管理
</span>
<span
class=
"menu-txt"
>
功能管理
</span>
...
@@ -141,7 +172,7 @@
...
@@ -141,7 +172,7 @@
</a>
</a>
</li>
</li>
<li
class=
"news
menu-item
menu-sub-item "
>
<li
class=
"news menu-sub-item "
>
<a
href=
"/gk/news/index/${cmpt.cmptId}?uId=${uId}&cId=${cId}×tamp=${timestamp}&sign=${sign}"
>
<a
href=
"/gk/news/index/${cmpt.cmptId}?uId=${uId}&cId=${cId}×tamp=${timestamp}&sign=${sign}"
>
<span
class=
"left-arrow"
></span>
<span
class=
"left-arrow"
></span>
<span
class=
"menu-txt"
>
赛事公告
</span>
<span
class=
"menu-txt"
>
赛事公告
</span>
...
@@ -215,15 +246,15 @@
...
@@ -215,15 +246,15 @@
</ul>
</ul>
</li>
</li>
</ul>
</ul>
<ul>
<ul
style=
"padding: 0px 0;"
>
<li
class=
"base menu-item
"
>
<li
id=
"base"
class=
"base menu-item"
style=
"cursor: pointer
"
>
<a
href=
"#"
>
<a>
<span
class=
"icon-base-setting"
></span>
<span
class=
"icon-base-setting"
></span>
<span
class=
"menu-txt"
>
基础设置
</span>
<span
class=
"menu-txt"
>
基础设置
</span>
<span
class=
"arrow"
></span>
<span
class=
"arrow"
></span>
</a>
</a>
</li>
</li>
<ul
style=
"padding: 0px"
>
<ul
style=
"padding: 0px"
>
<li
class=
"road menu-sub-item"
>
<li
class=
"road menu-sub-item"
>
<a
href=
"/gk/road/index/${cmpt.cmptId}?uId=${uId}&cId=${cId}×tamp=${timestamp}&sign=${sign}"
>
<a
href=
"/gk/road/index/${cmpt.cmptId}?uId=${uId}&cId=${cId}×tamp=${timestamp}&sign=${sign}"
>
<span
class=
"left-arrow"
></span>
<span
class=
"left-arrow"
></span>
...
@@ -266,22 +297,38 @@
...
@@ -266,22 +297,38 @@
var
classes
=
[
'cmptSetting'
,
'nameList'
,
'manual'
,
'contact'
,
'manage'
,
var
classes
=
[
'cmptSetting'
,
'nameList'
,
'manual'
,
'contact'
,
'manage'
,
'route'
,
'road'
,
'equip'
,
'photo'
,
'news'
,
'cert'
,
'data'
,
'route'
,
'road'
,
'equip'
,
'photo'
,
'news'
,
'cert'
,
'data'
,
'banner'
,
'score'
,
'auto'
,
'scan'
,
'review'
,
'customer'
,
'rule'
,
'banner'
,
'score'
,
'auto'
,
'scan'
,
'review'
,
'customer'
,
'rule'
,
'outter-link'
,
'sure-letter'
];
'outter-link'
,
'sure-letter'
];
let
url
=
document
.
location
.
href
;
let
url
=
document
.
location
.
href
;
var
done
=
false
;
var
done
=
false
;
for
(
var
i
in
classes
)
{
for
(
var
i
in
classes
)
{
if
(
url
.
indexOf
(
classes
[
i
])
>
-
1
)
{
if
(
url
.
indexOf
(
classes
[
i
])
>
-
1
)
{
document
.
getElementsByClassName
(
classes
[
i
])[
0
].
classList
.
add
(
'active'
);
document
.
getElementsByClassName
(
classes
[
i
])[
0
].
classList
.
add
(
'active'
);
if
(
classes
[
i
]
!=
'cmptSetting'
){
if
(
classes
[
i
]
!=
'cmptSetting'
){
let
classesStr
=
document
.
getElementsByClassName
(
classes
[
i
])[
0
].
parentNode
.
parentNode
.
firstElementChild
.
classList
;
document
.
getElementsByClassName
(
classes
[
i
])[
0
].
parentNode
.
parentNode
.
firstElementChild
.
classList
.
add
(
'active'
);
document
.
getElementsByClassName
(
classes
[
i
])[
0
].
parentNode
.
parentNode
.
firstElementChild
.
classList
.
add
(
'active'
);
if
(
classesStr
.
contains
(
'cmptSetting'
)){
document
.
getElementById
(
'base'
).
nextSibling
.
nextSibling
.
classList
.
add
(
'menu-hidden'
);
}
else
{
document
.
getElementById
(
'cmptSetting'
).
nextSibling
.
nextSibling
.
classList
.
add
(
'menu-hidden'
);
}
}
else
{
document
.
getElementById
(
'cmptSetting'
).
nextSibling
.
nextSibling
.
classList
.
remove
(
'menu-hidden'
);
document
.
getElementById
(
'base'
).
nextSibling
.
nextSibling
.
classList
.
add
(
'menu-hidden'
);
}
}
done
=
true
;
done
=
true
;
break
;
break
;
}
}
}
}
document
.
getElementById
(
'base'
).
addEventListener
(
'click'
,
function
()
{
document
.
getElementById
(
'base'
).
nextSibling
.
nextSibling
.
classList
.
remove
(
'menu-hidden'
);
document
.
getElementById
(
'cmptSetting'
).
nextSibling
.
nextSibling
.
classList
.
add
(
'menu-hidden'
);
});
if
(
!
done
)
{
if
(
!
done
)
{
var
classList
=
document
.
getElementsByClassName
(
'main'
)[
0
].
classList
;
var
classList
=
document
.
getElementsByClassName
(
'main'
)[
0
].
classList
;
classList
.
add
(
'active'
);
classList
.
add
(
'active'
);
document
.
getElementById
(
'base'
).
nextSibling
.
nextSibling
.
classList
.
add
(
'menu-hidden'
);
document
.
getElementById
(
'cmptSetting'
).
nextSibling
.
nextSibling
.
classList
.
add
(
'menu-hidden'
);
}
}
function
getCmptId
()
{
function
getCmptId
()
{
...
...
src/main/webapp/static/cmpt/score_review.css
View file @
eef19127
...
@@ -95,7 +95,7 @@ input[type=checkbox] {
...
@@ -95,7 +95,7 @@ input[type=checkbox] {
border-bottom
:
none
;
border-bottom
:
none
;
}
}
input
.score-input
{
input
.score-input
{
width
:
1
0
0px
;
width
:
1
1
0px
;
height
:
40px
;
height
:
40px
;
background
:
whitesmoke
;
background
:
whitesmoke
;
}
}
...
@@ -126,12 +126,13 @@ input.score-input-bigger{
...
@@ -126,12 +126,13 @@ input.score-input-bigger{
border-right
:
1px
solid
rgba
(
229
,
229
,
229
,
1
);
border-right
:
1px
solid
rgba
(
229
,
229
,
229
,
1
);
}
}
.data-cloumn
{
.data-cloumn
{
padding
:
0px
20px
;
padding
:
0px
0px
;
display
:
flex
;
}
}
.data-cloumn
>
span
,
.score-info
>
span
{
.data-cloumn
>
span
,
.score-info
>
span
{
display
:
inline-block
;
display
:
inline-block
;
width
:
11
0
px
;
width
:
11
7
px
;
height
:
45px
;
height
:
45px
;
line-height
:
45px
;
line-height
:
45px
;
font-size
:
16px
;
font-size
:
16px
;
...
@@ -144,7 +145,7 @@ input.score-input-bigger{
...
@@ -144,7 +145,7 @@ input.score-input-bigger{
.score-item
{
.score-item
{
background
:
rgba
(
250
,
250
,
250
,
1
);
background
:
rgba
(
250
,
250
,
250
,
1
);
border-radius
:
4px
;
border-radius
:
4px
;
padding
:
0px
2
0px
;
padding
:
0px
0px
;
margin-bottom
:
10px
;
margin-bottom
:
10px
;
}
}
.score-info
{
.score-info
{
...
@@ -211,13 +212,22 @@ input.score-input-bigger{
...
@@ -211,13 +212,22 @@ input.score-input-bigger{
border
:
1px
solid
rgba
(
229
,
229
,
229
,
1
);
border
:
1px
solid
rgba
(
229
,
229
,
229
,
1
);
}
}
.preview
{
.preview
{
max-width
:
80
%
;
max-width
:
80
0px
;
height
:
8
0%
;
height
:
10
0%
;
margin
:
auto
;
margin
:
auto
;
position
:
relative
;
position
:
relative
;
padding
:
20px
;
padding
:
20px
;
background
:
white
;
background
:
white
;
z-index
:
9999
;
z-index
:
9999
;
overflow
:
scroll
;
overflow-x
:
hidden
;
width
:
100%
;
text-align
:
center
;
}
.preview
::-webkit-scrollbar
{
width
:
4px
;
height
:
4px
;
background-color
:
#f1f1f1
;
}
}
#dialog
{
#dialog
{
display
:
none
;
display
:
none
;
...
@@ -227,7 +237,22 @@ input.score-input-bigger{
...
@@ -227,7 +237,22 @@ input.score-input-bigger{
position
:
fixed
;
position
:
fixed
;
width
:
100%
;
width
:
100%
;
height
:
100%
;
height
:
100%
;
top
:
0px
;
left
:
0px
;
background
:
rgba
(
0
,
0
,
0
,
0.4
);
z-index
:
99
top
:
0px
;
left
:
0px
;
background
:
rgba
(
0
,
0
,
0
,
0.4
);
z-index
:
99
;
}
.dialog-content
{
position
:
relative
;
justify-content
:
center
;
align-items
:
center
;
display
:
flex
;
width
:
80%
;
height
:
80%
;
top
:
0px
;
left
:
0px
;
max-width
:
800px
;
z-index
:
99
;
}
}
.select
{
.select
{
text-transform
:
none
;
text-transform
:
none
;
...
@@ -297,9 +322,9 @@ input.score-input-bigger{
...
@@ -297,9 +322,9 @@ input.score-input-bigger{
background-image
:
url(/static/images/close-red.png)
;
background-image
:
url(/static/images/close-red.png)
;
background-position
:
center
;
background-position
:
center
;
background-repeat
:
no-repeat
;
background-repeat
:
no-repeat
;
right
:
-1
0
px
;
right
:
-1
7
px
;
z-index
:
100
;
z-index
:
100
000
;
top
:
-1
0
px
;
top
:
-1
5
px
;
border-radius
:
50%
;
border-radius
:
50%
;
background-color
:
white
;
background-color
:
white
;
cursor
:
pointer
;
cursor
:
pointer
;
...
@@ -332,7 +357,7 @@ input.score-input-bigger{
...
@@ -332,7 +357,7 @@ input.score-input-bigger{
}
}
.search-btn-text
{
.search-btn-text
{
display
:
inline-block
;
display
:
inline-block
;
width
:
8
0px
;
width
:
10
0px
;
text-align
:
center
;
text-align
:
center
;
color
:
#333
;
color
:
#333
;
cursor
:
pointer
;
cursor
:
pointer
;
...
@@ -343,7 +368,7 @@ input.score-input-bigger{
...
@@ -343,7 +368,7 @@ input.score-input-bigger{
}
}
.search-ipt
{
.search-ipt
{
border
:
0px
;
border
:
0px
;
width
:
3
4
0px
;
width
:
3
0
0px
;
height
:
46px
;
height
:
46px
;
}
}
.export-btn
{
.export-btn
{
...
...
src/main/webapp/static/cmpt/setting.css
View file @
eef19127
...
@@ -63,6 +63,7 @@ input[type=checkbox]::before {
...
@@ -63,6 +63,7 @@ input[type=checkbox]::before {
.disabled
input
[
type
=
checkbox
]
::before
{
.disabled
input
[
type
=
checkbox
]
::before
{
background-color
:
#d8d8d8
!important
;
background-color
:
#d8d8d8
!important
;
border
:
2px
solid
#d8d8d8
!important
;
}
}
input
[
type
=
checkbox
]
:checked::before
{
input
[
type
=
checkbox
]
:checked::before
{
...
@@ -326,12 +327,13 @@ input[type=checkbox]:checked::before {
...
@@ -326,12 +327,13 @@ input[type=checkbox]:checked::before {
.mod-dialog
{
.mod-dialog
{
background-color
:
#fff
;
background-color
:
#fff
;
border-top
:
none
;
border-top
:
none
;
width
:
5
80px
;
width
:
4
80px
;
height
:
2
5
6px
;
height
:
2
2
6px
;
*
padding-top
:
27px
;
padding-top
:
27px
;
position
:
absolute
;
position
:
absolute
;
z-index
:
1001
;
z-index
:
1001
;
margin-top
:
-20px
;
margin-top
:
-20px
;
border-radius
:
4px
;
}
}
.mod-inputdialog
{
.mod-inputdialog
{
...
@@ -393,7 +395,7 @@ input[type=checkbox]:checked::before {
...
@@ -393,7 +395,7 @@ input[type=checkbox]:checked::before {
.mod-dialog
.dialog-main
{
.mod-dialog
.dialog-main
{
font-size
:
14px
;
font-size
:
14px
;
padding
:
4
5px
;
padding
:
3
5px
;
/*text-align: center;*/
/*text-align: center;*/
}
}
...
@@ -495,25 +497,29 @@ input[type=checkbox]:checked::before {
...
@@ -495,25 +497,29 @@ input[type=checkbox]:checked::before {
.mod-dialog
.dialog-console
.console-btn-confirm
{
.mod-dialog
.dialog-console
.console-btn-confirm
{
background
:
#ce3939
repeat-x
;
background
:
#ce3939
repeat-x
;
width
:
1
46
px
;
width
:
1
20
px
;
height
:
42px
;
height
:
42px
;
color
:
#fff
;
color
:
#fff
;
text-align
:
center
;
text-align
:
center
;
font-size
:
20
px
;
font-size
:
18
px
;
margin-top
:
-6px
;
margin-top
:
-6px
;
line-height
:
42px
;
line-height
:
42px
;
margin-left
:
12px
;
margin-left
:
12px
;
border-radius
:
4px
;
letter-spacing
:
4px
;
}
}
.mod-dialog
.dialog-console
.console-btn-cancel
{
.mod-dialog
.dialog-console
.console-btn-cancel
{
background
:
#949494
repeat-x
;
background
:
#949494
repeat-x
;
width
:
1
4
6px
;
width
:
1
1
6px
;
height
:
42px
;
height
:
42px
;
color
:
#fff
;
color
:
#fff
;
text-align
:
center
;
text-align
:
center
;
font-size
:
20
px
;
font-size
:
18
px
;
margin-top
:
-6px
;
margin-top
:
-6px
;
line-height
:
42px
;
line-height
:
42px
;
border-radius
:
4px
;
letter-spacing
:
4px
;
}
}
.mod-pop
.pop-close
:hover
{
.mod-pop
.pop-close
:hover
{
...
...
src/main/webapp/static/js/cmptManual.js
View file @
eef19127
...
@@ -59,9 +59,6 @@ $(function () {
...
@@ -59,9 +59,6 @@ $(function () {
//确认
//确认
$
.
ajax
({
$
.
ajax
({
url
:
'/gk/cmpt/manual/delManual?id='
+
id
,
/*接口域名地址*/
url
:
'/gk/cmpt/manual/delManual?id='
+
id
,
/*接口域名地址*/
type
:
'post'
,
contentType
:
'application/json'
,
processData
:
false
,
success
:
function
(
res
)
{
success
:
function
(
res
)
{
parent
.
remove
();
parent
.
remove
();
console
.
log
(
res
);
console
.
log
(
res
);
...
...
src/main/webapp/static/js/score_review.js
View file @
eef19127
...
@@ -143,7 +143,7 @@ var score = new Vue({
...
@@ -143,7 +143,7 @@ var score = new Vue({
let
miles
=
parent
.
find
(
'.miles'
).
val
();
let
miles
=
parent
.
find
(
'.miles'
).
val
();
let
duration
=
parent
.
find
(
'.duration'
).
val
();
let
duration
=
parent
.
find
(
'.duration'
).
val
();
let
time
=
Number
(
duration
.
split
(
':'
)[
0
]
*
3600
)
+
Number
(
duration
.
split
(
':'
)[
1
]
+
60
)
+
Number
(
duration
.
split
(
':'
)[
2
]);
let
time
=
Number
(
duration
.
split
(
':'
)[
0
]
*
3600
)
+
Number
(
duration
.
split
(
':'
)[
1
]
*
60
)
+
Number
(
duration
.
split
(
':'
)[
2
]);
let
param
=
{};
let
param
=
{};
param
.
cmptId
=
scoreObj
.
cmptId
;
param
.
cmptId
=
scoreObj
.
cmptId
;
param
.
roadId
=
score
.
$data
.
selectedRoadId
;
param
.
roadId
=
score
.
$data
.
selectedRoadId
;
...
@@ -225,17 +225,21 @@ var score = new Vue({
...
@@ -225,17 +225,21 @@ var score = new Vue({
layer
.
msg
(
"请选择行进行删除!"
,{
icon
:
5
})
layer
.
msg
(
"请选择行进行删除!"
,{
icon
:
5
})
return
;
return
;
}
}
$
.
ajax
({
qikoo
.
dialog
.
confirm
(
'确认要删除?'
,
function
()
{
url
:
baseURL
+
'geexekscore/api/v1/cmpt-score-rule-scoreinfo/deleteScoreInfos'
,
$
.
ajax
({
data
:{
ids
:
delIds
.
join
(
","
)},
url
:
baseURL
+
'geexekscore/api/v1/cmpt-score-rule-scoreinfo/deleteScoreInfos'
,
type
:
'post'
,
data
:{
ids
:
delIds
.
join
(
","
)},
success
:
function
(
data
)
{
type
:
'post'
,
if
(
data
.
code
==
200
){
success
:
function
(
data
)
{
layer
.
msg
(
'删除成功!'
);
if
(
data
.
code
==
200
){
reviewPage
.
reloadPage
();
layer
.
msg
(
'删除成功!'
);
reviewPage
.
reloadPage
();
}
}
}
}
})
})
},
function
()
{
});
}
}
}
}
...
@@ -417,4 +421,15 @@ function calculateDuration() {
...
@@ -417,4 +421,15 @@ function calculateDuration() {
var
min
=
duration
.
split
(
':'
)[
1
]
*
60
;
var
min
=
duration
.
split
(
':'
)[
1
]
*
60
;
var
sec
=
duration
.
split
(
':'
)[
2
];
var
sec
=
duration
.
split
(
':'
)[
2
];
scoreObj
.
subsectionscore
=
Number
(
hour
)
+
Number
(
min
)
+
Number
(
sec
);
scoreObj
.
subsectionscore
=
Number
(
hour
)
+
Number
(
min
)
+
Number
(
sec
);
}
function
calculateDate
()
{
let
date
=
$
(
$dp
.
el
).
val
();
var
scoreId
=
$
(
$dp
.
el
).
attr
(
'scoreId'
);
var
scoreObj
=
score
.
getScoreById
(
scoreId
);
var
dateStr
=
date
+
" 00:00:00"
;
scoreObj
.
subsectionTime
=
dateStr
;
}
function
del
()
{
}
}
\ No newline at end of file
src/main/webapp/static/newdermon/css/style.default.css
View file @
eef19127
...
@@ -470,6 +470,8 @@ nav.side-navbar ul {
...
@@ -470,6 +470,8 @@ nav.side-navbar ul {
nav
.side-navbar
ul
li
{
nav
.side-navbar
ul
li
{
height
:
49px
;
height
:
49px
;
margin
:
auto
;
width
:
200px
;
list-style
:
none
;
list-style
:
none
;
}
}
...
@@ -489,94 +491,94 @@ nav.side-navbar ul li a {
...
@@ -489,94 +491,94 @@ nav.side-navbar ul li a {
}
}
nav
.side-navbar
ul
li
a
:hover
{
nav
.side-navbar
ul
li
a
:hover
{
background
:
rgba
(
196
,
196
,
196
,
0.3
);
/*background: rgba(196, 196, 196, 0.3);*/
color
:
#fff
;
color
:
#fff
;
}
}
nav
.side-navbar
ul
li
li
a
{
nav
.side-navbar
ul
li
li
a
{
padding-left
:
50px
;
padding-left
:
50px
;
background
:
#f6f6f6
;
background
:
#f6f6f6
;
}
}
nav
.side-navbar
ul
li
.menu-sub-item.active
>
a
{
nav
.side-navbar
ul
li
.menu-sub-item.active
>
a
{
color
:
rgba
(
206
,
57
,
57
,
1
);
color
:
rgba
(
206
,
57
,
57
,
1
);
}
}
nav
.side-navbar
ul
li
.active
>
a
:hover
{
nav
.side-navbar
ul
li
.active
>
a
:hover
{
background
:
rgba
(
196
,
196
,
196
,
0.3
);
/*background: rgba(196, 196, 196, 0.3);*/
}
}
nav
.side-navbar
ul
li
li
.active
>
a
{
nav
.side-navbar
ul
li
li
.active
>
a
{
background
:
rgba
(
196
,
196
,
196
,
0.3
);
background
:
rgba
(
196
,
196
,
196
,
0.3
);
}
}
nav
.side-navbar
ul
li
ul
{
nav
.side-navbar
ul
li
ul
{
padding
:
0
;
padding
:
0
;
}
}
nav
.side-navbar.shrinked
{
nav
.side-navbar.shrinked
{
min-width
:
90px
;
min-width
:
90px
;
max-width
:
90px
;
max-width
:
90px
;
text-align
:
center
;
text-align
:
center
;
}
}
nav
.side-navbar.shrinked
span
.heading
{
nav
.side-navbar.shrinked
span
.heading
{
margin
:
0
;
margin
:
0
;
}
}
nav
.side-navbar.shrinked
ul
li
a
{
nav
.side-navbar.shrinked
ul
li
a
{
padding
:
15px
2px
;
padding
:
15px
2px
;
border
:
none
;
border
:
none
;
font-size
:
0.8em
;
font-size
:
0.8em
;
color
:
#aaa
;
color
:
#aaa
;
-webkit-transition
:
color
0.3s
,
background
0.3s
;
-webkit-transition
:
color
0.3s
,
background
0.3s
;
transition
:
color
0.3s
,
background
0.3s
;
transition
:
color
0.3s
,
background
0.3s
;
}
}
nav
.side-navbar.shrinked
ul
li
a
[
data-toggle
=
"collapse"
]
::before
{
nav
.side-navbar.shrinked
ul
li
a
[
data-toggle
=
"collapse"
]
::before
{
content
:
'\f107'
;
content
:
'\f107'
;
-webkit-transform
:
translateX
(
50%
);
-webkit-transform
:
translateX
(
50%
);
transform
:
translateX
(
50%
);
transform
:
translateX
(
50%
);
position
:
absolute
;
position
:
absolute
;
top
:
auto
;
top
:
auto
;
right
:
50%
;
right
:
50%
;
bottom
:
0
;
bottom
:
0
;
left
:
auto
;
left
:
auto
;
}
}
nav
.side-navbar.shrinked
ul
li
a
[
data-toggle
=
"collapse"
][
aria-expanded
=
"true"
]
::before
{
nav
.side-navbar.shrinked
ul
li
a
[
data-toggle
=
"collapse"
][
aria-expanded
=
"true"
]
::before
{
content
:
'\f106'
;
content
:
'\f106'
;
}
}
nav
.side-navbar.shrinked
ul
li
a
:hover
{
nav
.side-navbar.shrinked
ul
li
a
:hover
{
color
:
#fff
;
color
:
#fff
;
border
:
none
;
border
:
none
;
}
}
nav
.side-navbar.shrinked
ul
li
a
:hover
i
{
nav
.side-navbar.shrinked
ul
li
a
:hover
i
{
color
:
#fff
;
color
:
#fff
;
}
}
nav
.side-navbar.shrinked
ul
li
a
i
{
nav
.side-navbar.shrinked
ul
li
a
i
{
margin-right
:
0
;
margin-right
:
0
;
margin-bottom
:
2px
;
margin-bottom
:
2px
;
display
:
block
;
display
:
block
;
font-size
:
1rem
;
font-size
:
1rem
;
color
:
#333
;
color
:
#333
;
-webkit-transition
:
color
0.3s
;
-webkit-transition
:
color
0.3s
;
transition
:
color
0.3s
;
transition
:
color
0.3s
;
}
}
nav
.side-navbar.shrinked
ul
li
.active
>
a
{
nav
.side-navbar.shrinked
ul
li
.active
>
a
{
color
:
#fff
;
color
:
#fff
;
}
}
nav
.side-navbar.shrinked
ul
li
.active
>
a
i
{
nav
.side-navbar.shrinked
ul
li
.active
>
a
i
{
color
:
#fff
;
color
:
#fff
;
}
}
nav
.side-navbar.shrinked
.sidebar-header
.title
{
nav
.side-navbar.shrinked
.sidebar-header
.title
{
display
:
none
;
display
:
none
;
}
}
/* SIDEBAR MEDIAQUERIES ----------------------------------- */
/* SIDEBAR MEDIAQUERIES ----------------------------------- */
...
@@ -2844,7 +2846,6 @@ a {
...
@@ -2844,7 +2846,6 @@ a {
a:focus, a:hover {
a:focus, a:hover {
color: #3b25e6;
color: #3b25e6;
text-decoration: underline;
}
}
h1,
h1,
...
...
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