|
|
|
|
/**
|
|
|
|
|
* 执法端接口
|
|
|
|
|
*/
|
|
|
|
|
import { _get, _post,_form,_delete } from "../http/index";
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 执法计划列表
|
|
|
|
|
* @param {*} params
|
|
|
|
|
* @param {*} success
|
|
|
|
|
* @param {*} error
|
|
|
|
|
* @returns
|
|
|
|
|
*/
|
|
|
|
|
export const queryEnforcementInspectionProgramList = (params, success, error) => _get("/code/enforcementInspectionProgram/queryList", params, success, error);
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 添加年度执法计划
|
|
|
|
|
* @param {*} params
|
|
|
|
|
* @param {*} success
|
|
|
|
|
* @param {*} error
|
|
|
|
|
* @returns
|
|
|
|
|
*/
|
|
|
|
|
export const addEnforcementInspectionProgram = (params, success, error) =>_post("/code/enforcementInspectionProgram/add", params, success, error)
|
|
|
|
|
|
|
|
|
|
//保存执法信息登记
|
|
|
|
|
export const addEnforcementRegistration = (params, success, error) => _post("/code/registration/add",params,success,error)
|
|
|
|
|
|
|
|
|
|
//查询历史检查信息
|
|
|
|
|
export const queryRegistrationList = (params, success, error) => _get("/code/registration/queryList",params,success,error)
|
|
|
|
|
|
|
|
|
|
//查询预警列表
|
|
|
|
|
// export const queryEarlyWarning = (params, success, error) => _get("/code/registration/queryEarlyWarning",params,success,error)
|
|
|
|
|
export const queryEarlyWarning = (params, success, error) => _get("/code/LawEnforcementWarningList/queryList",params,success,error)
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 查询用户信息
|
|
|
|
|
* @param {*} params
|
|
|
|
|
* @param {*} success
|
|
|
|
|
* @param {*} error
|
|
|
|
|
* @returns
|
|
|
|
|
*/
|
|
|
|
|
export const queryUserInfo = (params, success, error) => _get("/getUserInfo",params,success,error)
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 查询执法登记信息详情
|
|
|
|
|
* @param {*} params
|
|
|
|
|
* @param {*} success
|
|
|
|
|
* @param {*} error
|
|
|
|
|
* @returns
|
|
|
|
|
*/
|
|
|
|
|
export const queryEnforcementRegistrationById = (id, success, error) =>_get("/code/registration/queryById/" + id,null,success,error)
|
|
|
|
|
|