Commit ec74233b authored by 黄奎's avatar 黄奎

新增权限

parent 0c641e7a
......@@ -149,7 +149,7 @@
<el-date-picker v-model="dateList" type="daterange" align="right" value-format="yyyy-MM-dd" @change="getData"
unlink-panels range-separator="至" start-placeholder="开始日期" end-placeholder="结束日期">
</el-date-picker>
<el-select v-model="msg.empList" @change="throttle" style="width:180px;margin-left:10px;" collapse-tags multiple
<el-select v-model="msg.empList" @change="getData" style="width:180px;margin-left:10px;" collapse-tags multiple
filterable placeholder="请选择">
<el-option v-for="item in myEmployeeList" :key="item.Id" :label="item.EmployeeName" :value="item.Id">
</el-option>
......@@ -844,9 +844,25 @@
yesData: {}, //昨日数据
employeeList: [],
myEmployeeList: [],
ConsultObj: {} //课程顾问数据
ConsultObj: {}, //课程顾问数据
IsQueryAuth: false,//是否有查询市场部和课程顾问部人员权限
CurrentUserInfo: {}, //当前登录用户信息
};
},
created() {
this.CurrentUserInfo = this.getLocalStorage();
if (this.CurrentUserInfo && this.CurrentUserInfo.ActionMenuList && this.CurrentUserInfo.ActionMenuList.length >
0) {
this.CurrentUserInfo.ActionMenuList.forEach((x) => {
if (x.FunctionCode == "Query_MarketConsultant") {
this.IsQueryAuth = true;
}
});
}
console.log("IsQueryAuth",this.IsQueryAuth);
console.log("CurrentUserInfo", this.CurrentUserInfo);
},
mounted() {
this.getData();
this.getEmployeeList();
......
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