font-end/src/api/modular/main/scrsecurity/scrSecurityManage.js
zhangyanan 9414356df1 修改
2025-10-14 17:41:30 +08:00

87 lines
1.4 KiB
JavaScript

import { axios } from '@/utils/request'
/**
* 查询安全异常事件
*
* @author zyn
* @date 2025-10-14 15:27:08
*/
export function scrSecurityPage (parameter) {
return axios({
url: '/scrSecurity/page',
method: 'get',
params: parameter
})
}
/**
* 安全异常事件列表
*
* @author zyn
* @date 2025-10-14 15:27:08
*/
export function scrSecurityList (parameter) {
return axios({
url: '/scrSecurity/list',
method: 'get',
params: parameter
})
}
/**
* 添加安全异常事件
*
* @author zyn
* @date 2025-10-14 15:27:08
*/
export function scrSecurityAdd (parameter) {
return axios({
url: '/scrSecurity/add',
method: 'post',
data: parameter
})
}
/**
* 编辑安全异常事件
*
* @author zyn
* @date 2025-10-14 15:27:08
*/
export function scrSecurityEdit (parameter) {
return axios({
url: '/scrSecurity/edit',
method: 'post',
data: parameter
})
}
/**
* 删除安全异常事件
*
* @author zyn
* @date 2025-10-14 15:27:08
*/
export function scrSecurityDelete (parameter) {
return axios({
url: '/scrSecurity/delete',
method: 'post',
data: parameter
})
}
/**
* 导出安全异常事件
*
* @author zyn
* @date 2025-10-14 15:27:08
*/
export function scrSecurityExport (parameter) {
return axios({
url: '/scrSecurity/export',
method: 'get',
params: parameter,
responseType: 'blob'
})
}