fix:wlan界面增加字段
This commit is contained in:
@@ -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',
|
||||
|
||||
@@ -784,6 +784,8 @@ const local:any = {
|
||||
ppskWithoutRadius: 'PPSK without RADIUS',
|
||||
ppskWithRadius: 'PPSK with RADIUS',
|
||||
},
|
||||
portalEnable:'门户',
|
||||
portalName:'门户名称',
|
||||
band:'频段',
|
||||
guestNetwork:'访客网络',
|
||||
enable:'开启',
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user