feat: 语言切换功能页面推进
This commit is contained in:
parent
f98799bb3f
commit
d4eb10aaf7
@ -62,6 +62,10 @@
|
||||
### 当前跨已完成页面的公共组件联动复查
|
||||
|
||||
- 状态:待处理
|
||||
- 当前认领:无
|
||||
- 已完成:`src/components/data/DiamondSalaryRunningWaterDialog/index.vue`(线程三,2026-04-29)
|
||||
- 已完成:`src/components/data/AddOtherRechargeDialog/index.vue`(线程三,2026-04-29)
|
||||
- 已完成:`src/components/data/DiamondRunningWaterDialog/index.vue`(线程二,2026-04-29)
|
||||
- 已完成:`src/components/data/PropsRow/index.vue`(线程一,2026-04-27)
|
||||
- 已完成:`src/components/data/RoomDeatilsDrawer/index.vue`(线程一,2026-04-28)
|
||||
- 已完成:`src/components/data/AssociatedResources/index.vue`(线程三,2026-04-28)
|
||||
@ -71,6 +75,7 @@
|
||||
- 已完成:`src/components/data/Gender/index.vue`(线程一,2026-04-28)
|
||||
- 已完成:`src/components/IconsPanel/index.vue`(线程一,2026-04-28)
|
||||
- 已复核保留:`src/components/data/AccountHanle/index.vue`(线程一,2026-04-28,唯一中文为接口提交内容)
|
||||
- 已完成:`src/components/data/AddOtherRecharge/index.vue`(线程一,2026-04-29)
|
||||
- 说明:已发现不止 `用户列表 / User List` 使用仍需复核的 `src/components/**` 公共组件;所有已完成主要路由页面都需要按 `docs/i18n/翻译清单.md` 中“对已完成主要路由页面做直接公共组件联动复查”清单逐项确认
|
||||
- 优先建议:
|
||||
- 继续处理高频业务弹窗 / 抽屉,例如用户列表直接渲染的流水、充值、扣除、违规记录等组件
|
||||
|
||||
@ -177,13 +177,230 @@
|
||||
|
||||
| 线程 | 当前状态 | 认领范围 | 说明 |
|
||||
| --- | --- | --- | --- |
|
||||
| 线程一 | 待分配 | 未认领 | 2026-04-28 已完成 `src/components/IconsPanel/index.vue` 公共组件联动复查、中文残留扫描、语言文件语法检查、构建验证与 md 同步 |
|
||||
| 线程二 | 待分配 | 未认领 | 2026-04-28 已完成 `src/components/data/PropsSourceSelectDrawer/index.vue` 公共组件联动复查、中文残留扫描、构建验证与 md 同步 |
|
||||
| 线程三 | 待分配 | 未认领 | 2026-04-28 已完成 `src/components/data/AssociatedResources/index.vue` 公共组件联动复查,本轮结束后切回待分配 |
|
||||
| 线程一 | 待分配 | 未认领 | 2026-04-29 已完成 `src/components/data/AddOtherRecharge/index.vue` 公共组件联动复查、中文残留扫描、语言文件语法检查、构建验证与 md 同步 |
|
||||
| 线程二 | 进行中 | `src/components/data/EditDiamondCoinDeductionForm/index.vue` | 2026-04-29 认领公共组件联动复查:处理用户列表页面直接复用的扣除用户钻石弹窗展示文本 |
|
||||
| 线程三 | 待分配 | 未认领 | 2026-04-29 已完成 `src/components/data/DiamondSalaryRunningWaterDialog/index.vue` 公共组件联动复查、中文残留扫描、语言文件语法检查、构建验证与 md 同步 |
|
||||
| 线程四 | 待分配 | 未认领 | 避免和其他线程同时编辑同一语言模块 |
|
||||
|
||||
## 最新认领记录
|
||||
|
||||
- 2026-04-29
|
||||
- 线程二已新认领:`src/components/data/EditDiamondCoinDeductionForm/index.vue`
|
||||
- 任务类型:已完成主要路由页面的直接公共组件联动复查
|
||||
- 关联页面包括:
|
||||
- `src/views/user/user-table/index.vue`
|
||||
- 领取前动作:
|
||||
- 已重新读取 `docs/i18n/线程协作.md`
|
||||
- 已重新读取 `docs/i18n/翻译进度.md`
|
||||
- 已重新读取 `docs/i18n/翻译清单.md`
|
||||
- 已重新读取 `docs/i18n/主要路由.md`
|
||||
- 已重新读取 `src/lang/messages/pages/en.js`
|
||||
- 已重新读取 `src/lang/messages/pages/zh.js`
|
||||
- 已发现线程三已完成 `src/components/data/DiamondSalaryRunningWaterDialog/index.vue`,线程二本轮避开该已完成文件
|
||||
- 已确认当前无其他线程认领 `src/components/data/EditDiamondCoinDeductionForm/index.vue`
|
||||
- 认领范围包括:
|
||||
- 组件内静态展示文本翻译
|
||||
- 必要的页面级语言 key 补充或复用
|
||||
- 中文残留扫描、语言文件语法检查、构建验证
|
||||
- `docs/i18n/翻译进度.md`、`docs/i18n/翻译清单.md`、`docs/i18n/主要路由.md` 与本文件同步更新
|
||||
- 不包含:
|
||||
- 接口参数
|
||||
- 路由路径
|
||||
- 权限码
|
||||
- 表单提交字段或提交值
|
||||
- 扣除数量、扣除原因等实际提交内容
|
||||
|
||||
- 2026-04-29
|
||||
- 线程三已完成:`src/components/data/DiamondSalaryRunningWaterDialog/index.vue`
|
||||
- 任务类型:已完成主要路由页面的直接公共组件联动复查
|
||||
- 关联页面包括:
|
||||
- `src/views/user/user-table/index.vue`
|
||||
- 完成范围包括:
|
||||
- 用户工资钻石流水弹窗标题国际化
|
||||
- 表格加载文案国际化
|
||||
- 钻石余额、交易钻石、来源、来源描述、类型、备注、创建时间表格列名国际化
|
||||
- 新增 `pages.salaryDiamondRunningWaterDialog`
|
||||
- 中文残留扫描
|
||||
- 语言文件语法检查
|
||||
- 构建验证
|
||||
- `docs/i18n/翻译进度.md`、`docs/i18n/翻译清单.md`、`docs/i18n/主要路由.md` 与本文件同步更新
|
||||
- 补充说明:
|
||||
- 未修改接口参数、路由路径、权限码、分页查询字段或加载逻辑
|
||||
- 接口返回的工资钻石流水数据、来源、来源描述、类型名称、备注与时间值保持原样
|
||||
- `src/components/data/DiamondSalaryRunningWaterDialog/index.vue` 当前无中文残留
|
||||
- 已执行语言文件语法检查,通过
|
||||
- 已直接执行 `npm run build:prod`,构建通过
|
||||
- 当前仍保留项目既有 `17` 条 warning,未新增阻塞错误
|
||||
- 线程三本轮完成后切回待分配
|
||||
|
||||
- 2026-04-29
|
||||
- 线程二已完成:`src/components/data/DiamondRunningWaterDialog/index.vue`
|
||||
- 任务类型:已完成主要路由页面的直接公共组件联动复查
|
||||
- 关联页面包括:
|
||||
- `src/views/user/user-table/index.vue`
|
||||
- 完成范围包括:
|
||||
- 用户钻石流水弹窗标题国际化
|
||||
- 钻石余额、钻石、来源、来源描述、类型、备注、创建时间表格列名国际化
|
||||
- 新增 `pages.diamondRunningWaterDialog`
|
||||
- 中文残留扫描
|
||||
- 语言文件语法检查
|
||||
- 构建验证
|
||||
- `docs/i18n/翻译进度.md`、`docs/i18n/翻译清单.md`、`docs/i18n/主要路由.md` 与本文件同步更新
|
||||
- 补充说明:
|
||||
- 未修改接口参数、路由路径、权限码、分页查询字段或加载逻辑
|
||||
- 接口返回的流水数据、来源、来源描述、类型描述、备注与时间值保持原样
|
||||
- `src/components/data/DiamondRunningWaterDialog/index.vue` 当前无中文残留
|
||||
- 已执行语言文件语法检查,通过
|
||||
- 已直接执行 `npm run build:prod`,构建通过
|
||||
- 当前仍保留项目既有 `17` 条 warning,未新增阻塞错误
|
||||
- 线程二本轮完成后切回待分配
|
||||
|
||||
- 2026-04-29
|
||||
- 线程一已完成:`src/components/data/AddOtherRecharge/index.vue`
|
||||
- 任务类型:已完成主要路由页面的直接公共组件联动复查
|
||||
- 关联页面包括:
|
||||
- `src/views/user/user-table/index.vue`
|
||||
- 完成范围包括:
|
||||
- 其他充值弹窗标题、提示说明、表单标签、placeholder、按钮、校验提示与本地错误提示国际化
|
||||
- 新增 `pages.addOtherRecharge`
|
||||
- 中文残留扫描
|
||||
- 语言文件语法检查
|
||||
- 构建验证
|
||||
- `docs/i18n/翻译进度.md`、`docs/i18n/翻译清单.md`、`docs/i18n/主要路由.md` 与本文件同步更新
|
||||
- 补充说明:
|
||||
- 未修改接口参数、路由路径、权限码、充值类型实际值、表单提交字段或提交值
|
||||
- `otherPaymentTypes` 的 `value`、`formData` 字段、`orderOtherRechargeProcess(that.formData)` 提交流程保持原样
|
||||
- `src/components/data/AddOtherRecharge/index.vue` 当前无中文残留
|
||||
- 已执行语言文件语法检查,通过
|
||||
- 当前环境执行 `$env:NODE_OPTIONS='--openssl-legacy-provider'; npm run build:prod` 会被 Node 拦截并提示 `--openssl-legacy-provider is not allowed in NODE_OPTIONS`
|
||||
- 已改为直接执行 `npm run build:prod`,构建通过
|
||||
- 当前仍保留项目既有 `17` 条 warning,未新增阻塞错误
|
||||
- 线程一本轮完成后切回待分配
|
||||
|
||||
- 2026-04-29
|
||||
- 线程三已新认领:`src/components/data/DiamondSalaryRunningWaterDialog/index.vue`
|
||||
- 任务类型:已完成主要路由页面的直接公共组件联动复查
|
||||
- 关联页面包括:
|
||||
- `src/views/user/user-table/index.vue`
|
||||
- 领取前动作:
|
||||
- 已重新读取 `docs/i18n/线程协作.md`
|
||||
- 已重新读取 `docs/i18n/翻译进度.md`
|
||||
- 已重新读取 `docs/i18n/翻译清单.md`
|
||||
- 已重新读取 `docs/i18n/主要路由.md`
|
||||
- 已重新读取 `src/lang/messages/pages/en.js`
|
||||
- 已重新读取 `src/lang/messages/pages/zh.js`
|
||||
- 已确认线程二当前认领 `src/components/data/DiamondRunningWaterDialog/index.vue`,线程三本轮避开该文件
|
||||
- 已确认当前无其他线程认领 `src/components/data/DiamondSalaryRunningWaterDialog/index.vue`
|
||||
- 认领范围包括:
|
||||
- 组件内静态展示文本翻译
|
||||
- 必要的页面级语言 key 补充或复用
|
||||
- 中文残留扫描、语言文件语法检查、构建验证
|
||||
- `docs/i18n/翻译进度.md`、`docs/i18n/翻译清单.md`、`docs/i18n/主要路由.md` 与本文件同步更新
|
||||
- 不包含:
|
||||
- 接口参数
|
||||
- 路由路径
|
||||
- 权限码
|
||||
- 分页查询字段
|
||||
- 接口返回流水数据、来源、来源描述、类型名称或备注内容
|
||||
|
||||
- 2026-04-29
|
||||
- 线程三已完成:`src/components/data/AddOtherRechargeDialog/index.vue`
|
||||
- 任务类型:已完成主要路由页面的直接公共组件联动复查
|
||||
- 关联页面包括:
|
||||
- `src/views/user/user-table/index.vue`
|
||||
- 完成范围包括:
|
||||
- 弹窗标题国际化
|
||||
- 表格加载文案国际化
|
||||
- 支付类型、金额、支付日期、备注、创建时间等表格列名国际化
|
||||
- 新增 `pages.addOtherRechargeDialog`
|
||||
- 中文残留扫描
|
||||
- 语言文件语法检查
|
||||
- 构建验证
|
||||
- `docs/i18n/翻译进度.md`、`docs/i18n/翻译清单.md`、`docs/i18n/主要路由.md` 与本文件同步更新
|
||||
- 补充说明:
|
||||
- 未修改接口参数、路由路径、权限码、分页查询字段、支付类型实际值或接口返回订单数据
|
||||
- `src/components/data/AddOtherRechargeDialog/index.vue` 当前无中文残留
|
||||
- 已执行语言文件语法检查,通过
|
||||
- 已直接执行 `npm run build:prod`,构建通过
|
||||
- 当前仍保留项目既有 `17` 条 warning,未新增阻塞错误
|
||||
- 线程三本轮完成后切回待分配
|
||||
|
||||
- 2026-04-29
|
||||
- 线程二已新认领:`src/components/data/DiamondRunningWaterDialog/index.vue`
|
||||
- 任务类型:已完成主要路由页面的直接公共组件联动复查
|
||||
- 关联页面包括:
|
||||
- `src/views/user/user-table/index.vue`
|
||||
- 领取前动作:
|
||||
- 已重新读取 `docs/i18n/线程协作.md`
|
||||
- 已重新读取 `docs/i18n/翻译进度.md`
|
||||
- 已重新读取 `docs/i18n/翻译清单.md`
|
||||
- 已重新读取 `docs/i18n/主要路由.md`
|
||||
- 已重新读取 `src/lang/messages/pages/en.js`
|
||||
- 已重新读取 `src/lang/messages/pages/zh.js`
|
||||
- 已确认线程一当前认领 `src/components/data/AddOtherRecharge/index.vue`,线程二本轮避开该文件
|
||||
- 已确认线程三当前认领 `src/components/data/AddOtherRechargeDialog/index.vue`,线程二本轮避开该文件
|
||||
- 已确认当前无其他线程认领 `src/components/data/DiamondRunningWaterDialog/index.vue`
|
||||
- 认领范围包括:
|
||||
- 组件内静态展示文本翻译
|
||||
- 必要的页面级语言 key 补充或复用
|
||||
- 中文残留扫描、语言文件语法检查、构建验证
|
||||
- `docs/i18n/翻译进度.md`、`docs/i18n/翻译清单.md`、`docs/i18n/主要路由.md` 与本文件同步更新
|
||||
- 不包含:
|
||||
- 接口参数
|
||||
- 路由路径
|
||||
- 权限码
|
||||
- 分页查询字段
|
||||
- 接口返回流水数据、来源、来源描述、类型描述或备注内容
|
||||
|
||||
- 2026-04-29
|
||||
- 线程三已新认领:`src/components/data/AddOtherRechargeDialog/index.vue`
|
||||
- 任务类型:已完成主要路由页面的直接公共组件联动复查
|
||||
- 关联页面包括:
|
||||
- `src/views/user/user-table/index.vue`
|
||||
- 领取前动作:
|
||||
- 已重新读取 `docs/i18n/线程协作.md`
|
||||
- 已重新读取 `docs/i18n/翻译进度.md`
|
||||
- 已重新读取 `docs/i18n/翻译清单.md`
|
||||
- 已重新读取 `docs/i18n/主要路由.md`
|
||||
- 已重新读取 `src/lang/messages/pages/en.js`
|
||||
- 已重新读取 `src/lang/messages/pages/zh.js`
|
||||
- 已确认线程一当前认领 `src/components/data/AddOtherRecharge/index.vue`,线程三本轮避开该文件
|
||||
- 已确认当前无其他线程认领 `src/components/data/AddOtherRechargeDialog/index.vue`
|
||||
- 认领范围包括:
|
||||
- 组件内静态展示文本翻译
|
||||
- 必要的页面级语言 key 补充或复用
|
||||
- 中文残留扫描、语言文件语法检查、构建验证
|
||||
- `docs/i18n/翻译进度.md`、`docs/i18n/翻译清单.md`、`docs/i18n/主要路由.md` 与本文件同步更新
|
||||
- 不包含:
|
||||
- 接口参数
|
||||
- 路由路径
|
||||
- 权限码
|
||||
- 支付类型实际值
|
||||
- 分页、查询字段或接口返回订单数据
|
||||
|
||||
- 线程一已新认领:`src/components/data/AddOtherRecharge/index.vue`
|
||||
- 任务类型:已完成主要路由页面的直接公共组件联动复查
|
||||
- 关联页面包括:
|
||||
- `src/views/user/user-table/index.vue`
|
||||
- 领取前动作:
|
||||
- 已重新读取 `docs/i18n/线程协作.md`
|
||||
- 已重新读取 `docs/i18n/翻译进度.md`
|
||||
- 已重新读取 `docs/i18n/翻译清单.md`
|
||||
- 已重新读取 `docs/i18n/主要路由.md`
|
||||
- 已确认线程一当前未认领新任务
|
||||
- 已确认当前无其他线程认领 `src/components/data/AddOtherRecharge/index.vue`
|
||||
- 认领范围包括:
|
||||
- 组件内静态展示文本翻译
|
||||
- 必要的页面级语言 key 补充或复用
|
||||
- 中文残留扫描、语言文件语法检查、构建验证
|
||||
- `docs/i18n/翻译进度.md`、`docs/i18n/翻译清单.md`、`docs/i18n/主要路由.md` 与本文件同步更新
|
||||
- 不包含:
|
||||
- 接口参数
|
||||
- 路由路径
|
||||
- 权限码
|
||||
- 充值类型实际值
|
||||
- 表单提交字段或提交值
|
||||
|
||||
- 2026-04-28
|
||||
- 线程一已复核保留:`src/components/data/AccountHanle/index.vue`
|
||||
- 任务类型:已完成主要路由页面的直接公共组件联动复查
|
||||
|
||||
@ -286,12 +286,17 @@
|
||||
- `src/components/data/AssociatedResources/index.vue`
|
||||
- `src/components/data/PropsSourceSelectPopover/index.vue`
|
||||
- `src/components/data/PropsSourceSelectDrawer/index.vue`
|
||||
- `src/components/data/AddOtherRechargeDialog/index.vue`
|
||||
- `src/components/data/DiamondRunningWaterDialog/index.vue`
|
||||
- `src/components/data/DiamondSalaryRunningWaterDialog/index.vue`
|
||||
- 表格展示适配:表头自动换行 + 默认最小宽度补齐
|
||||
- 表格展示适配:表头 `.cell` 高度自适应 + 纵向居中修正
|
||||
- 表单展示适配:标题纵向居中
|
||||
|
||||
## 进行中
|
||||
|
||||
- 当前无
|
||||
|
||||
- 临时任务:已完成 `src/views` 页面私有组件复查
|
||||
- 状态:已完成;当前无可领取明确剩余目录,不再作为后续领取优先级的一环
|
||||
- 范围说明:
|
||||
@ -353,11 +358,23 @@
|
||||
- 完成线程:线程一
|
||||
- 关联页面:用户列表页面
|
||||
- 说明:唯一中文命中为 WARNING 状态下写入 `form.description` 的默认警告提交内容,后续会提交给 `accountHandle` 并可作为翻译接口输入;按接口提交值保留,不做语言包替换
|
||||
- `src/components/data/AddOtherRecharge/index.vue`
|
||||
- 完成线程:线程一
|
||||
- 关联页面:用户列表页面
|
||||
- 说明:组件内弹窗标题、提示说明、表单标签、placeholder、按钮、校验提示与本地错误提示已国际化;充值类型实际值、表单提交字段与提交值保持原样
|
||||
- `src/components/data/AddOtherRechargeDialog/index.vue`
|
||||
- 完成线程:线程三
|
||||
- 关联页面:用户列表页面
|
||||
- 说明:组件内线下充值订单记录弹窗标题、加载文案与表格列名已国际化;支付类型实际值、分页查询字段与接口返回订单数据保持原样
|
||||
- `src/components/data/DiamondRunningWaterDialog/index.vue`
|
||||
- 完成线程:线程二
|
||||
- 关联页面:用户列表页面
|
||||
- 说明:组件内用户钻石流水弹窗标题与表格列名已国际化;分页查询字段、加载逻辑、接口返回流水数据、来源、来源描述、类型描述与备注保持原样
|
||||
- `src/components/data/DiamondSalaryRunningWaterDialog/index.vue`
|
||||
- 完成线程:线程三
|
||||
- 关联页面:用户列表页面
|
||||
- 说明:组件内用户工资钻石流水弹窗标题、表格加载文案与表格列名已国际化;分页查询字段、加载逻辑、接口返回工资钻石流水数据、来源、来源描述、类型名称与备注保持原样
|
||||
- 当前扫描到仍需复核的“已完成页面 -> 直接公共组件”:
|
||||
- `src/views/user/user-table/index.vue` -> `src/components/data/AddOtherRecharge/index.vue`(中文命中 17)
|
||||
- `src/views/user/user-table/index.vue` -> `src/components/data/AddOtherRechargeDialog/index.vue`(中文命中 6)
|
||||
- `src/views/user/user-table/index.vue` -> `src/components/data/DiamondRunningWaterDialog/index.vue`(中文命中 8)
|
||||
- `src/views/user/user-table/index.vue` -> `src/components/data/DiamondSalaryRunningWaterDialog/index.vue`(中文命中 8)
|
||||
- `src/views/user/user-table/index.vue` -> `src/components/data/EditDiamondCoinDeductionForm/index.vue`(中文命中 9)
|
||||
- `src/views/user/user-table/index.vue` -> `src/components/data/EditUserGameCouponRewardForm/index.vue`(中文命中 12)
|
||||
- `src/views/user/user-table/index.vue` -> `src/components/data/EditUserGoldCoinDeductionForm/index.vue`(中文命中 9)
|
||||
|
||||
@ -116,6 +116,22 @@
|
||||
|
||||
## 本轮新增进展
|
||||
|
||||
### 2026-04-29
|
||||
|
||||
- 已完成公共组件联动复查:
|
||||
- `src/components/data/AddOtherRecharge/index.vue`
|
||||
- 说明:已完成用户列表页面直接复用的其他充值弹窗静态展示文本国际化;新增 `pages.addOtherRecharge`;`otherPaymentTypes` 的实际值、`formData` 字段与 `orderOtherRechargeProcess(that.formData)` 提交流程保持原样
|
||||
- 已补充页面级语言 key:
|
||||
- `src/lang/messages/pages/en.js`
|
||||
- `src/lang/messages/pages/zh.js`
|
||||
- 新增范围:`pages.addOtherRecharge`
|
||||
- 已完成验证:
|
||||
- `src/components/data/AddOtherRecharge/index.vue` 中文残留扫描通过,当前无中文命中
|
||||
- `src/lang/messages/pages/en.js` 与 `src/lang/messages/pages/zh.js` 语法检查通过
|
||||
- 当前环境执行 `$env:NODE_OPTIONS='--openssl-legacy-provider'; npm run build:prod` 会被 Node 拦截并提示 `--openssl-legacy-provider is not allowed in NODE_OPTIONS`
|
||||
- 已改为直接执行 `npm run build:prod` 构建通过
|
||||
- 说明:当前仍保留项目既有 `17` 条 warning,未因本轮 `AddOtherRecharge` 国际化改动新增阻塞错误
|
||||
|
||||
### 2026-04-28
|
||||
|
||||
- 已复核并保留:
|
||||
@ -1370,20 +1386,34 @@
|
||||
- 已完成公共组件联动复查:
|
||||
- `src/components/data/AssociatedResources/index.vue`
|
||||
- 说明:线程三已完成活动管理奖励编辑直接复用的关联资源组组件静态展示文本国际化;接口参数、路由路径、权限码、分页/查询/选择逻辑、上下架布尔值、接口返回资源组名称与奖品资源数据保持原样
|
||||
- 已完成公共组件联动复查:
|
||||
- `src/components/data/DiamondRunningWaterDialog/index.vue`
|
||||
- 说明:线程二已完成用户列表页面直接复用的用户钻石流水弹窗标题与表格列名国际化;接口参数、路由路径、权限码、分页查询字段、加载逻辑、接口返回的流水数据、来源、来源描述、类型描述与备注保持原样
|
||||
- 已完成公共组件联动复查:
|
||||
- `src/components/data/AddOtherRechargeDialog/index.vue`
|
||||
- 说明:线程三已完成用户列表页面直接复用的线下充值订单记录弹窗标题、表格加载文案与表格列名国际化;接口参数、路由路径、权限码、分页查询字段、支付类型实际值与接口返回订单数据保持原样
|
||||
- 已完成公共组件联动复查:
|
||||
- `src/components/data/DiamondSalaryRunningWaterDialog/index.vue`
|
||||
- 说明:线程三已完成用户列表页面直接复用的用户工资钻石流水弹窗标题、表格加载文案与表格列名国际化;接口参数、路由路径、权限码、分页查询字段、加载逻辑、接口返回工资钻石流水数据、来源、来源描述、类型名称与备注保持原样
|
||||
- 已补充页面级语言 key:
|
||||
- `src/lang/messages/pages/en.js`
|
||||
- `src/lang/messages/pages/zh.js`
|
||||
- 新增范围:`pages.diamondRunningWaterDialog`
|
||||
- 新增范围:`pages.associatedResources`
|
||||
- 新增范围:`pages.addOtherRechargeDialog`
|
||||
- 新增范围:`pages.salaryDiamondRunningWaterDialog`
|
||||
- 已完成验证:
|
||||
- `src/components/data/AssociatedResources/index.vue` 中文残留扫描通过
|
||||
- `src/lang/messages/pages/en.js` 与 `src/lang/messages/pages/zh.js` 语法校验通过
|
||||
- 直接执行 `npm run build:prod` 因当前 Node 22 / webpack OpenSSL 兼容问题报 `ERR_OSSL_EVP_UNSUPPORTED`
|
||||
- 按协作文档兜底执行 `$env:NODE_OPTIONS='--openssl-legacy-provider'; npm run build:prod` 构建通过
|
||||
- 说明:当前仍保留项目既有 `17` 条 warning,未因本轮 `AssociatedResources` 国际化改动新增阻塞错误
|
||||
- `src/components/data/AssociatedResources/index.vue` 中文残留扫描通过(上一轮记录)
|
||||
- 本轮 `src/components/data/DiamondRunningWaterDialog/index.vue` 中文残留扫描通过
|
||||
- 本轮 `src/components/data/AddOtherRechargeDialog/index.vue` 中文残留扫描通过
|
||||
- 本轮 `src/components/data/DiamondSalaryRunningWaterDialog/index.vue` 中文残留扫描通过
|
||||
- 本轮 `src/lang/messages/pages/en.js` 与 `src/lang/messages/pages/zh.js` 语法校验通过
|
||||
- 本轮直接执行 `npm run build:prod` 构建通过
|
||||
- 说明:当前仍保留项目既有 `17` 条 warning,未因本轮 `DiamondRunningWaterDialog` / `AddOtherRechargeDialog` / `DiamondSalaryRunningWaterDialog` 国际化改动新增阻塞错误
|
||||
- 当前认领线程:
|
||||
- 线程一:待分配,当前未认领新任务;已完成 `src/components/IconsPanel/index.vue` 公共组件联动复查、中文残留扫描、语言文件语法检查、构建验证与 md 同步
|
||||
- 线程二:待分配,当前未认领新任务;已完成 `src/components/data/PropsSourceSelectDrawer/index.vue` 公共组件联动复查、中文残留扫描和构建验证
|
||||
- 线程三:待分配,当前未认领新任务;已完成 `src/components/data/AssociatedResources/index.vue` 公共组件联动复查、中文残留扫描和构建验证
|
||||
- 线程一:待分配,当前未认领新任务;已完成 `src/components/data/AddOtherRecharge/index.vue` 公共组件联动复查、中文残留扫描、语言文件语法检查、构建验证与 md 同步
|
||||
- 线程二:待分配,当前未认领新任务;已完成 `src/components/data/DiamondRunningWaterDialog/index.vue` 公共组件联动复查、中文残留扫描和构建验证
|
||||
- 线程三:待分配,当前未认领新任务;已完成 `src/components/data/DiamondSalaryRunningWaterDialog/index.vue` 公共组件联动复查、中文残留扫描、语言文件语法检查、构建验证与 md 同步
|
||||
|
||||
## 扫描概况
|
||||
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
<template>
|
||||
<div class="add-other-recharge-form">
|
||||
<el-dialog
|
||||
:title="`添加线下充值(${sysOrigin})`"
|
||||
:title="$t('pages.addOtherRecharge.dialog.title', { origin: sysOrigin })"
|
||||
:visible="true"
|
||||
width="450px"
|
||||
:before-close="handleClose"
|
||||
@ -13,7 +13,7 @@
|
||||
type="info"
|
||||
:closable="false"
|
||||
style="margin:0px 0px 20px 0px;"
|
||||
description="注意: 慎重添加, 不支持撤回..."
|
||||
:description="$t('pages.addOtherRecharge.description.warning')"
|
||||
/>
|
||||
<el-form
|
||||
ref="dataForm"
|
||||
@ -22,7 +22,7 @@
|
||||
label-width="50px"
|
||||
style="width: 350px; margin:auto;"
|
||||
>
|
||||
<el-form-item label="类型" prop="paymentType">
|
||||
<el-form-item :label="$t('pages.addOtherRecharge.form.type')" prop="paymentType">
|
||||
<el-select v-model="formData.paymentType" style="width: 100%;">
|
||||
<el-option
|
||||
v-for="(item, index) in otherPaymentTypes"
|
||||
@ -32,43 +32,43 @@
|
||||
/>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
<el-form-item label="金额" prop="amount">
|
||||
<el-form-item :label="$t('pages.addOtherRecharge.form.amount')" prop="amount">
|
||||
<el-input
|
||||
v-model.trim="formData.amount"
|
||||
placeholder="请输入充值金额USD"
|
||||
:placeholder="$t('pages.addOtherRecharge.placeholder.amount')"
|
||||
/>
|
||||
</el-form-item>
|
||||
<el-form-item label="时间" prop="paymentTime">
|
||||
<el-form-item :label="$t('pages.addOtherRecharge.form.time')" prop="paymentTime">
|
||||
<el-date-picker
|
||||
v-model="formData.paymentDateNumber"
|
||||
style="width: 100%;"
|
||||
value-format="yyyyMMdd"
|
||||
type="date"
|
||||
placeholder="选择支付日期"
|
||||
:placeholder="$t('pages.addOtherRecharge.placeholder.paymentDate')"
|
||||
/>
|
||||
</el-form-item>
|
||||
<el-form-item label="备注" prop="remarks">
|
||||
<el-form-item :label="$t('pages.addOtherRecharge.form.remarks')" prop="remarks">
|
||||
<el-input
|
||||
v-model.trim="formData.remarks"
|
||||
type="textarea"
|
||||
:rows="3"
|
||||
resize="none"
|
||||
maxlength="150"
|
||||
placeholder="备注信息最多150个字符"
|
||||
:placeholder="$t('pages.addOtherRecharge.placeholder.remarks')"
|
||||
/>
|
||||
</el-form-item>
|
||||
|
||||
</el-form>
|
||||
<div slot="footer" class="dialog-footer">
|
||||
<el-button @click="handleClose()">
|
||||
取消
|
||||
{{ $t('pages.addOtherRecharge.action.cancel') }}
|
||||
</el-button>
|
||||
<el-button
|
||||
v-loading="listLoading"
|
||||
type="primary"
|
||||
@click="handleSubmit()"
|
||||
>
|
||||
提交
|
||||
{{ $t('pages.addOtherRecharge.action.submit') }}
|
||||
</el-button>
|
||||
</div>
|
||||
</el-dialog>
|
||||
@ -94,32 +94,6 @@ export default {
|
||||
return {
|
||||
otherPaymentTypes,
|
||||
listLoading: false,
|
||||
rules: {
|
||||
paymentType: [{
|
||||
required: true,
|
||||
message: '必填字段不可为空',
|
||||
trigger: 'blur'
|
||||
}],
|
||||
amount: [
|
||||
{
|
||||
required: true,
|
||||
message: '必填字段不可为空',
|
||||
trigger: 'blur'
|
||||
},
|
||||
{
|
||||
pattern: /^\d{1,7}(\.\d{0,2})?$/,
|
||||
message: 'double范围0~9999999小数最多两位',
|
||||
trigger: 'blur'
|
||||
}
|
||||
],
|
||||
paymentDateNumber: [
|
||||
{
|
||||
required: true,
|
||||
message: '必填字段不可为空',
|
||||
trigger: 'blur'
|
||||
}
|
||||
]
|
||||
},
|
||||
formData: {
|
||||
paymentType: '',
|
||||
userId: '',
|
||||
@ -129,6 +103,36 @@ export default {
|
||||
}
|
||||
}
|
||||
},
|
||||
computed: {
|
||||
rules() {
|
||||
return {
|
||||
paymentType: [{
|
||||
required: true,
|
||||
message: this.$t('pages.addOtherRecharge.validation.requiredField'),
|
||||
trigger: 'blur'
|
||||
}],
|
||||
amount: [
|
||||
{
|
||||
required: true,
|
||||
message: this.$t('pages.addOtherRecharge.validation.requiredField'),
|
||||
trigger: 'blur'
|
||||
},
|
||||
{
|
||||
pattern: /^\d{1,7}(\.\d{0,2})?$/,
|
||||
message: this.$t('pages.addOtherRecharge.validation.amountRange'),
|
||||
trigger: 'blur'
|
||||
}
|
||||
],
|
||||
paymentDateNumber: [
|
||||
{
|
||||
required: true,
|
||||
message: this.$t('pages.addOtherRecharge.validation.requiredField'),
|
||||
trigger: 'blur'
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
handleSubmit() {
|
||||
const that = this
|
||||
@ -138,12 +142,12 @@ export default {
|
||||
return false
|
||||
}
|
||||
if (!that.userId) {
|
||||
that.$opsMessage.fail('获取用户参数错误,请联系管理员!')
|
||||
that.$opsMessage.fail(that.$t('pages.addOtherRecharge.message.invalidUser'))
|
||||
return
|
||||
}
|
||||
|
||||
if (!that.sysOrigin) {
|
||||
that.$opsMessage.fail('获取系统参数错误,请联系管理员!')
|
||||
that.$opsMessage.fail(that.$t('pages.addOtherRecharge.message.invalidSystem'))
|
||||
return
|
||||
}
|
||||
that.formData.userId = that.userId
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
<template>
|
||||
<el-dialog
|
||||
title="线下充值订单记录"
|
||||
:title="$t('pages.addOtherRechargeDialog.dialog.title')"
|
||||
:visible="true"
|
||||
:before-close="handleClose"
|
||||
:close-on-press-escape="false"
|
||||
@ -13,24 +13,24 @@
|
||||
<el-table
|
||||
v-loading="listLoading"
|
||||
:data="list"
|
||||
element-loading-text="Loading"
|
||||
:element-loading-text="$t('pages.addOtherRechargeDialog.loading')"
|
||||
fit
|
||||
highlight-current-row
|
||||
max-height="350px"
|
||||
>
|
||||
<el-table-column label="支付类型" align="center">
|
||||
<el-table-column :label="$t('pages.addOtherRechargeDialog.table.paymentType')" align="center">
|
||||
<template slot-scope="scope">
|
||||
{{ otherPaymentTypesMap[scope.row.paymentType] }}
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="金额" prop="amount" align="center" />
|
||||
<el-table-column :label="$t('pages.addOtherRechargeDialog.table.amount')" prop="amount" align="center" />
|
||||
<el-table-column
|
||||
label="支付日期"
|
||||
:label="$t('pages.addOtherRechargeDialog.table.paymentDate')"
|
||||
prop="paymentDateNumber"
|
||||
align="center"
|
||||
/>
|
||||
<el-table-column label="备注" prop="remarks" align="center" />
|
||||
<el-table-column label="创建时间" prop="createTime" align="center">
|
||||
<el-table-column :label="$t('pages.addOtherRechargeDialog.table.remarks')" prop="remarks" align="center" />
|
||||
<el-table-column :label="$t('pages.addOtherRechargeDialog.table.createTime')" prop="createTime" align="center">
|
||||
<template slot-scope="scope">
|
||||
{{ scope.row.createTime | dateFormat }}
|
||||
</template>
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
<template>
|
||||
<div class="diamond-running-water-drawer">
|
||||
<el-dialog
|
||||
title="用户钻石流水"
|
||||
:title="$t('pages.diamondRunningWaterDialog.dialog.title')"
|
||||
:visible="true"
|
||||
:before-close="handleClose"
|
||||
:close-on-press-escape="false"
|
||||
@ -18,15 +18,45 @@
|
||||
fit
|
||||
highlight-current-row
|
||||
>
|
||||
<el-table-column prop="balance" label="钻石余额" align="center" min-width="100" />
|
||||
<el-table-column prop="quantity" label="钻石" align="center" min-width="100" />
|
||||
<el-table-column prop="origin" label="来源" align="center" min-width="100" />
|
||||
<el-table-column prop="originDesc" label="来源描述" align="center" min-width="100" />
|
||||
<el-table-column prop="typeDesc" label="类型" align="center" min-width="100" />
|
||||
<el-table-column prop="remarks" label="备注" align="center" min-width="100" />
|
||||
<el-table-column
|
||||
prop="balance"
|
||||
:label="$t('pages.diamondRunningWaterDialog.table.diamondBalance')"
|
||||
align="center"
|
||||
min-width="100"
|
||||
/>
|
||||
<el-table-column
|
||||
prop="quantity"
|
||||
:label="$t('pages.diamondRunningWaterDialog.table.diamond')"
|
||||
align="center"
|
||||
min-width="100"
|
||||
/>
|
||||
<el-table-column
|
||||
prop="origin"
|
||||
:label="$t('pages.diamondRunningWaterDialog.table.source')"
|
||||
align="center"
|
||||
min-width="100"
|
||||
/>
|
||||
<el-table-column
|
||||
prop="originDesc"
|
||||
:label="$t('pages.diamondRunningWaterDialog.table.sourceDescription')"
|
||||
align="center"
|
||||
min-width="100"
|
||||
/>
|
||||
<el-table-column
|
||||
prop="typeDesc"
|
||||
:label="$t('pages.diamondRunningWaterDialog.table.type')"
|
||||
align="center"
|
||||
min-width="100"
|
||||
/>
|
||||
<el-table-column
|
||||
prop="remarks"
|
||||
:label="$t('pages.diamondRunningWaterDialog.table.remarks')"
|
||||
align="center"
|
||||
min-width="100"
|
||||
/>
|
||||
<el-table-column
|
||||
prop="createTime"
|
||||
label="创建时间"
|
||||
:label="$t('pages.diamondRunningWaterDialog.table.createdAt')"
|
||||
align="center"
|
||||
width="200"
|
||||
>
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
<template>
|
||||
<div class="diamond-running-water-drawer">
|
||||
<el-dialog
|
||||
title="用户钻石工资流水"
|
||||
:title="$t('pages.salaryDiamondRunningWaterDialog.dialog.title')"
|
||||
:visible="true"
|
||||
:before-close="handleClose"
|
||||
:close-on-press-escape="false"
|
||||
@ -14,19 +14,49 @@
|
||||
<el-table
|
||||
v-loading="listLoading"
|
||||
:data="list"
|
||||
element-loading-text="Loading"
|
||||
:element-loading-text="$t('pages.salaryDiamondRunningWaterDialog.loading')"
|
||||
fit
|
||||
highlight-current-row
|
||||
>
|
||||
<el-table-column prop="balance" label="钻石余额" align="center" min-width="100" />
|
||||
<el-table-column prop="amount" label="交易钻石" align="center" min-width="100" />
|
||||
<el-table-column prop="createUserOriginName" label="来源" align="center" min-width="100" />
|
||||
<el-table-column prop="eventDesc" label="来源描述" align="center" min-width="100" />
|
||||
<el-table-column prop="typeName" label="类型" align="center" min-width="100" />
|
||||
<el-table-column prop="remark" label="备注" align="center" min-width="100" />
|
||||
<el-table-column
|
||||
prop="balance"
|
||||
:label="$t('pages.salaryDiamondRunningWaterDialog.table.diamondBalance')"
|
||||
align="center"
|
||||
min-width="100"
|
||||
/>
|
||||
<el-table-column
|
||||
prop="amount"
|
||||
:label="$t('pages.salaryDiamondRunningWaterDialog.table.transactionDiamond')"
|
||||
align="center"
|
||||
min-width="100"
|
||||
/>
|
||||
<el-table-column
|
||||
prop="createUserOriginName"
|
||||
:label="$t('pages.salaryDiamondRunningWaterDialog.table.source')"
|
||||
align="center"
|
||||
min-width="100"
|
||||
/>
|
||||
<el-table-column
|
||||
prop="eventDesc"
|
||||
:label="$t('pages.salaryDiamondRunningWaterDialog.table.sourceDescription')"
|
||||
align="center"
|
||||
min-width="100"
|
||||
/>
|
||||
<el-table-column
|
||||
prop="typeName"
|
||||
:label="$t('pages.salaryDiamondRunningWaterDialog.table.type')"
|
||||
align="center"
|
||||
min-width="100"
|
||||
/>
|
||||
<el-table-column
|
||||
prop="remark"
|
||||
:label="$t('pages.salaryDiamondRunningWaterDialog.table.remarks')"
|
||||
align="center"
|
||||
min-width="100"
|
||||
/>
|
||||
<el-table-column
|
||||
prop="createTime"
|
||||
label="创建时间"
|
||||
:label="$t('pages.salaryDiamondRunningWaterDialog.table.createdAt')"
|
||||
align="center"
|
||||
width="200"
|
||||
>
|
||||
|
||||
@ -994,6 +994,50 @@ export default {
|
||||
amountRange: 'The number range is 0~9999999 with up to two decimal places'
|
||||
}
|
||||
},
|
||||
addOtherRecharge: {
|
||||
dialog: {
|
||||
title: 'Add Offline Recharge ({origin})'
|
||||
},
|
||||
description: {
|
||||
warning: 'Note: Add with caution. This action cannot be reversed.'
|
||||
},
|
||||
form: {
|
||||
type: 'Type',
|
||||
amount: 'Amount',
|
||||
time: 'Time',
|
||||
remarks: 'Remarks'
|
||||
},
|
||||
placeholder: {
|
||||
amount: 'Please enter the recharge amount in USD',
|
||||
paymentDate: 'Select payment date',
|
||||
remarks: 'Remarks can be up to 150 characters'
|
||||
},
|
||||
action: {
|
||||
cancel: 'Cancel',
|
||||
submit: 'Submit'
|
||||
},
|
||||
validation: {
|
||||
requiredField: 'Required field cannot be empty',
|
||||
amountRange: 'The number range is 0~9999999 with up to two decimal places'
|
||||
},
|
||||
message: {
|
||||
invalidUser: 'Failed to get user parameters. Please contact the administrator.',
|
||||
invalidSystem: 'Failed to get system parameters. Please contact the administrator.'
|
||||
}
|
||||
},
|
||||
addOtherRechargeDialog: {
|
||||
loading: 'Loading',
|
||||
dialog: {
|
||||
title: 'Offline Recharge Order Records'
|
||||
},
|
||||
table: {
|
||||
paymentType: 'Payment Type',
|
||||
amount: 'Amount',
|
||||
paymentDate: 'Payment Date',
|
||||
remarks: 'Remarks',
|
||||
createTime: 'Created At'
|
||||
}
|
||||
},
|
||||
userTable: {
|
||||
filter: {
|
||||
notDeleted: 'Active',
|
||||
@ -1068,6 +1112,35 @@ export default {
|
||||
specialIdSuffix: 'Special'
|
||||
}
|
||||
},
|
||||
diamondRunningWaterDialog: {
|
||||
dialog: {
|
||||
title: 'User Diamond Transactions'
|
||||
},
|
||||
table: {
|
||||
diamondBalance: 'Diamond Balance',
|
||||
diamond: 'Diamond',
|
||||
source: 'Source',
|
||||
sourceDescription: 'Source Description',
|
||||
type: 'Type',
|
||||
remarks: 'Remarks',
|
||||
createdAt: 'Created At'
|
||||
}
|
||||
},
|
||||
salaryDiamondRunningWaterDialog: {
|
||||
loading: 'Loading',
|
||||
dialog: {
|
||||
title: 'User Salary Diamond Transactions'
|
||||
},
|
||||
table: {
|
||||
diamondBalance: 'Diamond Balance',
|
||||
transactionDiamond: 'Transaction Diamonds',
|
||||
source: 'Source',
|
||||
sourceDescription: 'Source Description',
|
||||
type: 'Type',
|
||||
remarks: 'Remarks',
|
||||
createdAt: 'Created At'
|
||||
}
|
||||
},
|
||||
roomProfile: {
|
||||
filter: {
|
||||
system: 'System',
|
||||
|
||||
@ -993,6 +993,50 @@ export default {
|
||||
amountRange: 'double范围0~9999999小数最多两位'
|
||||
}
|
||||
},
|
||||
addOtherRecharge: {
|
||||
dialog: {
|
||||
title: '添加线下充值({origin})'
|
||||
},
|
||||
description: {
|
||||
warning: '注意:慎重添加,不支持撤回...'
|
||||
},
|
||||
form: {
|
||||
type: '类型',
|
||||
amount: '金额',
|
||||
time: '时间',
|
||||
remarks: '备注'
|
||||
},
|
||||
placeholder: {
|
||||
amount: '请输入充值金额USD',
|
||||
paymentDate: '选择支付日期',
|
||||
remarks: '备注信息最多150个字符'
|
||||
},
|
||||
action: {
|
||||
cancel: '取消',
|
||||
submit: '提交'
|
||||
},
|
||||
validation: {
|
||||
requiredField: '必填字段不可为空',
|
||||
amountRange: 'double范围0~9999999小数最多两位'
|
||||
},
|
||||
message: {
|
||||
invalidUser: '获取用户参数错误,请联系管理员!',
|
||||
invalidSystem: '获取系统参数错误,请联系管理员!'
|
||||
}
|
||||
},
|
||||
addOtherRechargeDialog: {
|
||||
loading: '加载中',
|
||||
dialog: {
|
||||
title: '线下充值订单记录'
|
||||
},
|
||||
table: {
|
||||
paymentType: '支付类型',
|
||||
amount: '金额',
|
||||
paymentDate: '支付日期',
|
||||
remarks: '备注',
|
||||
createTime: '创建时间'
|
||||
}
|
||||
},
|
||||
userTable: {
|
||||
filter: {
|
||||
notDeleted: '未注销',
|
||||
@ -1067,6 +1111,35 @@ export default {
|
||||
specialIdSuffix: '靓'
|
||||
}
|
||||
},
|
||||
diamondRunningWaterDialog: {
|
||||
dialog: {
|
||||
title: '用户钻石流水'
|
||||
},
|
||||
table: {
|
||||
diamondBalance: '钻石余额',
|
||||
diamond: '钻石',
|
||||
source: '来源',
|
||||
sourceDescription: '来源描述',
|
||||
type: '类型',
|
||||
remarks: '备注',
|
||||
createdAt: '创建时间'
|
||||
}
|
||||
},
|
||||
salaryDiamondRunningWaterDialog: {
|
||||
loading: '加载中',
|
||||
dialog: {
|
||||
title: '用户钻石工资流水'
|
||||
},
|
||||
table: {
|
||||
diamondBalance: '钻石余额',
|
||||
transactionDiamond: '交易钻石',
|
||||
source: '来源',
|
||||
sourceDescription: '来源描述',
|
||||
type: '类型',
|
||||
remarks: '备注',
|
||||
createdAt: '创建时间'
|
||||
}
|
||||
},
|
||||
roomProfile: {
|
||||
filter: {
|
||||
system: '归属系统',
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user