PKUHPC / SCOW

Super Computing On Web
https://www.pkuscow.com/
Mulan Permissive Software License, Version 2
198 stars 44 forks source link

fix(mis): 计费调整精确到分 #1236

Closed cuvalign closed 4 months ago

cuvalign commented 4 months ago

涉及到金额的显示页面,全部只展示到分,涉及到金额的输入页面,全部限制为只允许输入精确到分。涉及到金额的导出,也全部只展示到分。

  1. 仪表盘: a. 账户信息:“可用余额”;
  2. 用户空间: a. 已结束的作业: “作业计费合计”、“作业计费”、“详情-作业计费”; b. 集群和分区信息:“单价”; c. 操作日志中,操作内容相关;
  3. 账户管理: a. 账户信息:“账户余额”、“封锁阈值”; b. 已结束的作业: “作业计费合计”、“作业计费”、“详情-作业计费”; c. 用户管理:“已用额度/用户限额”、“限额管理-当前已使用/总限额”、“限额管理-修改限额至”; d. 充值记录:“合计”、“交费金额”; e. 消费记录:“合计”、“扣费金额”;
  4. 租户管理 a. 租户信息:“租户余额”、“默认账户封锁阈值”、“设置默认账户封锁阈值”; b. 作业价格表: “单价(元)”、“设置计费价格-单价(元)”; c. 已结束的作业:“租户计费"、"平台计费”、详情中的“租户计费"、"平台计费”、“租户计费合计”、“平台计费合计”; d. 账户列表中所有金额相关; e. 白名单账户列表所有金额相关; f. 账户充值限制只能充值金额精确到分; g. 账户充值记录、租户充值记录、账户消费记录、操作日志所有金额相关;
  5. 平台管理: a. 作业计费价格表、租户列表、账户列表所有金额相关; b. 充值记录、账户消费记录、操作日志所有金额相关; c. 平台数据统计:消费列,金额显示精确到分:消费/充值金额,可视图表金额显示精确到分,坐标轴动态tick动态精确到分。
changeset-bot[bot] commented 4 months ago

⚠️ No Changeset found

Latest commit: 8d7cbadcc10d6ca44ac73fea77a163ae11278f83

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR