feat(feedback): 我的工单独立页面 + 用户侧脱敏管理员身份 + 拖拽上传#10
Merged
Conversation
将「我的工单」从个人设置卡片改为独立的侧边栏页面(分页表格 + 抽屉 详情 + 新建抽屉),归入个人中心区域,可被超级管理员通过侧边栏模块 开关控制显隐;同时补齐管理员区域缺失的「工单管理」开关。 - 后端:GetFeedbackMessages 增加 maskAdmin 参数,用户侧详情不返回 管理员真名、author_id 置 0,避免暴露管理员账号(撞库/猜密码风险); GetUserFeedbackTopics 支持 keyword 标题搜索(参数化)。 - 前端:新增 pages/Feedback/MyFeedback.jsx 与 /console/myfeedback 路由; 移除 PersonalSetting 中的 FeedbackConsult 卡片;侧边栏「工单管理」移到 「用户管理」下方并与「我的工单」共用 Ticket 图标;两端列表新增创建时间列。 - 上传:抽取 encodeFeedbackImageFiles 共享工具,回复框与新建表单均支持 拖拽上传,函数式 setter 封顶保证不超过 3 张。 - 设置页加载复用 mergeAdminConfig,修复新增模块开关「显示关却实际可见」。 - 清理:删除未使用的 UserContext import;补充中英 i18n 文案。
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
内容
分支包含 1 个提交:07ae18f03