diff --git a/src/locales/langs/en-us.ts b/src/locales/langs/en-us.ts index 05e629a..5a0b8db 100644 --- a/src/locales/langs/en-us.ts +++ b/src/locales/langs/en-us.ts @@ -2,8 +2,11 @@ const viewEn: any = { "view.endpoint": "endpoint", "view.endpoint_access": "current", "view.endpoint_records": "Historical", + "view.endpoint_cdrlrecords":"CDR records", "view.billing": "Billing", "view.billing_histories": "Historical", + "view.billing_Rechargehistory":"Recharge history", + "view.billing_Internetdetails":"Internet details", "view.set-meal": "Package", "view.userInfo":"User Information", }; @@ -535,6 +538,45 @@ const local: any = { Paid:'Paid', Unpaid:'Unpaid', }, + Internetdetails:{ + month:"month", + year:"year", + starttime:"Start Time", + totaltraffic:"Total Traffic", + fee:" Fee", + monthtraffic:"Month Total Traffic", + }, + Rechargehistory:{ + topupdate:"Top up date", + amount:"Amount", + Payment:"Payment Method", + recharge:"Recharge History", + }, + cdrlrecords:{ + devicename:"Device name", + uptraffic:"Traffic Up", + downtraffic:"Traffic Down", + uptime:"Up Time", + lasttime:"Last seen Time", + cdr:"CDR Records", + }, + records:{ + clientID:"Client ID", + clientname:"Client Name", + clienttype:"Client Type", + clientmac:"MAC", + starttime:"Start Time", + endtime:"End Time", + clienthistory:"Client history", + refresh:"Refresh", + }, + access:{ + devicename:"Device Name", + mac:"Mac", + speed:"Current Rate", + currentdevice:"The device is currently connected", + refresh:"Refresh", + }, }, form: { required: 'Cannot be empty', diff --git a/src/locales/langs/zh-cn.ts b/src/locales/langs/zh-cn.ts index 9f120be..4f39af3 100644 --- a/src/locales/langs/zh-cn.ts +++ b/src/locales/langs/zh-cn.ts @@ -2,8 +2,11 @@ const viewZh: any = { "view.endpoint": "终端设备", "view.endpoint_access": "当前设备", "view.endpoint_records": "历史设备", + "view.endpoint_cdrlrecords":"cdr记录", "view.billing": "账单", "view.billing_histories": "历史查询", + "view.billing_Rechargehistory":"充值记录", + "view.billing_Internetdetails":"上网详单", "view.set-meal": "套餐", "view.userInfo":"个人信息" }; @@ -535,6 +538,45 @@ const local:any = { Paid:'已支付', Unpaid:'未支付', }, + Internetdetails:{ + month:"月", + year:"年", + starttime:"起始时间", + totaltraffic:"总流量", + fee:"费用", + monthtraffic:"月总流量", + }, + Rechargehistory:{ + topupdate:"充值日期", + amount:"充值金额", + Payment:"充值方式", + recharge:"充值记录", + }, + cdrlrecords:{ + devicename:"设备名称", + uptraffic:"上传流量", + downtraffic:"下载流量", + uptime:"接入时间", + lasttime:"断开时间", + cdr:"CDR记录", + }, + records:{ + clientID:"设备ID", + clientname:"设备名", + clienttype:"设备类型", + clientmac:"MAC地址", + starttime:"开始时间", + endtime:"结束时间", + clienthistory:"接入历史记录", + refresh:"刷新", + }, + access:{ + devicename:"设备名称", + mac:"mac地址", + speed:"当前速率", + currentdevice:"当前接入设备", + refresh:"刷新", + }, }, form: { required: '不能为空', diff --git a/src/views/endpoint/records/index.vue b/src/views/endpoint/records/index.vue index 715d3a1..32d8fbc 100644 --- a/src/views/endpoint/records/index.vue +++ b/src/views/endpoint/records/index.vue @@ -1,7 +1,297 @@ - + - +