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
f0631099
Commit
f0631099
authored
Oct 23, 2018
by
agping
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
去掉 商铺列表 商铺跟进 列表的城市选择
parent
ad4700ff
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
+5
-5
houseFollowUp.js
public/resource/js/houseFollowUp.js
+1
-1
houseList.js
public/resource/js/houseList.js
+3
-3
public.js
public/resource/js/public.js
+1
-1
No files found.
public/resource/js/houseFollowUp.js
View file @
f0631099
...
...
@@ -134,7 +134,7 @@ define(['doT', 'text!temp/followHouseUp_template_tpl.html', 'css!style/home.css'
house
.
getList
();
var
_this
=
$
(
this
);
var
_id
=
_this
.
val
();
house
.
setUpCityFunction
(
_id
);
//
house.setUpCityFunction(_id);
_this
.
next
().
html
(
''
);
//先清空
//新增 编辑
var
_objTemp
=
_this
.
parent
().
next
().
find
(
'select'
);
...
...
public/resource/js/houseList.js
View file @
f0631099
...
...
@@ -290,7 +290,7 @@ define(['doT', 'text!temp/house_template_tpl.html', 'css!style/home.css', 'ckfin
business
.
getList
();
var
_this
=
$
(
this
);
var
_id
=
_this
.
val
();
business
.
setUpCityFunction
(
_id
);
//
business.setUpCityFunction(_id);
$
(
'#shop_area_id'
).
html
(
''
);
//先清空
if
(
_id
&&
_id
!=
'0'
)
{
business
.
getDistrictStoreList
(
_id
,
function
(
_data
)
{
...
...
@@ -1176,7 +1176,7 @@ if(data.code == 200) {
$
(
'#main_loading_pic'
).
show
();
},
success
:
function
(
data
)
{
$
(
'#user_city_choose'
).
show
();
//
$('#user_city_choose').show();
var
temp
=
document
.
getElementById
(
'house_list_tpl'
).
innerHTML
;
var
doTtmpl
=
doT
.
template
(
temp
);
$
(
"#business_list"
).
html
(
doTtmpl
(
data
.
data
.
list
));
...
...
@@ -1346,7 +1346,7 @@ if(data.code == 200) {
$
(
".user-ul-agent"
).
html
(
''
);
business
.
agent_id_choose
=
$
(
obj
).
attr
(
"data-id"
);
},
//初始化 城市
//初始化 城市
获取区域 传给后端字段 可以不接收
initializationCityFunction
:
function
(
params
)
{
$
.
ajax
({
url
:
'/index/getCurrentCity'
,
...
...
public/resource/js/public.js
View file @
f0631099
...
...
@@ -81,7 +81,7 @@ define(['doT', 'jquery', 'text!temp/menu_template_tpl.html', 'layer'], function
var
_doc
=
$
(
document
);
//显示 隐藏城市
$
(
'#user_city_choose'
).
hide
();
if
(
window
.
location
.
pathname
==
'/index/
getHouseList'
||
window
.
location
.
pathname
==
'/index/followUpList'
||
window
.
location
.
pathname
==
'/index/
users_list'
||
window
.
location
.
pathname
==
'/index/RemarkFollowList'
){
if
(
window
.
location
.
pathname
==
'/index/users_list'
||
window
.
location
.
pathname
==
'/index/RemarkFollowList'
){
$
(
'#user_city_choose'
).
show
();
}
...
...
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