From efe3835896fac64c9d966d7bf73615657aebf7cd Mon Sep 17 00:00:00 2001 From: zmj <1493694146@qq.com> Date: Wed, 31 Jan 2024 11:48:10 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A1=B5=E9=9D=A2=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/projectStatistics.ts | 15 ++ src/components/projectCostBudget/index.vue | 23 +-- .../project_equipment_budget_detail/index.vue | 24 +-- src/components/project_labor_budget/index.vue | 2 - src/components/subpackage_budget/index.vue | 25 +-- src/views/bid_bidding_decision/edit.vue | 21 ++- src/views/project_cost_budget_detail/edit.vue | 15 +- .../project_equipment_budget_detail/edit.vue | 10 +- .../project_labor_budget_detail/edit.vue | 11 +- .../project_list/components/Statistics.vue | 162 ++++++++++-------- src/views/project_list/components/budget.vue | 74 ++++---- .../project_list/components/manpower.vue | 3 +- src/views/project_list/components/myTable.vue | 5 +- src/views/project_list/components/tender.vue | 4 +- .../project_material_budget_detail/edit.vue | 30 ++-- .../project_material_budget_detail/index.vue | 14 +- .../project_subpackage_budget_detail/edit.vue | 30 +--- .../index.vue | 8 +- 18 files changed, 220 insertions(+), 256 deletions(-) create mode 100644 src/api/projectStatistics.ts diff --git a/src/api/projectStatistics.ts b/src/api/projectStatistics.ts new file mode 100644 index 0000000..6f9b37b --- /dev/null +++ b/src/api/projectStatistics.ts @@ -0,0 +1,15 @@ +import request from '@/utils/request' + +// 项目预算统计 +export function apiProjectStatisticsbudget(params: any) { + return request.get({ url: '/project.project_statistics/budget', params }) +} + +// 项目商务工作统计 +export function apiProjectStatisticsbusiness(params: any) { + return request.get({ url: '/project.project_statistics/business', params }) +} +// 项目合同统计 +export function apiProjectStatisticsContracts(params: any) { + return request.get({ url: '/project.project_statistics/contracts', params }) +} diff --git a/src/components/projectCostBudget/index.vue b/src/components/projectCostBudget/index.vue index 82da503..3b39894 100644 --- a/src/components/projectCostBudget/index.vue +++ b/src/components/projectCostBudget/index.vue @@ -1,16 +1,5 @@