fix: 网元软件/版本/授权页面
This commit is contained in:
@@ -26,45 +26,6 @@ export function getNeLicense(licenseId: string | number) {
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* 网元授权新增
|
||||
* @param data 网元对象
|
||||
* @returns object
|
||||
*/
|
||||
export function addNeLicense(data: Record<string, any>) {
|
||||
return request({
|
||||
url: `/ne/license`,
|
||||
method: 'post',
|
||||
data: data,
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* 网元授权修改
|
||||
* @param data 网元对象
|
||||
* @returns object
|
||||
*/
|
||||
export function updateNeLicense(data: Record<string, any>) {
|
||||
return request({
|
||||
url: `/ne/license`,
|
||||
method: 'put',
|
||||
data: data,
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* 网元授权删除
|
||||
* @param id 信息ID
|
||||
* @returns object
|
||||
*/
|
||||
export function delNeLicense(licenseIds: string | number) {
|
||||
return request({
|
||||
url: `/ne/license/${licenseIds}`,
|
||||
method: 'delete',
|
||||
timeout: 60_000,
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* 网元授权激活授权申请码
|
||||
* @param neType 网元类型
|
||||
@@ -81,7 +42,7 @@ export function codeNeLicense(neType: string, neId: string) {
|
||||
|
||||
/**
|
||||
* 网元授权激活授权文件替换
|
||||
* @param data 网元对象
|
||||
* @param data 网元对象 {"neType": "", "neId": "", "licensePath": "", "reload": true}
|
||||
* @returns object
|
||||
*/
|
||||
export function changeNeLicense(data: Record<string, any>) {
|
||||
|
||||
Reference in New Issue
Block a user