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
29bb6299
Commit
29bb6299
authored
Mar 29, 2019
by
liboyang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改打包分页问题
parent
abc8f247
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
1 deletion
+11
-1
cardProdPackage.js
...resources/static/views/cardProdPackage/cardProdPackage.js
+11
-1
No files found.
src/main/resources/static/views/cardProdPackage/cardProdPackage.js
View file @
29bb6299
...
...
@@ -39,7 +39,15 @@ angular.module('AvatarCheck.cardProdPackage', ['ngRoute', 'AvatarCheck.http', 't
perPageOptions
:
[
10
,
20
,
30
,
40
,
50
]
};
$scope
.
doPackageQuery
=
function
(){
$scope
.
paginationConf
=
{
currentPage
:
1
,
itemsPerPage
:
10
,
perPageOptions
:
[
10
,
20
,
30
,
40
,
50
]
};
}
$scope
.
doPackageQueryPage
=
function
(){
var
date
=
$
(
"#datepicker"
).
val
();
var
cardType
=
$
(
"#cardType"
).
val
();
var
packageType
=
$
(
"#packageType"
).
val
();
...
...
@@ -80,9 +88,11 @@ angular.module('AvatarCheck.cardProdPackage', ['ngRoute', 'AvatarCheck.http', 't
$scope
.
packageData
=
data
.
list
;
console
.
log
(
data
)
})
}
// 通过$watch currentPage和itemperPage 当他们一变化的时候,重新获取数据条目
$scope
.
$watch
(
'paginationConf.currentPage +paginationConf.itemsPerPage'
,
$scope
.
doPackageQuery
);
$scope
.
$watch
(
'paginationConf.currentPage +paginationConf.itemsPerPage'
,
$scope
.
doPackageQuery
Page
);
$scope
.
updateIsValid
=
function
(
id
,
isValid
)
{
HttpService
.
updateIsValidData
(
id
,
isValid
,
function
(
data
)
{
...
...
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