From 9169a74e1d7b2d24d20d708b4498d7ca17eda9d8 Mon Sep 17 00:00:00 2001 From: riku <risaku@163.com> Date: 星期一, 28 四月 2025 13:42:52 +0800 Subject: [PATCH] 1. 新增自动评估监测数据统计导入功能 2. 修改问题审核界面巡查点次统计没有根据场景类型切换的问题 --- 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