洋浦学校 考勤统计

init
gongdi 3 years ago
parent 98dd8da8c6
commit db2c1ee516

@ -19,17 +19,13 @@
} }
}, },
created(){ created(){
// // //
// this.depAdmin = OfficeMenuConfig.menuIsExist(["daliyOffice","attendanceManagementNew","attStatistical", "depart"]); this.depAdmin = OfficeMenuConfig.menuIsExist(["daliyOffice","attendanceManagementNew","attStatistical", "depart"]);
// console.log("created::",this.depAdmin ) if (this.depAdmin) {
// if (this.depAdmin) { this.tabArr.push(
// this.tabArr.push( {title: "团队考勤",type:"team"}
// {title: "",type:"team"} )
// ) }
// }
},
mounted(){
this.$bus.on("systemDataChange",this.changeCrmData)
}, },
methods:{ methods:{
tabChange:function (param) { tabChange:function (param) {
@ -37,15 +33,6 @@
this.pageType = param.cbName; this.pageType = param.cbName;
} }
}, },
changeCrmData:function () {
//
this.depAdmin = OfficeMenuConfig.menuIsExist(["daliyOffice","attendanceManagementNew","attStatistical", "depart"]);
if (this.depAdmin) {
this.tabArr.push(
{title: "团队考勤",type:"team"}
)
}
}
}, },
components:{ components:{
TabComp, TabComp,

Loading…
Cancel
Save