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 }} + + 回复内容(可选) +