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
08cb682b
Commit
08cb682b
authored
Apr 15, 2019
by
agping
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
周报优化
parent
43723c73
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
weekly.js
public/app/js/weekly.js
+3
-3
No files found.
public/app/js/weekly.js
View file @
08cb682b
...
...
@@ -7,8 +7,7 @@ require(['vue', 'vconsole', 'css!style/weekly.css', 'jquery0325', 'common'], fun
}
var
_appToken
=
getUrlParam
(
'token'
);
//总监周报 城市选择
if
(
localStorage
.
getItem
(
'userlevel'
)
*
1
!=
20
){
//总监
$
(
'.is-zongjian-week'
).
show
();
// if(localStorage.getItem('userlevel')*1 != 20){//总监
$
(
document
).
on
(
'click'
,
'.city-zongjian>span'
,
function
(
e
){
e
.
preventDefault
();
e
.
stopPropagation
();
...
...
@@ -19,7 +18,7 @@ require(['vue', 'vconsole', 'css!style/weekly.css', 'jquery0325', 'common'], fun
localStorage
.
setItem
(
'useridliu'
,
city_zhongjian
);
//缓存数据 识别
});
}
//
}
var
vm
=
new
Vue
({
el
:
'#app'
,
...
...
@@ -34,6 +33,7 @@ require(['vue', 'vconsole', 'css!style/weekly.css', 'jquery0325', 'common'], fun
if
(
_appToken
!==
null
)
{
h5PageC
(
_appToken
,
function
(
data
)
{
if
(
localStorage
.
getItem
(
'userlevel'
)
*
1
!=
20
){
//总监
$
(
'.is-zongjian-week'
).
show
();
_this
.
getCity
();
//总监才调用接口
};
_this
.
loadMain
();
...
...
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