fix: UDM签约数据参数类型转换字符串参数

This commit is contained in:
TsMask
2024-10-28 16:52:05 +08:00
parent 72fd372fe0
commit c312186d91
2 changed files with 5 additions and 1 deletions

View File

@@ -316,8 +316,8 @@ function fnModalOk() {
.then(e => { .then(e => {
modalState.confirmLoading = true; modalState.confirmLoading = true;
const from = toRaw(modalState.from); const from = toRaw(modalState.from);
from.neId = queryParams.neId || '-';
from.algoIndex = `${from.algoIndex}`; from.algoIndex = `${from.algoIndex}`;
from.neId = queryParams.neId || '-';
const result = from.id const result = from.id
? updateUDMAuth(from) ? updateUDMAuth(from)
: from.num === 1 : from.num === 1

View File

@@ -625,6 +625,10 @@ function fnModalOk() {
.map((item: number) => `${item}`.padStart(2, '0')) .map((item: number) => `${item}`.padStart(2, '0'))
.join(''); .join('');
from.activeTime = `${from.activeTime}`;
from.rfspIndex = `${from.rfspIndex}`;
from.regTimer = `${from.regTimer}`;
from.ueUsageType = `${from.ueUsageType}`;
from.neId = queryParams.neId || '-'; from.neId = queryParams.neId || '-';
const result = from.id const result = from.id
? updateUDMSub(from) ? updateUDMSub(from)