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
eacc822a
Commit
eacc822a
authored
Mar 29, 2019
by
dahai
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/dev' into dev
parents
77f42775
90eb34e3
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
36 additions
and
25 deletions
+36
-25
analysisLog.js
src/main/resources/static/views/analysisLog/analysisLog.js
+6
-3
cardProdPackage.js
...resources/static/views/cardProdPackage/cardProdPackage.js
+0
-2
cardProdUpdate.js
...n/resources/static/views/cardProdUpdate/cardProdUpdate.js
+6
-3
excelAndSearch.js
...n/resources/static/views/excelAndSearch/excelAndSearch.js
+6
-3
packageLog.js
src/main/resources/static/views/packageLog/packageLog.js
+6
-3
tagPrint.js
src/main/resources/static/views/tagPrint/tagPrint.js
+0
-7
uploadExcelAndSearch.js
...static/views/uploadExcelAndSearch/uploadExcelAndSearch.js
+6
-2
xmlAndSearch.js
src/main/resources/static/views/xmlAndSearch/xmlAndSearch.js
+6
-2
No files found.
src/main/resources/static/views/analysisLog/analysisLog.js
View file @
eacc822a
...
...
@@ -32,8 +32,11 @@ angular.module('AvatarCheck.analysisLog', ['ngRoute', 'AvatarCheck.http', 'tm.pa
perPageOptions
:
[
10
,
20
,
30
,
40
,
50
]
};
$scope
.
getAnalyseLog
=
function
(){
$scope
.
getAnalyseLog
=
function
(){
$scope
.
paginationConf
.
currentPage
=
0
;
$scope
.
paginationConf
.
itemsPerPage
=
10
;
}
$scope
.
getAnalyseLogPage
=
function
(){
HttpService
.
selectAnalyseLogCount
(
$scope
.
oldPackageName
,
$
(
"#datepicker"
).
val
(),
function
(
data
)
{
$scope
.
paginationConf
.
totalItems
=
data
;
console
.
log
(
$scope
.
paginationConf
.
totalItems
)
...
...
@@ -48,7 +51,7 @@ angular.module('AvatarCheck.analysisLog', ['ngRoute', 'AvatarCheck.http', 'tm.pa
}
// 通过$watch currentPage和itemperPage 当他们一变化的时候,重新获取数据条目
$scope
.
$watch
(
'paginationConf.currentPage +paginationConf.itemsPerPage'
,
$scope
.
getAnalyseLog
);
$scope
.
$watch
(
'paginationConf.currentPage +paginationConf.itemsPerPage'
,
$scope
.
getAnalyseLog
Page
);
});
src/main/resources/static/views/cardProdPackage/cardProdPackage.js
View file @
eacc822a
...
...
@@ -38,8 +38,6 @@ angular.module('AvatarCheck.cardProdPackage', ['ngRoute', 'AvatarCheck.http', 't
itemsPerPage
:
10
,
perPageOptions
:
[
10
,
20
,
30
,
40
,
50
]
};
$scope
.
doPackageQuery
=
function
(){
$scope
.
paginationConf
.
currentPage
=
0
;
$scope
.
paginationConf
.
itemsPerPage
=
10
;
...
...
src/main/resources/static/views/cardProdUpdate/cardProdUpdate.js
View file @
eacc822a
...
...
@@ -51,8 +51,11 @@ angular.module('AvatarCheck.cardProdUpdate', ['ngRoute', 'AvatarCheck.http'])
itemsPerPage
:
10
,
perPageOptions
:
[
10
,
20
,
30
,
40
,
50
]
};
$scope
.
doXmlQuery
=
function
()
{
$scope
.
doXmlQuery
=
function
(){
$scope
.
paginationConf
.
currentPage
=
0
;
$scope
.
paginationConf
.
itemsPerPage
=
10
;
}
$scope
.
doXmlQueryPage
=
function
()
{
var
startDate
=
$
(
"#datepicker1"
).
val
();
var
endDate
=
$
(
"#datepicker2"
).
val
();
if
(
angular
.
isUndefined
(
$scope
.
startId
)){
...
...
@@ -90,7 +93,7 @@ angular.module('AvatarCheck.cardProdUpdate', ['ngRoute', 'AvatarCheck.http'])
}
// 通过$watch currentPage和itemperPage 当他们一变化的时候,重新获取数据条目
$scope
.
$watch
(
'paginationConf.currentPage +paginationConf.itemsPerPage'
,
$scope
.
doXmlQuery
);
$scope
.
$watch
(
'paginationConf.currentPage +paginationConf.itemsPerPage'
,
$scope
.
doXmlQuery
Page
);
var
reGet
=
$scope
.
doXmlQuery
;
...
...
src/main/resources/static/views/excelAndSearch/excelAndSearch.js
View file @
eacc822a
...
...
@@ -88,8 +88,11 @@ angular.module('AvatarCheck.excelAndSearch', ['ngRoute', 'AvatarCheck.http', 'tm
itemsPerPage
:
10
,
perPageOptions
:
[
5
,
10
,
15
,
20
,
25
]
};
$scope
.
getPostPackage
=
function
(){
$scope
.
getPostPackage
=
function
(){
$scope
.
paginationConf
.
currentPage
=
0
;
$scope
.
paginationConf
.
itemsPerPage
=
10
;
}
$scope
.
getPostPackagePage
=
function
(){
HttpService
.
selectPostPackageCount
(
$scope
.
fileName
,
$scope
.
state
,
$
(
"#datepicker3"
).
val
(),
function
(
data
)
{
$scope
.
paginationConf
.
totalItems
=
data
.
respData
.
string
;
console
.
log
(
$scope
.
paginationConf
.
totalItems
)
...
...
@@ -105,7 +108,7 @@ angular.module('AvatarCheck.excelAndSearch', ['ngRoute', 'AvatarCheck.http', 'tm
var
reGetPostData
=
$scope
.
getPostPackage
;
// 通过$watch currentPage和itemperPage 当他们一变化的时候,重新获取数据条目
$scope
.
$watch
(
'paginationConf.currentPage +paginationConf.itemsPerPage'
,
$scope
.
getPostPackage
);
$scope
.
$watch
(
'paginationConf.currentPage +paginationConf.itemsPerPage'
,
$scope
.
getPostPackage
Page
);
$scope
.
deletePostData
=
function
(
fileid
,
importDate
){
ngDialog
.
open
({
...
...
src/main/resources/static/views/packageLog/packageLog.js
View file @
eacc822a
...
...
@@ -34,8 +34,11 @@ angular.module('AvatarCheck.packageLog', ['ngRoute', 'AvatarCheck.http', 'tm.pag
itemsPerPage
:
10
,
perPageOptions
:
[
10
,
20
,
30
,
40
,
50
]
};
$scope
.
getPackageLog
=
function
(){
$scope
.
getPackageLog
=
function
(){
$scope
.
paginationConf
.
currentPage
=
0
;
$scope
.
paginationConf
.
itemsPerPage
=
10
;
}
$scope
.
getPackageLogPage
=
function
(){
var
county
=
$
(
"#county"
).
val
();
HttpService
.
selectPackageLogCount
(
$scope
.
newPackageName
,
$scope
.
idCard
,
$
(
'#datepicker'
).
val
(),
county
,
function
(
data
)
{
$scope
.
paginationConf
.
totalItems
=
data
;
...
...
@@ -51,7 +54,7 @@ angular.module('AvatarCheck.packageLog', ['ngRoute', 'AvatarCheck.http', 'tm.pag
}
// 通过$watch currentPage和itemperPage 当他们一变化的时候,重新获取数据条目
$scope
.
$watch
(
'paginationConf.currentPage +paginationConf.itemsPerPage'
,
$scope
.
getPackageLog
);
$scope
.
$watch
(
'paginationConf.currentPage +paginationConf.itemsPerPage'
,
$scope
.
getPackageLog
Page
);
...
...
src/main/resources/static/views/tagPrint/tagPrint.js
View file @
eacc822a
...
...
@@ -23,13 +23,6 @@ angular.module('AvatarCheck.tagPrint', ['ngRoute', 'AvatarCheck.http', 'tm.pagin
$scope
.
choseDate
=
$filter
(
"date"
)(
new
Date
(),
"yyyy-MM-dd"
);
$scope
.
paginationConf
=
{
currentPage
:
1
,
itemsPerPage
:
10
,
perPageOptions
:
[
10
,
20
,
30
,
40
,
50
]
};
$scope
.
paginationConf
.
totalItems
=
50
;
$scope
.
json
=
{
id
:
''
,
policeCardsList
:[]
...
...
src/main/resources/static/views/uploadExcelAndSearch/uploadExcelAndSearch.js
View file @
eacc822a
...
...
@@ -41,6 +41,10 @@ angular.module('AvatarCheck.uploadExcelAndSearch', ['ngRoute', 'AvatarCheck.http
itemsPerPage
:
10
,
perPageOptions
:
[
10
,
20
,
30
,
40
,
50
]
};
$scope
.
doQuery
=
function
(){
$scope
.
paginationConf
.
currentPage
=
0
;
$scope
.
paginationConf
.
itemsPerPage
=
10
;
}
$scope
.
choseDate
=
$filter
(
"date"
)(
new
Date
(),
"yyyy-MM-dd"
);
var
getCountJson
=
function
(){
var
date
=
$
(
'#datepicker'
).
val
();
...
...
@@ -141,7 +145,7 @@ angular.module('AvatarCheck.uploadExcelAndSearch', ['ngRoute', 'AvatarCheck.http
json
.
pageSize
=
$scope
.
paginationConf
.
itemsPerPage
;
return
json
;
}
$scope
.
doQuery
=
function
()
{
$scope
.
doQuery
Page
=
function
()
{
HttpService
.
getRecordsCount
(
getCountJson
(),
function
(
data
)
{
$scope
.
paginationConf
.
totalItems
=
data
;
console
.
log
(
data
)
...
...
@@ -152,7 +156,7 @@ angular.module('AvatarCheck.uploadExcelAndSearch', ['ngRoute', 'AvatarCheck.http
})
}
// 通过$watch currentPage和itemperPage 当他们一变化的时候,重新获取数据条目
$scope
.
$watch
(
'paginationConf.currentPage +paginationConf.itemsPerPage'
,
$scope
.
doQuery
);
$scope
.
$watch
(
'paginationConf.currentPage +paginationConf.itemsPerPage'
,
$scope
.
doQuery
Page
);
var
getCountAndDownloadUrl
=
function
(
url
)
{
...
...
src/main/resources/static/views/xmlAndSearch/xmlAndSearch.js
View file @
eacc822a
...
...
@@ -38,7 +38,11 @@ angular.module('AvatarCheck.xmlAndSearch', ['ngRoute', 'AvatarCheck.http', 'tm.p
itemsPerPage
:
10
,
perPageOptions
:
[
10
,
20
,
30
,
40
,
50
]
};
$scope
.
getXmlPackage
=
function
(){
$scope
.
getXmlPackage
=
function
(){
$scope
.
paginationConf
.
currentPage
=
0
;
$scope
.
paginationConf
.
itemsPerPage
=
10
;
}
$scope
.
getXmlPackagePage
=
function
(){
if
(
$scope
.
paginationConf
.
currentPage
==
0
){
$scope
.
paginationConf
.
currentPage
=
1
;
}
...
...
@@ -49,7 +53,7 @@ angular.module('AvatarCheck.xmlAndSearch', ['ngRoute', 'AvatarCheck.http', 'tm.p
})
}
// 通过$watch currentPage和itemperPage 当他们一变化的时候,重新获取数据条目
$scope
.
$watch
(
'paginationConf.currentPage +paginationConf.itemsPerPage'
,
$scope
.
getXmlPackage
);
$scope
.
$watch
(
'paginationConf.currentPage +paginationConf.itemsPerPage'
,
$scope
.
getXmlPackage
Page
);
var
getData
=
$scope
.
getXmlPackage
;
$scope
.
analysis
=
function
(
uploadDate
,
packageCount
)
{
...
...
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