feat:IMSSUB界面修改显示,增加参数
This commit is contained in:
@@ -43,6 +43,8 @@ let queryParams = reactive({
|
||||
tenantName: '',
|
||||
/**移动号 */
|
||||
msisdn: '',
|
||||
/**TAG */
|
||||
tag: undefined,
|
||||
/**排序字段 */
|
||||
sortField: 'imsi',
|
||||
/**排序方式 */
|
||||
@@ -60,6 +62,7 @@ function fnQueryReset() {
|
||||
imsiMatch: 'fuzzy',
|
||||
msisdn: '',
|
||||
tenantName: '',
|
||||
tag: undefined,
|
||||
sortField: 'imsi',
|
||||
sortOrder: 'asc',
|
||||
pageNum: 1,
|
||||
@@ -121,6 +124,13 @@ let tableColumns = ref<ColumnsType>([
|
||||
sorter: true,
|
||||
width: 100,
|
||||
},
|
||||
{
|
||||
title: 'TAG',
|
||||
dataIndex: 'tag',
|
||||
align: 'center',
|
||||
width: 150,
|
||||
key: 'tag'
|
||||
},
|
||||
{
|
||||
title: 'TenantID',
|
||||
dataIndex: 'tenantID',
|
||||
@@ -140,12 +150,6 @@ let tableColumns = ref<ColumnsType>([
|
||||
align: 'center',
|
||||
width: 150,
|
||||
},
|
||||
{
|
||||
title: 'TAG',
|
||||
dataIndex: 'tag',
|
||||
align: 'center',
|
||||
width: 150,
|
||||
},
|
||||
{
|
||||
title: t('common.operate'),
|
||||
key: 'imsi',
|
||||
@@ -367,7 +371,7 @@ const modalStateFrom = Form.useForm(
|
||||
],
|
||||
imsi: [
|
||||
{
|
||||
required: computed(() => modalState.from.tag === '0'),
|
||||
required: computed(() => modalState.from.tag === '1'),
|
||||
message: 'IMSI' + t('common.unableNull')
|
||||
},
|
||||
{ min: 15, max: 15, message: t('views.neUser.auth.imsiConfirm') },
|
||||
@@ -1076,7 +1080,7 @@ onMounted(() => {
|
||||
if (res.data.length > 0) {
|
||||
let arr: Record<string, any>[] = [];
|
||||
res.data.forEach(i => {
|
||||
if (i.neType === 'IMS') {
|
||||
if (i.neType === 'UDM') {
|
||||
arr.push({ value: i.neId, label: i.neName });
|
||||
}
|
||||
});
|
||||
@@ -1110,7 +1114,7 @@ onMounted(() => {
|
||||
<a-form :model="queryParams" name="queryParams" layout="horizontal">
|
||||
<a-row :gutter="16">
|
||||
<a-col :lg="6" :md="12" :xs="24">
|
||||
<a-form-item :label="t('views.neUser.sub.imsType')" name="neId ">
|
||||
<a-form-item :label="t('views.neUser.sub.neType')" name="neId">
|
||||
<a-select
|
||||
v-model:value="queryParams.neId"
|
||||
:options="neOtions"
|
||||
@@ -1148,6 +1152,19 @@ onMounted(() => {
|
||||
:placeholder="t('common.inputPlease')"></a-input>
|
||||
</a-form-item>
|
||||
</a-col>
|
||||
<a-col :lg="6" :md="12" :xs="24">
|
||||
<a-form-item label="TAG" name="tag">
|
||||
<a-select
|
||||
v-model:value="queryParams.tag"
|
||||
:options="[
|
||||
{ label: 'VoIP', value: '0' },
|
||||
{ label: 'VoLTE', value: '1' }
|
||||
]"
|
||||
:placeholder="t('common.selectPlease')"
|
||||
allow-clear
|
||||
/>
|
||||
</a-form-item>
|
||||
</a-col>
|
||||
<a-col :lg="6" :md="12" :xs="24">
|
||||
<a-form-item
|
||||
:label="t('views.neUser.sub.tenantName')"
|
||||
@@ -1369,6 +1386,9 @@ onMounted(() => {
|
||||
: t('views.neUser.sub.disable')
|
||||
}}
|
||||
</template>
|
||||
<template v-if="column.key === 'tag'">
|
||||
{{ record.tag === '0' || record.tag === 0 ? 'VoIP' : 'VoLTE' }}
|
||||
</template>
|
||||
<template v-if="column.key === 'imsi'">
|
||||
<a-space :size="8" align="center">
|
||||
<a-tooltip>
|
||||
@@ -1388,7 +1408,7 @@ onMounted(() => {
|
||||
</a-table>
|
||||
</a-card>
|
||||
|
||||
新增框或修改框
|
||||
<!-- 新增框或修改框-->
|
||||
<ProModal
|
||||
:drag="true"
|
||||
:width="800"
|
||||
@@ -1489,8 +1509,8 @@ onMounted(() => {
|
||||
<a-select
|
||||
v-model:value="modalState.from.tag"
|
||||
:options="[
|
||||
{ label: '0', value: '0' },
|
||||
{ label: '1', value: '1' }
|
||||
{ label: 'VoIP', value: '0' },
|
||||
{ label: 'VoLTE', value: '1' }
|
||||
]"
|
||||
:placeholder="t('common.selectPlease')"
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user