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

This commit is contained in:
TsMask
2024-10-28 16:53:43 +08:00
parent e4a56d68e0
commit f23d4117d7
2 changed files with 5 additions and 1 deletions

View File

@@ -317,8 +317,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

@@ -626,6 +626,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)