From d1ce79c837650689ab47bbf587d076743fcb3a5f Mon Sep 17 00:00:00 2001 From: riku <risaku@163.com> Date: 星期一, 19 五月 2025 17:25:38 +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