From 36d430922c4a6f4c77db56e74a7ccee9a7af06a5 Mon Sep 17 00:00:00 2001 From: 邱宇豪 <qyh123230312> Date: 星期三, 22 十一月 2023 11:12:35 +0800 Subject: [PATCH] 20231122_qiuyh_修改钢筋笼打印制作人 --- web/src/api/modules/safety.js | 16 +++++++++++++--- 1 files changed, 13 insertions(+), 3 deletions(-) diff --git a/web/src/api/modules/safety.js b/web/src/api/modules/safety.js index 7926c5f..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, + }), } }, /** -- Gitblit v1.9.3