All checks were successful
构建并部署前端到测试环境 / build-and-deploy (push) Successful in 4m45s
29 lines
1.1 KiB
Markdown
29 lines
1.1 KiB
Markdown
## 1. Proposal Review
|
||
|
||
- [ ] 1.1 确认 `asset_status` 字段含义:1:在库, 2:已销售, 3:已换货, 4:已停用
|
||
- [ ] 1.2 确认 `generation` 字段含义:资产世代编号,初始值1,每次换货转新后+1
|
||
|
||
## 2. Type Updates
|
||
|
||
- [ ] 2.1 在 `AssetInfo` 接口中添加 `asset_status?: number`
|
||
- [ ] 2.2 在 `AssetInfo` 接口中添加 `asset_status_name?: string`
|
||
- [ ] 2.3 在 `AssetInfo` 接口中添加 `generation?: number`
|
||
|
||
## 3. Formatter Functions
|
||
|
||
- [ ] 3.1 在 `useAssetFormatters` 中添加 `getAssetStatusName` 函数(如果不存在)
|
||
- [ ] 3.2 在 `useAssetFormatters` 中添加 `getAssetStatusType` 函数(如果不存在)
|
||
|
||
## 4. BasicInfoCard Component
|
||
|
||
- [ ] 4.1 在卡信息区域添加「业务状态」展示行
|
||
- [ ] 4.2 在卡信息区域添加「资产世代」展示行
|
||
- [ ] 4.3 在设备信息区域添加「业务状态」展示行
|
||
- [ ] 4.4 在设备信息区域添加「资产世代」展示行
|
||
|
||
## 5. Verification
|
||
|
||
- [ ] 5.1 验证 IoT 卡详情页正确显示业务状态和世代编号
|
||
- [ ] 5.2 验证设备详情页正确显示业务状态和世代编号
|
||
- [ ] 5.3 验证格式化函数正确处理各状态值
|