From db074a8c34d622420b401052e49c847a6ea71f83 Mon Sep 17 00:00:00 2001 From: haha Date: Sat, 26 Aug 2023 11:08:34 +0800 Subject: [PATCH] update code --- src/pages/index.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 => {