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
c22ff144
authored
2020-11-17 17:44:32 +0800
by
weimo934
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
style(plzl):增加分页显示
1 parent
c4599391
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
32 additions
and
11 deletions
src/components/cxlxQueryData/cxlzQueryData.vue
src/views/panel/change/cxlz/index.vue
src/components/cxlxQueryData/cxlzQueryData.vue
View file @
c22ff14
<
template
>
<div>
<div
class=
"main"
>
<el-dialog
title=
"选择宗地"
:visible
.
sync=
"isVisible"
width=
"50%"
@
close=
"close"
:modal-append-to-body=
"false"
>
>
<div
class=
"search"
>
<el-button
type=
"primary"
@
click=
"search"
>
查询
</el-button>
<el-button
type=
"primary"
@
click=
"result"
>
重置
</el-button>
...
...
@@ -74,9 +74,18 @@
<td>
{{
item
.
qlr
}}
</td>
<td>
{{
item
.
zl
}}
</td>
</tr>
</table>
</div>
<div
class=
"page"
>
<el-pagination
background
layout=
"prev, pager, next,total"
:page-size=
"queryData.pageSize"
:total=
"total"
@
current-change=
"currentChange"
>
</el-pagination>
</div>
<div
class=
"footer-button"
>
<el-button
type=
"primary"
@
click=
"save"
>
确认
</el-button>
<el-button
type=
"primary"
@
click=
"close"
>
取消
</el-button>
...
...
@@ -94,6 +103,7 @@
name
:
"cxlzQueryData"
,
data
()
{
return
{
total
:
1
,
queryData
:
{
bdcdyh
:
""
,
bdcqzh
:
""
,
...
...
@@ -102,11 +112,13 @@
qszt
:
"2"
,
xmmc
:
""
,
zddm
:
""
,
zl
:
""
zl
:
""
,
pageNo
:
1
,
pageSize
:
10
,
},
Data
:
[],
isVisible
:
false
,
zdbsm
:
''
zdbsm
:
''
}
},
props
:
{
...
...
@@ -132,12 +144,14 @@
created
()
{
},
methods
:
{
currentChange
:
function
(
val
)
{
this
.
queryData
.
pageNo
=
val
;
this
.
getData
(
this
.
queryData
);
},
select
:
function
(
val
)
{
this
.
zdbsm
=
val
.
glbsm
},
save
:
function
()
{
zrzcxlz
({
zdBsm
:
this
.
zdbsm
,
zrzBsm
:
this
.
zrzbsm
...
...
@@ -157,7 +171,9 @@
qszt
:
"2"
,
xmmc
:
""
,
zddm
:
""
,
zl
:
""
zl
:
""
,
pageNo
:
1
,
pageSize
:
10
,
};
this
.
getData
(
this
.
queryData
)
},
...
...
@@ -165,6 +181,7 @@
data
[
'dylxs'
]
=
this
.
dylxs
;
getSearchList
(
data
).
then
(
res
=>
{
this
.
Data
=
res
.
result
.
records
this
.
total
=
res
.
result
.
total
;
})
},
search
:
function
()
{
...
...
@@ -187,10 +204,11 @@
<
style
scoped
lang=
"less"
>
.main
{
box-sizing
:
border-box
;
/*box-sizing: border-box;*/
padding
:
18px
;
height
:
auto
;
height
:
800px
;
width
:
80%
;
position
:
absolute
;
}
table
{
...
...
@@ -226,9 +244,12 @@
color
:
#b2b2b2
;
}
.search
{
height
:
650px
;
}
.footer-button
{
text-align
:
center
;
margin-top
:
20px
;
}
</
style
>
...
...
src/views/panel/change/cxlz/index.vue
View file @
c22ff14
This diff is collapsed.
Click to expand it.
Please
register
or
sign in
to post a comment