Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(mis): 管理系统仪表盘账户信息显示优化 #1242

Merged
merged 3 commits into from
May 10, 2024

Conversation

cuvalign
Copy link
Contributor

@cuvalign cuvalign commented May 9, 2024

仪表盘中账户信息展示当前用户所在的账户信息,具体调整如下:

  1. 左上角为账户名,右上角为上锁图标,下方为可用额度;
  2. 当账户或者用户状态均为正常时:
    1. 右上角隐藏锁的图标;
    2. 有设置限额,可用额度=用户限额-已用额度;
    3. 未设置限额且账户在白名单中,可用额度无限,显示为"不限";
    4. 未设置限额且账户不在白名单中,可用额度=账户余额-封锁阈值;
  3. 当账户或者用户有一个非正常状态时(封锁/欠费/限额):
    1. 右上角用锁表示不可用,避免用文字误导;
    2. 无可用额度,显示为“-”;

原设计示意:
Image
兼容账户名超出的情况:
fe048395c30084236836df3698a613a
实际完成示意:
QQ截图20240509161310

Copy link

changeset-bot bot commented May 9, 2024

🦋 Changeset detected

Latest commit: 03603a5

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 15 packages
Name Type
@scow/grpc-api Minor
@scow/mis-server Patch
@scow/mis-web Patch
@scow/protos Patch
@scow/lib-hook Patch
@scow/lib-operation-log Patch
@scow/lib-scheduler-adapter Patch
@scow/lib-server Patch
@scow/audit-server Patch
@scow/portal-server Patch
@scow/portal-web Patch
@scow/ai Patch
@scow/auth Patch
@scow/gateway Patch
@scow/cli Patch

Not sure what this means? Click here to learn what changesets are.

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

@pkuhpc-review-bot pkuhpc-review-bot bot added the Code-ReviewRequested Code Review Requested label May 9, 2024
@pkuhpc-review-bot pkuhpc-review-bot bot requested a review from ddadaal May 9, 2024 08:13
@cuvalign cuvalign requested review from ddadaal and piccaSun and removed request for ddadaal and piccaSun May 9, 2024 08:18
Copy link
Member

@ddadaal ddadaal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

changeset

@pkuhpc-review-bot pkuhpc-review-bot bot added Code-ChangeRequested and removed Code-ReviewRequested Code Review Requested labels May 9, 2024
@cuvalign cuvalign requested a review from ddadaal May 10, 2024 02:02
@pkuhpc-review-bot pkuhpc-review-bot bot added Code-ReviewRequested Code Review Requested and removed Code-ChangeRequested labels May 10, 2024
@pkuhpc-review-bot pkuhpc-review-bot bot added Code-Approved Code Review approved ReadyForMerge Ready for merge and removed Code-ReviewRequested Code Review Requested labels May 10, 2024
@ddadaal ddadaal merged commit 875fe29 into master May 10, 2024
9 checks passed
@ddadaal ddadaal deleted the feat-admin-dashboard-accountInfo branch May 10, 2024 10:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Code-Approved Code Review approved ReadyForMerge Ready for merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants