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
3c4c7901
Commit
3c4c7901
authored
Aug 19, 2018
by
agping
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
去掉在新页面打开
parent
56226029
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
17 deletions
+17
-17
public.js
public/resource/js/public.js
+17
-17
No files found.
public/resource/js/public.js
View file @
3c4c7901
...
@@ -82,28 +82,28 @@ define(['doT', 'jquery', 'text!temp/menu_template_tpl.html', 'layer'], function
...
@@ -82,28 +82,28 @@ define(['doT', 'jquery', 'text!temp/menu_template_tpl.html', 'layer'], function
$
(
'#user_city_choose'
).
show
();
$
(
'#user_city_choose'
).
show
();
}
}
//改变title的文字
//改变title的文字
if
(
window
.
location
.
pathname
==
'/index/getHouseList'
){
//
if(window.location.pathname == '/index/getHouseList'){
document
.
title
=
'商铺列表'
;
//
document.title = '商铺列表';
};
//
};
if
(
window
.
location
.
pathname
==
'/index/followUpList'
){
//
if(window.location.pathname == '/index/followUpList'){
document
.
title
=
'商铺跟进列表'
;
//
document.title = '商铺跟进列表';
};
//
};
if
(
window
.
location
.
pathname
==
'/index/users_list'
){
//
if(window.location.pathname == '/index/users_list'){
document
.
title
=
'客户列表'
;
//
document.title = '客户列表';
};
//
};
if
(
window
.
location
.
pathname
==
'/index/RemarkFollowList'
){
//
if(window.location.pathname == '/index/RemarkFollowList'){
document
.
title
=
'客户跟进列表'
;
//
document.title = '客户跟进列表';
};
//
};
_doc
.
on
(
'click'
,
'.menu-sub-alink'
,
function
(
e
){
_doc
.
on
(
'click'
,
'.menu-sub-alink'
,
function
(
e
){
e
.
preventDefault
();
e
.
preventDefault
();
e
.
stopPropagation
();
e
.
stopPropagation
();
var
_this
=
$
(
this
);
var
_this
=
$
(
this
);
if
(
_this
.
data
(
'href'
)
==
'/index/getHouseList'
||
_this
.
data
(
'href'
)
==
'/index/followUpList'
||
_this
.
data
(
'href'
)
==
'/index/users_list'
||
_this
.
data
(
'href'
)
==
'/index/RemarkFollowList'
){
//
if(_this.data('href') == '/index/getHouseList' || _this.data('href') == '/index/followUpList' || _this.data('href') == '/index/users_list' || _this.data('href') == '/index/RemarkFollowList'){
window
.
open
(
_this
.
data
(
'href'
));
//改为在新标签页打开
//
window.open(_this.data('href'));//改为在新标签页打开
//
}
else
{
//
}else{
location
.
href
=
_this
.
data
(
'href'
);
location
.
href
=
_this
.
data
(
'href'
);
}
//
}
});
});
_doc
.
on
(
'click'
,
'.menu-main-li'
,
function
(
e
){
_doc
.
on
(
'click'
,
'.menu-main-li'
,
function
(
e
){
...
...
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