add: 网元列表
This commit is contained in:
26
src/api/log.ts
Normal file
26
src/api/log.ts
Normal file
@@ -0,0 +1,26 @@
|
||||
import { request } from '@/plugins/http-fetch';
|
||||
|
||||
type OperationLogType = {
|
||||
account_name: string;
|
||||
account_type: string; //type:int
|
||||
op_ip: string;
|
||||
subsys_tag: string;
|
||||
op_type: string;
|
||||
op_content: string;
|
||||
op_result: string;
|
||||
begin_time: string;
|
||||
end_time: string;
|
||||
vnf_flag: string; //0-物理设备 1-虚拟化设备
|
||||
};
|
||||
|
||||
/**
|
||||
* 操作日志
|
||||
* @returns object
|
||||
*/
|
||||
export function operationLog(opt: OperationLogType) {
|
||||
return request({
|
||||
url: '/databaseManagement/v1/insert/omc_db/operation_log',
|
||||
method: 'post',
|
||||
data: [opt],
|
||||
});
|
||||
}
|
||||
Reference in New Issue
Block a user