From 9a9b0ca429c76569adcd610a3e3b65fe1b7cff08 Mon Sep 17 00:00:00 2001 From: BianLzhaoMin <11485688+bianliangzhaomin123@user.noreply.gitee.com> Date: Mon, 13 Oct 2025 13:11:24 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BB=BC=E5=90=88=E6=9F=A5=E8=AF=A2=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2=E5=AE=8C=E5=96=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../detail/components/attInfo.vue | 24 +++++++++++++------ .../person-count/detail/components/idCard.vue | 10 ++++++++ .../detail/components/person-details.vue | 14 +++++++++-- .../detail/components/wageInfo.vue | 10 ++++++++ .../person-count/detail/index.vue | 8 +++++-- .../synthesize-query/person-count/index.vue | 24 +++++++++++++++++++ .../detail/components/personInfo-card.vue | 12 +++++++++- .../detail/components/personInfo-card.vue | 12 +++++++++- 8 files changed, 101 insertions(+), 13 deletions(-) diff --git a/src/views/synthesize-query/person-count/detail/components/attInfo.vue b/src/views/synthesize-query/person-count/detail/components/attInfo.vue index f3cd7e8..443d8d6 100644 --- a/src/views/synthesize-query/person-count/detail/components/attInfo.vue +++ b/src/views/synthesize-query/person-count/detail/components/attInfo.vue @@ -114,6 +114,14 @@ export default { type: [Number, String], default: '', }, + subId: { + type: [Number, String], + default: '', + }, + proId: { + type: [Number, String], + default: '', + }, }, data() { return { @@ -125,6 +133,8 @@ export default { pageNum: 1, pageSize: 10, workerId: this.workerId, + subId: this.subId, + proId: this.proId, }, attInfoData: [], columnData: [ @@ -200,13 +210,13 @@ export default { }, // 导出 handleExport() { - // this.download( - // '/bmw/workerLight/attExportByWorker', - // { - // ...this.attInfoQueryParams, - // }, - // '考勤信息.xlsx', - // ) + this.download( + '/bmw/workerStatistics/exportWorkerEinDayRecordDetail', + { + workerId: this.workerId, + }, + '考勤信息.xlsx', + ) }, // 获取考勤信息 async getAttInfoData() { diff --git a/src/views/synthesize-query/person-count/detail/components/idCard.vue b/src/views/synthesize-query/person-count/detail/components/idCard.vue index d91bd83..2f8f199 100644 --- a/src/views/synthesize-query/person-count/detail/components/idCard.vue +++ b/src/views/synthesize-query/person-count/detail/components/idCard.vue @@ -41,6 +41,14 @@ export default { type: [Number, String], default: '', }, + subId: { + type: [Number, String], + default: '', + }, + proId: { + type: [Number, String], + default: '', + }, }, data() { return { @@ -115,6 +123,8 @@ export default { async getPersonCountDetail() { const res = await getPersonCountDetailAPI({ workerId: this.workerId, + subId: this.subId, + proId: this.proId, }) const personInfo = res.data diff --git a/src/views/synthesize-query/person-count/detail/components/person-details.vue b/src/views/synthesize-query/person-count/detail/components/person-details.vue index 700a4cb..ba17577 100644 --- a/src/views/synthesize-query/person-count/detail/components/person-details.vue +++ b/src/views/synthesize-query/person-count/detail/components/person-details.vue @@ -7,13 +7,15 @@ - - + + @@ -39,6 +41,14 @@ export default { type: [Number, String], default: '', }, + subId: { + type: [Number, String], + default: '', + }, + proId: { + type: [Number, String], + default: '', + }, }, data() { return { diff --git a/src/views/synthesize-query/person-count/detail/components/wageInfo.vue b/src/views/synthesize-query/person-count/detail/components/wageInfo.vue index ae7d433..76aae5e 100644 --- a/src/views/synthesize-query/person-count/detail/components/wageInfo.vue +++ b/src/views/synthesize-query/person-count/detail/components/wageInfo.vue @@ -70,6 +70,14 @@ export default { type: [Number, String], default: '', }, + subId: { + type: [Number, String], + default: '', + }, + proId: { + type: [Number, String], + default: '', + }, }, data() { return { @@ -79,6 +87,8 @@ export default { pageNum: 1, pageSize: 10, workerId: this.workerId, + subId: this.subId, + proId: this.proId, }, columnData: [ { diff --git a/src/views/synthesize-query/person-count/detail/index.vue b/src/views/synthesize-query/person-count/detail/index.vue index 9f70633..83d1327 100644 --- a/src/views/synthesize-query/person-count/detail/index.vue +++ b/src/views/synthesize-query/person-count/detail/index.vue @@ -1,6 +1,6 @@ @@ -14,13 +14,17 @@ export default { data() { return { workerId: null, + subId: null, + proId: null, } }, watch: { $route: { handler(newVal) { - const { workerId } = newVal.query + const { workerId, subId, proId } = newVal.query this.workerId = workerId + this.subId = subId + this.proId = proId }, immediate: true, deep: true, diff --git a/src/views/synthesize-query/person-count/index.vue b/src/views/synthesize-query/person-count/index.vue index 3f4b5bf..603bd37 100644 --- a/src/views/synthesize-query/person-count/index.vue +++ b/src/views/synthesize-query/person-count/index.vue @@ -9,6 +9,17 @@ :columnsList="columnsList" :request-api="getPersonCountListAPI" > +