Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
Y
YX_IDENT_beijing_auxiliary_YD
Project
Project
Details
Activity
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
zhangyusheng
YX_IDENT_beijing_auxiliary_YD
Commits
da1468e1
Commit
da1468e1
authored
Mar 29, 2019
by
liboyang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.统一风格
2.分页
parent
9e970e27
Hide whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
87 additions
and
45 deletions
+87
-45
analysisLog.js
src/main/resources/static/views/analysisLog/analysisLog.js
+9
-5
cardProdPackage.html
...sources/static/views/cardProdPackage/cardProdPackage.html
+8
-2
cardProdPackage.js
...resources/static/views/cardProdPackage/cardProdPackage.js
+10
-6
cardProdUpdate.html
...resources/static/views/cardProdUpdate/cardProdUpdate.html
+3
-1
cardProdUpdate.js
...n/resources/static/views/cardProdUpdate/cardProdUpdate.js
+9
-5
excelAndSearch.js
...n/resources/static/views/excelAndSearch/excelAndSearch.js
+9
-5
packageLog.html
src/main/resources/static/views/packageLog/packageLog.html
+3
-1
packageLog.js
src/main/resources/static/views/packageLog/packageLog.js
+9
-5
tagPrint.html
src/main/resources/static/views/tagPrint/tagPrint.html
+1
-1
tagPrint.js
src/main/resources/static/views/tagPrint/tagPrint.js
+2
-0
taskListPrint.html
src/main/resources/static/views/task/taskListPrint.html
+0
-2
uploadExcelAndSearch.js
...static/views/uploadExcelAndSearch/uploadExcelAndSearch.js
+9
-5
xmlAndSearch.html
...ain/resources/static/views/xmlAndSearch/xmlAndSearch.html
+6
-2
xmlAndSearch.js
src/main/resources/static/views/xmlAndSearch/xmlAndSearch.js
+9
-5
No files found.
src/main/resources/static/views/analysisLog/analysisLog.js
View file @
da1468e1
...
...
@@ -33,17 +33,21 @@ angular.module('AvatarCheck.analysisLog', ['ngRoute', 'AvatarCheck.http', 'tm.pa
};
$scope
.
getAnalyseLog
=
function
(){
$scope
.
paginationConf
.
currentPage
=
0
;
$scope
.
paginationConf
.
itemsPerPage
=
10
;
if
(
$scope
.
paginationConf
.
currentPage
!=
1
){
$scope
.
paginationConf
.
currentPage
=
1
;
$scope
.
paginationConf
.
itemsPerPage
=
10
;
}
else
{
$scope
.
getAnalyseLogPage
();
}
}
$scope
.
getAnalyseLogPage
=
function
(){
HttpService
.
selectAnalyseLogCount
(
$scope
.
oldPackageName
,
$
(
"#datepicker"
).
val
(),
function
(
data
)
{
$scope
.
paginationConf
.
totalItems
=
data
;
console
.
log
(
$scope
.
paginationConf
.
totalItems
)
})
if
(
$scope
.
paginationConf
.
currentPage
==
0
){
$scope
.
paginationConf
.
currentPage
=
1
;
}
//
if($scope.paginationConf.currentPage==0){
//
$scope.paginationConf.currentPage=1;
//
}
HttpService
.
selectAnalyseLog
(
$scope
.
oldPackageName
,
$
(
"#datepicker"
).
val
(),
$scope
.
paginationConf
.
currentPage
,
$scope
.
paginationConf
.
itemsPerPage
,
function
(
data
){
$scope
.
analyseLog
=
data
;
console
.
log
(
$scope
.
analyseLog
)
...
...
src/main/resources/static/views/cardProdPackage/cardProdPackage.html
View file @
da1468e1
...
...
@@ -90,7 +90,14 @@
</div>
</div>
<div
class=
"box box-default"
>
<strong
class=
"box-header with-border"
>
制证信息详情
</strong>
<div
class=
"box-header with-border"
>
<strong
>
制证信息详情
</strong>
(
<span
style=
"color:#0b93d5;"
>
每页显示{{paginationConf.itemsPerPage}}条/共
{{paginationConf.totalItems}}条
</span>
)
<div
class=
"pull-right"
>
<span
style=
"color:#9f191f;"
><span
style=
"margin-right: 15px;"
>
普通证:{{simpleCardCount}}
</span><span
style=
"margin-right: 15px;"
>
邮寄证:{{postCardCount}}
</span><span>
禁用数:{{forbiddenCount}}
</span></span>
</div>
</div>
<div
class=
"box-info"
style=
"padding: 7px; padding-top: 0px;"
>
<div
ng-if=
"packageData.length>0"
>
<table
class=
"table table-bordered table-hover"
>
...
...
@@ -120,7 +127,6 @@
</tr>
</tbody>
</table>
<p
style=
"color:#9f191f;"
><span
style=
"margin-right: 15px;"
>
普通证:{{simpleCardCount}}
</span><span
style=
"margin-right: 15px;"
>
邮寄证:{{postCardCount}}
</span><span>
禁用数:{{forbiddenCount}}
</span></p>
<div
style=
"padding-left: 27%;"
>
<tm-pagination
conf=
"paginationConf"
class=
"ul"
></tm-pagination>
</div>
...
...
src/main/resources/static/views/cardProdPackage/cardProdPackage.js
View file @
da1468e1
...
...
@@ -35,12 +35,16 @@ angular.module('AvatarCheck.cardProdPackage', ['ngRoute', 'AvatarCheck.http', 't
})
$scope
.
paginationConf
=
{
currentPage
:
1
,
itemsPerPage
:
10
,
itemsPerPage
:
10
,
perPageOptions
:
[
10
,
20
,
30
,
40
,
50
]
};
$scope
.
doPackageQuery
=
function
(){
$scope
.
paginationConf
.
currentPage
=
0
;
$scope
.
paginationConf
.
itemsPerPage
=
10
;
if
(
$scope
.
paginationConf
.
currentPage
!=
1
){
$scope
.
paginationConf
.
currentPage
=
1
;
$scope
.
paginationConf
.
itemsPerPage
=
10
;
}
else
{
$scope
.
doPackageQueryPage
();
}
}
$scope
.
doPackageQueryPage
=
function
(){
var
date
=
$
(
"#datepicker"
).
val
();
...
...
@@ -71,9 +75,9 @@ angular.module('AvatarCheck.cardProdPackage', ['ngRoute', 'AvatarCheck.http', 't
if
(
date
==
'{{choseDate}}'
){
date
=
$scope
.
choseDate
}
if
(
$scope
.
paginationConf
.
currentPage
==
0
){
$scope
.
paginationConf
.
currentPage
=
1
}
//
if($scope.paginationConf.currentPage==0){
//
$scope.paginationConf.currentPage=1
//
}
HttpService
.
getPackageData
(
$scope
.
uploadNo
,
$scope
.
idCard
,
$scope
.
oldPackageNo
,
$scope
.
newPackageNo
,
$scope
.
sljg
,
cardType
,
packageType
,
downloadState
,
date
,
$scope
.
paginationConf
.
currentPage
,
$scope
.
paginationConf
.
itemsPerPage
,
function
(
data
)
{
$scope
.
paginationConf
.
totalItems
=
data
.
total
;
...
...
src/main/resources/static/views/cardProdUpdate/cardProdUpdate.html
View file @
da1468e1
...
...
@@ -81,7 +81,9 @@
</div>
<div
class=
"box box-default"
>
<strong
class=
"box-header with-border"
>
制证信息详情
</strong>
<div
class=
"box-header with-border"
><strong>
制证信息详情
</strong>
(
<span
style=
"color:#0b93d5;"
>
每页显示{{paginationConf.itemsPerPage}}条/共
{{paginationConf.totalItems}}条
</span>
)
</div>
<div
class=
"box-info"
style=
"padding: 7px;padding-top: 0px;"
>
<table
class=
"table table-bordered table-hover"
ng-if=
"xmlDatas.length>0"
>
<thead>
...
...
src/main/resources/static/views/cardProdUpdate/cardProdUpdate.js
View file @
da1468e1
...
...
@@ -52,8 +52,12 @@ angular.module('AvatarCheck.cardProdUpdate', ['ngRoute', 'AvatarCheck.http'])
perPageOptions
:
[
10
,
20
,
30
,
40
,
50
]
};
$scope
.
doXmlQuery
=
function
(){
$scope
.
paginationConf
.
currentPage
=
0
;
$scope
.
paginationConf
.
itemsPerPage
=
10
;
if
(
$scope
.
paginationConf
.
currentPage
!=
1
){
$scope
.
paginationConf
.
currentPage
=
1
;
$scope
.
paginationConf
.
itemsPerPage
=
10
;
}
else
{
$scope
.
doXmlQueryPage
();
}
}
$scope
.
doXmlQueryPage
=
function
()
{
var
startDate
=
$
(
"#datepicker1"
).
val
();
...
...
@@ -73,9 +77,9 @@ angular.module('AvatarCheck.cardProdUpdate', ['ngRoute', 'AvatarCheck.http'])
if
(
endDate
==
'{{choseDate}}'
){
endDate
=
$scope
.
choseDate
;
}
if
(
$scope
.
paginationConf
.
currentPage
==
0
){
$scope
.
paginationConf
.
currentPage
=
1
}
//
if($scope.paginationConf.currentPage==0){
//
$scope.paginationConf.currentPage=1
//
}
if
((
startDate
!=
''
&&
endDate
==
''
)
||
(
endDate
!=
''
&&
startDate
==
''
)){
MessageService
.
showAlert
(
"请选择起始日期和结束日期"
)
}
else
{
...
...
src/main/resources/static/views/excelAndSearch/excelAndSearch.js
View file @
da1468e1
...
...
@@ -89,17 +89,21 @@ angular.module('AvatarCheck.excelAndSearch', ['ngRoute', 'AvatarCheck.http', 'tm
perPageOptions
:
[
5
,
10
,
15
,
20
,
25
]
};
$scope
.
getPostPackage
=
function
(){
$scope
.
paginationConf
.
currentPage
=
0
;
$scope
.
paginationConf
.
itemsPerPage
=
10
;
if
(
$scope
.
paginationConf
.
currentPage
!=
1
){
$scope
.
paginationConf
.
currentPage
=
1
;
$scope
.
paginationConf
.
itemsPerPage
=
10
;
}
else
{
$scope
.
getPostPackagePage
();
}
}
$scope
.
getPostPackagePage
=
function
(){
HttpService
.
selectPostPackageCount
(
$scope
.
fileName
,
$scope
.
state
,
$
(
"#datepicker3"
).
val
(),
function
(
data
)
{
$scope
.
paginationConf
.
totalItems
=
data
.
respData
.
string
;
console
.
log
(
$scope
.
paginationConf
.
totalItems
)
})
if
(
$scope
.
paginationConf
.
currentPage
==
0
){
$scope
.
paginationConf
.
currentPage
=
1
;
}
//
if($scope.paginationConf.currentPage==0){
//
$scope.paginationConf.currentPage=1;
//
}
HttpService
.
selectPostPackage
(
$scope
.
fileName
,
$scope
.
state
,
$scope
.
paginationConf
.
currentPage
,
$scope
.
paginationConf
.
itemsPerPage
,
$
(
"#datepicker3"
).
val
(),
function
(
data
){
$scope
.
postPackageData
=
data
.
respData
;
console
.
log
(
$scope
.
postPackageData
)
...
...
src/main/resources/static/views/packageLog/packageLog.html
View file @
da1468e1
...
...
@@ -70,7 +70,9 @@
</div>
</div>
<div
class=
"box box-default"
>
<strong
class=
"box-header with-border"
>
打包信息详情
</strong>
<div
class=
"box-header with-border"
><strong>
打包信息详情
</strong>
(
<span
style=
"color:#0b93d5;"
>
每页显示{{paginationConf.itemsPerPage}}条/共
{{paginationConf.totalItems}}条
</span>
)
</div>
<div
class=
"box-info"
style=
"padding: 7px;padding-top: 0px;"
>
<table
class=
"table table-bordered table-hover postTable"
ng-if=
"packageLogData.length>0"
>
<thead>
...
...
src/main/resources/static/views/packageLog/packageLog.js
View file @
da1468e1
...
...
@@ -35,8 +35,12 @@ angular.module('AvatarCheck.packageLog', ['ngRoute', 'AvatarCheck.http', 'tm.pag
perPageOptions
:
[
10
,
20
,
30
,
40
,
50
]
};
$scope
.
getPackageLog
=
function
(){
$scope
.
paginationConf
.
currentPage
=
0
;
$scope
.
paginationConf
.
itemsPerPage
=
10
;
if
(
$scope
.
paginationConf
.
currentPage
!=
1
){
$scope
.
paginationConf
.
currentPage
=
1
;
$scope
.
paginationConf
.
itemsPerPage
=
10
;
}
else
{
$scope
.
getPackageLogPage
();
}
}
$scope
.
getPackageLogPage
=
function
(){
var
county
=
$
(
"#county"
).
val
();
...
...
@@ -44,9 +48,9 @@ angular.module('AvatarCheck.packageLog', ['ngRoute', 'AvatarCheck.http', 'tm.pag
$scope
.
paginationConf
.
totalItems
=
data
;
console
.
log
(
$scope
.
paginationConf
.
totalItems
,
"$scope.paginationConf.totalItems"
)
})
if
(
$scope
.
paginationConf
.
currentPage
==
0
){
$scope
.
paginationConf
.
currentPage
=
1
}
//
if($scope.paginationConf.currentPage==0){
//
$scope.paginationConf.currentPage=1
//
}
HttpService
.
selectPackageLog
(
$scope
.
newPackageName
,
$scope
.
idCard
,
$
(
'#datepicker'
).
val
(),
county
,
$scope
.
paginationConf
.
currentPage
,
$scope
.
paginationConf
.
itemsPerPage
,
function
(
data
){
$scope
.
packageLogData
=
data
;
console
.
log
(
$scope
.
packageLogData
,
"$scope.packageLogData"
)
...
...
src/main/resources/static/views/tagPrint/tagPrint.html
View file @
da1468e1
...
...
@@ -82,7 +82,7 @@
</tr>
</thead>
<tbody>
<tr
ng-repeat=
"item in json.policeCardsList"
>
<tr
ng-repeat=
"item in json.policeCardsList
| orderBy:'acceptNo'
"
>
<td>
{{$index+1}}
</td>
<td>
{{item.ACCEPT_NO}}
</td>
<td>
{{item.NAME}}
</td>
...
...
src/main/resources/static/views/tagPrint/tagPrint.js
View file @
da1468e1
...
...
@@ -12,6 +12,8 @@ angular.module('AvatarCheck.tagPrint', ['ngRoute', 'AvatarCheck.http', 'tm.pagin
.
controller
(
'tagPrintCtrl'
,
function
(
$scope
,
$rootScope
,
HttpService
,
$interval
,
MessageService
,
$timeout
,
$filter
,
ngDialog
)
{
$scope
.
acceptNo
=
'ACCEPT_NO'
;
//Date picker
$
(
'#datepicker'
).
datetimepicker
({
minView
:
"month"
,
//选择日期后,不会再跳转去选择时分秒
...
...
src/main/resources/static/views/task/taskListPrint.html
View file @
da1468e1
...
...
@@ -40,7 +40,6 @@
<th><input
type=
"checkbox"
ng-click=
"selectAll(type.countyList,$event)"
ng-checked=
"isSelectedAll($index)"
></th>
<th><a
ng-click=
"countyCode='taskId';desc=!desc"
>
任务单编号
</a></th>
<th>
核验日期
</th>
<th><a
ng-click=
"countyCode='countyCode';desc=!desc"
>
地区
</a></th>
<th>
组数
</th>
<th><a
ng-click=
"countyCode='groupNum';desc=!desc"
>
受理组号
</a></th>
<th>
核验数量
</th>
...
...
@@ -57,7 +56,6 @@
<td
ng-if=
"task.faileCount>0||(task.countyValidCount-task.specialCount)!=task.downloadCount"
></td>
<td
class=
"mailbox-star"
><b>
{{task.taskId}}
</b></td>
<td
class=
"mailbox-subject"
>
{{task.saveDate | date:'yyyy-MM-dd'}}
</td>
<td
class=
"mailbox-subject"
><a>
{{task.countyName}}
</a></td>
<td
class=
"mailbox-subject"
>
{{task.groupList.length}}
</td>
<td
class=
"mailbox-subject"
>
{{task.groupNum}}
</td>
<td
class=
"mailbox-subject"
>
{{task.countyValidCount}}
</td>
...
...
src/main/resources/static/views/uploadExcelAndSearch/uploadExcelAndSearch.js
View file @
da1468e1
...
...
@@ -42,8 +42,12 @@ angular.module('AvatarCheck.uploadExcelAndSearch', ['ngRoute', 'AvatarCheck.http
perPageOptions
:
[
10
,
20
,
30
,
40
,
50
]
};
$scope
.
doQuery
=
function
(){
$scope
.
paginationConf
.
currentPage
=
0
;
$scope
.
paginationConf
.
itemsPerPage
=
10
;
if
(
$scope
.
paginationConf
.
currentPage
!=
1
){
$scope
.
paginationConf
.
currentPage
=
1
;
$scope
.
paginationConf
.
itemsPerPage
=
10
;
}
else
{
$scope
.
doQueryPage
();
}
}
$scope
.
choseDate
=
$filter
(
"date"
)(
new
Date
(),
"yyyy-MM-dd"
);
var
getCountJson
=
function
(){
...
...
@@ -138,9 +142,9 @@ angular.module('AvatarCheck.uploadExcelAndSearch', ['ngRoute', 'AvatarCheck.http
}
else
{
json
.
notNull
=
notNull
}
if
(
$scope
.
paginationConf
.
currentPage
==
0
){
$scope
.
paginationConf
.
currentPage
=
1
}
//
if($scope.paginationConf.currentPage==0){
//
$scope.paginationConf.currentPage=1
//
}
json
.
firstIndex
=
$scope
.
paginationConf
.
currentPage
;
json
.
pageSize
=
$scope
.
paginationConf
.
itemsPerPage
;
return
json
;
...
...
src/main/resources/static/views/xmlAndSearch/xmlAndSearch.html
View file @
da1468e1
...
...
@@ -48,8 +48,12 @@
</table>
</div>
</div>
<div
class=
"box "
>
<strong
class=
"box-header with-border "
>
制证包管理
</strong>
<div
class=
"box"
>
<div
class=
"box-header with-border"
>
<strong>
制证包管理
</strong>
(
<span
style=
"color:#0b93d5;"
>
每页显示{{paginationConf.itemsPerPage}}条/共
{{paginationConf.totalItems}}条
</span>
)
</div>
<div
class=
"box box-primary"
>
<table
class=
"table table-bordered"
style=
"margin-bottom: 0;"
>
<tr>
...
...
src/main/resources/static/views/xmlAndSearch/xmlAndSearch.js
View file @
da1468e1
...
...
@@ -39,13 +39,17 @@ angular.module('AvatarCheck.xmlAndSearch', ['ngRoute', 'AvatarCheck.http', 'tm.p
perPageOptions
:
[
10
,
20
,
30
,
40
,
50
]
};
$scope
.
getXmlPackage
=
function
(){
$scope
.
paginationConf
.
currentPage
=
0
;
$scope
.
paginationConf
.
itemsPerPage
=
10
;
}
$scope
.
getXmlPackagePage
=
function
(){
if
(
$scope
.
paginationConf
.
currentPage
==
0
){
if
(
$scope
.
paginationConf
.
currentPage
!=
1
){
$scope
.
paginationConf
.
currentPage
=
1
;
$scope
.
paginationConf
.
itemsPerPage
=
10
;
}
else
{
$scope
.
getXmlPackagePage
();
}
}
$scope
.
getXmlPackagePage
=
function
(){
// if($scope.paginationConf.currentPage==0){
// $scope.paginationConf.currentPage=1;
// }
HttpService
.
selectXmlPackage
(
$
(
"#datepicker"
).
val
(),
$scope
.
paginationConf
.
currentPage
,
$scope
.
paginationConf
.
itemsPerPage
,
function
(
data
){
$scope
.
paginationConf
.
totalItems
=
data
.
respData
.
count
;
$scope
.
xmlPackageData
=
data
.
respData
.
mapList
;
...
...
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