diff --git a/src/locales/langs/en-us.ts b/src/locales/langs/en-us.ts index 3c2ae57..5c0b37e 100644 --- a/src/locales/langs/en-us.ts +++ b/src/locales/langs/en-us.ts @@ -650,6 +650,7 @@ const local: any = { cdrlrecords:"Internet records" }, cdrlrecords:{ + total:'Total', devicename:"Device name", uptraffic:"Traffic Up", downtraffic:"Traffic Down", @@ -657,7 +658,12 @@ const local: any = { lasttime:"Last seen Time", cdr:"CDR Records", refresh:"Refresh", - mac:"MAC" + mac:"MAC", + duration:'Duration', + sec:'s', + min:'min', + hour:'hour', + day:'day' }, records:{ clientID:"Client ID", diff --git a/src/locales/langs/zh-cn.ts b/src/locales/langs/zh-cn.ts index 43c2216..7abe362 100644 --- a/src/locales/langs/zh-cn.ts +++ b/src/locales/langs/zh-cn.ts @@ -650,6 +650,13 @@ const local:any = { cdrlrecords:"上网记录" }, cdrlrecords:{ + total:'共', + searchdevice:'输入设备名称', + timerange:'开始时间范围', + starttime:'开始时间', + endtime:'结束时间', + search:'查询', + reset:'重置', devicename:"设备名称", uptraffic:"上传流量", downtraffic:"下载流量", @@ -657,7 +664,12 @@ const local:any = { lasttime:"断开时间", cdr:"上网记录", refresh:"刷新", - mac:"mac地址" + mac:"mac地址", + duration:'时长', + sec:'秒', + min:'分', + hour:'时', + day:'天' }, records:{ clientID:"设备ID", diff --git a/src/typings/components.d.ts b/src/typings/components.d.ts index ed7ff80..916bb78 100644 --- a/src/typings/components.d.ts +++ b/src/typings/components.d.ts @@ -40,6 +40,7 @@ declare module 'vue' { AppProvider: typeof import('./../components/common/app-provider.vue')['default'] ARadio: typeof import('ant-design-vue/es')['Radio'] ARadioGroup: typeof import('ant-design-vue/es')['RadioGroup'] + ARangePicker: typeof import('ant-design-vue/es')['RangePicker'] ARow: typeof import('ant-design-vue/es')['Row'] ASegmented: typeof import('ant-design-vue/es')['Segmented'] ASelect: typeof import('ant-design-vue/es')['Select'] diff --git a/src/views/billing/cdrlrecords/index.vue b/src/views/billing/cdrlrecords/index.vue index ea088b5..af18d83 100644 --- a/src/views/billing/cdrlrecords/index.vue +++ b/src/views/billing/cdrlrecords/index.vue @@ -1,10 +1,12 @@ @@ -137,25 +316,67 @@ const { columns, data, loading, getData, mobilePagination, searchParams } = useT + +
+ + + + + + + - + + + + + + {{ t('page.cdrlrecords.search') }} + + + {{ t('page.cdrlrecords.reset') }} + + + + +
+