Files
one-pipe-system/openspec/changes/update-asset-carrier-status-and-range-allocation-hints/proposal.md
sexygoat 894aea0e74
All checks were successful
构建并部署前端到测试环境 / build-and-deploy (push) Successful in 4m56s
feat: 新增卡视角以及设备视角的实名同步时间,卡状态同步时间,流量同步时间
2026-05-18 12:23:35 +08:00

35 lines
1.8 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Change: 更新资产运营商状态文案与区间分配数量提示
## Why
当前后台“资产信息”页的“卡信息”区域会把 `gateway_extend` 展示为“运营商停机原因”,但最新业务要求需要统一改为更宽泛的“运营商状态”文案。
同时IoT 卡管理和设备管理里的“批量设置套餐系列绑定”弹窗已经支持区间选择,但在输入起始/结束标识后没有给出本次将覆盖多少张卡或多少台设备的直观提示,运营人员需要手工心算范围,容易误判分配数量。
## What Changes
- 调整资产信息卡资产详情中“卡信息”区域的 `gateway_extend` 展示标签,将“运营商停机原因”改为 `运营商状态`
- 为 IoT 卡“批量设置套餐系列绑定”弹窗的区间模式新增提示文案:`共分配xxx张卡`
- 计算方式为 `结束ICCID - 起始ICCID + 1`
- 仅在起止值可计算且结果为正整数时显示
- 为设备管理“批量设置设备套餐系列绑定”弹窗的区间模式新增提示文案:`共分配xxx台设备`
- 计算方式为 `结束设备号 - 起始设备号 + 1`
- 仅在起止值可计算且结果为正整数时显示
- 不调整后端接口字段,仅补充前端展示与交互约束
## Impact
- Affected specs:
- `asset-information`
- `iot-card-series-binding`
- `device-series-binding`
- Affected code:
- `src/views/asset-management/asset-information/components/BasicInfoCard.vue`
- `src/views/asset-management/iot-card-management/index.vue`
- `src/views/asset-management/device-list/index.vue`
- Dependencies:
- `add-asset-gateway-extend-display`
- `update-batch-series-binding-contract`
- Breaking changes:
- 无外部接口破坏性变更;本次仅调整文案和区间模式提示