Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
任超
/
js.CadastralSystem
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
45b80b92
authored
2020-12-04 17:12:23 +0800
by
weimo934
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix():修改更正变更综合查询分页
1 parent
103ff0b3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
12 deletions
src/views/panel/add/index.vue
src/views/panel/modify/index.vue
src/views/panel/search/index.vue
src/views/panel/add/index.vue
View file @
45b80b9
...
...
@@ -41,7 +41,8 @@
</el-table-column>
</el-table>
<div
class=
"pagination"
>
<el-pagination
background
layout=
"prev, pager, next,total"
:total=
"total"
>
<el-pagination
background
layout=
"prev, pager, next,total"
:total=
"total"
:current-page=
"pageNo"
:page-size=
"pageSize"
@
current-change=
"handleCurrentChange"
>
</el-pagination>
</div>
</div>
...
...
@@ -75,17 +76,14 @@
created
()
{
},
mounted
()
{
this
.
getData
({
pageNo
:
this
.
pageNo
,
pageSize
:
this
.
pageSize
,
})
this
.
queryData
.
pageSize
=
this
.
pageSize
this
.
getData
(
this
.
queryData
);
this
.
$nextTick
(()
=>
{
this
.
tableHeight
=
(
document
.
documentElement
.
clientHeight
||
document
.
body
.
clientHeight
)
-
255
;
});
},
methods
:
{
handleCurrentChange
(
val
)
{
console
.
log
(
`当前页:
${
val
}
`
);
this
.
pageNo
=
val
;
this
.
queryData
.
pageNo
=
val
;
this
.
getData
(
this
.
queryData
);
...
...
@@ -118,7 +116,6 @@
//点击办理
handleClick
(
row
)
{
let
path
=
""
;
console
.
log
(
row
)
switch
(
row
.
dylx
)
{
case
"zrz"
:
path
=
"/zrz"
;
...
...
src/views/panel/modify/index.vue
View file @
45b80b9
...
...
@@ -41,7 +41,7 @@
</el-table-column>
</el-table>
<div
class=
"pagination"
>
<el-pagination
background
layout=
"prev, pager, next,total"
:total=
"total"
<el-pagination
background
layout=
"prev, pager, next,total"
:total=
"total"
:page-size=
"pageSize"
:current-page=
"pageNo"
@
current-change=
"handleCurrentChange"
>
</el-pagination>
</div>
...
...
@@ -77,7 +77,8 @@
created
()
{
},
mounted
()
{
this
.
getData
({})
this
.
queryData
.
pageSize
=
this
.
pageSize
this
.
getData
(
this
.
queryData
)
this
.
$nextTick
(()
=>
{
this
.
tableHeight
=
(
document
.
documentElement
.
clientHeight
||
document
.
body
.
clientHeight
)
-
255
;
});
...
...
src/views/panel/search/index.vue
View file @
45b80b9
...
...
@@ -42,7 +42,7 @@
</el-table>
<div
class=
"pagination"
>
<el-pagination
background
layout=
"prev, pager, next,total"
:total=
"total"
:current-page=
"pageNo"
@
current-change=
"handleCurrentChange"
>
:current-page=
"pageNo"
:page-size=
"pageSize"
@
current-change=
"handleCurrentChange"
>
</el-pagination>
</div>
...
...
@@ -83,7 +83,8 @@
created
()
{
},
mounted
()
{
this
.
getData
({
pageSize
:
15
});
this
.
queryData
.
pageSize
=
this
.
pageSize
this
.
getData
(
this
.
queryData
);
this
.
$nextTick
(()
=>
{
this
.
tableHeight
=
this
.
$refs
.
dataGrid
.
offsetHeight
-
68
;
})
...
...
@@ -108,7 +109,6 @@
this
.
$refs
.
hbj
.
onReset
();
},
handleCurrentChange
(
val
)
{
console
.
log
(
`当前页:
${
val
}
`
);
this
.
pageNo
=
val
;
this
.
queryData
.
pageNo
=
val
;
this
.
getData
(
this
.
queryData
);
...
...
Please
register
or
sign in
to post a comment