洋浦学校 考勤统计

init
gongdi 3 years ago
parent 98dd8da8c6
commit db2c1ee516

@ -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

Loading…
Cancel
Save