Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
registration
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
13
Issues
13
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
丁伟
registration
Commits
2592d7e4
Commit
2592d7e4
authored
3 years ago
by
丁伟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1、解决部分bug
parent
7768c160
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
37 additions
and
35 deletions
+37
-35
src/main/java/org/ccpit/base/controller/UploadFileController.java
+0
-1
src/main/webapp/WEB-INF/jsp/business/registerInfoListPage.jsp
+1
-7
src/main/webapp/WEB-INF/jsp/front/login.jsp
+1
-1
src/main/webapp/WEB-INF/jsp/front/reg.jsp
+1
-1
src/main/webapp/resource/business/phase.js
+11
-10
src/main/webapp/resource/business/registration.js
+10
-2
src/main/webapp/resource/front/js/photoUpload.js
+2
-2
src/main/webapp/resource/home/css/default.css
+5
-5
src/main/webapp/resource/themes-1.3.1/css/default.css
+5
-5
src/main/webapp/resource/themes/css/default.css
+1
-1
No files found.
src/main/java/org/ccpit/base/controller/UploadFileController.java
View file @
2592d7e4
...
...
@@ -169,7 +169,6 @@ public class UploadFileController extends BaseController {
}
}
catch
(
FileUploadException
e
)
{
e
.
printStackTrace
();
return
"上传文件过大,不要超过1M"
;
}
catch
(
IOException
e
)
{
e
.
printStackTrace
();
}
catch
(
Exception
e
)
{
...
...
This diff is collapsed.
Click to expand it.
src/main/webapp/WEB-INF/jsp/business/registerInfoListPage.jsp
View file @
2592d7e4
...
...
@@ -122,7 +122,7 @@
</table>
<!-- datagrid工具栏 -->
<div
id=
"toolbar"
>
<security:url
uri=
"/admin/business/registerManage/add"
><a
class=
"easyui-linkbutton"
iconCls=
"icon-edit_add"
plain=
"true"
onclick=
"openAddWin()"
><span
>
新增
</span></a></security:url
>
<
%
--
<
security:url
uri=
"/admin/business/registerManage/add"
><a
class=
"easyui-linkbutton"
iconCls=
"icon-edit_add"
plain=
"true"
onclick=
"openAddWin()"
><span
>
新增
</span></a></security:url>
--%
>
<security:url
uri=
"/admin/business/registerManage/update"
><a
class=
"easyui-linkbutton"
iconCls=
"icon-pencil"
plain=
"true"
onclick=
"openEditWin()"
><span
>
修改
</span></a></security:url>
<security:url
uri=
"/admin/business/registerManage/delete"
><a
class=
"easyui-linkbutton"
iconCls=
"icon-remove"
plain=
"true"
onclick=
"deleteNews()"
><span
>
删除
</span></a></security:url>
<security:url
uri=
"/admin/business/registerManage/export"
><a
class=
"easyui-linkbutton"
iconCls=
"icon-export"
plain=
"true"
onclick=
"openExportWin()"
><span
>
导出
</span></a></security:url>
...
...
@@ -813,12 +813,6 @@
<td
align=
"left"
>
<textarea
id=
"remarkId"
name=
"remark"
rows=
"7"
></textarea>
</td>
<td
align=
"right"
><span>
证书照:
</span></td>
<td
align=
"left"
>
<img
id=
"img_1"
class=
"certificatePhoto"
style=
"width:130px;height:100px"
>
<img
id=
"img_2"
class=
"certificatePhoto"
style=
"width:130px;height:100px"
>
<img
id=
"img_3"
class=
"certificatePhoto"
style=
"width:130px;height:100px"
>
</td>
</tr>
<tr>
<td
colspan=
"4"
>
</td>
...
...
This diff is collapsed.
Click to expand it.
src/main/webapp/WEB-INF/jsp/front/login.jsp
View file @
2592d7e4
...
...
@@ -57,7 +57,7 @@
<div
style=
"float:left; width:157px"
>
</div><div
style=
"font-weight:bold;color:red;"
class=
"message"
></div>
</td></tr>
<tr><td></td><td
colspan=
"1"
align=
"left"
><div
>
</div>
<input
type=
"button"
class=
"index_login fl button"
id=
"submit"
name=
btnLogin
onclick=
"javascript:;"
value=
"登
陆
"
/>
<input
type=
"button"
class=
"index_login fl button"
id=
"submit"
name=
btnLogin
onclick=
"javascript:;"
value=
"登
录
"
/>
<input
type=
"button"
onclick=
"javascript:location.href='/training/regp'"
class=
"index_login fl button"
id=
btnReg
name=
btnReg
value=
"注册"
/>
</td></tr>
</table>
...
...
This diff is collapsed.
Click to expand it.
src/main/webapp/WEB-INF/jsp/front/reg.jsp
View file @
2592d7e4
...
...
@@ -20,7 +20,7 @@
<div
class=
"pp"
></div>
<table
width=
"100%"
align=
"center"
border=
"0"
cellspacing=
"0"
cellpadding=
"0"
>
<tr>
<td
background=
"/resource/front/img/borderc_04.gif"
></td
>
<
%
--
<
td
background=
"/resource/front/img/borderc_04.gif"
></td>
--%
>
<td>
<table
width=
"100%"
border=
"0"
cellpadding=
"0"
cellspacing=
"0"
>
<tr>
...
...
This diff is collapsed.
Click to expand it.
src/main/webapp/resource/business/phase.js
View file @
2592d7e4
...
...
@@ -41,8 +41,8 @@ $(function() {
bodyWidth
=
document
.
body
.
clientWidth
;
bodyHeight
=
document
.
documentElement
.
clientHeight
;
addWinWidth
=
(
bodyWidth
/
100
)
*
80
;
addWinHeight
=
(
addWinWidth
/
16
)
*
9
;
addWinWidth
=
(
bodyWidth
/
5
)
*
4
;
addWinHeight
=
addWinWidth
;
$
(
"#addNewsWinId"
).
window
(
'close'
);
$
(
"#exportWindow"
).
window
(
'close'
);
...
...
@@ -101,6 +101,7 @@ function initDataTable(){
striped
:
true
,
pagination
:
true
,
rownumbers
:
true
,
singleSelect
:
true
,
pageList
:
[
15
,
20
,
30
,
40
,
50
],
autoRowHeight
:
false
,
fitColumns
:
true
,
...
...
@@ -181,13 +182,13 @@ function openAddWin(){
$
(
'#newsForm'
)[
0
].
reset
();
operation
=
"add"
;
$
(
"#main_area"
).
height
(
addWinHeight
);
$
(
"#main_area"
).
height
(
addWinHeight
/
8
);
$
(
"#addNewsWinId"
).
window
({
title
:
'新增期数信息'
,
width
:
addWinWidth
/
2
,
height
:
addWinHeight
/
3
,
left
:
(
dataGridWidth
-
addWinWidth
)
/
2
,
top
:
(
bodyHeight
-
addWinHeight
)
/
2
,
height
:
addWinHeight
/
5
,
left
:
(
dataGridWidth
-
addWinWidth
/
2
)
/
2
,
top
:
(
bodyHeight
-
addWinHeight
/
5
)
/
2
,
closable
:
true
,
// 否显示关闭按钮
collapsible
:
false
,
// 是否显示折叠按钮
minimizable
:
false
,
// 是否显示最小化按钮
...
...
@@ -237,14 +238,14 @@ function openEditWin(){
$
(
"#newsForm"
).
form
(
'load'
,
data
);
//$('#eventDateId').datebox('setValue',timestampformat(data.eventDate));
formatDateField
(
"#date1"
,
data
.
time
);
$
(
"#main_area"
).
height
(
(
bodyHeight
/
5
)
*
4
);
$
(
"#main_area"
).
height
(
addWinHeight
/
8
);
});
$
(
"#addNewsWinId"
).
window
({
title
:
'修改报名信息'
,
width
:
addWinWidth
/
2
,
height
:
addWinHeight
/
3
,
left
:
(
dataGridWidth
-
addWinWidth
)
/
2
,
top
:
(
bodyHeight
-
addWinHeight
)
/
2
,
height
:
addWinHeight
/
5
,
left
:
(
dataGridWidth
-
addWinWidth
/
2
)
/
2
,
top
:
(
bodyHeight
-
addWinHeight
/
5
)
/
2
,
closable
:
true
,
// 否显示关闭按钮
collapsible
:
false
,
// 是否显示折叠按钮
minimizable
:
false
,
// 是否显示最小化按钮
...
...
This diff is collapsed.
Click to expand it.
src/main/webapp/resource/business/registration.js
View file @
2592d7e4
...
...
@@ -85,8 +85,15 @@ $(function() {
initInputWidth
();
initExportWindow
();
initShowPhoto
();
$
(
"#showPhotoWinId"
).
window
(
'close'
);
$
(
"#showPhotoWinId"
).
window
({
onBeforeClose
:
function
(){
$
(
"#showPhotoId"
).
attr
(
'src'
,
''
);
}
})
$
(
"#showPhotoWinId"
).
window
(
'close'
);
// $.each(subjectArray,function(n,v){
// var href = "/admin/business/registerManage/exporgExcel2?&phase="+activePhase+"&bigger=1&subject="+n+
// "&fields=submitTime,city,name,gender,birthday,telphone,mobileTel,email,company,address,invoiceTitle,invoiceType,dcNumber,title,dateOfBirth,gender_en,name_en,name_en_last,company_en,address_en,country,phone,email,,city_en,subject";
...
...
@@ -99,6 +106,7 @@ $(function() {
* 初始化查看图片窗口
*/
function
initShowPhoto
(){
$
(
"#showPhotoWinId"
).
window
({
title
:
'查看图片'
,
width
:
addWinWidth
/
1.5
,
...
...
This diff is collapsed.
Click to expand it.
src/main/webapp/resource/front/js/photoUpload.js
View file @
2592d7e4
...
...
@@ -25,11 +25,11 @@ function ajaxFileUpload(target) {
data
=
data
.
substring
(
data
.
indexOf
(
">"
)
+
1
,
data
.
lastIndexOf
(
"<"
));
data
=
eval
(
"("
+
data
+
")"
);
if
(
status
)
{
if
(
null
!=
data
.
fileSavePath
)
{
imagePath
=
data
.
fileSavePath
;
$
(
"img[data-target='"
+
target
+
"']"
).
attr
(
"src"
,
'/base/upload/show?path='
+
imagePath
);
}
else
{
alert
(
"图片
上传失败
,请重新上传!"
);
alert
(
"图片
大小超过1M
,请重新上传!"
);
}
}
},
...
...
This diff is collapsed.
Click to expand it.
src/main/webapp/resource/home/css/default.css
View file @
2592d7e4
*
{
font-size
:
12px
;
font-family
:
Tahoma
,
Verdana
,
ź
,
}
*
{
font-size
:
12px
;
font-family
:
Tahoma
,
Verdana
,
���ź�
,
������
}
body
{
background
:
#D2E0F2
;
}
a
{
color
:
Black
;
text-decoration
:
none
;}
a
:hover
{
color
:
Red
;
text-decoration
:
underline
;}
.textbox03
{
border
:
#878787
1px
solid
;
padding
:
4px
3px
;
font
:
Verdana
,
Geneva
,
sans-serif
,;
line-height
:
14px
;
background-color
:
#fff
;
height
:
auto
;
font-size
:
14px
;
font-weight
:
bold
;
width
:
190px
;
}
.textbox03
{
border
:
#878787
1px
solid
;
padding
:
4px
3px
;
font
:
Verdana
,
Geneva
,
sans-serif
,
����
;
line-height
:
14px
;
background-color
:
#fff
;
height
:
auto
;
font-size
:
14px
;
font-weight
:
bold
;
width
:
190px
;
}
.txt01
{
font
:
Verdana
,
Geneva
,
sans-serif
,;
padding
:
3px
2px
2px
2px
;
border-width
:
1px
;
border-color
:
#ddd
;
color
:
#000
;}
.txt
{
border
:
#878787
1px
solid
;
padding
:
4px
3px
;
font
:
Verdana
,
Geneva
,
sans-serif
,;
line-height
:
14px
;
background-color
:
#fff
;
height
:
auto
;
font-size
:
14px
;}
.txt01
{
font
:
Verdana
,
Geneva
,
sans-serif
,
����
;
padding
:
3px
2px
2px
2px
;
border-width
:
1px
;
border-color
:
#ddd
;
color
:
#000
;}
.txt
{
border
:
#878787
1px
solid
;
padding
:
4px
3px
;
font
:
Verdana
,
Geneva
,
sans-serif
,
����
;
line-height
:
14px
;
background-color
:
#fff
;
height
:
auto
;
font-size
:
14px
;}
.footer
{
text-align
:
center
;
color
:
#15428B
;
margin
:
0px
;
padding
:
0px
;
line-height
:
23px
;
font-weight
:
bold
;}
.head
a
{
color
:
White
;
text-decoration
:
underline
;}
...
...
@@ -40,7 +40,7 @@ a:hover{ color:Red; text-decoration:underline;}
.icon-collapse
{
background
:
url('/images/coll3.gif')
no-repeat
;}
.icon-class
{
background-position
:
-200px
-40px
;
)
}
.icon-page
{
background-position
:
0
-60px
;
)
}
#topHurdleID
{
background
:
url("/
project/resource/home/images/layout-browser-hd-bg.gif")
#7f99be
repeat-x
center
50%
;
overflow
:
hidden
;
height
:
30px
;
line-height
:
20px
;
color
:
#fff
;
font-family
:
Verdana
,
ź
,
}
#topHurdleID
{
background
:
url("/
resource/home/images/layout-browser-hd-bg.gif")
#7f99be
repeat-x
center
50%
;
overflow
:
hidden
;
height
:
30px
;
line-height
:
20px
;
color
:
#fff
;
font-family
:
Verdana
,
���ź�
,
����
}
.button_area_absolute
{
position
:
absolute
;
...
...
This diff is collapsed.
Click to expand it.
src/main/webapp/resource/themes-1.3.1/css/default.css
View file @
2592d7e4
...
...
@@ -2,10 +2,10 @@
body
{
background
:
#D2E0F2
;
margin
:
0
;
height
:
100%
}
a
{
color
:
Black
;
text-decoration
:
none
;}
a
:hover
{
color
:
Red
;
text-decoration
:
underline
;}
.textbox03
{
border
:
#878787
1px
solid
;
padding
:
4px
3px
;
font
:
Verdana
,
Geneva
,
sans-serif
,
宋体
;
line-height
:
14px
;
background-color
:
#fff
;
height
:
auto
;
font-size
:
14px
;
font-weight
:
bold
;
width
:
190px
;
}
.textbox03
{
border
:
#878787
1px
solid
;
padding
:
4px
3px
;
font
:
Verdana
,
Geneva
,
sans-serif
,
����
;
l
ine-height
:
14px
;
background-color
:
#fff
;
height
:
auto
;
font-size
:
14px
;
font-weight
:
bold
;
width
:
190px
;
}
.txt01
{
font
:
Verdana
,
Geneva
,
sans-serif
,
宋体
;
padding
:
3px
2px
2px
2px
;
border-width
:
1px
;
border-color
:
#ddd
;
color
:
#000
;}
.txt
{
border
:
#878787
1px
solid
;
padding
:
4px
3px
;
font
:
Verdana
,
Geneva
,
sans-serif
,
宋体
;
line-height
:
14px
;
background-color
:
#fff
;
height
:
auto
;
font-size
:
14px
;}
.txt01
{
font
:
Verdana
,
Geneva
,
sans-serif
,
����
;
p
adding
:
3px
2px
2px
2px
;
border-width
:
1px
;
border-color
:
#ddd
;
color
:
#000
;}
.txt
{
border
:
#878787
1px
solid
;
padding
:
4px
3px
;
font
:
Verdana
,
Geneva
,
sans-serif
,
����
;
l
ine-height
:
14px
;
background-color
:
#fff
;
height
:
auto
;
font-size
:
14px
;}
.footer
{
text-align
:
center
;
color
:
#15428B
;
margin
:
0px
;
padding
:
0px
;
line-height
:
23px
;
font-weight
:
bold
;}
.head
a
{
color
:
White
;
text-decoration
:
underline
;}
...
...
@@ -21,7 +21,7 @@ a:hover{ color:Red; text-decoration:underline;}
/**
*
左侧像素改变是图片左右移动,右侧像素改变是图像上下移动,每次移动单位是'+'或
'-'20
*
������ظı���ͼƬ�����ƶ����Ҳ����ظı���ͼ�������ƶ���ÿ���ƶ���λ��'+'��'-'20
*/
.icon
{
background
:
url(../../home/images/tabicons.png)
no-repeat
;
width
:
18px
;
line-height
:
18px
;
display
:
inline-block
;}
.icon-sys
{
background-position
:
0px
-200px
;}
...
...
@@ -44,7 +44,7 @@ a:hover{ color:Red; text-decoration:underline;}
.icon-collapse
{
background
:
url('/images/coll3.gif')
no-repeat
;}
.icon-class
{
background-position
:
-200px
-40px
;
)
}
.icon-page
{
background-position
:
0
-60px
;
)
}
#topHurdleID
{
background
:
url("/
project/
resource/home/images/layout-browser-hd-bg.gif")
#7f99be
repeat-x
center
50%
;
overflow
:
hidden
;
height
:
30px
;
line-height
:
20px
;
color
:
#fff
;
font-family
:
Verdana
,
寰蒋闆呴粦
,
榛戜綋
}
#topHurdleID
{
background
:
url("/resource/home/images/layout-browser-hd-bg.gif")
#7f99be
repeat-x
center
50%
;
overflow
:
hidden
;
height
:
30px
;
line-height
:
20px
;
color
:
#fff
;
font-family
:
Verdana
,
微软雅黑
,
黑体
}
.mult-selections
{
...
...
This diff is collapsed.
Click to expand it.
src/main/webapp/resource/themes/css/default.css
View file @
2592d7e4
...
...
@@ -40,4 +40,4 @@ a:hover{ color:Red; text-decoration:underline;}
.icon-collapse
{
background
:
url('/images/coll3.gif')
no-repeat
;}
.icon-class
{
background-position
:
-200px
-40px
;
)
}
.icon-page
{
background-position
:
0
-60px
;
)
}
#topHurdleID
{
background
:
url("/
project/
resource/home/images/layout-browser-hd-bg.gif")
#7f99be
repeat-x
center
50%
;
overflow
:
hidden
;
height
:
30px
;
line-height
:
20px
;
color
:
#fff
;
font-family
:
Verdana
,
微软雅黑
,
黑体
}
#topHurdleID
{
background
:
url("/resource/home/images/layout-browser-hd-bg.gif")
#7f99be
repeat-x
center
50%
;
overflow
:
hidden
;
height
:
30px
;
line-height
:
20px
;
color
:
#fff
;
font-family
:
Verdana
,
微软雅黑
,
黑体
}
This diff is collapsed.
Click to expand it.
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