Commit 3d34f286 authored by agping's avatar agping

城市筛选 修改

parent 2697f8b0
...@@ -77,6 +77,12 @@ define(['doT', 'jquery', 'text!temp/menu_template_tpl.html', 'layer'], function ...@@ -77,6 +77,12 @@ define(['doT', 'jquery', 'text!temp/menu_template_tpl.html', 'layer'], function
}); });
var _doc = $(document); 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'){
$('#user_city_choose').show();
}
_doc.on('click', '.menu-sub-alink', function(e){ _doc.on('click', '.menu-sub-alink', function(e){
e.preventDefault(); e.preventDefault();
e.stopPropagation(); e.stopPropagation();
......
...@@ -1315,13 +1315,13 @@ define(['doT', 'text!temp/wait_backout_template_tpl.html', 'css!style/home.css', ...@@ -1315,13 +1315,13 @@ define(['doT', 'text!temp/wait_backout_template_tpl.html', 'css!style/home.css',
switchUrl: function(){ switchUrl: function(){
switch (Number(this.mainTabIndex)){ switch (Number(this.mainTabIndex)){
case 0: case 0:
return '/index/reportListOne/1'; return '/index/backOutOne/5';
case 1: case 1:
return '/index/reportListTwo/2'; return '/index/backOutTwo/7';
case 2: case 2:
return '/index/reportListThree/3'; return '/index/backOutThree/8';
case 3: case 3:
return '/index/reportListStatement/4'; return '/index/reportListUndone/6';
default: default:
return ''; return '';
} }
......
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