fetch(add): 订单管理-企业设备
All checks were successful
构建并部署前端到测试环境 / build-and-deploy (push) Successful in 3m30s

This commit is contained in:
sexygoat
2026-01-29 15:43:45 +08:00
parent 1812b7a6c4
commit 841cf0442b
58 changed files with 8948 additions and 1164 deletions

View File

@@ -392,6 +392,7 @@
"packageList": "My Packages",
"packageChange": "Package Change",
"packageAssign": "Package Assignment",
"seriesAssign": "Series Assignment",
"packageSeries": "Package Series",
"packageCommission": "Package Commission Cards"
},
@@ -414,7 +415,8 @@
"withdrawal": "Commission Withdrawal",
"withdrawalSettings": "Withdrawal Settings",
"myAccount": "My Account",
"carrierManagement": "Carrier Management"
"carrierManagement": "Carrier Management",
"orders": "Order Management"
},
"deviceManagement": {
"title": "Device Management",
@@ -443,7 +445,8 @@
"allocationRecordDetail": "Allocation Record Details",
"cardReplacementRequest": "Card Replacement Request",
"authorizationRecords": "Authorization Records",
"authorizationDetail": "Authorization Details"
"authorizationDetail": "Authorization Details",
"enterpriseDevices": "Enterprise Devices"
},
"settings": {
"title": "Settings Management",
@@ -741,5 +744,206 @@
"pendingAmount": "Pending Amount",
"todayCommission": "Today's Commission"
}
},
"seriesBinding": {
"buttons": {
"batchSetSeries": "Batch Set Series",
"clearBinding": "Clear Binding"
},
"dialog": {
"title": "Batch Set Series Binding",
"titleCard": "Batch Set Card Series Binding",
"titleDevice": "Batch Set Device Series Binding"
},
"form": {
"seriesAllocation": "Series Allocation",
"seriesAllocationPlaceholder": "Please select series allocation",
"clearBindingOption": "Clear Association",
"selectedCount": "{count} items selected"
},
"messages": {
"noSelection": "Please select items to set",
"setSuccess": "Series binding set successfully",
"setFailed": "Failed to set series binding",
"partialSuccess": "Partial success: {success} succeeded, {fail} failed",
"confirmSet": "Are you sure to set series binding for {count} selected items?",
"confirmClear": "Are you sure to clear series binding for {count} selected items?"
},
"result": {
"title": "Set Result",
"successCount": "Success Count",
"failCount": "Fail Count",
"failedItems": "Failed Items",
"iccid": "ICCID",
"deviceId": "Device ID",
"deviceNo": "Device No.",
"reason": "Reason"
}
},
"orderManagement": {
"title": "Order Management",
"orderList": "Order List",
"orderDetail": "Order Details",
"orderItems": "Order Items",
"createOrder": "Create Order",
"searchForm": {
"orderNo": "Order No.",
"orderNoPlaceholder": "Please enter order number",
"paymentStatus": "Payment Status",
"paymentStatusPlaceholder": "Please select payment status",
"orderType": "Order Type",
"orderTypePlaceholder": "Please select order type",
"dateRange": "Created Time",
"startDate": "Start Time",
"endDate": "End Time"
},
"table": {
"id": "Order ID",
"orderNo": "Order No.",
"orderType": "Order Type",
"buyerId": "Buyer ID",
"buyerType": "Buyer Type",
"paymentStatus": "Payment Status",
"paymentMethod": "Payment Method",
"totalAmount": "Total Amount",
"paidAt": "Paid At",
"commissionStatus": "Commission Status",
"createdAt": "Created At",
"updatedAt": "Updated At",
"operation": "Actions"
},
"orderType": {
"singleCard": "Single Card Purchase",
"device": "Device Purchase"
},
"buyerType": {
"personal": "Personal Customer",
"agent": "Agent"
},
"paymentStatus": {
"pending": "Pending",
"paid": "Paid",
"cancelled": "Cancelled",
"refunded": "Refunded"
},
"paymentMethod": {
"wallet": "Wallet Payment",
"wechat": "WeChat Payment",
"alipay": "Alipay Payment"
},
"commissionStatus": {
"notApplicable": "Not Applicable",
"pending": "Pending",
"settled": "Settled"
},
"actions": {
"viewDetail": "View Details",
"cancel": "Cancel",
"confirm": "Confirm",
"submit": "Submit",
"close": "Close"
},
"createForm": {
"packageIds": "Select Packages",
"packageIdsPlaceholder": "Please select packages",
"iotCardId": "IoT Card ID",
"iotCardIdPlaceholder": "Please enter IoT card ID",
"deviceId": "Device ID",
"deviceIdPlaceholder": "Please enter device ID"
},
"items": {
"packageName": "Package Name",
"quantity": "Quantity",
"unitPrice": "Unit Price",
"amount": "Subtotal"
},
"messages": {
"createSuccess": "Order created successfully",
"createFailed": "Failed to create order",
"cancelSuccess": "Order cancelled successfully",
"cancelFailed": "Failed to cancel order",
"cancelConfirm": "Cancel Order Confirmation",
"cancelConfirmText": "Are you sure to cancel this order? This action cannot be undone",
"cannotCancelPaid": "Cannot cancel a paid order",
"cannotCancelCancelled": "Order is already cancelled",
"cannotCancelRefunded": "Cannot cancel a refunded order",
"loadFailed": "Failed to load order data",
"noData": "No order data available"
},
"validation": {
"orderTypeRequired": "Please select order type",
"packageIdsRequired": "Please select at least one package",
"iotCardRequired": "Please select IoT card",
"deviceRequired": "Please select device",
"packagesMaxLimit": "Can select up to 10 packages"
}
},
"enterpriseDevices": {
"title": "Enterprise Device List",
"searchForm": {
"enterpriseId": "Enterprise ID",
"enterpriseIdPlaceholder": "Please enter enterprise ID",
"deviceNo": "Device No.",
"deviceNoPlaceholder": "Please enter device number"
},
"table": {
"deviceId": "Device ID",
"deviceNo": "Device No.",
"deviceName": "Device Name",
"deviceModel": "Device Model",
"cardCount": "Card Count",
"authorizedAt": "Authorized At",
"operation": "Actions"
},
"buttons": {
"allocateDevices": "Allocate Devices",
"recallDevices": "Recall Authorization",
"refresh": "Refresh"
},
"dialog": {
"allocateTitle": "Allocate Devices to Enterprise",
"recallTitle": "Recall Device Authorization",
"resultTitle": "Operation Result"
},
"form": {
"deviceNos": "Device Numbers",
"deviceNosPlaceholder": "Enter device numbers, separated by newlines or commas",
"deviceNosHint": "One device number per line or comma-separated, maximum 100 devices",
"remark": "Remark",
"remarkPlaceholder": "Enter allocation remark (optional)",
"selectedDevices": "Selected Devices",
"selectedCount": "{count} devices selected"
},
"result": {
"successCount": "Success Count",
"failCount": "Fail Count",
"authorizedDevices": "Authorized Devices",
"failedItems": "Failed Items",
"deviceNo": "Device No.",
"deviceId": "Device ID",
"cardCount": "Card Count",
"reason": "Failure Reason"
},
"messages": {
"allocateSuccess": "Device allocation successful",
"allocateFailed": "Device allocation failed",
"allocatePartialSuccess": "Partial success: {success} succeeded, {fail} failed",
"recallSuccess": "Authorization recall successful",
"recallFailed": "Authorization recall failed",
"recallPartialSuccess": "Partial recall success: {success} succeeded, {fail} failed",
"recallConfirm": "Recall Authorization Confirmation",
"recallConfirmText": "Are you sure to recall authorization for {count} selected devices?",
"noSelection": "Please select devices to recall first",
"deviceNosRequired": "Please enter device numbers",
"deviceNosEmpty": "Device number list cannot be empty",
"deviceNosMaxLimit": "Cannot exceed 100 device numbers",
"invalidDeviceNos": "Invalid device number format exists",
"loadFailed": "Failed to load device list",
"noData": "No device data available"
},
"validation": {
"deviceNosRequired": "Please enter device number list",
"deviceNosMaxLength": "Cannot exceed 100 device numbers"
}
}
}

View File

@@ -398,13 +398,15 @@
"cardChange": "换卡网卡"
},
"packageManagement": {
"title": "我的套餐",
"title": "套餐管理",
"packageCreate": "新建套餐",
"packageBatch": "批量管理",
"packageList": "我的套餐",
"packageList": "套餐管理",
"packageChange": "套餐变更",
"packageAssign": "套餐分配",
"packageAssign": "套餐分配",
"seriesAssign": "套餐系列分配",
"packageSeries": "套餐系列",
"myPackages": "代理可售套餐",
"packageCommission": "套餐佣金网卡"
},
"accountManagement": {
@@ -447,13 +449,15 @@
"allocationRecordDetail": "分配记录详情",
"cardReplacementRequest": "换卡申请",
"authorizationRecords": "授权记录",
"authorizationDetail": "授权记录详情"
"authorizationDetail": "授权记录详情",
"enterpriseDevices": "企业设备列表"
},
"account": {
"title": "账户管理",
"customerAccount": "客户账号",
"myAccount": "我的账户",
"carrierManagement": "运营商管理"
"carrierManagement": "运营商管理",
"orders": "订单管理"
},
"commission": {
"menu": {
@@ -751,5 +755,206 @@
"pendingAmount": "待审核金额",
"todayCommission": "今日佣金"
}
},
"seriesBinding": {
"buttons": {
"batchSetSeries": "批量设置套餐系列",
"clearBinding": "清除绑定"
},
"dialog": {
"title": "批量设置套餐系列绑定",
"titleCard": "批量设置卡的套餐系列绑定",
"titleDevice": "批量设置设备的套餐系列绑定"
},
"form": {
"seriesAllocation": "套餐系列分配",
"seriesAllocationPlaceholder": "请选择套餐系列分配",
"clearBindingOption": "清除关联",
"selectedCount": "已选择 {count} 项"
},
"messages": {
"noSelection": "请先选择要设置的项",
"setSuccess": "套餐系列绑定设置成功",
"setFailed": "套餐系列绑定设置失败",
"partialSuccess": "部分设置成功:成功 {success} 项,失败 {fail} 项",
"confirmSet": "确定要为选中的 {count} 项设置套餐系列绑定吗?",
"confirmClear": "确定要清除选中的 {count} 项的套餐系列绑定吗?"
},
"result": {
"title": "设置结果",
"successCount": "成功数量",
"failCount": "失败数量",
"failedItems": "失败项详情",
"iccid": "ICCID",
"deviceId": "设备ID",
"deviceNo": "设备号",
"reason": "失败原因"
}
},
"orderManagement": {
"title": "订单管理",
"orderList": "订单列表",
"orderDetail": "订单详情",
"orderItems": "订单明细",
"createOrder": "创建订单",
"searchForm": {
"orderNo": "订单号",
"orderNoPlaceholder": "请输入订单号",
"paymentStatus": "支付状态",
"paymentStatusPlaceholder": "请选择支付状态",
"orderType": "订单类型",
"orderTypePlaceholder": "请选择订单类型",
"dateRange": "创建时间",
"startDate": "开始时间",
"endDate": "结束时间"
},
"table": {
"id": "订单ID",
"orderNo": "订单号",
"orderType": "订单类型",
"buyerId": "买家ID",
"buyerType": "买家类型",
"paymentStatus": "支付状态",
"paymentMethod": "支付方式",
"totalAmount": "订单金额",
"paidAt": "支付时间",
"commissionStatus": "佣金状态",
"createdAt": "创建时间",
"updatedAt": "更新时间",
"operation": "操作"
},
"orderType": {
"singleCard": "单卡购买",
"device": "设备购买"
},
"buyerType": {
"personal": "个人客户",
"agent": "代理商"
},
"paymentStatus": {
"pending": "待支付",
"paid": "已支付",
"cancelled": "已取消",
"refunded": "已退款"
},
"paymentMethod": {
"wallet": "钱包支付",
"wechat": "微信支付",
"alipay": "支付宝支付"
},
"commissionStatus": {
"notApplicable": "不适用",
"pending": "待结算",
"settled": "已结算"
},
"actions": {
"viewDetail": "查看详情",
"cancel": "取消",
"confirm": "确定",
"submit": "提交",
"close": "关闭"
},
"createForm": {
"packageIds": "选择套餐",
"packageIdsPlaceholder": "请选择套餐",
"iotCardId": "IoT卡ID",
"iotCardIdPlaceholder": "请输入IoT卡ID",
"deviceId": "设备ID",
"deviceIdPlaceholder": "请输入设备ID"
},
"items": {
"packageName": "套餐名称",
"quantity": "数量",
"unitPrice": "单价",
"amount": "小计"
},
"messages": {
"createSuccess": "订单创建成功",
"createFailed": "订单创建失败",
"cancelSuccess": "订单取消成功",
"cancelFailed": "订单取消失败",
"cancelConfirm": "取消订单确认",
"cancelConfirmText": "确定要取消该订单吗?取消后不可恢复",
"cannotCancelPaid": "已支付的订单无法取消",
"cannotCancelCancelled": "订单已取消",
"cannotCancelRefunded": "已退款的订单无法取消",
"loadFailed": "加载订单数据失败",
"noData": "暂无订单数据"
},
"validation": {
"orderTypeRequired": "请选择订单类型",
"packageIdsRequired": "请至少选择一个套餐",
"iotCardRequired": "请选择IoT卡",
"deviceRequired": "请选择设备",
"packagesMaxLimit": "最多只能选择10个套餐"
}
},
"enterpriseDevices": {
"title": "企业设备列表",
"searchForm": {
"enterpriseId": "企业ID",
"enterpriseIdPlaceholder": "请输入企业ID",
"deviceNo": "设备号",
"deviceNoPlaceholder": "请输入设备号"
},
"table": {
"deviceId": "设备ID",
"deviceNo": "设备号",
"deviceName": "设备名称",
"deviceModel": "设备型号",
"cardCount": "绑定卡数量",
"authorizedAt": "授权时间",
"operation": "操作"
},
"buttons": {
"allocateDevices": "授权设备",
"recallDevices": "撤销授权",
"refresh": "刷新"
},
"dialog": {
"allocateTitle": "授权设备给企业",
"recallTitle": "撤销设备授权",
"resultTitle": "操作结果"
},
"form": {
"deviceNos": "设备号列表",
"deviceNosPlaceholder": "请输入设备号,支持换行或逗号分隔",
"deviceNosHint": "每行一个设备号或使用逗号分隔最多100个",
"remark": "备注",
"remarkPlaceholder": "请输入授权备注(可选)",
"selectedDevices": "已选择设备",
"selectedCount": "已选择 {count} 个设备"
},
"result": {
"successCount": "成功数量",
"failCount": "失败数量",
"authorizedDevices": "已授权设备",
"failedItems": "失败项",
"deviceNo": "设备号",
"deviceId": "设备ID",
"cardCount": "绑定卡数",
"reason": "失败原因"
},
"messages": {
"allocateSuccess": "设备授权成功",
"allocateFailed": "设备授权失败",
"allocatePartialSuccess": "部分设备授权成功:成功 {success} 个,失败 {fail} 个",
"recallSuccess": "撤销授权成功",
"recallFailed": "撤销授权失败",
"recallPartialSuccess": "部分设备撤销成功:成功 {success} 个,失败 {fail} 个",
"recallConfirm": "撤销授权确认",
"recallConfirmText": "确定要撤销选中的 {count} 个设备的授权吗?",
"noSelection": "请先选择要撤销的设备",
"deviceNosRequired": "请输入设备号",
"deviceNosEmpty": "设备号列表不能为空",
"deviceNosMaxLimit": "设备号数量不能超过100个",
"invalidDeviceNos": "存在无效的设备号格式",
"loadFailed": "加载设备列表失败",
"noData": "暂无设备数据"
},
"validation": {
"deviceNosRequired": "请输入设备号列表",
"deviceNosMaxLength": "设备号数量不能超过100个"
}
}
}