zhgdyun/src/assets/js/api/carViolation.js

38 lines
2.0 KiB
JavaScript

/**
* api接口统一管理
*/
import {get, post } from '../http'
// 车辆违章管理
// 车辆预警处置推送
export const getCarDangerDealPageApi = data => post('xmgl/carDangerDetectRecord/selectPageList', data);
export const violationPushDataApi = data => post('xmgl/carDangerDetectRecord/violationPush', data);
export const PositiveDeletionDataApi = data => post('xmgl/carDangerDetectRecord/falsePositiveDeletion', data);
//编辑
export const aiAnalyseHardWareRecordEditApi = data => post('xmgl/carDangerDetectRecord/setFalsePositive', data);
//分页列表查询AI分析硬件设备报警记录信息
export const aiAnalyseHardWareAlarmRecordApi = data => post('xmgl/carDangerDetectRecord/selectPageList', data);
export const getCrewListDataApi = data => post('xmgl/systemUser/getProjectChilderSystemUserList', data); // 查询 所有整改人员
export const aiAnalyseHardWareAlarmRecordAdd = data => post('xmgl/carDangerDetectRecord/add', data);
export const aiAnalyseHardWareAlarmRecordEdit = data => post('xmgl/carDangerDetectRecord/edit', data);
// 查询绑定的违章人员列表:
export const getViolatorList = data => post('xmgl/carDangerDetectRecord/getViolatorList', data);
// 违章再教育
// 分页列表查询违章再教育信息
export const getViolationEducationPageApi = data => get('xmgl/violationReEducation/page', data);
// 添加违章再教育信息
export const addViolationEducationApi = data => post('xmgl/violationReEducation/add', data);
// 编辑违章再教育信息
export const editViolationEducationApi = data => post('xmgl/violationReEducation/edit', data);
// 删除违章再教育信息
export const deleteViolationEducationApi = data => post('xmgl/violationReEducation/delete', data);
// 通过id查询违章再教育信息
export const getViolationEducationByIdApi = data => post('xmgl/violationReEducation/get', data);
// 分页列表查询违章再教育的违章详情信息
export const getViolationDetailPageApi = data => get('xmgl/violationDetail/page', data);