From 335b6642a23ddfbfc9e0108289c8ee04cb50f56a Mon Sep 17 00:00:00 2001 From: Vce Date: Mon, 3 Jun 2024 16:46:14 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AF=B9=E6=8E=A5=E5=B7=A6=E8=BE=B9=E6=8E=A5?= =?UTF-8?q?=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.development | 4 +- src/api/modules/agjtCommandApi.ts | 14 ++ .../commandCenter/leftBottom.vue | 184 ++++++++++++++---- 3 files changed, 160 insertions(+), 42 deletions(-) diff --git a/.env.development b/.env.development index c77c6ea..a2acb68 100644 --- a/.env.development +++ b/.env.development @@ -5,7 +5,7 @@ NODE_ENV = 'development' # 后端本地 # VITE_API_URL = 'http://192.168.34.221:19111' # VITE_API_URL = 'http://192.168.34.221:9111' #雄哥本地 -# VITE_API_URL = 'http://182.90.224.237:51234' #雄哥远程 +VITE_API_URL = 'http://182.90.224.237:51234' #雄哥远程 # VITE_API_URL = 'http://192.168.34.221:28889' # VITE_API_URL = 'http://121.196.214.246/api' # VITE_API_URL = 'http://jxj.zhgdyun.com:100' @@ -24,7 +24,7 @@ NODE_ENV = 'development' # VITE_API_URL = 'http://182.90.224.237:15551' # agjt # VITE_API_URL = 'http://42.180.188.17:9809' #生产环境 -VITE_API_URL = 'http://42.180.188.17:11211' #测试环境 +# VITE_API_URL = 'http://42.180.188.17:11211' #测试环境 # VITE_API_URL = 'http://jxj.zhgdyun.com:19812' # 苏立信 # VITE_API_URL = 'http://101.43.164.214:11111' diff --git a/src/api/modules/agjtCommandApi.ts b/src/api/modules/agjtCommandApi.ts index a71b007..ff8f6e9 100644 --- a/src/api/modules/agjtCommandApi.ts +++ b/src/api/modules/agjtCommandApi.ts @@ -103,4 +103,18 @@ export const getStatScoreApi = (params: {}) => { export const getPersonTypeAndEduStatisticsApi = (params: {}) => { return http.post(BASEURL + `/xmgl/workerInfo/selectPersonTypeAndEduStatistics`, params, { headers: { noLoading: true } }); }; +// 总包出勤情况分析 +export const queryAttendanceOfEachCompanyApi = (params: {}) => { + return http.get(BASEURL + `/xmgl/workerAttendance/queryAttendanceOfEachCompany`, params, { headers: { noLoading: true } }); +}; +// 进度情况分析 +// 项目总进度/项目剩余天数 +export const getCountTaskProgressApi = (params: {}) => { + return http.post(BASEURL + `/xmgl/xzTaskProgress/countTaskProgress`, params, { headers: { noLoading: true } }); +}; +// 总包进度列表 +export const queryCountEnterpriseApi = (params: {}) => { + return http.post(BASEURL + `/xmgl/xzTaskProgressTotal/countEnterprise`, params, { headers: { noLoading: true } }); +}; + diff --git a/src/views/commandScreen/commandCenter/leftBottom.vue b/src/views/commandScreen/commandCenter/leftBottom.vue index 6b6fa42..367282b 100644 --- a/src/views/commandScreen/commandCenter/leftBottom.vue +++ b/src/views/commandScreen/commandCenter/leftBottom.vue @@ -10,11 +10,14 @@
{{item}}
考勤日环比 +
+
0%
+
{{totalPersonRhbRatio}}%
-
+
{{totalPersonRhbRatio}}%
@@ -37,20 +40,21 @@
项目总进度: -
{{item}}
+
{{item}}
%
项目剩余天数 -
{{item}}
+
{{item}}
-
+
+ -
+
Top{{i+1}} @@ -58,12 +62,12 @@
-
{{item.a}}
-
{{item.b}}%
+
{{item.enterpriseName}}
+
{{item.changeAfter}}%
-
+
@@ -72,6 +76,33 @@
+
+ + +
+
+ + Top{{i+1}} + +
+
+
+
{{item.enterpriseName}}
+
{{item.changeAfter}}%
+
+
+
+
+
+
+
+
+
+
+ +
@@ -82,9 +113,13 @@ @@ -359,7 +463,7 @@ onMounted(async () => { } .cbProcess{ padding-top: 5px; - height: calc(100% - 65px); + height: calc(100% - 55px); overflow: hidden; // background-color: #fff; .pItem{