style: 网元管理
This commit is contained in:
@@ -20,7 +20,7 @@ const { t } = useI18n();
|
|||||||
const route = useRoute();
|
const route = useRoute();
|
||||||
|
|
||||||
/**路由标题 */
|
/**路由标题 */
|
||||||
let title = ref<string>(route.meta.title as string ?? '标题');
|
let title = ref<string>((route.meta.title as string) ?? '标题');
|
||||||
|
|
||||||
/**查询参数 */
|
/**查询参数 */
|
||||||
let queryParams = reactive({
|
let queryParams = reactive({
|
||||||
@@ -134,7 +134,7 @@ let tableColumns: ColumnsType = [
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: t("common.operate"),
|
title: t('common.operate'),
|
||||||
key: 'id',
|
key: 'id',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
},
|
},
|
||||||
@@ -193,17 +193,17 @@ let modalState: ModalStateType = reactive({
|
|||||||
visibleByEdit: false,
|
visibleByEdit: false,
|
||||||
title: '网元',
|
title: '网元',
|
||||||
from: {
|
from: {
|
||||||
dn: '网络标识',
|
dn: '',
|
||||||
ip: '192.168.4.132',
|
ip: '',
|
||||||
neAddress: '192.160.0.107',
|
neAddress: '',
|
||||||
neId: '网元内部标识',
|
neId: '',
|
||||||
neName: '网元名称',
|
neName: '',
|
||||||
neType: 'AMF',
|
neType: '',
|
||||||
port: '3030',
|
port: '',
|
||||||
province: '网元所在省份',
|
province: '',
|
||||||
pvFlag: '',
|
pvFlag: '',
|
||||||
rmUid: '资源唯一标识',
|
rmUid: '',
|
||||||
vendorName: '厂商名称',
|
vendorName: '',
|
||||||
},
|
},
|
||||||
confirmLoading: false,
|
confirmLoading: false,
|
||||||
});
|
});
|
||||||
@@ -233,7 +233,7 @@ function fnModalVisibleByEdit(row?: Record<string, any>) {
|
|||||||
modalState.visibleByEdit = true;
|
modalState.visibleByEdit = true;
|
||||||
} else {
|
} else {
|
||||||
if (modalState.confirmLoading) return;
|
if (modalState.confirmLoading) return;
|
||||||
const hide = message.loading('正在打开...', 0);
|
const hide = message.loading(t('common.loading'), 0);
|
||||||
modalState.confirmLoading = true;
|
modalState.confirmLoading = true;
|
||||||
getNeInfo(row.id).then(res => {
|
getNeInfo(row.id).then(res => {
|
||||||
modalState.confirmLoading = false;
|
modalState.confirmLoading = false;
|
||||||
@@ -420,7 +420,7 @@ onMounted(() => {
|
|||||||
</a-tooltip>
|
</a-tooltip>
|
||||||
<a-tooltip>
|
<a-tooltip>
|
||||||
<template #title>{{ t('common.sizeText') }}</template>
|
<template #title>{{ t('common.sizeText') }}</template>
|
||||||
<a-dropdown trigger="click">
|
<a-dropdown trigger="click" placement="bottomRight">
|
||||||
<a-button type="text">
|
<a-button type="text">
|
||||||
<template #icon><ColumnHeightOutlined /></template>
|
<template #icon><ColumnHeightOutlined /></template>
|
||||||
</a-button>
|
</a-button>
|
||||||
@@ -429,15 +429,15 @@ onMounted(() => {
|
|||||||
:selected-keys="[tableState.size as string]"
|
:selected-keys="[tableState.size as string]"
|
||||||
@click="fnTableSize"
|
@click="fnTableSize"
|
||||||
>
|
>
|
||||||
<a-menu-item key="default">{{
|
<a-menu-item key="default"
|
||||||
t('common.size.default')
|
>{{ t('common.size.default') }}
|
||||||
}}</a-menu-item>
|
</a-menu-item>
|
||||||
<a-menu-item key="middle">{{
|
<a-menu-item key="middle"
|
||||||
t('common.size.middle')
|
>{{ t('common.size.middle') }}
|
||||||
}}</a-menu-item>
|
</a-menu-item>
|
||||||
<a-menu-item key="small">{{
|
<a-menu-item key="small"
|
||||||
t('common.size.small')
|
>{{ t('common.size.small') }}
|
||||||
}}</a-menu-item>
|
</a-menu-item>
|
||||||
</a-menu>
|
</a-menu>
|
||||||
</template>
|
</template>
|
||||||
</a-dropdown>
|
</a-dropdown>
|
||||||
|
|||||||
Reference in New Issue
Block a user