add: 网元列表

This commit is contained in:
TsMask
2023-09-06 19:36:39 +08:00
parent 7207e0812e
commit 51aa994a9e
7 changed files with 820 additions and 0 deletions

26
src/api/log.ts Normal file
View 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],
});
}