fix: 网元授权编辑弹出窗优化支持类型查询

This commit is contained in:
TsMask
2024-04-30 19:58:22 +08:00
parent 83bdf289fa
commit 21ab066761
2 changed files with 76 additions and 44 deletions

View File

@@ -26,6 +26,20 @@ export function getNeLicense(licenseId: string | number) {
});
}
/**
* 网元neType和neID查询
* @param neType 网元类型
* @param neId 网元ID
* @returns object
*/
export function getNeLicenseByTypeAndID(neType: string, neId: string) {
return request({
url: `/ne/license/byTypeAndID`,
method: 'get',
params: { neType, neId },
});
}
/**
* 网元授权激活授权申请码
* @param neType 网元类型