fix: UDM鉴权ki和opc显示禁用输入
This commit is contained in:
@@ -640,7 +640,11 @@ function fnGetList(pageNum?: number) {
|
|||||||
}
|
}
|
||||||
tablePagination.total = res.total;
|
tablePagination.total = res.total;
|
||||||
tableState.data = res.rows;
|
tableState.data = res.rows;
|
||||||
if (tablePagination.total <=(queryParams.pageNum - 1) * tablePagination.pageSize &&queryParams.pageNum !== 1) {
|
if (
|
||||||
|
tablePagination.total <=
|
||||||
|
(queryParams.pageNum - 1) * tablePagination.pageSize &&
|
||||||
|
queryParams.pageNum !== 1
|
||||||
|
) {
|
||||||
tableState.loading = false;
|
tableState.loading = false;
|
||||||
fnGetList(queryParams.pageNum - 1);
|
fnGetList(queryParams.pageNum - 1);
|
||||||
}
|
}
|
||||||
@@ -1018,7 +1022,11 @@ onMounted(() => {
|
|||||||
name="imsi"
|
name="imsi"
|
||||||
v-bind="modalStateFrom.validateInfos.imsi"
|
v-bind="modalStateFrom.validateInfos.imsi"
|
||||||
>
|
>
|
||||||
<a-input v-model:value="modalState.from.imsi" allow-clear :disabled="!!modalState.from.id">
|
<a-input
|
||||||
|
v-model:value="modalState.from.imsi"
|
||||||
|
allow-clear
|
||||||
|
:disabled="!!modalState.from.id"
|
||||||
|
>
|
||||||
<template #prefix>
|
<template #prefix>
|
||||||
<a-tooltip placement="topLeft">
|
<a-tooltip placement="topLeft">
|
||||||
<template #title>
|
<template #title>
|
||||||
@@ -1092,7 +1100,7 @@ onMounted(() => {
|
|||||||
</a-col>
|
</a-col>
|
||||||
</a-row>
|
</a-row>
|
||||||
|
|
||||||
<a-row :gutter="16" v-if="!modalState.from.id">
|
<a-row :gutter="16">
|
||||||
<a-col :lg="12" :md="12" :xs="24">
|
<a-col :lg="12" :md="12" :xs="24">
|
||||||
<a-form-item
|
<a-form-item
|
||||||
label="KI"
|
label="KI"
|
||||||
@@ -1103,6 +1111,7 @@ onMounted(() => {
|
|||||||
v-model:value="modalState.from.ki"
|
v-model:value="modalState.from.ki"
|
||||||
allow-clear
|
allow-clear
|
||||||
:maxlength="32"
|
:maxlength="32"
|
||||||
|
:disabled="!!modalState.from.id"
|
||||||
>
|
>
|
||||||
<template #prefix>
|
<template #prefix>
|
||||||
<a-tooltip placement="topLeft">
|
<a-tooltip placement="topLeft">
|
||||||
@@ -1125,6 +1134,7 @@ onMounted(() => {
|
|||||||
v-model:value="modalState.from.opc"
|
v-model:value="modalState.from.opc"
|
||||||
allow-clear
|
allow-clear
|
||||||
:maxlength="32"
|
:maxlength="32"
|
||||||
|
:disabled="!!modalState.from.id"
|
||||||
>
|
>
|
||||||
<template #prefix>
|
<template #prefix>
|
||||||
<a-tooltip placement="topLeft">
|
<a-tooltip placement="topLeft">
|
||||||
|
|||||||
Reference in New Issue
Block a user