Commit 08cb682b authored by agping's avatar agping

周报优化

parent 43723c73
......@@ -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,7 +33,8 @@ require(['vue', 'vconsole', 'css!style/weekly.css', 'jquery0325', 'common'], fun
if(_appToken !== null) {
h5PageC(_appToken, function(data) {
if(localStorage.getItem('userlevel')*1 != 20){//总监
_this.getCity();//总监才调用接口
$('.is-zongjian-week').show();
_this.getCity();//总监才调用接口
};
_this.loadMain();
......
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