前缀后缀
This commit is contained in:
@@ -898,6 +898,8 @@ export default {
|
|||||||
smDataArrTip:'SST,DNN/APN is required',
|
smDataArrTip:'SST,DNN/APN is required',
|
||||||
tenantName:'Tenant Name',
|
tenantName:'Tenant Name',
|
||||||
imsiMode:'IMSI Matching Mode',
|
imsiMode:'IMSI Matching Mode',
|
||||||
|
fuzzyMatch:'Fuzzy Match',
|
||||||
|
prefixMatch:'Prefix Match',
|
||||||
},
|
},
|
||||||
pcf: {
|
pcf: {
|
||||||
neType: 'PCF Object',
|
neType: 'PCF Object',
|
||||||
|
|||||||
@@ -898,6 +898,8 @@ export default {
|
|||||||
smDataArrTip:'SST,DNN/APN为必填项',
|
smDataArrTip:'SST,DNN/APN为必填项',
|
||||||
tenantName:'租户名称',
|
tenantName:'租户名称',
|
||||||
imsiMode:'IMSI匹配模式',
|
imsiMode:'IMSI匹配模式',
|
||||||
|
fuzzyMatch:'模糊匹配',
|
||||||
|
prefixMatch:'前缀匹配',
|
||||||
},
|
},
|
||||||
pcf: {
|
pcf: {
|
||||||
neType: 'PCF网元对象',
|
neType: 'PCF网元对象',
|
||||||
|
|||||||
@@ -24,7 +24,7 @@ import {
|
|||||||
resetUDMSub,
|
resetUDMSub,
|
||||||
updateUDMSub,
|
updateUDMSub,
|
||||||
} from '@/api/neData/udm_sub';
|
} from '@/api/neData/udm_sub';
|
||||||
import { listDept } from '@/api/system/tenant';
|
import { listTenant } from '@/api/system/tenant';
|
||||||
import { uploadFile } from '@/api/tool/file';
|
import { uploadFile } from '@/api/tool/file';
|
||||||
const { t } = useI18n();
|
const { t } = useI18n();
|
||||||
const { getDict } = useDictStore();
|
const { getDict } = useDictStore();
|
||||||
@@ -47,7 +47,7 @@ let queryParams = reactive({
|
|||||||
/**移动编号 */
|
/**移动编号 */
|
||||||
imsi: '',
|
imsi: '',
|
||||||
/**imsi匹配方式 */
|
/**imsi匹配方式 */
|
||||||
imsiMatch: 'full',
|
imsiMatch: 'fuzzy',
|
||||||
/**租户名 */
|
/**租户名 */
|
||||||
tenantName: '',
|
tenantName: '',
|
||||||
/**移动号 */
|
/**移动号 */
|
||||||
@@ -66,7 +66,7 @@ let queryParams = reactive({
|
|||||||
function fnQueryReset() {
|
function fnQueryReset() {
|
||||||
queryParams = Object.assign(queryParams, {
|
queryParams = Object.assign(queryParams, {
|
||||||
imsi: '',
|
imsi: '',
|
||||||
imsiMatch: 'full',
|
imsiMatch: 'fuzzy',
|
||||||
msisdn: '',
|
msisdn: '',
|
||||||
tenantName: '',
|
tenantName: '',
|
||||||
sortField: 'imsi',
|
sortField: 'imsi',
|
||||||
@@ -1093,7 +1093,7 @@ function fnGetList(pageNum?: number) {
|
|||||||
|
|
||||||
const imsiMatchRule: any = {
|
const imsiMatchRule: any = {
|
||||||
prefix: queryParams.imsi ? `${queryParams.imsi}%` : '',
|
prefix: queryParams.imsi ? `${queryParams.imsi}%` : '',
|
||||||
full: queryParams.imsi ? `%${queryParams.imsi}%` : '',
|
fuzzy: queryParams.imsi ? `%${queryParams.imsi}%` : '',
|
||||||
};
|
};
|
||||||
|
|
||||||
const toBack: any = {
|
const toBack: any = {
|
||||||
@@ -1245,7 +1245,7 @@ onMounted(() => {
|
|||||||
// 初始字典数据
|
// 初始字典数据
|
||||||
Promise.allSettled([
|
Promise.allSettled([
|
||||||
getDict('udm_sub_cn_type'),
|
getDict('udm_sub_cn_type'),
|
||||||
listDept({ parentId: 0 }),
|
listTenant({ parentId: 0 }),
|
||||||
]).then(resArr => {
|
]).then(resArr => {
|
||||||
if (resArr[0].status === 'fulfilled') {
|
if (resArr[0].status === 'fulfilled') {
|
||||||
dict.udmSubCNType = resArr[0].value;
|
dict.udmSubCNType = resArr[0].value;
|
||||||
@@ -1319,19 +1319,7 @@ onMounted(() => {
|
|||||||
/>
|
/>
|
||||||
</a-form-item>
|
</a-form-item>
|
||||||
</a-col>
|
</a-col>
|
||||||
<a-col :lg="6" :md="12" :xs="24" v-show="queryParams.imsi">
|
|
||||||
<a-form-item label="IMSI Match Mode" name="imsiMatch">
|
|
||||||
<a-select
|
|
||||||
:label="t('views.neUser.sub.imsiMode')"
|
|
||||||
style="width: 100%"
|
|
||||||
v-model:value="queryParams.imsiMatch"
|
|
||||||
:options="[
|
|
||||||
{ label: 'Prefix', value: 'prefix' },
|
|
||||||
{ label: 'Full', value: 'full' },
|
|
||||||
]"
|
|
||||||
/>
|
|
||||||
</a-form-item>
|
|
||||||
</a-col>
|
|
||||||
<a-col :lg="6" :md="12" :xs="24">
|
<a-col :lg="6" :md="12" :xs="24">
|
||||||
<a-form-item label="IMSI" name="imsi">
|
<a-form-item label="IMSI" name="imsi">
|
||||||
<a-input
|
<a-input
|
||||||
@@ -1341,6 +1329,19 @@ onMounted(() => {
|
|||||||
></a-input>
|
></a-input>
|
||||||
</a-form-item>
|
</a-form-item>
|
||||||
</a-col>
|
</a-col>
|
||||||
|
<a-col :lg="3" :md="12" :xs="24" v-show="queryParams.imsi">
|
||||||
|
<a-form-item name="imsiMatch">
|
||||||
|
<a-select
|
||||||
|
:label="t('views.neUser.sub.imsiMode')"
|
||||||
|
style="width: 100%"
|
||||||
|
v-model:value="queryParams.imsiMatch"
|
||||||
|
:options="[
|
||||||
|
{ label: t('views.neUser.sub.fuzzyMatch'), value: 'fuzzy' },
|
||||||
|
{ label: t('views.neUser.sub.prefixMatch'), value: 'prefix' },
|
||||||
|
]"
|
||||||
|
/>
|
||||||
|
</a-form-item>
|
||||||
|
</a-col>
|
||||||
|
|
||||||
<a-col :lg="6" :md="12" :xs="24">
|
<a-col :lg="6" :md="12" :xs="24">
|
||||||
<a-form-item label="MSISDN" name="msisdn">
|
<a-form-item label="MSISDN" name="msisdn">
|
||||||
|
|||||||
@@ -37,7 +37,7 @@ let queryParams = reactive({
|
|||||||
/**移动编号 */
|
/**移动编号 */
|
||||||
imsi: '',
|
imsi: '',
|
||||||
/**imsi匹配方式 */
|
/**imsi匹配方式 */
|
||||||
imsiMatch: 'full',
|
imsiMatch: 'fuzzy',
|
||||||
/**移动号 */
|
/**移动号 */
|
||||||
msisdn: '',
|
msisdn: '',
|
||||||
/**排序字段 */
|
/**排序字段 */
|
||||||
@@ -55,7 +55,7 @@ function fnQueryReset() {
|
|||||||
queryParams = Object.assign(queryParams, {
|
queryParams = Object.assign(queryParams, {
|
||||||
imsi: '',
|
imsi: '',
|
||||||
msisdn: '',
|
msisdn: '',
|
||||||
imsiMatch: 'full',
|
imsiMatch: 'fuzzy',
|
||||||
sortField: 'imsi',
|
sortField: 'imsi',
|
||||||
sortOrder: 'asc',
|
sortOrder: 'asc',
|
||||||
pageNum: 1,
|
pageNum: 1,
|
||||||
@@ -1021,7 +1021,7 @@ function fnGetList(pageNum?: number) {
|
|||||||
|
|
||||||
const imsiMatchRule: any = {
|
const imsiMatchRule: any = {
|
||||||
prefix: queryParams.imsi ? `${queryParams.imsi}%` : '',
|
prefix: queryParams.imsi ? `${queryParams.imsi}%` : '',
|
||||||
full: queryParams.imsi ? `%${queryParams.imsi}%` : '',
|
fuzzy: queryParams.imsi ? `%${queryParams.imsi}%` : '',
|
||||||
};
|
};
|
||||||
|
|
||||||
const toBack: any = {
|
const toBack: any = {
|
||||||
@@ -1203,24 +1203,25 @@ onMounted(() => {
|
|||||||
<a-input v-model:value="queryParams.imsi" allow-clear></a-input>
|
<a-input v-model:value="queryParams.imsi" allow-clear></a-input>
|
||||||
</a-form-item>
|
</a-form-item>
|
||||||
</a-col>
|
</a-col>
|
||||||
<a-col :lg="6" :md="12" :xs="24">
|
<a-col :lg="3" :md="12" :xs="24" v-show="queryParams.imsi">
|
||||||
<a-form-item label="MSISDN" name="msisdn">
|
<a-form-item name="imsiMatch">
|
||||||
<a-input v-model:value="queryParams.msisdn" allow-clear></a-input>
|
|
||||||
</a-form-item>
|
|
||||||
</a-col>
|
|
||||||
<a-col :lg="6" :md="12" :xs="24" v-show="queryParams.imsi">
|
|
||||||
<a-form-item label="IMSI Match Mode" name="imsiMatch">
|
|
||||||
<a-select
|
<a-select
|
||||||
:label="t('views.neUser.sub.imsiMode')"
|
:label="t('views.neUser.sub.imsiMode')"
|
||||||
style="width: 100%"
|
style="width: 100%"
|
||||||
v-model:value="queryParams.imsiMatch"
|
v-model:value="queryParams.imsiMatch"
|
||||||
:options="[
|
:options="[
|
||||||
{ label: 'Prefix', value: 'prefix' },
|
{ label: t('views.neUser.sub.fuzzyMatch'), value: 'fuzzy' },
|
||||||
{ label: 'Full', value: 'full' },
|
{ label: t('views.neUser.sub.prefixMatch'), value: 'prefix' },
|
||||||
]"
|
]"
|
||||||
/>
|
/>
|
||||||
</a-form-item>
|
</a-form-item>
|
||||||
</a-col>
|
</a-col>
|
||||||
|
<a-col :lg="6" :md="12" :xs="24">
|
||||||
|
<a-form-item label="MSISDN" name="msisdn">
|
||||||
|
<a-input v-model:value="queryParams.msisdn" allow-clear></a-input>
|
||||||
|
</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>
|
||||||
<a-space :size="8">
|
<a-space :size="8">
|
||||||
|
|||||||
Reference in New Issue
Block a user