From 52cdea9a329e0835fc30ef8c3ebb7263658cf38d Mon Sep 17 00:00:00 2001
From: Your Name <123456>
Date: 星期六, 20 八月 2022 10:12:05 +0800
Subject: [PATCH] lct

---
 src/api/goalManagement/index.ts |   87 +++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 87 insertions(+), 0 deletions(-)

diff --git a/src/api/goalManagement/index.ts b/src/api/goalManagement/index.ts
index 1aec912..340cdce 100644
--- a/src/api/goalManagement/index.ts
+++ b/src/api/goalManagement/index.ts
@@ -232,6 +232,14 @@
                 method: 'get'
             });
         },
+        //安全目标考核 列表
+        gettargetExamineList: (params: object) => {
+            return request({
+                url: import.meta.env.VITE_API_URL_OUT + '/targetExamine/page/list',
+                method: 'post',
+                data: params
+            });
+        },
         // 安全目标考核 查询单条数据
         gettargetExamineDetail: (params: any) => {
             return request({
@@ -251,6 +259,14 @@
         getworkApproveList: (params: object) => {
             return request({
                 url: import.meta.env.VITE_API_URL_OUT + '/targetMng/checkAndSubimt/list',
+                method: 'post',
+                data: params
+            });
+        },
+        //   目标检查上报 查看审批流程
+        getworkApproveListCode: (params: object) => {
+            return request({
+                url: import.meta.env.VITE_API_URL_OUT + '/targetDutyWorkApprove/page/list',
                 method: 'post',
                 data: params
             });
@@ -320,6 +336,77 @@
                 url: import.meta.env.VITE_API_URL_OUT + '/minio/file/view?obj=' + fileName,
                 method: 'get'
             });
+        },
+        // 应急统计
+        emergencyStat(params: object) {
+            return request({
+                url: import.meta.env.VITE_API_URL_OUT + `/emergencyCount/emergencyDrillExecute/count`,
+                method: 'post',
+                data: params
+            });
+        },
+        // 目标分类 分页查询数据
+        gettargetClassList(params: object) {
+            return request({
+                url: import.meta.env.VITE_API_URL_OUT + '/targetType/page/list',
+                method: 'post',
+                data: params
+            });
+        },
+        // 目标分类 查询单条数据
+        gettargetClassDetail(params: any) {
+            return request({
+                url: import.meta.env.VITE_API_URL_OUT + `/targetType/selectOne/${params}`,
+                method: 'get'
+            });
+        },
+        // 目标分类 新增或者修改数据
+        gettargetClassAdd(params: object) {
+            return request({
+                url: import.meta.env.VITE_API_URL_OUT + '/targetType/addOrUpdate',
+                method: 'post',
+                data: params
+            });
+        },
+        // 目标分类 删除
+        gettargetClassDelete(params: any) {
+            return request({
+                url: import.meta.env.VITE_API_URL_OUT + '/targetType/delete',
+                method: 'post',
+                data: params
+            });
+        },
+        // 目标分类 查询所有数据All
+        gettargetClassAll(params: any) {
+            return request({
+                url: import.meta.env.VITE_API_URL_OUT + '/targetType/page/listAll',
+                method: 'post',
+                data: params
+            });
+        },
+        // 统计  查询应急物资
+        emergencySuppliesCount(params: any) {
+            return request({
+                url: import.meta.env.VITE_API_URL_OUT + '/emergencyCount/emergencySupplies/count',
+                method: 'post',
+                data: params
+            });
+        },
+        // 统计  事故快报
+        accidentReportCount(params: any) {
+            return request({
+                url: import.meta.env.VITE_API_URL_OUT + '/accidentCount/accidentReport/count',
+                method: 'post',
+                data: params
+            });
+        },
+        // 目标 统计
+        gettargetstatistics(params: any) {
+            return request({
+                url: import.meta.env.VITE_API_URL_OUT + `/targetMng/statistics?targetType=${params}`,
+                method: 'get'
+                // data:params
+            });
         }
     };
 }

--
Gitblit v1.9.2