feat: UDM鉴权用户显示创建时间
This commit is contained in:
@@ -26,6 +26,7 @@ import {
|
|||||||
} from '@/api/neData/udm_auth';
|
} from '@/api/neData/udm_auth';
|
||||||
import { uploadFile } from '@/api/tool/file';
|
import { uploadFile } from '@/api/tool/file';
|
||||||
import { getNeViewFile } from '@/api/tool/neFile';
|
import { getNeViewFile } from '@/api/tool/neFile';
|
||||||
|
import { parseDateToStr } from '@/utils/date-utils';
|
||||||
const { t } = useI18n();
|
const { t } = useI18n();
|
||||||
|
|
||||||
/**网元参数 */
|
/**网元参数 */
|
||||||
@@ -89,14 +90,14 @@ let tableColumns = ref<ColumnsType>([
|
|||||||
{
|
{
|
||||||
title: 'IMSI',
|
title: 'IMSI',
|
||||||
dataIndex: 'imsi',
|
dataIndex: 'imsi',
|
||||||
align: 'center',
|
align: 'left',
|
||||||
sorter: true,
|
sorter: true,
|
||||||
width: 150,
|
width: 150,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: 'AMF',
|
title: 'AMF',
|
||||||
dataIndex: 'amf',
|
dataIndex: 'amf',
|
||||||
align: 'center',
|
align: 'left',
|
||||||
width: 80,
|
width: 80,
|
||||||
},
|
},
|
||||||
// {
|
// {
|
||||||
@@ -114,9 +115,19 @@ let tableColumns = ref<ColumnsType>([
|
|||||||
{
|
{
|
||||||
title: 'Algo Index',
|
title: 'Algo Index',
|
||||||
dataIndex: 'algoIndex',
|
dataIndex: 'algoIndex',
|
||||||
align: 'center',
|
align: 'left',
|
||||||
width: 100,
|
width: 100,
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
title: 'Create Time',
|
||||||
|
dataIndex: 'createTime',
|
||||||
|
align: 'left',
|
||||||
|
width: 250,
|
||||||
|
customRender(opt) {
|
||||||
|
if (!opt.value) return '';
|
||||||
|
return parseDateToStr(+opt.value);
|
||||||
|
},
|
||||||
|
},
|
||||||
{
|
{
|
||||||
title: t('common.operate'),
|
title: t('common.operate'),
|
||||||
key: 'imsi',
|
key: 'imsi',
|
||||||
@@ -232,12 +243,12 @@ const modalStateFrom = Form.useForm(
|
|||||||
],
|
],
|
||||||
imsi: [
|
imsi: [
|
||||||
{ required: true, message: 'IMSI' + t('common.unableNull') },
|
{ required: true, message: 'IMSI' + t('common.unableNull') },
|
||||||
{ min: 15, max: 15, message: t('views.neUser.auth.imsiConfirm') },
|
{ min: 15, message: t('views.neUser.auth.imsiConfirm') },
|
||||||
],
|
],
|
||||||
amf: [{ required: true, message: 'AMF' + t('common.unableNull') }],
|
amf: [{ required: true, message: 'AMF' + t('common.unableNull') }],
|
||||||
ki: [
|
ki: [
|
||||||
{ required: true, message: 'KI' + t('common.unableNull') },
|
{ required: true, message: 'KI' + t('common.unableNull') },
|
||||||
{ min: 32, max: 32, message: t('views.neUser.auth.kiTip') },
|
{ min: 32, message: t('views.neUser.auth.kiTip') },
|
||||||
],
|
],
|
||||||
algoIndex: [
|
algoIndex: [
|
||||||
{ required: true, message: 'algoIndex' + t('common.unableNull') },
|
{ required: true, message: 'algoIndex' + t('common.unableNull') },
|
||||||
@@ -928,7 +939,6 @@ onMounted(() => {
|
|||||||
</a-button>
|
</a-button>
|
||||||
</a-tooltip>
|
</a-tooltip>
|
||||||
<TableColumnsDnd
|
<TableColumnsDnd
|
||||||
cache-id="udmAuthData"
|
|
||||||
:columns="tableColumns"
|
:columns="tableColumns"
|
||||||
v-model:columns-dnd="tableColumnsDnd"
|
v-model:columns-dnd="tableColumnsDnd"
|
||||||
></TableColumnsDnd>
|
></TableColumnsDnd>
|
||||||
|
|||||||
Reference in New Issue
Block a user