洋浦学校 考勤统计

init
gongdi 3 years ago
parent 98dd8da8c6
commit db2c1ee516

@ -19,17 +19,13 @@
}
},
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)
//
this.depAdmin = OfficeMenuConfig.menuIsExist(["daliyOffice","attendanceManagementNew","attStatistical", "depart"]);
if (this.depAdmin) {
this.tabArr.push(
{title: "团队考勤",type:"team"}
)
}
},
methods:{
tabChange:function (param) {
@ -37,15 +33,6 @@
this.pageType = param.cbName;
}
},
changeCrmData:function () {
//
this.depAdmin = OfficeMenuConfig.menuIsExist(["daliyOffice","attendanceManagementNew","attStatistical", "depart"]);
if (this.depAdmin) {
this.tabArr.push(
{title: "团队考勤",type:"team"}
)
}
}
},
components:{
TabComp,

Loading…
Cancel
Save