diff --git a/src/pages/index.vue b/src/pages/index.vue index 8ce5d12..758ce3c 100644 --- a/src/pages/index.vue +++ b/src/pages/index.vue @@ -475,6 +475,7 @@ export default { this.groupByProjectCategory(dept.id); this.onClickoOverview(0) this.qualityNavClick(0); + this.onWarningInfoNav(0); }); }, @@ -600,7 +601,7 @@ export default { }, //查询在岗人数 getDeptWorksList(){ - let deptId = ''; + let deptId = this.deptInfo?.id||0; if (this.infoNav == 0) { //查询在岗人数 this.$api.attendance.getDeptWorksList(deptId).then(d => {