This commit is contained in:
@@ -527,8 +527,14 @@ export interface IotCardDetailResponse {
|
||||
|
||||
// 批量设置卡的套餐系列绑定请求参数
|
||||
export interface BatchSetCardSeriesBindingRequest {
|
||||
iccids: string[] // ICCID列表(最多500个)
|
||||
selection_type?: CardSelectionType // 选卡方式(兼容旧版时可不传,默认 list)
|
||||
series_id: number // 套餐系列ID(0表示清除关联)
|
||||
iccids?: string[] // ICCID列表(selection_type=list时必填,最多1000个)
|
||||
iccid_start?: string // 起始ICCID(selection_type=range时必填)
|
||||
iccid_end?: string // 结束ICCID(selection_type=range时必填)
|
||||
carrier_id?: number // 运营商ID(selection_type=filter时可选)
|
||||
status?: StandaloneCardStatus // 卡状态(selection_type=filter时可选)
|
||||
batch_no?: string // 批次号(selection_type=filter时可选)
|
||||
}
|
||||
|
||||
// 卡套餐系列绑定失败项
|
||||
|
||||
@@ -237,10 +237,31 @@ export interface DeviceImportTaskDetail extends DeviceImportTask {
|
||||
|
||||
// ========== 批量设置设备的套餐系列绑定相关 ==========
|
||||
|
||||
// 选设备方式枚举
|
||||
export enum DeviceSelectionType {
|
||||
LIST = 'list', // 设备ID列表
|
||||
RANGE = 'range', // 设备号范围
|
||||
FILTER = 'filter' // 筛选条件
|
||||
}
|
||||
|
||||
// 批量设置设备的套餐系列绑定请求参数
|
||||
export interface BatchSetDeviceSeriesBindingRequest {
|
||||
device_ids: number[] // 设备ID列表(最多500个)
|
||||
selection_type?: DeviceSelectionType // 选设备方式(兼容旧版时可不传,默认 list)
|
||||
series_id: number // 套餐系列ID(0表示清除关联)
|
||||
device_ids?: number[] // 设备ID列表(selection_type=list时必填,最多1000个)
|
||||
virtual_no_start?: string // 起始设备虚拟号(selection_type=range时必填)
|
||||
virtual_no_end?: string // 结束设备虚拟号(selection_type=range时必填)
|
||||
virtual_no?: string // 设备虚拟号(selection_type=filter时可选)
|
||||
device_name?: string // 设备名称(selection_type=filter时可选)
|
||||
device_type?: string // 设备类型(selection_type=filter时可选)
|
||||
manufacturer?: string // 制造商(selection_type=filter时可选)
|
||||
batch_no?: string // 批次号(selection_type=filter时可选)
|
||||
status?: DeviceStatus // 设备状态(selection_type=filter时可选)
|
||||
shop_id?: number // 店铺ID(selection_type=filter时可选)
|
||||
shop_ids?: number[] // 店铺ID列表(selection_type=filter时可选)
|
||||
filter_series_id?: number // 当前绑定套餐系列ID(selection_type=filter时可选)
|
||||
created_at_start?: string // 创建时间开始(selection_type=filter时可选)
|
||||
created_at_end?: string // 创建时间结束(selection_type=filter时可选)
|
||||
}
|
||||
|
||||
// 设备套餐系列绑定失败项
|
||||
|
||||
2
src/types/auto-imports.d.ts
vendored
2
src/types/auto-imports.d.ts
vendored
@@ -7,7 +7,7 @@
|
||||
export {}
|
||||
declare global {
|
||||
const EffectScope: typeof import('vue')['EffectScope']
|
||||
const ElButton: typeof import('element-plus/es')['ElButton']
|
||||
const ElButton: (typeof import('element-plus/es'))['ElButton']
|
||||
const ElMessageBox: typeof import('element-plus/es')['ElMessageBox']
|
||||
const acceptHMRUpdate: typeof import('pinia')['acceptHMRUpdate']
|
||||
const asyncComputed: typeof import('@vueuse/core')['asyncComputed']
|
||||
|
||||
Reference in New Issue
Block a user