Commit decf3912 authored by 黄奎's avatar 黄奎

页面修改

parent 396a7a69
......@@ -158,8 +158,10 @@
</div>
<div class="Check_Content">
<div class="Check_ListContent">
<div class="Check_Item" v-if="IsQueryAuth||CurrentUserInfo.IsMarket==1" @click="comType=1,searchData() " :class="{'ckedClass':comType==1}">市场部数据统计</div>
<div class="Check_Item" v-if="IsQueryAuth||CurrentUserInfo.IsCourseConsultant==1" @click="comType=2,searchData()" :class="{'ckedClass':comType==2}">课程顾问部统计</div>
<div class="Check_Item" v-if="IsQueryAuth||CurrentUserInfo.IsMarket==1" @click="comType=1,searchData() "
:class="{'ckedClass':comType==1}">市场部数据统计</div>
<div class="Check_Item" v-if="IsQueryAuth||CurrentUserInfo.IsCourseConsultant==1"
@click="comType=2,searchData()" :class="{'ckedClass':comType==2}">课程顾问部统计</div>
</div>
</div>
<template v-if="comType==1">
......@@ -754,7 +756,7 @@
data() {
return {
dateList: [],
comType: 2, //1-市场部;2-课程顾问部
comType: 1, //1-市场部;2-课程顾问部
msg: {
startTime: "",
endTime: "",
......@@ -866,6 +868,13 @@
} else {
this.msg.empList.push(this.CurrentUserInfo.Id);
}
if (this.IsQueryAuth) {
this.comType = 1;
} else if (this.CurrentUserInfo.IsMarket == 1) {
this.comType = 1;
} else if (this.CurrentUserInfo.IsCourseConsultant == 1) {
this.comType = 2;
}
},
mounted() {
this.searchData();
......
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