From d371fae9b2187886c9c086d6f060ecd6795c2ec7 Mon Sep 17 00:00:00 2001 From: BianLzhaoMin <11485688+bianliangzhaomin123@user.noreply.gitee.com> Date: Sat, 11 Oct 2025 16:16:35 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B7=A5=E8=B5=84=E7=BB=9F=E8=AE=A1=E6=8E=A5?= =?UTF-8?q?=E5=8F=A3=E8=B0=83=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/synthesize-query/wage-count.js | 6 +- .../wage-count/components/companyCount.vue | 77 ++++--- .../wage-count/components/dataFilter.vue | 206 +++++++++++++++--- .../wage-count/components/subCompanyCount.vue | 35 +-- .../wage-count/components/wage-details.vue | 29 ++- .../synthesize-query/wage-count/index.vue | 19 +- 6 files changed, 285 insertions(+), 87 deletions(-) diff --git a/src/api/synthesize-query/wage-count.js b/src/api/synthesize-query/wage-count.js index daa0c03..e9afe0e 100644 --- a/src/api/synthesize-query/wage-count.js +++ b/src/api/synthesize-query/wage-count.js @@ -1,9 +1,9 @@ import request from '@/utils/request' -// 综合查询 获取工资统计列表 -export const getWageCountListAPI = (data) => { +// 综合查询 工资统计 公司统计和分公司统计 +export const getWageCountCompanyAndSubCompanyListAPI = (data) => { return request({ - url: '/bmw/workerLight/****', + url: '/bmw/salaryStatistics/getSalaryStatisticsTable', method: 'GET', params: data, }) diff --git a/src/views/synthesize-query/wage-count/components/companyCount.vue b/src/views/synthesize-query/wage-count/components/companyCount.vue index 5a3f44f..33b41a8 100644 --- a/src/views/synthesize-query/wage-count/components/companyCount.vue +++ b/src/views/synthesize-query/wage-count/components/companyCount.vue @@ -33,53 +33,55 @@ diff --git a/src/views/synthesize-query/wage-count/components/subCompanyCount.vue b/src/views/synthesize-query/wage-count/components/subCompanyCount.vue index 8647d96..1ed3520 100644 --- a/src/views/synthesize-query/wage-count/components/subCompanyCount.vue +++ b/src/views/synthesize-query/wage-count/components/subCompanyCount.vue @@ -35,45 +35,34 @@ diff --git a/src/views/synthesize-query/wage-count/index.vue b/src/views/synthesize-query/wage-count/index.vue index 756076e..50c4977 100644 --- a/src/views/synthesize-query/wage-count/index.vue +++ b/src/views/synthesize-query/wage-count/index.vue @@ -1,8 +1,8 @@ @@ -15,5 +15,20 @@ export default { DataFilter, WageDetails, }, + + data() { + return { + queryParams: { + year: new Date().getFullYear(), + month: null, + }, + } + }, + + methods: { + handelSettingQuery(queryParams) { + this.queryParams = queryParams + }, + }, }