Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
薪
薪瑞通-前端
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
许珑标
薪瑞通-前端
Commits
a62d1fc1
Commit
a62d1fc1
authored
Apr 25, 2025
by
谢子梦
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
stage:首页代办事项
parent
e9c72c7a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
src/views/index.vue
src/views/index.vue
+6
-1
No files found.
src/views/index.vue
View file @
a62d1fc1
...
@@ -33,7 +33,7 @@
...
@@ -33,7 +33,7 @@
<div
class=
"bottom clearfix"
>
<div
class=
"bottom clearfix"
>
<el-pagination
layout=
"prev, pager, next"
v-show=
"pending.total > 0"
:total=
"pending.total"
<el-pagination
layout=
"prev, pager, next"
v-show=
"pending.total > 0"
:total=
"pending.total"
:page.sync=
"pending.params.pageNum"
:limit.sync=
"pending.params.pageSize"
:page.sync=
"pending.params.pageNum"
:limit.sync=
"pending.params.pageSize"
@
pagination=
"getPendingTabl
e"
/>
@
current-change=
"handleCurrentChang
e"
/>
</div>
</div>
</el-card>
</el-card>
</el-col>
</el-col>
...
@@ -69,6 +69,11 @@ export default {
...
@@ -69,6 +69,11 @@ export default {
this
.
getPendingTable
()
this
.
getPendingTable
()
},
},
methods
:
{
methods
:
{
handleCurrentChange
(
val
)
{
this
.
pending
.
params
.
pageNum
=
val
this
.
getPendingTable
()
// console.log(`当前页: ${val}`);
},
getPendingTable
()
{
getPendingTable
()
{
listPending
(
this
.
pending
.
params
).
then
(
resp
=>
{
listPending
(
this
.
pending
.
params
).
then
(
resp
=>
{
if
(
200
===
resp
.
code
)
{
if
(
200
===
resp
.
code
)
{
...
...
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