From 91ff95ea481c0983e26bba6626dc3b7dfde11f20 Mon Sep 17 00:00:00 2001 From: wangxiaogang <1433729587@qq.com> Date: Mon, 8 Jun 2026 17:02:34 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=8F=8D=E9=A6=88=E5=A4=84=E7=90=86?= =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E5=9B=9E=E5=A4=8D=E5=8A=9F=E8=83=BD=20?= =?UTF-8?q?=E2=80=94=20=E7=AE=A1=E7=90=86=E5=91=98=E5=8F=AF=E5=9B=9E?= =?UTF-8?q?=E5=A4=8D=E7=94=A8=E6=88=B7=E5=8F=8D=E9=A6=88=E5=B9=B6=E6=8E=A8?= =?UTF-8?q?=E9=80=81=E9=80=9A=E7=9F=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- client/src/api/feedback.ts | 4 +- client/src/pages/admin/feedback.vue | 186 +++++++++++++++++++++++++++- 2 files changed, 187 insertions(+), 3 deletions(-) diff --git a/client/src/api/feedback.ts b/client/src/api/feedback.ts index 744ca79..be5e34a 100644 --- a/client/src/api/feedback.ts +++ b/client/src/api/feedback.ts @@ -30,6 +30,6 @@ export function getFeedbackList(params?: { page?: number; pageSize?: number; sta } /** 更新反馈状态(管理员) */ -export function updateFeedbackStatus(id: number, status: string) { - return request({ url: `/feedback/${id}/status`, method: 'PUT', data: { status } }) +export function updateFeedbackStatus(id: number, status: string, admin_reply?: string) { + return request({ url: `/feedback/${id}/status`, method: 'PUT', data: { status, admin_reply } }) } diff --git a/client/src/pages/admin/feedback.vue b/client/src/pages/admin/feedback.vue index 80d5241..8231834 100644 --- a/client/src/pages/admin/feedback.vue +++ b/client/src/pages/admin/feedback.vue @@ -52,7 +52,7 @@ - + 标记处理 @@ -77,6 +77,39 @@ 暂无反馈 + + + + + + 回复反馈 + + × + + + + + 用户反馈: + {{ replyTarget.content }} + + 回复内容(可选) +