|
|
|
@ -19,25 +19,6 @@
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
created(){
|
|
|
|
|
// //部门权限
|
|
|
|
|
// this.depAdmin = OfficeMenuConfig.menuIsExist(["daliyOffice","attendanceManagementNew","attStatistical", "depart"]);
|
|
|
|
|
// console.log("created:考勤统计:",this.depAdmin )
|
|
|
|
|
// if (this.depAdmin) {
|
|
|
|
|
// this.tabArr.push(
|
|
|
|
|
// {title: "团队考勤",type:"team"}
|
|
|
|
|
// )
|
|
|
|
|
// }
|
|
|
|
|
},
|
|
|
|
|
mounted(){
|
|
|
|
|
this.$bus.on("systemDataChange",this.changeCrmData)
|
|
|
|
|
},
|
|
|
|
|
methods:{
|
|
|
|
|
tabChange:function (param) {
|
|
|
|
|
if (this.pageType != param.cbName) {
|
|
|
|
|
this.pageType = param.cbName;
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
changeCrmData:function () {
|
|
|
|
|
//部门权限
|
|
|
|
|
this.depAdmin = OfficeMenuConfig.menuIsExist(["daliyOffice","attendanceManagementNew","attStatistical", "depart"]);
|
|
|
|
|
if (this.depAdmin) {
|
|
|
|
@ -45,8 +26,14 @@
|
|
|
|
|
{title: "团队考勤",type:"team"}
|
|
|
|
|
)
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
methods:{
|
|
|
|
|
tabChange:function (param) {
|
|
|
|
|
if (this.pageType != param.cbName) {
|
|
|
|
|
this.pageType = param.cbName;
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
components:{
|
|
|
|
|
TabComp,
|
|
|
|
|
MyAttendance
|
|
|
|
|