diff --git a/src/locales/langs/en-us.ts b/src/locales/langs/en-us.ts index 3812858..9ad73ef 100644 --- a/src/locales/langs/en-us.ts +++ b/src/locales/langs/en-us.ts @@ -783,6 +783,8 @@ const local: any = { ppskWithoutRadius: 'PPSK without RADIUS', ppskWithRadius: 'PPSK with RADIUS', }, + portalEnable:'Portal', + portalName:'Portal Name', band:'Band', guestNetwork:'Guest Network', enable:'Enable', diff --git a/src/locales/langs/zh-cn.ts b/src/locales/langs/zh-cn.ts index ec63f6c..4f2b2ca 100644 --- a/src/locales/langs/zh-cn.ts +++ b/src/locales/langs/zh-cn.ts @@ -784,6 +784,8 @@ const local:any = { ppskWithoutRadius: 'PPSK without RADIUS', ppskWithRadius: 'PPSK with RADIUS', }, + portalEnable:'门户', + portalName:'门户名称', band:'频段', guestNetwork:'访客网络', enable:'开启', diff --git a/src/views/device/wlan/index.vue b/src/views/device/wlan/index.vue index 162d34c..3e244f0 100644 --- a/src/views/device/wlan/index.vue +++ b/src/views/device/wlan/index.vue @@ -334,6 +334,24 @@ const { return text ? t('page.wlan.enable') : t('page.wlan.disable'); } }, + { + title: t('page.wlan.portalEnable'), + dataIndex: 'portalEnable', + key: 'portalEnabel', + width: 120, + customRender: ({ text }: { text: boolean }) => { + return text ? '√' : '-'; + } + }, + { + title: t('page.wlan.portalName'), + dataIndex: 'portalName', + key: 'portalName', + width: 120, + customRender: ({ text, record }: { text: string | null, record: Api.Wlan.WlanSsid }) => { + return record.portalEnable ? (text || '-') : '-'; + } + }, { title: 'VLAN', dataIndex: 'vlanId', @@ -547,7 +565,7 @@ const handleEdit = async (record: Api.Wlan.WlanSsid) => { security: data.security, broadcast: data.broadcast, vlanEnable: data.vlanEnable, - vlanId: data.vlanId + vlanId: data.vlanId, }; editVisible.value = true; diff --git a/src/views/user-center/kyc/modules/kyc-search.vue b/src/views/user-center/kyc/modules/kyc-search.vue index 074dde4..e11055b 100644 --- a/src/views/user-center/kyc/modules/kyc-search.vue +++ b/src/views/user-center/kyc/modules/kyc-search.vue @@ -63,7 +63,6 @@ import type { FormInstance } from 'ant-design-vue'; import { useI18n } from 'vue-i18n'; const { t } = useI18n(); const ARangePicker = DatePicker.RangePicker; -import dayjs, { Dayjs } from 'dayjs'; interface SearchModel { pageNum: number;