Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
bdc
/
bdcdj-web
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
6fab4126
authored
2022-10-18 16:33:43 +0800
by
jiaozeping@pashanhoo.com
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
楼盘表
1 parent
45d8a33e
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
35 additions
and
25 deletions
src/api/lpb.js
src/views/zhcx/lpcx/lpcx.vue
src/views/zhcx/lpcx/lpcxdata.js
src/api/lpb.js
0 → 100644
View file @
6fab412
import
request
from
'@/utils/request'
/*
楼盘查询
*/
// 根据条件进行列表查询
export
function
getLpZrz
(
data
)
{
return
request
({
url
:
'/zhcx/lpcx/getLpZrz'
,
method
:
'post'
,
data
:
data
})
}
src/views/zhcx/lpcx/lpcx.vue
View file @
6fab412
...
...
@@ -40,7 +40,7 @@
</div>
<!-- 表格 -->
<div
class=
"from-clues-content"
>
<lb-table
:page-size=
"pageData.size"
@
sort-change=
"handleSort"
:current-page
.
sync=
"pageData.current"
<lb-table
:page-size=
"pageData.size"
border
@
sort-change=
"handleSort"
:current-page
.
sync=
"pageData.current"
:total=
"pageData.total"
@
size-change=
"handleSizeChange"
@
p-current-change=
"handleCurrentChange"
:column=
"tableData.columns"
:data=
"tableData.data"
>
</lb-table>
...
...
@@ -50,6 +50,7 @@
<
script
>
import
table
from
"@/utils/mixin/table"
;
import
{
datas
,
sendThis
}
from
"./lpcxdata"
;
import
{
getLpZrz
}
from
"@/api/lpb.js"
export
default
{
name
:
"lpcx"
,
components
:
{},
...
...
@@ -66,27 +67,31 @@ export default {
zrzh
:
""
,
},
pageData
:
{
current
:
1
,
s
ize
:
10
,
total
:
2
,
current
Page
:
1
,
pageS
ize
:
10
,
total
:
0
,
},
ywlys
:
datas
.
ywlys
(),
tableData
:
{
columns
:
datas
.
columns
(),
data
:
[
{
slsj
:
"2022-5-12"
,
},
{
slsj
:
"2022-5-13"
,
},
],
},
data
:
[]
}
};
},
methods
:
{
queryClick
(){
this
.
fetchData
();
},
// 初始化数据
fetchData
()
{
getLpZrz
({
...
this
.
queryForm
,
...
this
.
pageData
}).
then
(
res
=>
{
if
(
res
.
code
===
200
)
{
this
.
pageData
.
total
=
res
.
result
.
total
;
this
.
tableData
.
data
=
res
.
result
.
records
}
})
},
handleSort
(
name
,
sort
)
{
console
.
log
(
name
,
sort
);
...
...
src/views/zhcx/lpcx/lpcxdata.js
View file @
6fab412
...
...
@@ -40,7 +40,7 @@ class data extends filter {
label
:
"用途"
,
},
{
prop
:
"mj"
,
prop
:
"
zyd
mj"
,
label
:
"面积(㎡)"
,
},
{
...
...
@@ -62,16 +62,6 @@ class data extends filter {
}
]
}
ywlys
()
{
return
[
{
value
:
1
,
label
:
"办事大厅"
},
{
value
:
2
,
label
:
"微信小程序"
},
{
value
:
3
,
label
:
"法院端"
},
{
value
:
4
,
label
:
"银行端"
},
]
}
}
let
datas
=
new
data
()
export
{
...
...
Please
register
or
sign in
to post a comment