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