fix(devicePreset): 修改删除预置位接口参数及调用方式

refactor(securitySurveillance): 添加项目ID参数到监控列表请求
style(camera): 注释掉未使用的设备操作按钮代码
This commit is contained in:
tcy
2025-09-24 17:52:51 +08:00
parent 64c538775f
commit b7c716509d
4 changed files with 65 additions and 53 deletions

View File

@ -55,10 +55,11 @@ export const updateDevicePreset = (data: DevicePresetForm) => {
* 删除摄像头预置位
* @param id
*/
export const delDevicePreset = (id: string | number | Array<string | number>) => {
export const delDevicePreset = (data: any) => {
return request({
url: '/ops/devicePreset/' + id,
method: 'delete'
url: '/ops/devicePreset/delYzd',
method: 'delete',
data: [data]
});
};
/**