Commit f0631099 authored by agping's avatar agping

去掉 商铺列表 商铺跟进 列表的城市选择

parent ad4700ff
......@@ -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');
......
......@@ -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',
......
......@@ -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();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment