Commit 7c9e6fac authored by duxinyuan's avatar duxinyuan

333

parent f4818fb7
......@@ -54,8 +54,8 @@
<li class="flex" v-for="(item2,index2) in item.dataList" :data-id="item2.store_id">
<div class="db-line">
<!--<div class="ellipsis">{{item2.store_name}}</div>-->
<div v-show="isBoss==1">{{item2.name}}</div>
<div v-show="isBoss==0">{{item2.store_name}}</div>
<div v-show="initTabNumMain==1">{{item2.name}}</div>
<div v-show="initTabNumMain==0">{{item2.store_name}}</div>
</div>
<div class="flex-center">{{item2.add_house_num}}</div>
......@@ -204,9 +204,11 @@
_this.ajaxMainNum(function() {
if(_this.userLevel == '30' || _this.userLevel == '40'|| localStorage.getItem('isBoss')==0) {
if( localStorage.getItem('isBoss')==0 ){
_this.ajaxUl(2);
} else{
_this.ajaxUl(_this.initTabNumMain === 0 ? 2 : 1);
} else if (_this.userLevel == '30' || _this.userLevel == '40'){
_this.ajaxUl(_this.initTabNumMain === 0 ? 2 : 1);
} else {
_this.ajaxUl(1);
}
} else {
_this.ajaxUl(1);
......@@ -221,10 +223,12 @@
//Vue.set(_this.tabsMain[index], 'isLoadMain', true);
if(_this.userLevel == '30' || _this.userLevel == '40' || localStorage.getItem('isBoss')==0) {
if( localStorage.getItem('isBoss')==0 ){
_this.ajaxUl(2);
} else{
_this.ajaxUl(_this.initTabNumMain === 0 ? 2 : 1);
}
_this.ajaxUl(_this.initTabNumMain === 0 ? 2 : 1);
} else if (_this.userLevel == '30' || _this.userLevel == '40'){
_this.ajaxUl(_this.initTabNumMain === 0 ? 2 : 1);
} else {
_this.ajaxUl(1);
}
} else {
_this.ajaxUl(1);
}
......@@ -271,9 +275,11 @@
_this.ajaxMainNum(function() {
if(_this.userLevel == '30' || _this.userLevel == '40'|| localStorage.getItem('isBoss')==0) {
if( localStorage.getItem('isBoss')==0 ){
_this.ajaxUl(2);
} else{
_this.ajaxUl(_this.initTabNumMain === 0 ? 2 : 1);
} else if (_this.userLevel == '30' || _this.userLevel == '40'){
_this.ajaxUl(_this.initTabNumMain === 0 ? 2 : 1);
} else {
_this.ajaxUl(1);
}
} else {
_this.ajaxUl(1);
......
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