diff --git a/src/components/core/layouts/art-settings-panel/index.vue b/src/components/core/layouts/art-settings-panel/index.vue
index 61a8a32..1882386 100644
--- a/src/components/core/layouts/art-settings-panel/index.vue
+++ b/src/components/core/layouts/art-settings-panel/index.vue
@@ -8,7 +8,7 @@
-
+
diff --git a/src/views/asset-management/asset-information/components/BasicInfoCard.vue b/src/views/asset-management/asset-information/components/BasicInfoCard.vue
index 41f92eb..d92a854 100644
--- a/src/views/asset-management/asset-information/components/BasicInfoCard.vue
+++ b/src/views/asset-management/asset-information/components/BasicInfoCard.vue
@@ -369,7 +369,7 @@
>
启用此卡
停用此卡
- 手动停用
+
实名认证策略
diff --git a/src/views/asset-management/asset-information/components/CurrentPackageCard.vue b/src/views/asset-management/asset-information/components/CurrentPackageCard.vue
index cd082a7..ffe5a33 100644
--- a/src/views/asset-management/asset-information/components/CurrentPackageCard.vue
+++ b/src/views/asset-management/asset-information/components/CurrentPackageCard.vue
@@ -18,15 +18,14 @@
@@ -99,7 +98,7 @@
{{ getPackageTypeName(currentPackage.package_type) }}
{{ currentPackage.virtual_ratio || '-' }}
@@ -149,6 +148,7 @@
const userStore = useUserStore()
const { info: userInfo } = storeToRefs(userStore)
const isSuperAdmin = computed(() => userInfo.value.user_type === 1)
+ const isAdminOrPlatform = computed(() => userInfo.value.user_type === 1 || userInfo.value.user_type === 2)
// Props
interface Props {
diff --git a/src/views/asset-management/asset-information/composables/useAssetInfo.ts b/src/views/asset-management/asset-information/composables/useAssetInfo.ts
index 9f3077d..fe7facc 100644
--- a/src/views/asset-management/asset-information/composables/useAssetInfo.ts
+++ b/src/views/asset-management/asset-information/composables/useAssetInfo.ts
@@ -199,7 +199,11 @@ export function useAssetInfo() {
duration_days: undefined, // API 没有返回时长
virtual_ratio: pkg.virtual_ratio, // 虚流量比例
package_type: pkg.package_type, // 套餐类型
- enable_virtual_data: pkg.enable_virtual_data // 是否启用虚流量
+ enable_virtual_data: pkg.enable_virtual_data, // 是否启用虚流量
+ data_limit_mb: pkg.data_limit_mb,
+ virtual_limit_mb: pkg.virtual_limit_mb,
+ virtual_remain_mb: pkg.virtual_remain_mb,
+ data_usage_mb: pkg.data_usage_mb
}
// 同时更新 cardInfo 中的流量显示信息(根据是否启用虚流量选择数据源)
diff --git a/src/views/asset-management/asset-information/types.ts b/src/views/asset-management/asset-information/types.ts
index 2708b43..92f099c 100644
--- a/src/views/asset-management/asset-information/types.ts
+++ b/src/views/asset-management/asset-information/types.ts
@@ -91,6 +91,10 @@ export interface PackageInfo {
virtual_ratio?: number // 虚流量比例
package_type?: string // 套餐类型: formal(正式套餐)/ addon(加油包)
enable_virtual_data?: boolean // 是否启用虚流量
+ data_limit_mb?: number // 总量
+ virtual_limit_mb?: number // 虚流量上限
+ virtual_remain_mb?: number // 虚流量剩余
+ data_usage_mb?: number // 已用流量
}
// 钱包信息接口 (使用已有的 AssetWalletResponse)