From bc65cf2aa30fa7a6b8c9c35165eead86eea7ee47 Mon Sep 17 00:00:00 2001 From: X_Rian <904416525@qq.com> Date: Mon, 3 Jun 2024 14:55:24 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.development | 4 +- src/api/modules/projectOverview.ts | 27 +- .../commandScreen/commandCenter/rightAll.vue | 797 +++++++++++------- 3 files changed, 504 insertions(+), 324 deletions(-) diff --git a/.env.development b/.env.development index a2acb68..108c49d 100644 --- a/.env.development +++ b/.env.development @@ -4,8 +4,8 @@ NODE_ENV = 'development' # 本地环境接口地址(/api/index.ts文件中使用) # 后端本地 # 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://192.168.34.221:9111' #雄哥本地 +# 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' diff --git a/src/api/modules/projectOverview.ts b/src/api/modules/projectOverview.ts index 3c97f76..1dcb944 100644 --- a/src/api/modules/projectOverview.ts +++ b/src/api/modules/projectOverview.ts @@ -8,13 +8,15 @@ export const getProjectDetail = (params: {}) => { }; // 统计企业下项目各人员统计 -export const getWorkerStatisticsCountApi = (params: {},) => { +export const getWorkerStatisticsCountApi = (params: {}) => { return http.post(BASEURL + `/xmgl/workerInfo/getWorkerStatisticsCount`, params, { headers: { noLoading: true } }); }; // 安全管理 export const getProjectInspectRecordCountApi = (params: {}) => { - return http.post(BASEURL + `/xmgl/hiddenDangerInspectRecord/getProjectInspectRecordCount`, params, { headers: { noLoading: true } }); + return http.post(BASEURL + `/xmgl/hiddenDangerInspectRecord/getProjectInspectRecordCount`, params, { + headers: { noLoading: true } + }); }; // 质量管理 @@ -52,7 +54,6 @@ export const getParentChildTaskListApi = (params: {}) => { return http.post(BASEURL + `/xmgl/taskProgress/getParentChildList`, params); }; - // 隐患统计智能分析 export const getSelectQualityStatisticsNumApi = (params: {}) => { return http.post(BASEURL + `/xmgl/xzSecurityQualityInspectionRecord/selectQualityStatisticsNum`, params); @@ -86,9 +87,25 @@ export const getXzSecurityQualitylnspectionRecordSuperviseApi = (params: {}) => return http.post(BASEURL + `/xmgl/xzSecurityQualityInspectionRecord/supervise`, params); }; - - // 隐患智能分析 export const getNoticeListApi = (params: {}) => { return http.post(BASEURL + `/xmgl/notice/list`, params); }; + +// 安全问题统计数据|列表 +export const getInspectionSelectQualityApi = (params: {}) => { + return http.post(BASEURL + `/xmgl/xzSecurityQualityInspectionRecord/selectQualityStatisticsNum`, params); +}; +export const getInspectionSelectQualityListApi = (params: {}) => { + return http.post(BASEURL + `/xmgl/xzSecurityQualityInspectionRecord/selectQualityStatisticsNumList`, params); +}; + +// 风险走势图 +export const getInspectionRiskChartApi = (params: {}) => { + return http.post(BASEURL + `/xmgl/xzSecurityQualityInspectionRecord/riskChart`, params); +}; + +// 特殊作业 +export const getSpecialCountAllSpecialApi = (params: {}) => { + return http.post(BASEURL + `/xmgl/xzSpecial/countAllSpecial`, params); +}; diff --git a/src/views/commandScreen/commandCenter/rightAll.vue b/src/views/commandScreen/commandCenter/rightAll.vue index 526e2c5..21e78e9 100644 --- a/src/views/commandScreen/commandCenter/rightAll.vue +++ b/src/views/commandScreen/commandCenter/rightAll.vue @@ -4,24 +4,35 @@
隐患统计智能分析
- +
- 重大隐患超期未整改{{ overdueMajorDangerCount }}个,占比{{ overdueMajorDangerRate }}% + 重大隐患超期未整改{{ overdueMajorDangerCount }}个,占比{{ overdueMajorDangerRate }}%
- 重大隐患未销项{{ majorDangerCount }}个,占比{{ majorDangerRate }}% + 重大隐患未销项{{ majorDangerCount }}个,占比{{ majorDangerRate }}%
-
+
+
状态统计(较昨日)
+
风险统计(较昨日)

暂无数据

@@ -29,7 +40,7 @@
- -
+
--> +
-
+
@@ -58,7 +69,7 @@
-
+
@@ -66,7 +77,7 @@
-
+
@@ -77,7 +88,7 @@
-
+
@@ -85,7 +96,7 @@
- +
-->