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
229df81c
Commit
229df81c
authored
Sep 05, 2018
by
agping
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
商铺列表修改
parent
7e3f3535
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
8 deletions
+9
-8
houseList.js
public/resource/js/houseList.js
+9
-8
No files found.
public/resource/js/houseList.js
View file @
229df81c
...
...
@@ -241,11 +241,11 @@ define(['doT', 'text!temp/house_template_tpl.html', 'css!style/home.css', 'ckfin
params
.
id
=
$
(
this
).
attr
(
"data-id"
);
var
str
=
$
.
trim
(
$
(
this
).
html
());
if
(
str
==
"锁盘"
)
{
$
(
this
).
attr
(
'class'
,
'btn1 btn-default is_show_lock_plate'
);
$
(
this
).
attr
(
'class'
,
'btn1 btn-default is_show_lock_plate
btn-default-hide-display
'
);
params
.
type
=
1
;
$
(
this
).
html
(
'已锁盘'
);
}
else
if
(
str
==
"已锁盘"
)
{
$
(
this
).
attr
(
'class'
,
'btn1 btn-info is_show_lock_plate'
);
$
(
this
).
attr
(
'class'
,
'btn1 btn-info is_show_lock_plate
btn-default-hide-display
'
);
params
.
type
=
0
;
$
(
this
).
html
(
'锁盘'
);
}
else
{
...
...
@@ -281,13 +281,12 @@ define(['doT', 'text!temp/house_template_tpl.html', 'css!style/home.css', 'ckfin
_str
+=
'<option value="'
+
item
.
fullName
+
'">'
+
item
.
fullName
+
'</option>'
;
});
$
(
'#shop_area_id'
).
html
(
_str
);
business
.
getList
();
});
}
else
{};
});
//点击 区域 获取 商圈
_doc
.
on
(
'input'
,
'#shop_area_id'
,
function
()
{
business
.
getList
();
var
_this
=
$
(
this
);
var
_id
=
_this
.
val
();
var
_province
=
$
(
'#user_city_choose'
).
val
();
...
...
@@ -309,11 +308,14 @@ define(['doT', 'text!temp/house_template_tpl.html', 'css!style/home.css', 'ckfin
_str
+=
'<option value="'
+
item
.
id
+
'">'
+
item
.
name
+
'</option>'
;
});
$
(
'#business_circle_id'
).
html
(
_str
);
business
.
getList
();
});
}
else
{};
});
//查看弹出框里的tab点击事件,查看商铺,商铺跟进
// 选择商圈后 自动刷新页面
// _doc.on('input', '#business_circle_id', function() {
// business.getList();
// });
//查看弹出框里的tab点击事件,查看商铺,商铺跟进
_doc
.
on
(
'click'
,
'.detail-modal-header-tab>a'
,
function
(
e
){
e
.
preventDefault
();
e
.
stopPropagation
();
...
...
@@ -1073,7 +1075,7 @@ if(data.code == 200) {
params
.
city
=
'杭州市'
;
}
params
.
disc
=
$
(
'#shop_area_id'
).
val
();
//区域筛选
params
.
business_id
=
$
(
'#
shop_area_id'
).
val
()
//商圈筛选
params
.
business_id
=
$
(
'#
business_circle_id'
).
val
();
//商圈筛选
params
.
industry_type
=
$
(
'#yetai_id'
).
val
();
//业态筛选
params
.
dish_name
=
$
(
'#dish_name'
).
val
();
//盘方姓名
params
.
dish_phone
=
$
(
'#dish_phone'
).
val
();
//盘方手机号
...
...
@@ -1168,7 +1170,6 @@ if(data.code == 200) {
'province'
:
province
,
'city'
:
city
,
'disc'
:
id
},
dataType
:
'json'
,
success
:
function
(
data
)
{
...
...
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