diff --git a/src/views/dashboard/amfUE/index.vue b/src/views/dashboard/amfUE/index.vue index 3b4a2d66..dfa30dc5 100644 --- a/src/views/dashboard/amfUE/index.vue +++ b/src/views/dashboard/amfUE/index.vue @@ -410,10 +410,7 @@ function wsMessage(res: Record) { } } -//自动完成框不区分大小写 -function filterOption(input: string, option: any) { - return option.value.toUpperCase().indexOf(input.toUpperCase()) >= 0; -} + onMounted(() => { // 初始字典数据 @@ -512,7 +509,6 @@ onBeforeUnmount(() => { diff --git a/src/views/dashboard/imsCDR/index.vue b/src/views/dashboard/imsCDR/index.vue index fb105eff..354ef8b8 100644 --- a/src/views/dashboard/imsCDR/index.vue +++ b/src/views/dashboard/imsCDR/index.vue @@ -451,10 +451,7 @@ function wsMessage(res: Record) { } } -//自动完成框不区分大小写 -function filterOption(input: string, option: any) { - return option.value.toUpperCase().indexOf(input.toUpperCase()) >= 0; -} + onMounted(() => { // 初始字典数据 @@ -570,7 +567,6 @@ onBeforeUnmount(() => { diff --git a/src/views/dashboard/mmeUE/index.vue b/src/views/dashboard/mmeUE/index.vue index 842ade6f..b1d884fd 100644 --- a/src/views/dashboard/mmeUE/index.vue +++ b/src/views/dashboard/mmeUE/index.vue @@ -409,10 +409,7 @@ function wsMessage(res: Record) { } } -//自动完成框不区分大小写 -function filterOption(input: string, option: any) { - return option.value.toUpperCase().indexOf(input.toUpperCase()) >= 0; -} + onMounted(() => { // 初始字典数据 @@ -501,7 +498,6 @@ onBeforeUnmount(() => { diff --git a/src/views/dashboard/smfCDR/index.vue b/src/views/dashboard/smfCDR/index.vue index 17c9cb3c..b7d57114 100644 --- a/src/views/dashboard/smfCDR/index.vue +++ b/src/views/dashboard/smfCDR/index.vue @@ -463,10 +463,7 @@ function wsMessage(res: Record) { }); } } -//自动完成框不区分大小写 -function filterOption(input: string, option: any) { - return option.value.toUpperCase().indexOf(input.toUpperCase()) >= 0; -} + onMounted(() => { // 获取列表数据 @@ -542,7 +539,6 @@ onBeforeUnmount(() => { diff --git a/src/views/neUser/base5G/index.vue b/src/views/neUser/base5G/index.vue index 75d5e1ab..946c68e7 100644 --- a/src/views/neUser/base5G/index.vue +++ b/src/views/neUser/base5G/index.vue @@ -231,10 +231,7 @@ function fnGet45GList(pageNum?: number) { }); } -//自动完成框不区分大小写 -function filterOption(input: string, option: any) { - return option.value.toUpperCase().indexOf(input.toUpperCase()) >= 0; -} + onMounted(() => { // 获取网元网元列表 @@ -313,7 +310,6 @@ onMounted(() => { diff --git a/src/views/neUser/ims/index.vue b/src/views/neUser/ims/index.vue index 28fa0b17..0fe30bc2 100644 --- a/src/views/neUser/ims/index.vue +++ b/src/views/neUser/ims/index.vue @@ -182,10 +182,7 @@ function fnGetList(pageNum?: number) { }); } -//自动完成框不区分大小写 -function filterOption(input: string, option: any) { - return option.value.toUpperCase().indexOf(input.toUpperCase()) >= 0; -} + onMounted(() => { // 获取网元网元列表 @@ -276,7 +273,6 @@ onMounted(() => { diff --git a/src/views/neUser/sub/index.vue b/src/views/neUser/sub/index.vue index 3d8e2509..1e96cfcc 100644 --- a/src/views/neUser/sub/index.vue +++ b/src/views/neUser/sub/index.vue @@ -1236,10 +1236,7 @@ function delBigRow(bigIndex: any) { bigRows.value.splice(bigIndex, 1); } -//自动完成框不区分大小写 -function filterOption(input: string, option: any) { - return option.value.toUpperCase().indexOf(input.toUpperCase()) >= 0; -} + onMounted(() => { // 初始字典数据 @@ -1360,7 +1357,6 @@ onMounted(() => { diff --git a/src/views/neUser/ue/index.vue b/src/views/neUser/ue/index.vue index c5fe56ab..bdb7a5ed 100644 --- a/src/views/neUser/ue/index.vue +++ b/src/views/neUser/ue/index.vue @@ -262,10 +262,7 @@ function fnGetList(pageNum?: number) { }); } -//自动完成框不区分大小写 -function filterOption(input: string, option: any) { - return option.value.toUpperCase().indexOf(input.toUpperCase()) >= 0; -} + onMounted(() => { // 获取网元网元列表 @@ -352,7 +349,6 @@ onMounted(() => { diff --git a/src/views/system/tenant/index.vue b/src/views/system/tenant/index.vue index 227e0596..46971934 100644 --- a/src/views/system/tenant/index.vue +++ b/src/views/system/tenant/index.vue @@ -640,7 +640,7 @@ function fnTypeChange(value: any) { /** 查询最新的UPF的所有RMUID*/ if (res.code === RESULT_CODE_SUCCESS && Array.isArray(res.rows)) { dict.allRmUid = res.rows.map((item: any) => { - return { option: item.rmUid, value: item.rmUid }; + return { label: item.rmUid, value: item.rmUid }; }); } }); @@ -1061,7 +1061,6 @@ onMounted(() => { v-model:value="modalState.typeFrom.tenancyKey" allow-clear :options="dict.allRmUid" - :filter-option="filterOption" /> @@ -1087,7 +1086,6 @@ onMounted(() => {