Commit decf3912 authored by 黄奎's avatar 黄奎

页面修改

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