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
2e1bc89f
Commit
2e1bc89f
authored
Jul 28, 2021
by
pengyunqian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update:分页
parent
2472b66a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
31 additions
and
15 deletions
+31
-15
index.vue
src/pages/Groupmeal/Distrib/index.vue
+9
-15
index.vue
src/pages/Groupmeal/components/Pagination/index.vue
+22
-0
No files found.
src/pages/Groupmeal/Distrib/index.vue
View file @
2e1bc89f
...
...
@@ -29,7 +29,7 @@
width=
"width"
>
<
template
#
default=
"scope"
>
{{
scope
.
row
.
list
.
map
((
item
)
=>
item
.
deliverer_name
).
join
(
"
,
"
)
}}
{{
scope
.
row
.
list
.
map
((
item
)
=>
item
.
deliverer_name
).
join
(
"
、
"
)
}}
</
template
>
</el-table-column>
<el-table-column
prop=
"prop"
label=
"操作"
width=
"width"
align=
"center"
>
...
...
@@ -47,15 +47,12 @@
</el-table-column>
</el-table>
<!-- 页码区 -->
<el-pagination
class=
"pagination"
@
current-change=
"handleCurrentChange"
v-model
.
current-page=
"page"
:page-size=
"pageSize"
layout=
"prev, pager, next, jumper, ->,page , total"
:total=
"total"
>
</el-pagination>
<Pagination
@
current-change=
"handleCurrentChange"
v-model
.
current-page=
"page"
:page-size=
"pageSize"
:total=
"total"
></Pagination>
<!-- 添加配送员弹框 -->
<el-dialog
title=
"添加配送员"
...
...
@@ -204,6 +201,7 @@
</template>
<
script
>
import
Layout
from
"../layout/index.vue"
;
import
Pagination
from
"../components/Pagination/index.vue"
;
import
{
getDelivererList
,
getList
,
...
...
@@ -216,6 +214,7 @@ export default {
name
:
"Distrib"
,
components
:
{
Layout
,
Pagination
},
data
()
{
return
{
...
...
@@ -257,13 +256,8 @@ export default {
this
.
getMarketingList
()
},
methods
:
{
// getChecked(row) {
// console.log(row.checked);
// return !!row.checked;
// },
selectGoodsChange
(
val
)
{
this
.
multipleSelection
=
val
;
// this.ruleForm.goods_spu_id = e.map((item) => item.goods_sku_id);
},
// 页码变化
handleCurrentChange
(
e
)
{
...
...
src/pages/Groupmeal/components/Pagination/index.vue
0 → 100644
View file @
2e1bc89f
<
template
>
<div
class=
"block"
>
<el-pagination
class=
"pagination"
layout=
"prev, pager, next, jumper, ->,page , total"
v-bind=
"$attrs"
v-on=
"$listener"
>
</el-pagination>
</div>
</
template
>
<
script
>
export
default
{
name
:
'Pagination'
};
</
script
>
<
style
lang=
"less"
>
.block {
margin-top: 50px;
}
</
style
>
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