From 948b8191b8f32ce002b3f418b3669e01f745bcaa Mon Sep 17 00:00:00 2001 From: bingbo <bingbo1993@126.com> Date: 星期日, 26 十一月 2023 10:46:47 +0800 Subject: [PATCH] 环号位数 --- web/src/api/modules/safety.js | 24 +++++++++++++++++++++--- 1 files changed, 21 insertions(+), 3 deletions(-) diff --git a/web/src/api/modules/safety.js b/web/src/api/modules/safety.js index 28874ff..ad2c24f 100644 --- a/web/src/api/modules/safety.js +++ b/web/src/api/modules/safety.js @@ -236,11 +236,21 @@ }, // 区域巡检 polling: { - getLists: params => - axios.post('/secure/regioninspection/selectPageList', params), + /* 巡检任务 */ + getLists: params => axios.post('/secure/regioninspection/selectPageList', params), insert: params => axios.post('/secure/regioninspection/insertAndUpdate', params), update: params => axios.post('/secure/regioninspection/insertAndUpdate', params), - delete: params => axios.get('/secure/regioninspection/delete', { params }) + delete: params => axios.get('/secure/regioninspection/delete', { params }), + /* 任务打卡 */ + taskcardGetlists: params => axios.post('/secure/regionInspectionRecord/selectPageList', params), + taskcardGetregions: params => axios.post('/secure/regionInspectionRecord/selectInfo', params), + taskcardGetregionInfo: params => axios.post('/secure/regionInspectionRecord/regionInfo', params), + taskcardExport: params => axios({ + method: 'post', + url:'/secure/regionInspectionRecord/export', + responseType:'blob', + data: params, + }), } }, /** @@ -305,4 +315,12 @@ //隐患举报详情 detailsHiddenInfo: (params) => axios.get('/secure/hiddendanger/selectInfo',{params}), + //隐患举报导出 + exportHiddenFiles:params=> + axios({ + method: 'post', + url: '/secure/hiddendanger/export', + responseType: 'blob', + data: params + }), } \ No newline at end of file -- Gitblit v1.9.3