Commit b1372101 authored by zhengke's avatar zhengke

修改

parent ae9777cb
......@@ -186,6 +186,11 @@ export default {
}
});
}
if((this.IsQueryAuth||this.CurrentUserInfo.IsMarket==1)||(this.IsQueryAuth||this.CurrentUserInfo.IsCourseConsultant==1)){
this.viewMode=1
}else{
this.viewMode=2
}
this.getUserList();
let str=Encrypt("2")
......
......@@ -172,10 +172,10 @@
</div>
<div class="Check_Content" v-if="(IsQueryAuth||CurrentUserInfo.IsMarket==1)||(IsQueryAuth||CurrentUserInfo.IsCourseConsultant==1)">
<div class="Check_ListContent">
<div class="Check_Item" v-if="IsQueryAuth||CurrentUserInfo.IsMarket==1" @click="comType=1,searchData() "
<div class="Check_Item" v-if="IsQueryAuth||CurrentUserInfo.IsMarket==1" @click="getSwitch(1)"
:class="{'toDayCkclass':comType==1}">市场部数据统计</div>
<div class="Check_Item" v-if="IsQueryAuth||CurrentUserInfo.IsCourseConsultant==1"
@click="comType=2,searchData()" :class="{'toDayCkclass':comType==2}">课程顾问部统计</div>
@click="getSwitch(2)" :class="{'toDayCkclass':comType==2}">课程顾问部统计</div>
</div>
</div>
<div v-show="comType==1">
......@@ -811,7 +811,12 @@
this.searchData();
},
methods: {
//点击市场和课程顾问切换
getSwitch(type){
this.comType=type;
this.msg.empList=[];
this.searchData();
},
//获取员工列表
getEmployeeList() {
var qMsg = {
......
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