From 24aa249589ccd480be3213744e1023c56c69a895 Mon Sep 17 00:00:00 2001 From: Rain_ <904416525@qq.com> Date: Wed, 25 Jun 2025 17:29:14 +0800 Subject: [PATCH] =?UTF-8?q?flx:=E4=BF=AE=E5=A4=8D=E5=8C=85=E5=90=AB?= =?UTF-8?q?=E4=B8=8B=E7=BA=A7=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/projectFront/laborManage/attendanceGroup.vue | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/views/projectFront/laborManage/attendanceGroup.vue b/src/views/projectFront/laborManage/attendanceGroup.vue index 02c353d0..3fea3ade 100644 --- a/src/views/projectFront/laborManage/attendanceGroup.vue +++ b/src/views/projectFront/laborManage/attendanceGroup.vue @@ -1376,17 +1376,21 @@ export default { projectSn: this.$store.state.projectSn, // enterpriseId: this.treeListDetail.id, // userId: this.selectedInfo.userId, - enterpriseId: this.treeListDetail.id, + // enterpriseId: this.treeListDetail.id, pageNo: 1, pageSize: -1, attendanceGroupV2IdIsNull: 1, - containEnterpriseId: this.searchInfo.checked ? this.treeListDetail.id : "", }; if (this.searchInfo.searchType == 1) { data.workerName = this.searchInfo.searchValue; } else if (this.searchInfo.searchType == 2) { data.idCard = this.searchInfo.searchValue; } + if(this.searchInfo.checked) { + data.containEnterpriseId = this.treeListDetail.id; + }else { + data.enterpriseId = this.treeListDetail.id; + } this.staffInfo.pageNo = 1; getWorkerInfoList(data).then((res) => { console.log(res);