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
d5476d07
Commit
d5476d07
authored
Jun 11, 2021
by
丁伟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1、报名系统2.0版本修改
parent
cbe5f3b8
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
431 additions
and
65 deletions
+431
-65
src/main/java/org/ccpit/business/registerManage/IndexController.java
+11
-0
src/main/java/org/ccpit/business/registerManage/RegisterController.java
+2
-2
src/main/java/org/ccpit/business/registerManage/RegisterService.java
+1
-1
src/main/resources/framework-dev.properties
+24
-0
src/main/resources/framework.properties
+6
-6
src/main/webapp/WEB-INF/jsp/business/registerInfoListPage.jsp
+21
-3
src/main/webapp/WEB-INF/jsp/front/info.jsp
+48
-28
src/main/webapp/WEB-INF/jsp/home.jsp
+27
-17
src/main/webapp/resource/business/registration.js
+9
-4
src/main/webapp/resource/front/css/animate.min.css
+0
-0
src/main/webapp/resource/front/css/style.css
+25
-3
src/main/webapp/resource/front/css/syalert.min.css
+123
-0
src/main/webapp/resource/front/js/info.js
+83
-1
src/main/webapp/resource/front/js/syalert.min.js
+51
-0
No files found.
src/main/java/org/ccpit/business/registerManage/IndexController.java
View file @
d5476d07
...
...
@@ -151,6 +151,16 @@ public class IndexController extends BaseController {
SubjectInfo
sub_info
=
new
SubjectInfo
();
sub_info
.
setId
(
registerInfo
.
getId
());
sub_info
.
setSubject
(
registerInfo
.
getSubject
());
sub_info
.
setRegisterStatus
(
registerInfo
.
getRegisterStatus
());
sub_info
.
setInvoiceTitle
(
registerInfo
.
getInvoiceTitle
());
sub_info
.
setInvoiceInfo
(
registerInfo
.
getInvoiceInfo
());
sub_info
.
setTaxpayerNum
(
registerInfo
.
getTaxpayerNum
());
sub_info
.
setAddressName
(
registerInfo
.
getAddressName
());
sub_info
.
setTelephone
(
registerInfo
.
getTelephone
());
sub_info
.
setBankAccount
(
registerInfo
.
getBankAccount
());
sub_info
.
setBankAddress
(
registerInfo
.
getBankAddress
());
sub_info
.
setTaxIssue
(
registerInfo
.
getTaxIssue
());
sub_info
.
setAppreciationTaxType
(
registerInfo
.
getAppreciationTaxType
());
subjectInfos
.
add
(
sub_info
);
List
<
Metadata
>
status
=
metadataService
.
getMetadatasByType2
(
"status"
);
List
<
Metadata
>
status2
=
metadataService
.
getMetadatasByType2
(
"status2"
);
...
...
@@ -270,6 +280,7 @@ public class IndexController extends BaseController {
registerInfo
.
setRegisterStatus
(
0
);
registerInfo
.
setRegType
(
true
);
registerInfo
.
setPhase
(
phase
);
registerInfo
.
setInvoiceInfo
(
"发票内容为相应考试的考试费"
);
try
{
String
pwd
=
PasswordHash
.
createHash
(
registerInfo
.
getPassword
());
registerInfo
.
setPassword
(
pwd
);
...
...
src/main/java/org/ccpit/business/registerManage/RegisterController.java
View file @
d5476d07
...
...
@@ -189,9 +189,9 @@ public class RegisterController extends BaseController {
pageRequest
.
setOrderBy
(
"submitTime desc "
);
StringBuffer
hql
=
new
StringBuffer
(
sb
.
toString
());
Page
<
RegisterInfo
>
infoPage
=
registerService
.
queryRegisterInfos
(
pageRequest
,
hql
.
toString
());
List
<
RegisterInfo
>
reg_infos
=
registerService
.
query
(
subject
,
phase
,
name
,
status
);
//
List<RegisterInfo> reg_infos = registerService.query(subject,phase,name,status);
// infoPage.getRows().addAll(reg_infos);
infoPage
.
setTotal
(
infoPage
.
getTotal
()+
reg_infos
.
size
());
//
infoPage.setTotal(infoPage.getTotal()+reg_infos.size());
return
infoPage
;
}
...
...
src/main/java/org/ccpit/business/registerManage/RegisterService.java
View file @
d5476d07
...
...
@@ -141,7 +141,7 @@ public class RegisterService {
sb
.
append
(
" and subject = "
+
subject
);
}
if
(
phase
!=
null
&&
phase
!=
0
)
{
sb
.
append
(
" and phaseId =
'"
+
phase
+
"'"
);
sb
.
append
(
" and phaseId =
"
+
phase
);
}
if
(
StringUtils
.
isNotBlank
(
name
)){
sb
.
append
(
" and name like '%"
+
name
+
"%'"
);
...
...
src/main/resources/framework-dev.properties
0 → 100644
View file @
d5476d07
# jdbc.X
jdbc.driverClassName
=
com.mysql.jdbc.Driver
# 生产环境 docker 环境下一定要注意 将localhost 换成mysql
#jdbc.url=jdbc:mysql://mysql:3306/registration?createDatabaseIfNotExist=true&characterEncoding=utf-8
#jdbc.user=root
#jdbc.pass=root
# 开发环境
jdbc.url
=
jdbc:mysql://localhost:3306/registration?createDatabaseIfNotExist=true&characterEncoding=utf-8
jdbc.user
=
ccpit
jdbc.pass
=
ccpit1516
# hibernate.X
hibernate.dialect
=
org.hibernate.dialect.MySQL5Dialect
hibernate.show_sql
=
false
hibernate.hbm2ddl.auto
=
update
#email
email.name
=
passwordcdcs@ccpit.org
email.password
=
Ccoic2088
email.smtp
=
smtp.exmail.qq.com
system.uploadFilePath
=
/data/vhosts/upload.peixunbaoming.ccpit.org
system.downloadFilePath
=
/data/vhosts/upload.peixunbaoming.ccpit.org
src/main/resources/framework.properties
View file @
d5476d07
# jdbc.X
jdbc.driverClassName
=
com.mysql.jdbc.Driver
# 生产环境 docker 环境下一定要注意 将localhost 换成mysql
#
jdbc.url=jdbc:mysql://mysql:3306/registration?createDatabaseIfNotExist=true&characterEncoding=utf-8
#
jdbc.user=root
#
jdbc.pass=root
jdbc.url
=
jdbc:mysql://mysql:3306/registration?createDatabaseIfNotExist=true&characterEncoding=utf-8
jdbc.user
=
root
jdbc.pass
=
root
# 开发环境
jdbc.url
=
jdbc:mysql://localhost:3306/registration?createDatabaseIfNotExist=true&characterEncoding=utf-8
jdbc.user
=
ccpit
jdbc.pass
=
ccpit1516
#
jdbc.url=jdbc:mysql://localhost:3306/registration?createDatabaseIfNotExist=true&characterEncoding=utf-8
#
jdbc.user=ccpit
#
jdbc.pass=ccpit1516
# hibernate.X
hibernate.dialect
=
org.hibernate.dialect.MySQL5Dialect
...
...
src/main/webapp/WEB-INF/jsp/business/registerInfoListPage.jsp
View file @
d5476d07
...
...
@@ -350,7 +350,16 @@
<div
class=
"ele-select"
>
<input
type=
"checkbox"
checked=
"checked"
>
</div>
<div
class=
"ele-name"
val=
"name_en"
>
NAME
</div>
<div
class=
"ele-name"
val=
"name_en"
>
Family NAME
</div>
<div
class=
"ele"
>
<a
class=
"up"
>
↑
</a><a
class=
"down"
>
↓
</a>
</div>
</div>
<div
class=
"block"
>
<div
class=
"ele-select"
>
<input
type=
"checkbox"
checked=
"checked"
>
</div>
<div
class=
"ele-name"
val=
"name_en_last"
>
Given NAME
</div>
<div
class=
"ele"
>
<a
class=
"up"
>
↑
</a><a
class=
"down"
>
↓
</a>
</div>
...
...
@@ -585,7 +594,16 @@
<td
align=
"left"
>
<input
id=
"dcNumberId"
name=
'dcNumber'
class=
"easyui-textbox"
/>
</td>
</tr>
</tr>
<tr>
<td
align=
"right"
><span>
发票开具时间:
</span></td>
<td
align=
"left"
>
<select
id=
"taxIssue_id"
name=
"taxIssue"
class=
"easyui-combobox"
>
<option
value=
"1"
>
款项到账当年开具
</option>
<option
value=
"2"
>
款项到账次年开具
</option>
</select>
</td>
</tr>
<tr>
<td
align=
"right"
><span>
缴费时间:
</span></td>
<td
align=
"left"
>
...
...
@@ -786,7 +804,7 @@
<tr>
<td
align=
"right"
><span>
发票开具时间:
</span></td>
<td
align=
"left"
>
<select
id=
"taxIssue_
i
d"
name=
"taxIssue"
class=
"easyui-combobox"
>
<select
id=
"taxIssue_
I
d"
name=
"taxIssue"
class=
"easyui-combobox"
>
<option
value=
"1"
>
款项到账当年开具
</option>
<option
value=
"2"
>
款项到账次年开具
</option>
</select>
...
...
src/main/webapp/WEB-INF/jsp/front/info.jsp
View file @
d5476d07
...
...
@@ -20,10 +20,13 @@
<meta
http-equiv=
"Content-Type"
content=
"text/html; charset=utf-8"
/>
<title>
注册信息
</title>
<link
href=
"/resource/front/css/style.css"
rel=
"stylesheet"
type=
"text/css"
/>
<link
href=
"/resource/front/css/animate.min.css"
rel=
"stylesheet"
type=
"text/css"
/>
<link
href=
"/resource/front/css/syalert.min.css"
rel=
"stylesheet"
type=
"text/css"
/>
<script
src=
"/resource/home/js/jquery-1.8.1.min.js"
></script>
<script
src=
"/resource/home/js/ajaxfileupload.js"
></script>
<script
src=
"/resource/front/js/photoUpload.js"
></script>
<script
src=
"/resource/front/js/info.js"
></script>
<script
src=
"/resource/front/js/syalert.min.js"
></script>
</head>
<div
class=
"wrapper"
>
<div
id=
"top"
><IMG
src=
"/resource/front/img/banner.png"
width=
1024
height=
204
></div>
...
...
@@ -89,18 +92,39 @@
<td
class=
"name"
width=
"25%"
style=
"font-weight: bold;font-size: 15px"
>
已报名科目:
</td>
<td
colspan=
"2"
>
<c:forEach
items=
"${subjectInfos}"
var=
"sub_info"
>
<c:forEach
items=
"${subject}"
var=
"sub"
>
<font
style=
"font-size: 17px;font-weight: bold"
>
<c:if
test=
"${sub_info.subject == sub.dataNameId}"
>
${sub.dataName}
 
</c:if></font>
</c:forEach>
(
<c:forEach
items=
"${status}"
var=
"s"
>
<c:if
test=
"${sub_info.registerStatus == s.dataNameId}"
>
${s.dataName}
</c:if>
</c:forEach>
)
<br>
<table
width=
"100%"
>
<tbody>
<tr>
<td
width=
"35%"
>
<c:forEach
items=
"${subject}"
var=
"sub"
>
<font
style=
"font-size: 17px;font-weight: bold"
>
<c:if
test=
"${sub_info.subject == sub.dataNameId}"
>
${sub.dataName}
 
</c:if></font>
</c:forEach>
</td>
<td
width=
"45%"
>
(当前状态:
<c:forEach
items=
"${status}"
var=
"s"
>
<c:if
test=
"${sub_info.registerStatus == s.dataNameId}"
>
${s.dataName}
</c:if>
</c:forEach>
 
<a
href=
"javascript:void(0);"
onclick=
"lookInvoice('${sub_info.invoiceTitle}',
'${sub_info.taxpayerNum}','${sub_info.addressName}','${sub_info.telephone}','${sub_info.bankAddress}',
'${sub_info.bankAccount}','${sub_info.taxIssue}','${sub_info.invoiceInfo}','${sub_info.appreciationTaxType}','${sub_info.subject}')"
>
查看发票信息
</a>
)
</td>
</tr>
</tbody>
</table>
</c:forEach>
</td>
</tr>
</c:if>
<div
class=
"sy-alert sy-alert-alert animated"
sy-enter=
"zoomIn"
sy-leave=
"zoomOut"
sy-type=
"alert"
sy-mask=
"true"
id=
"alert2"
>
<div
class=
"sy-title"
></div>
<div
class=
"invoiceWin"
></div>
<div
class=
"sy-btn"
>
<button
onClick=
"ok('alert2')"
>
确定
</button>
</div>
</div>
<c:if
test=
"${!registerInfo.regType}"
>
<tr
name=
"trEmial"
>
<td
class=
"name"
width=
"25%"
>
报名科目:
</td>
...
...
@@ -120,14 +144,14 @@
</tr>
</c:if>
<c:if
test=
"${registerInfo.regType}"
>
<tr
id=
""
name=
"trEmial"
>
<td
class=
"name"
width=
"25%"
>
报名状态:
</td
>
<td
style=
"font-size:16px;color:red;font-weight:bold"
>
<c:forEach
items=
"${status}"
var=
"s"
>
<c:if
test=
"${registerInfo.registerStatus == s.dataNameId}"
>
${s.dataName}
</c:if
>
</c:forEach
>
</td
>
</tr
>
<
%
--
<
tr
id=
""
name=
"trEmial"
>
--%
>
<
%
--
<
td
class=
"name"
width=
"25%"
>
报名状态:
</td>
--%
>
<
%
--
<
td
style=
"font-size:16px;color:red;font-weight:bold"
>
--%
>
<
%
--
<
c:forEach
items=
"${status}"
var=
"s"
>
--%
>
<
%
--
<
c:if
test=
"${registerInfo.registerStatus == s.dataNameId}"
>
${s.dataName}
</c:if>
--%
>
<
%
--
</
c:forEach
>
--%
>
<
%
--
</
td
>
--%
>
<
%
--
</
tr
>
--%
>
<c:if
test=
"${not empty registerInfo.dcNumber}"
>
<tr
id=
""
name=
"trEmial"
>
<td
class=
"name"
width=
"25%"
>
LIBF NUMBER:
</td>
...
...
@@ -194,45 +218,45 @@
<td>
${registerInfo.telphone}
</td>
</tr>
<tr>
<tr
style=
"display: none"
>
<td
class=
"name"
>
增值税发票:
</td>
<td>
<c:if
test=
"${registerInfo.appreciationTaxType == 1}"
>
增值税普通发票
</c:if>
<c:if
test=
"${registerInfo.appreciationTaxType == 2}"
>
增值税专用发票
</c:if>
</td>
</tr>
<tr>
<tr
style=
"display: none"
>
<td
class=
"name"
>
发票抬头:
</td>
<td
id=
"invoiceTitle_id"
>
${registerInfo.invoiceTitle}
</td>
</tr>
<tr>
<tr
style=
"display: none"
>
<td
class=
"name"
>
发票内容:
</td>
<td
id=
"invoiceInfo_id"
>
${registerInfo.invoiceInfo}
</td>
</tr>
<tr>
<tr
style=
"display: none"
>
<td
class=
"name"
>
纳税人识别号:
</td>
<td
id=
"taxpayerNum_id"
>
${registerInfo.taxpayerNum}
</td>
</tr>
<c:if
test=
"${registerInfo.appreciationTaxType == 2}"
>
<tr>
<tr
style=
"display: none"
>
<td
class=
"name"
>
公司地址:
</td>
<td
id=
"addressName_id"
>
${registerInfo.addressName}
</td>
</tr>
</c:if>
<c:if
test=
"${registerInfo.appreciationTaxType == 2}"
>
<tr>
<tr
style=
"display: none"
>
<td
class=
"name"
>
公司电话:
</td>
<td
id=
"telephone_id"
>
${registerInfo.telephone}
</td>
</tr>
</c:if>
<c:if
test=
"${registerInfo.appreciationTaxType == 2}"
>
<tr>
<tr
style=
"display: none"
>
<td
class=
"name"
>
开户行:
</td>
<td
id=
"bankAddress_id"
>
${registerInfo.bankAddress}
</td>
</tr>
</c:if>
<c:if
test=
"${registerInfo.appreciationTaxType == 2}"
>
<tr>
<tr
style=
"display: none"
>
<td
class=
"name"
>
银行账号:
</td>
<td
id=
"bankAccount_id"
>
${registerInfo.bankAccount}
</td>
</tr>
...
...
@@ -249,10 +273,6 @@
</tr>
<tr>
<td
class=
"name"
>
CITY SELECT:
</td>
<td>
${registerInfo.city_en}
</td>
</tr>
<tr>
<td
class=
"name"
>
TITLE:
</td>
<td>
${registerInfo.title}
</td>
</tr>
...
...
src/main/webapp/WEB-INF/jsp/home.jsp
View file @
d5476d07
...
...
@@ -40,23 +40,33 @@
<div
region=
"west"
hide=
"true"
split=
"true"
title=
"导航菜单"
style=
"width: 180px;"
id=
"west"
>
<div
id=
"nav"
class=
"easyui-accordion"
fit=
"true"
border=
"false"
>
<!-- 导航内容 -->
<ul
>
<security:url
uri=
"/admin/org/goinOrgListPage"
><li><div><a
ref=
"11"
href=
"#"
rel=
"/admin/org/goinOrgListPage"
><span
class=
"icon icon-sys"
>
</span><span
class=
"nav"
>
机构管理
</span></a></div></li></security:url>
<security:url
uri=
"/admin/user/queryAllUser"
><li><div><a
ref=
"12"
href=
"#"
rel=
"/admin/user/queryAllUser"
><span
class=
"icon icon-users"
>
</span><span
class=
"nav"
>
用户管理
</span></a></div></li></security:url>
<security:url
uri=
"/admin/role/goinRoleListPage"
><li><div><a
ref=
"13"
href=
"#"
rel=
"/admin/role/goinRoleListPage"
><span
class=
"icon icon-role"
>
</span><span
class=
"nav"
>
角色管理
</span></a></div></li></security:url>
<security:url
uri=
"/admin/privilegeManage/goinPriListPage"
><li><div><a
ref=
"14"
href=
"#"
rel=
"/admin/privilegeManage/goinPriListPage"
><span
class=
"icon icon-privilege"
>
</span><span
class=
"nav"
>
权限管理
</span></a></div></li></security:url>
<security:url
uri=
"/admin/privilegeManage/goRolePriListPage"
><li><div><a
ref=
"15"
href=
"#"
rel=
"/admin/privilegeManage/goRolePriListPage"
><span
class=
"icon icon-allotRole"
>
</span><span
class=
"nav"
>
角色权限分配
</span></a></div></li></security:url>
<security:url
uri=
"/admin/metadataManage/goinMetadataListPage"
><li><div><a
ref=
"16"
href=
"#"
rel=
"/admin/metadataManage/goinMetadataListPage"
><span
class=
"icon icon-database"
>
</span><span
class=
"nav"
>
数据字典管理
</span></a></div></li></security:url>
</ul>
<ul>
<security:url
uri=
"/admin/business/registerManage/goinRegisterInfoListPage"
><li><div><a
ref=
"21"
href=
"#"
rel=
"/admin/business/registerManage/goinRegisterInfoListPage"
><span
class=
"icon icon-nav"
>
</span><span
class=
"nav"
>
报名管理
</span></a></div></li></security:url>
<security:url
uri=
"/admin/business/registerManage/goinRegisterInfoExtListPage"
><li><div><a
ref=
"21"
href=
"#"
rel=
"/admin/business/registerManage/goinRegisterInfoExtListPage"
><span
class=
"icon icon-nav"
>
</span><span
class=
"nav"
>
延考恢复管理
</span></a></div></li></security:url>
<security:url
uri=
"/admin/business/phaseManage/page"
><li><div><a
ref=
"21"
href=
"#"
rel=
"/admin/business/phaseManage/page"
><span
class=
"icon icon-nav"
>
</span><span
class=
"nav"
>
报名期数管理
</span></a></div></li></security:url>
</ul>
<ul>
<security:url
uri=
"/admin/logManage/goinLogInfoListPage"
><li><div><a
ref=
"31"
rel=
"/business/EmailManage/goinEmailPage"
><span
class=
"icon icon-log"
>
</span><span
class=
"nav"
>
邮件管理
</span></a></div></li></security:url>
<security:url
uri=
"/admin/logManage/goinLogInfoListPage"
><li><div><a
ref=
"31"
rel=
"/admin/logManage/goinLogInfoListPage"
><span
class=
"icon icon-log"
>
</span><span
class=
"nav"
>
统计日志
</span></a></div></li></security:url>
</ul>
<div
title=
"系统管理"
data-options=
"collapsible:true"
>
<ul
>
<security:url
uri=
"/admin/org/goinOrgListPage"
><li><div><a
ref=
"11"
href=
"#"
rel=
"/admin/org/goinOrgListPage"
><span
class=
"icon icon-sys"
>
</span><span
class=
"nav"
>
机构管理
</span></a></div></li></security:url>
<security:url
uri=
"/admin/user/queryAllUser"
><li><div><a
ref=
"12"
href=
"#"
rel=
"/admin/user/queryAllUser"
><span
class=
"icon icon-users"
>
</span><span
class=
"nav"
>
用户管理
</span></a></div></li></security:url>
<security:url
uri=
"/admin/role/goinRoleListPage"
><li><div><a
ref=
"13"
href=
"#"
rel=
"/admin/role/goinRoleListPage"
><span
class=
"icon icon-role"
>
</span><span
class=
"nav"
>
角色管理
</span></a></div></li></security:url>
<security:url
uri=
"/admin/privilegeManage/goinPriListPage"
><li><div><a
ref=
"14"
href=
"#"
rel=
"/admin/privilegeManage/goinPriListPage"
><span
class=
"icon icon-privilege"
>
</span><span
class=
"nav"
>
权限管理
</span></a></div></li></security:url>
<security:url
uri=
"/admin/privilegeManage/goRolePriListPage"
><li><div><a
ref=
"15"
href=
"#"
rel=
"/admin/privilegeManage/goRolePriListPage"
><span
class=
"icon icon-allotRole"
>
</span><span
class=
"nav"
>
角色权限分配
</span></a></div></li></security:url>
<security:url
uri=
"/admin/metadataManage/goinMetadataListPage"
><li><div><a
ref=
"16"
href=
"#"
rel=
"/admin/metadataManage/goinMetadataListPage"
><span
class=
"icon icon-database"
>
</span><span
class=
"nav"
>
数据字典管理
</span></a></div></li></security:url>
</ul>
</div>
<div
title=
"考试管理"
data-options=
"collapsible:true"
>
<ul>
<security:url
uri=
"/admin/business/registerManage/goinRegisterInfoListPage"
><li><div><a
ref=
"21"
href=
"#"
rel=
"/admin/business/registerManage/goinRegisterInfoListPage"
><span
class=
"icon icon-nav"
>
</span><span
class=
"nav"
>
报名管理
</span></a></div></li></security:url>
<security:url
uri=
"/admin/business/registerManage/goinRegisterInfoExtListPage"
><li><div><a
ref=
"21"
href=
"#"
rel=
"/admin/business/registerManage/goinRegisterInfoExtListPage"
><span
class=
"icon icon-nav"
>
</span><span
class=
"nav"
>
延考恢复管理
</span></a></div></li></security:url>
<security:url
uri=
"/admin/business/phaseManage/page"
><li><div><a
ref=
"21"
href=
"#"
rel=
"/admin/business/phaseManage/page"
><span
class=
"icon icon-nav"
>
</span><span
class=
"nav"
>
报名期数管理
</span></a></div></li></security:url>
</ul>
</div>
<div
title=
"邮件管理"
data-options=
"collapsible:true"
>
<ul>
<security:url
uri=
"/admin/logManage/goinLogInfoListPage"
><li><div><a
ref=
"31"
rel=
"/business/EmailManage/goinEmailPage"
><span
class=
"icon icon-log"
>
</span><span
class=
"nav"
>
邮件管理
</span></a></div></li></security:url>
</ul>
</div>
<div
title=
"日志管理"
data-options=
"collapsible:true"
>
<ul>
<security:url
uri=
"/admin/logManage/goinLogInfoListPage"
><li><div><a
ref=
"31"
rel=
"/admin/logManage/goinLogInfoListPage"
><span
class=
"icon icon-log"
>
</span><span
class=
"nav"
>
统计日志
</span></a></div></li></security:url>
</ul>
</div>
</div>
</div>
<div
id=
"mainPanle"
region=
"center"
style=
"background: #eee; overflow-y: hidden"
>
...
...
src/main/webapp/resource/business/registration.js
View file @
d5476d07
...
...
@@ -40,7 +40,7 @@ Date.prototype.format = function (format) {
$
(
function
()
{
divHeight
=
$
(
"#queryDiv"
).
height
();
dataGridWidth
=
$
(
"#queryDiv"
).
width
();
dataGridHeight
=
divHeight
+
45
;
// dataGridHeight = divHeight
;
bodyWidth
=
document
.
body
.
clientWidth
;
bodyHeight
=
document
.
documentElement
.
clientHeight
;
...
...
@@ -139,7 +139,7 @@ function initExportWindow(){
function
initDataTable
(){
var
h
=
document
.
documentElement
.
clientHeight
;
$
(
"#registersTable"
).
datagrid
({
height
:
h
/
4
,
height
:
(
h
-
divHeight
)
/
3
*
2
-
30
,
nowrap
:
true
,
striped
:
true
,
pagination
:
true
,
...
...
@@ -216,7 +216,7 @@ function initDataTable(){
function
subjectTableById
(
id
){
var
h
=
document
.
documentElement
.
clientHeight
;
$
(
"#subjectTable"
).
datagrid
({
height
:
(
h
-
dataGridHeight
)
/
3
,
height
:
(
h
-
divHeight
)
/
3
+
30
,
nowrap
:
true
,
striped
:
true
,
pagination
:
true
,
...
...
@@ -367,6 +367,10 @@ function initInputWidth(){
panelHeight
:
'auto'
,
textField
:
'text'
});
$
(
"#taxIssue_Id"
).
combobox
({
width
:
fixShortWidth
()
+
4
,
panelHeight
:
'auto'
});
$
(
"#city_enId"
).
combobox
({
url
:
'/admin/metadataManage/getMetadatasList?dataType=encityType'
,
...
...
@@ -914,5 +918,6 @@ function closeWindow2(){
}
//关闭窗口
function
closeWindow3
(){
function
closeWindow3
()
{
$
(
"#subjectWinId"
).
window
(
'close'
);
}
src/main/webapp/resource/front/css/animate.min.css
0 → 100644
View file @
d5476d07
This diff is collapsed.
Click to expand it.
src/main/webapp/resource/front/css/style.css
View file @
d5476d07
...
...
@@ -625,7 +625,7 @@ tables {
BODY
{
font-size
:
12px
;
display
:
}
.text1
{
...
...
@@ -676,4 +676,27 @@ BODY {
.foot
{
height
:
1000px
}
\ No newline at end of file
}
#in_voice
{
width
:
100%
;
}
.invoiceWin
table
td
{
background
:
#eeeeee
;
color
:
#000
;
line-height
:
40px
;
font-size
:
14px
;
}
.td_left
{
width
:
25%
;
text-align
:
right
;
}
.t_right
{
text-align
:
left
;
width
:
75%
;
}
.sy-title
{
text-align
:
center
;
}
src/main/webapp/resource/front/css/syalert.min.css
0 → 100644
View file @
d5476d07
/*
* syalert.css
* Version - 1.0
* Copyright (c) 2019 sy
*/
@charset
"utf-8"
;
.sy-mask
{
width
:
100%
;
height
:
100%
;
position
:
fixed
;
background
:
rgba
(
0
,
0
,
0
,
0.8
);
left
:
0
;
top
:
0
;
z-index
:
1000
}
.sy-alert
{
position
:
fixed
;
display
:
none
;
background
:
#fff
;
border-radius
:
5px
;
overflow
:
hidden
;
width
:
50%
;
max-width
:
90%
;
max-height
:
80%
;
left
:
0
;
right
:
0
;
margin
:
0
auto
;
z-index
:
9999
}
.sy-alert.animated
{
-webkit-animation-duration
:
.3s
;
animation-duration
:
.3s
}
.sy-alert
.sy-title
{
height
:
45px
;
color
:
#333
;
line-height
:
45px
;
font-size
:
15px
;
border-bottom
:
1px
solid
#eee
;
padding
:
0
12px
}
.sy-alert
.sy-content
{
padding
:
20px
;
text-align
:
center
;
font-size
:
14px
;
line-height
:
24px
;
color
:
#666
;
overflow-y
:
auto
}
.sy-alert
.sy-btn
{
height
:
50%
;
border-top
:
1px
solid
#eee
;
overflow
:
hidden
}
.sy-alert
.sy-btn
button
{
float
:
left
;
border
:
0
;
color
:
#333
;
cursor
:
pointer
;
background
:
#fff
;
width
:
50%
;
line-height
:
45px
;
font-size
:
15px
;
text-align
:
center
}
.sy-alert
.sy-btn
button
:nth-child
(
1
)
{
color
:
#888
;
border-right
:
1px
solid
#eee
}
.sy-alert.sy-alert-alert
.sy-btn
button
{
float
:
none
;
width
:
100%
}
.sy-alert.sy-alert-tips
{
text-align
:
center
;
width
:
150px
;
background
:
rgba
(
0
,
0
,
0
,
0.7
)
}
.sy-alert.sy-alert-tips
.sy-content
{
padding
:
8px
;
color
:
#fff
;
font-size
:
14px
}
.sy-alert.sy-alert-model
.sy-content
{
text-align
:
left
}
.sy-alert.sy-alert-model
.sy-content
.form
.input-item
{
margin-bottom
:
12px
;
position
:
relative
}
.sy-alert.sy-alert-model
.sy-content
.form
.input-item
input
{
display
:
block
;
position
:
relative
;
width
:
100%
;
border
:
1px
solid
#eee
;
padding
:
10px
}
.sy-alert.sy-alert-model
.sy-content
.form
.input-item
.getcode
{
border
:
0
;
top
:
0
;
right
:
0
;
position
:
absolute
;
background
:
0
;
line-height
:
37px
;
color
:
#f60
;
width
:
100px
;
text-align
:
center
}
\ No newline at end of file
src/main/webapp/resource/front/js/info.js
View file @
d5476d07
...
...
@@ -108,10 +108,92 @@ $(function () {
});
$
.
get
(
'/training/getObj?obj_id='
+
obj_id
,
function
(
data
)
{
$
(
"#img1"
).
attr
(
'src'
,
data
.
obj
.
img1
);
})
})
;
})
function
lookInvoice
(
invoiceTitle
,
taxpayerNum
,
addressName
,
telephone
,
bankAddress
,
bankAccount
,
taxIssue
,
invoiceInfo
,
appreciationTaxType
,
subject
)
{
var
title
=
'<h3>'
+
changeTitle
(
subject
)
+
'</h3>'
var
html
=
'<table id="in_voice" ><tr><td class="td_left">增值税发票:</td><td class="td_right">'
+
taxType
(
appreciationTaxType
)
+
'</td></tr>'
html
+=
'<tr><td class="td_left" >发票内容:</td><td class="td_right">'
+
invoiceInfo
+
'</td></tr>'
html
+=
'<tr><td class="td_left">发票抬头:</td><td class="td_right">'
+
invoiceTitle
+
'</td></tr>'
html
+=
'<tr><td class="td_left">纳税人识别号:</td><td class="td_right">'
+
taxpayerNum
+
'</td></tr>'
html
+=
'<tr><td class="td_left">公司地址:</td><td class="td_right">'
+
addressName
+
'</td></tr>'
html
+=
'<tr><td class="td_left">公司电话:</td><td class="td_right">'
+
telephone
+
'</td></tr>'
html
+=
'<tr><td class="td_left">开户行:</td><td class="td_right">'
+
bankAddress
+
'</td></tr>'
html
+=
'<tr><td class="td_left">银行账号:</td><td class="td_right">'
+
bankAccount
+
'</td></tr>'
html
+=
'<tr><td class="td_left">发票开具时间:</td><td class="td_right">'
+
ch
(
taxIssue
)
+
'</td></tr></table>'
$
(
".sy-title"
).
append
(
title
);
$
(
".invoiceWin"
).
append
(
html
);
syalert
.
syopen
(
'alert2'
)
}
function
ok
(
id
){
syalert
.
syhide
(
id
);
$
(
".sy-title"
).
empty
();
$
(
".invoiceWin"
).
empty
();
}
function
ch
(
val
){
if
(
val
==
1
){
return
"款项到账当年开具"
;
}
if
(
val
==
2
){
return
"款项到账次年开具"
;
}
}
function
taxType
(
val
){
if
(
val
==
1
){
return
"增值税普通发票"
;
}
if
(
val
==
2
){
return
"增值税专用发票"
;
}
}
function
changeTitle
(
val
){
if
(
val
==
0
){
return
"跟单信用证专家(CDCS)首次报名发票信息"
;
}
if
(
val
==
1
){
return
"保函与备用证专家(CSDG)首次报名发票信息"
;
}
if
(
val
==
2
){
return
"国际贸易金融专家(CITF)首次报名发票信息"
;
}
if
(
val
==
3
){
return
"跟单信用证专家(CDCS)补考报名发票信息"
;
}
if
(
val
==
4
){
return
"保函与备用证专家(CSDG)补考报名发票信息"
;
}
if
(
val
==
5
){
return
"国际贸易金融专家(CITF)补考报名发票信息"
;
}
if
(
val
==
6
){
return
"国际支付专家(CertPAY)首次报名发票信息"
;
}
if
(
val
==
7
){
return
"贸易金融合规专家(CTFC)首次报名发票信息"
;
}
if
(
val
==
8
){
return
"供应链金融专家(CSCF)首次报名发票信息"
;
}
if
(
val
==
9
){
return
"国际支付专家(CertPAY)补考报名发票信息"
;
}
if
(
val
==
10
){
return
"贸易金融合规专家(CTFC)补考报名发票信息"
;
}
if
(
val
==
11
){
return
"供应链金融专家(CSCF)补考报名发票信息"
;
}
}
function
checkRequired
()
{
var
success
=
true
;
$
(
".required"
).
each
(
function
(
n
,
v
)
{
...
...
src/main/webapp/resource/front/js/syalert.min.js
0 → 100644
View file @
d5476d07
/*
* syalert.js
* Version - 1.0
* Copyright (c) 2019 sy
*/
var
syalert
=
function
()
{
return
{
syopen
:
function
(
id
)
{
var
dom
=
$
(
"#"
+
id
);
this
.
sycenter
(
dom
);
var
name
=
dom
.
attr
(
"sy-enter"
);
var
type
=
dom
.
attr
(
"sy-type"
);
var
mask
=
dom
.
attr
(
"sy-mask"
);
dom
.
addClass
(
name
);
dom
.
show
();
var
that
=
this
;
$
(
"body"
).
css
({
"overflow-y"
:
"hidden"
});
if
(
mask
==
"true"
)
{
$
(
"body"
).
append
(
"<div class='sy-mask' onclick=
\"
closeAlert('"
+
id
+
"')
\"
></div>"
);
$
(
".sy-mask"
).
fadeIn
(
300
)
}
setTimeout
(
function
()
{
dom
.
removeClass
(
name
)
},
300
);
if
(
type
==
"tips"
)
{
setTimeout
(
function
()
{
that
.
syhide
(
id
)
},
1500
)
}
},
syhide
:
function
(
id
)
{
if
(
typeof
id
==
"undefined"
)
{
var
dom
=
$
(
".sy-alert"
)
}
else
{
var
dom
=
$
(
"#"
+
id
)
}
var
name
=
dom
.
attr
(
"sy-leave"
);
dom
.
addClass
(
name
);
$
(
".sy-mask"
).
fadeOut
(
300
);
setTimeout
(
function
()
{
dom
.
hide
();
dom
.
removeClass
(
name
);
$
(
".sy-mask"
).
remove
();
$
(
"body"
).
css
({
"overflow-y"
:
"auto"
})
},
300
)
},
sycenter
:
function
(
dom
)
{
var
mgtop
=
parseFloat
(
dom
.
height
()
/
2
);
dom
.
css
({
"top"
:
"50%"
,
"margin-top"
:
"-"
+
mgtop
+
"px"
})
}
}
}();
\ 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