diff --git a/src/api/dashboard/project.js b/src/api/dashboard/project.js index a1468bb..855dd25 100644 --- a/src/api/dashboard/project.js +++ b/src/api/dashboard/project.js @@ -1,13 +1,5 @@ import request from '@/utils/request' -// 获取项目比率 -export function getDashboardProjectRate() { - return request({ - url: '/dashboard/project/rate', - method: 'get' - }) -} - // 获取每月项目进度概览 export function getMonthProject(params) { return request({ diff --git a/src/utils/enums.js b/src/utils/enums.js index 37b1cfa..58cbe04 100644 --- a/src/utils/enums.js +++ b/src/utils/enums.js @@ -115,6 +115,7 @@ export const BriefKeys = { // 项目 PROJECT_STATUS: "projectStatus", // 项目状态 PROJECT_DEV_COMPLETED: "projectDevCompleted", // 项目开发完成 + PROJECT_DEV_ON_TIME_COMPLETED: "projectDevOnTimeCompleted", // 项目正常开发完成 PROJECT_OVERDUE_DEV_UNCOMPLETED: "projectOverdueDevUncompleted", // 项目逾期开发未完成 PROJECT_OVERDUE_DEV_COMPLETED: "projectOverdueDevCompleted", // 项目逾期开发完成 PROJECT_DEV_OVERDUE: "projectDevOverdue", // 项目开发逾期 diff --git a/src/views/dashboard/ProjectRateChart.vue b/src/views/dashboard/ProjectRateChart.vue index 0121af4..bee9ff9 100644 --- a/src/views/dashboard/ProjectRateChart.vue +++ b/src/views/dashboard/ProjectRateChart.vue @@ -5,8 +5,9 @@