feat: 手动实名和套餐列表退款
All checks were successful
构建并部署前端到测试环境 / build-and-deploy (push) Successful in 5m53s

This commit is contained in:
sexygoat
2026-04-23 18:13:07 +08:00
parent 719db517f2
commit cd2ca96873
12 changed files with 539 additions and 180 deletions

View File

@@ -216,6 +216,7 @@ export interface AssetPackageUsageRecord {
master_usage_id?: number | null // 主套餐 ID加油包时有值
priority?: number // 优先级
created_at?: string // 创建时间
order_no?: string // 订单号
}
/**
@@ -412,3 +413,23 @@ export interface AssetOrdersResponse {
previous_generations?: GenerationOrders[] // 前代订单(仅 include_previous=true 时有)
truncated: boolean // 是否截断(换货链超过 10 代)
}
// ========== 更新实名状态 ==========
/**
* 更新实名状态请求
*/
export interface UpdateAssetRealnameStatusRequest {
real_name_status: 0 | 1 // 实名状态 (0:未实名, 1:已实名)
}
/**
* 更新实名状态响应
*/
export interface DtoUpdateAssetRealnameStatusResponse {
asset_id: number // 资产ID
asset_type: string // 资产类型 (card:IoT卡)
first_realname_at: string | null // 首次实名时间(仅已实名时可能有值)
real_name_status: number // 更新后的实名状态 (0:未实名, 1:已实名)
real_name_status_name: string // 实名状态名称(中文)
}

View File

@@ -81,6 +81,7 @@ declare module 'vue' {
CommentWidget: typeof import('./../components/custom/comment-widget/index.vue')['default']
CommissionDisplay: typeof import('./../components/business/CommissionDisplay.vue')['default']
ContainerSettings: typeof import('./../components/core/layouts/art-settings-panel/widget/ContainerSettings.vue')['default']
CreateRefundDialog: typeof import('./../components/business/CreateRefundDialog.vue')['default']
CustomerAccountDialog: typeof import('./../components/business/CustomerAccountDialog.vue')['default']
DetailPage: typeof import('./../components/common/DetailPage.vue')['default']
ElAlert: typeof import('element-plus/es')['ElAlert']
@@ -151,6 +152,7 @@ declare module 'vue' {
SwitchCardDialog: typeof import('./../components/device/SwitchCardDialog.vue')['default']
TableContextMenuHint: typeof import('./../components/core/others/TableContextMenuHint.vue')['default']
ThemeSettings: typeof import('./../components/core/layouts/art-settings-panel/widget/ThemeSettings.vue')['default']
UpdateRealnameStatusDialog: typeof import('./../components/business/UpdateRealnameStatusDialog.vue')['default']
}
export interface ComponentCustomProperties {
vLoading: typeof import('element-plus/es')['ElLoadingDirective']