Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
tl_estate
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
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
hujun
tl_estate
Commits
032d4684
Commit
032d4684
authored
Aug 14, 2019
by
agping
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
商铺列表搜索 不受编号影响
parent
bd258f87
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
11 deletions
+4
-11
houseList.js
public/resource/js/houseList.js
+4
-11
No files found.
public/resource/js/houseList.js
View file @
032d4684
...
@@ -1341,6 +1341,10 @@ if(data.code == 200) {
...
@@ -1341,6 +1341,10 @@ if(data.code == 200) {
var
user_info_obj
=
JSON
.
parse
(
decodeURIComponent
(
localStorage
.
getItem
(
'pcUserInfo'
)));
var
user_info_obj
=
JSON
.
parse
(
decodeURIComponent
(
localStorage
.
getItem
(
'pcUserInfo'
)));
business
.
pageNo
=
pageNo
;
business
.
pageNo
=
pageNo
;
var
params
=
{};
var
params
=
{};
//商铺编号搜索 不受其他条件影响
if
(
$
(
'#id'
).
val
()){
$
(
"#lease_state"
).
val
(
''
);
}
// 商铺列表 默认时间显示
// 商铺列表 默认时间显示
var
user_info_obj
=
JSON
.
parse
(
decodeURIComponent
(
localStorage
.
getItem
(
'pcUserInfo'
)));
//读取缓存
var
user_info_obj
=
JSON
.
parse
(
decodeURIComponent
(
localStorage
.
getItem
(
'pcUserInfo'
)));
//读取缓存
params
.
agent_id
=
user_info_obj
.
id
;
params
.
agent_id
=
user_info_obj
.
id
;
...
@@ -1377,7 +1381,6 @@ if(data.code == 200) {
...
@@ -1377,7 +1381,6 @@ if(data.code == 200) {
params
.
price_end
=
$
(
'#price_end'
).
val
();
//月租金结束
params
.
price_end
=
$
(
'#price_end'
).
val
();
//月租金结束
params
.
fit_industry_type
=
$
(
'#suitable_yetai_input'
).
val
();
//适合业态
params
.
fit_industry_type
=
$
(
'#suitable_yetai_input'
).
val
();
//适合业态
params
.
residue_type
=
$
(
'#lease_state'
).
val
();
//求租 已租 无效 筛选
params
.
residue_type
=
$
(
'#lease_state'
).
val
();
//求租 已租 无效 筛选
$
.
ajax
({
$
.
ajax
({
url
:
'/index/getHouseList.html'
,
//获取列表
url
:
'/index/getHouseList.html'
,
//获取列表
type
:
'GET'
,
type
:
'GET'
,
...
@@ -1388,7 +1391,6 @@ if(data.code == 200) {
...
@@ -1388,7 +1391,6 @@ if(data.code == 200) {
$
(
'#main_loading_pic'
).
show
();
$
(
'#main_loading_pic'
).
show
();
},
},
success
:
function
(
data
)
{
success
:
function
(
data
)
{
// $('#user_city_choose').show();
var
temp
=
document
.
getElementById
(
'house_list_tpl'
).
innerHTML
;
var
temp
=
document
.
getElementById
(
'house_list_tpl'
).
innerHTML
;
var
doTtmpl
=
doT
.
template
(
temp
);
var
doTtmpl
=
doT
.
template
(
temp
);
$
(
"#business_list"
).
html
(
doTtmpl
(
data
.
data
.
list
));
$
(
"#business_list"
).
html
(
doTtmpl
(
data
.
data
.
list
));
...
@@ -1402,17 +1404,8 @@ if(data.code == 200) {
...
@@ -1402,17 +1404,8 @@ if(data.code == 200) {
_$this
.
click
();
_$this
.
click
();
}
}
});
});
/*分页代码*/
/*分页代码*/
add_page
(
data
.
data
.
total
,
pageNo
,
business
.
pageSize
,
business
.
getList
);
add_page
(
data
.
data
.
total
,
pageNo
,
business
.
pageSize
,
business
.
getList
);
/* $ ("#pagediv").pagination ({
length: data.data.total,
current: pageNo,
every: business.pageSize,
onClick: function (el) {
business.getList (el.num.current);
}
});*/
},
},
complete
:
function
(){
complete
:
function
(){
$
(
'#main_loading_pic'
).
hide
();
$
(
'#main_loading_pic'
).
hide
();
...
...
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