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
a0143fcf
authored
2020-10-21 17:19:28 +0800
by
杨威
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'master' of
http://yun.pashanhoo.com:9090/renchao/CadastralSystem
2 parents
6615c85f
848bcb9b
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
43 additions
and
37 deletions
src/api/search.js
src/views/panel/search/index.vue
src/views/systemZRZ/zrzxx/index.vue
src/api/search.js
View file @
a0143fc
...
...
@@ -2,9 +2,10 @@ import request from '@/plugin/axios'
/**
* 查询所有行政区
*/
export
function
getSearchList
()
{
export
function
getSearchList
(
data
)
{
return
request
({
url
:
'/system/basiccommon/query'
,
method
:
'get'
,
params
:
data
,
})
}
\ No newline at end of file
...
...
src/views/panel/search/index.vue
View file @
a0143fc
...
...
@@ -34,7 +34,9 @@
</el-table-column>
</el-table>
<div
class=
"pagination"
>
<el-pagination
background
layout=
"prev, pager, next"
:total=
"1000"
>
<el-pagination
background
layout=
"prev, pager, next"
:total=
"1000"
@
current-change=
"handleCurrentChange"
:current-page
.
sync=
"currentPage"
>
</el-pagination>
</div>
</div>
...
...
@@ -50,48 +52,27 @@ export default {
props
:
{},
data
()
{
return
{
pageNo
:
1
,
pageSize
:
10
,
zddm
:
''
,
zl
:
''
,
bdcdyh
:
''
,
dylx
:
''
,
qlrmc
:
''
,
xmmc
:
''
,
bdcqzh
:
''
,
formData
:
{
user
:
""
,
region
:
""
,
type
:
[],
},
tableData
:
[
// {
// bdcdyh: "610101001001GB00001W",
// xmmc: "万科集团万科城",
// bdcqzh: "陕(2017)西安市不动产权第00000",
// lx: "宗地",
// qlr: "李子新",
// zl: "灞桥-田家湾-咸宁东路,近浐河西路",
// zrsj: "2020.09.07 ",
// cjr: "李子新",
// },
],
tableData
:
[],
tableHeight
:
""
,
};
},
created
()
{},
mounted
()
{
getSearchList
().
then
((
res
)
=>
{
console
.
log
(
res
)
if
(
res
.
code
===
200
){
this
.
tableData
=
res
.
result
.
records
;
console
.
log
(
this
.
tableData
)
}
})
// for (let i = 0; i < 11; i++) {
// let obj = {
// bdcdyh: "610101001001GB00001W",
// xmmc: "万科集团万科城",
// bdcqzh: "陕(2017)西安市不动产权第00000",
// lx: "自然幢",
// qlr: "李子新",
// zl: "灞桥-田家湾-咸宁东路,近浐河西路",
// zrsj: "2020.09.07 ",
// cjr: "李子新",
// };
// this.tableData.push(obj);
// }
this
.
loadList
();
this
.
tableHeight
=
this
.
$refs
.
dataGrid
.
offsetHeight
-
68
;
},
methods
:
{
...
...
@@ -103,7 +84,11 @@ export default {
return
""
;
}
},
handleCurrentChange
(
val
){
console
.
log
(
`当前页:
${
val
}
`
);
this
.
pageNo
=
val
;
this
.
loadList
();
},
//获取子组件点击查询触发的事件
getData
(
obj
)
{
console
.
log
(
obj
);
...
...
@@ -130,6 +115,26 @@ export default {
}
});
},
loadList
(){
let
params
=
{
zddm
:
this
.
zddm
,
zl
:
this
.
zl
,
bdcdyh
:
this
.
bdcdyh
,
dylx
:
this
.
dylx
,
qlrmc
:
this
.
qlrmc
,
xmmc
:
this
.
xmmc
,
bdcqzh
:
this
.
bdcqzh
,
pageNo
:
this
.
pageNo
,
pageSize
:
this
.
pageSize
,
}
getSearchList
(
params
).
then
((
res
)
=>
{
console
.
log
(
res
)
if
(
res
.
code
===
200
){
this
.
tableData
=
res
.
result
.
records
;
console
.
log
(
this
.
tableData
)
}
})
}
},
computed
:
{},
watch
:
{},
...
...
src/views/systemZRZ/zrzxx/index.vue
View file @
a0143fc
...
...
@@ -362,7 +362,7 @@
fwsjytbsm
:
''
,
sx
:
''
,
});
this
.
ytTitleRowspan
=
this
.
form
.
ytList
.
length
;
this
.
ytTitleRowspan
=
this
.
form
.
fw
ytList
.
length
;
},
deleteYtInfo
(
index
){
if
(
this
.
form
.
fwytList
.
length
<=
1
){
...
...
@@ -372,7 +372,7 @@
});
}
else
{
this
.
form
.
fwytList
.
splice
(
index
,
1
);
this
.
ytTitleRowspan
=
this
.
form
.
ytList
.
length
;
this
.
ytTitleRowspan
=
this
.
form
.
fw
ytList
.
length
;
}
},
addFwjgInfo
(){
...
...
Please
register
or
sign in
to post a comment