Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
op-web-service
Project
Project
Details
Activity
Releases
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
bp
op-web-service
Commits
e172ecfc
Commit
e172ecfc
authored
Sep 18, 2021
by
liwenhong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 团长分页
parent
d181c7c3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
3 deletions
+9
-3
index.vue
src/pages/Groupmeal/headManagement/index.vue
+9
-3
No files found.
src/pages/Groupmeal/headManagement/index.vue
View file @
e172ecfc
...
@@ -37,7 +37,7 @@
...
@@ -37,7 +37,7 @@
background
background
layout=
"prev, pager, next"
layout=
"prev, pager, next"
:total=
"applyPageCount"
:total=
"applyPageCount"
:page-size=
"
1
0"
:page-size=
"
2
0"
v-model:currentPage=
"currentApplyPage"
v-model:currentPage=
"currentApplyPage"
@
current-change=
"handleCurrentApplyChange"
@
current-change=
"handleCurrentApplyChange"
></el-pagination>
></el-pagination>
...
@@ -145,7 +145,7 @@
...
@@ -145,7 +145,7 @@
background
background
layout=
"prev, pager, next"
layout=
"prev, pager, next"
:total=
"pageCount"
:total=
"pageCount"
:page-size=
"
1
0"
:page-size=
"
2
0"
v-model:currentPage=
"currentPage"
v-model:currentPage=
"currentPage"
@
current-change=
"handleCurrentChange"
@
current-change=
"handleCurrentChange"
></el-pagination>
></el-pagination>
...
@@ -177,6 +177,10 @@
...
@@ -177,6 +177,10 @@
applyPageCount
:
0
,
// 总条数
applyPageCount
:
0
,
// 总条数
coloneList
:
[],
coloneList
:
[],
coloneApplyList
:
[],
coloneApplyList
:
[],
applypParams
:
{
page
:
1
,
page_size
:
20
,
},
params
:
{
params
:
{
page
:
1
,
page
:
1
,
page_size
:
20
,
page_size
:
20
,
...
@@ -203,10 +207,12 @@
...
@@ -203,10 +207,12 @@
methods
:
{
methods
:
{
handleCurrentApplyChange
(
val
)
{
handleCurrentApplyChange
(
val
)
{
this
.
currentApplyPage
=
val
;
this
.
currentApplyPage
=
val
;
this
.
applypParams
.
page
=
val
;
this
.
getColoneApplyList
();
this
.
getColoneApplyList
();
},
},
handleCurrentChange
(
val
)
{
handleCurrentChange
(
val
)
{
this
.
currentPage
=
val
;
this
.
currentPage
=
val
;
this
.
params
.
page
=
val
;
this
.
getColoneList
();
this
.
getColoneList
();
},
},
handleSearch
()
{
handleSearch
()
{
...
@@ -257,7 +263,7 @@
...
@@ -257,7 +263,7 @@
},
},
async
getColoneApplyList
()
{
async
getColoneApplyList
()
{
try
{
try
{
const
res
=
await
ColoneApplyList
(
this
.
p
arams
);
const
res
=
await
ColoneApplyList
(
this
.
applypP
arams
);
this
.
applyPageCount
=
res
.
count
;
this
.
applyPageCount
=
res
.
count
;
if
(
res
.
code
!==
0
)
return
this
.
$message
.
error
(
res
.
reason
);
if
(
res
.
code
!==
0
)
return
this
.
$message
.
error
(
res
.
reason
);
this
.
coloneApplyList
=
res
.
result
;
this
.
coloneApplyList
=
res
.
result
;
...
...
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