This commit is contained in:
TsMask committed 2023-09-22 17:48:45 +08:00
commit 56e409bec3
2 files changed
+3 -3

No files matched your search

+2 -2
View File
@@ -61,9 +61,9 @@ export function getAuth(neId: string, imsi: string) {
* @param data 鉴权对象
* @returns object
*/
export function updateAuth(data: Record<string, any>) {
export function updateAuth(data: Record<string, any>,neID:string) {
return request({
url: `/udmUserManage/v1/auth/${data.neId}`,
url: `/udmUserManage/v1/auth/${neID}`,
method: 'put',
data: data,
});
+1 -1
View File
@@ -283,7 +283,7 @@ function fnModalOk() {
modalState.confirmLoading = true;
const from = toRaw(modalState.from);
const neID = queryParams.neId || '-';
const result = from.id ? updateAuth(from) : addAuth(neID, from);
const result = from.id ? updateAuth(from,neID) : addAuth(neID, from);
const hide = message.loading({ content: t('common.loading') });
result
.then(res => {