From ad208889ad6ca2283a06d7bc440ecd289c535d83 Mon Sep 17 00:00:00 2001 From: riku <risaku@163.com> Date: 星期四, 03 四月 2025 17:26:29 +0800 Subject: [PATCH] 1. 添加显示问题整改的时间; 2. 新增巡查场景数、巡查点次、复查点次的统计; 3. 添加扬尘监测数据统计结果管理(待完成) --- src/api/fysp/problemApi.js | 12 ++++++++++-- 1 files changed, 10 insertions(+), 2 deletions(-) diff --git a/src/api/fysp/problemApi.js b/src/api/fysp/problemApi.js index 9fbc690..b5ed2fb 100644 --- a/src/api/fysp/problemApi.js +++ b/src/api/fysp/problemApi.js @@ -15,7 +15,7 @@ fetchProblemType({ cityCode, districtCode, sceneTypeId }) { const params = `?taskTypeId=1&cityCode=${cityCode}&districtCode=${districtCode}&sceneTypeId=${sceneTypeId}`; - return $fysp.get(`problemtype/search${params}`).then((res) => res); + return $fysp.get(`problemtype/search${params}`).then((res) => res.data); }, /** @@ -45,5 +45,13 @@ // 淇敼鏁存敼 updateChange(data) { return $fysp.post(`problemlist/updateChange`, data).then((res) => res) + }, + // 鏁存敼涓婁紶 + changeProblem(data) { + return $fysp.post(`problemlist/changeProblem`, data).then((res) => res) + }, + // 闂鍒犻櫎 + deleteProblem({ pid }) { + return $fysp.post(`problemlist/${pid}`).then((res) => res.data) } -}; +} -- Gitblit v1.9.3