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 + }, + }, }