You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
208 lines
7.8 KiB
208 lines
7.8 KiB
import { _get, _post,_form,_delete } from "../../http/index";
|
|
|
|
// region 重新整理有用的接口
|
|
|
|
let enterpriseAppBaseUrl = "/app/enterprise";
|
|
// 企业端用户登录
|
|
export const enterpriseLogin = (params, success, error) => _post(enterpriseAppBaseUrl + "/login/do", params, success, error);
|
|
|
|
// 获取包裹的数据
|
|
export const siqCode = (params, success, error) => _get(enterpriseAppBaseUrl+"/thirdLogin/getSiqCode",params,success,error);
|
|
|
|
|
|
// 获取用户关联的企业信息
|
|
export const getUserRefEnterpriseInfo = (params, success, error) => _get(enterpriseAppBaseUrl + "/enterpriseInfo/getUserRefEnterpriseInfo", params, success, error);
|
|
//查询用户关联企业授权信息
|
|
export const getEnterpriseMerchantAuthorization = (params, success, error) => _get(enterpriseAppBaseUrl + "/authorization/queryList",params,success,error);
|
|
|
|
//查询企业二维码
|
|
export const queryEnterpriseInformationQrCode = (enterpriseNumber, success, error) => _get(enterpriseAppBaseUrl+"/enterpriseInfo/getQrCode/"+enterpriseNumber,null,success,error)
|
|
|
|
|
|
// endregion
|
|
|
|
|
|
|
|
//深i企登录
|
|
export const getSiqLoginAuth = (params, success, error) => _post(enterpriseAppBaseUrl +"/thirdLogin/siqLogin",params,success,error);
|
|
|
|
export const getSiqLoginAuthTest = (params, success, error) => _post("/app/thirdLogin/siqLoginTest",params,success,error);
|
|
|
|
//企业信息登记
|
|
export const addEnterpriseInformation = (params, success, error) => _post("/app/enterpriseInformation/add", params, success, error);
|
|
|
|
//查询企业信息
|
|
export const searchEnterpriseByNumber = (enterpriseNumber, success, error) => _get("/app/enterpriseInformation/searchEnterpriseByNumber/"+enterpriseNumber, null, success, error);
|
|
|
|
|
|
//查询企业执法登记列表
|
|
export const queryRegistrationList = (params, success, error) => _get("/app/code/registration/queryList",params,success,error)
|
|
//查询企业执法登记列表-企业端修改联合检查查询语句
|
|
export const queryEnterpriseList = (params, success, error) => _get("/app/code/registration/queryEnterpriseList",params,success,error)
|
|
//查询企业执法登记列表 - 剔除执法日期距离今天超过5天的执法记录
|
|
export const queryRegistrationList2 = (params, success, error) => _get("/app/code/registration/queryList2",params,success,error)
|
|
|
|
//查询执法日期距离今天至5日内的的执法记录
|
|
export const queryListWithFiveDay = (params, success, error) => _get("/app/code/registration/queryListWithFiveDay",params,success,error)
|
|
|
|
/**
|
|
* 查询企业执法登记列表-不分页
|
|
* @param {*} params
|
|
* @param {*} success
|
|
* @param {*} error
|
|
* @returns
|
|
*/
|
|
export const selectRegistrationList = (params, success, error) => _get("/app/code/registration/selectList",params,success,error)
|
|
|
|
//保存在线投诉
|
|
export const addEnterpriseComplaint = (params, success, error) => _post("/app/code/complaint/add",params,success,error)
|
|
|
|
// 投诉-- 查询行政and非行政未被投诉列表
|
|
export const getAllCheckList = (params, success, error) => _post("/app/code/complaint/getAllCheckList",params,success,error)
|
|
|
|
// 查询
|
|
export const getEnterpriseComplaintById = (id, success, error) => _get("/app/code/complaint/getById/"+id,null,success,error)
|
|
|
|
//查询投诉工单详情
|
|
export const complaintInfoById = (params, success, error) => _get("/app/code/complaint/queryById",params,success,error)
|
|
//查询投诉工单处置进度列表
|
|
export const complaintInfoProcessById = (params, success, error) => _get("/app/code/complaint/queryProcessById",params,success,error)
|
|
//工单办结
|
|
export const mssqQueryEndInfo = (params, success, error) => _get("/app/code/complaint/mssqQueryEndInfo",params,success,error)
|
|
// 诉求工单评价页面
|
|
export const toMssqAppraise = (params, success, error) => _post("/app/code/complaint/mssqAppraise",params,success,error)
|
|
|
|
// 诉求工单评价页面
|
|
export const queryEnterpriseComplaintList = (params, success, error) => _post("/app/code/complaint/queryList",params,success,error)
|
|
export const getObjByKey = (params, success, error) => _get("/app/satisfy/getObjByKey/"+params,null,success,error)
|
|
export const mssqDownFiles = (params, success, error) => _post("/app/satisfy/mssqDownFiles",params,success,error)
|
|
export const mssqDownFile = (params, success, error) => _post("/app/satisfy/mssqDownFile",params,success,error)
|
|
/**
|
|
* 查询企业行政执法通知记录
|
|
* @param {*} params
|
|
* @param {*} success
|
|
* @param {*} error
|
|
* @returns
|
|
*/
|
|
export const queryEnforcementList = (params, success, error) => _post("/app/code/enforcement/queryList",params,success,error)
|
|
|
|
/**
|
|
* 查询企业信息
|
|
* @returns
|
|
*/
|
|
export const getEnterpriseInformation = (id,success,error) => _get("/app/enterpriseInformation/getEnterpriseInformation/" + id,null,success,error)
|
|
|
|
|
|
/**
|
|
* 查询企业列表
|
|
* @param {} params
|
|
* @param {*} success
|
|
* @param {*} error
|
|
* @returns
|
|
*/
|
|
export const queryEnterpriseInfoList = (params, success, error) =>_get("/app/enterpriseInformation/queryList",params, success, error)
|
|
|
|
/**
|
|
* 查询企业列表
|
|
* @param {} params
|
|
* @param {*} success
|
|
* @param {*} error
|
|
* @returns
|
|
*/
|
|
export const queryEnterpriseInfoListAndQrInfo = (params, success, error) =>_post("/app/enterpriseInformation/queryListAndQrInfo",params, success, error)
|
|
|
|
|
|
/**
|
|
* 查询企业历史二维码生成记录
|
|
* @param {*} params
|
|
* @param {*} success
|
|
* @param {*} error
|
|
* @returns
|
|
*/
|
|
export const queryHistoryQrCodeList = (params, success, error) =>_get("/app/enterpriseInformation/queryHistoryQrCodeList",params, success, error)
|
|
|
|
/**
|
|
* 查询历史检查案件
|
|
* @param {*} params
|
|
* @param {*} success
|
|
* @param {*} error
|
|
* @returns
|
|
*/
|
|
export const queryXzjcjbxxList = (params, success, error) =>_post("/app/xzjcjbxx/queryList", params,success, error)
|
|
|
|
/**
|
|
* 查询强制案件
|
|
* @param {*} enterpriseNumber
|
|
* @param {*} success
|
|
* @param {*} error
|
|
* @returns
|
|
*/
|
|
export const queryQZAJList = (params, success, error) =>_post("/app/xzjcjbxx/queryQZAJList", params,success, error)
|
|
/**
|
|
* 查询历史处罚案件
|
|
* @param {*} enterpriseNumber
|
|
* @param {*} success
|
|
* @param {*} error
|
|
* @returns
|
|
*/
|
|
export const queryCFAJList = (params, success, error) =>_post("/app/xzjcjbxx/queryCFAJList",params,success, error)
|
|
/**
|
|
* 查询企业是否存在
|
|
* @param {*} enterpriseNumber 企业统一信用代码
|
|
* @param {*} success
|
|
* @param {*} error
|
|
* @returns
|
|
*/
|
|
export const checkIsExists = (enterpriseNumber, success, error) =>_get("/app/enterpriseInformation/checkIsExists/" + enterpriseNumber,null,success, error)
|
|
|
|
|
|
/**
|
|
* 保存企业对行政执法的评价
|
|
* @param {*} enterpriseNumber 企业统一信用代码
|
|
* @param {*} success
|
|
* @param {*} error
|
|
* @returns
|
|
*/
|
|
export const addEvaluateInfo = (params, success, error) =>_post("/app/evaluate/add",params,success, error)
|
|
|
|
|
|
|
|
/**
|
|
* 查询民生诉求执法部门列表
|
|
* @param {*} params
|
|
* @param {*} success
|
|
* @param {*} error
|
|
* @returns
|
|
*/
|
|
export const queryComplaintItemList = (params, success, error) =>_get("/app/code/item/queryList",params,success, error)
|
|
|
|
|
|
/**
|
|
* 查询执法人员统计数据
|
|
* @param {*} params
|
|
* @param {*} success
|
|
* @param {*} error
|
|
* @returns
|
|
*/
|
|
export const queryStatisticsIndicatorPart1 = (params, success, error) =>_get("/app/enforcementCheckStatistics/statisticsIndicatorPart1",params,success,error)
|
|
|
|
/**
|
|
* 查询统计个人分析数据
|
|
* @param {*} params
|
|
* @param {*} success
|
|
* @param {*} error
|
|
* @returns
|
|
*/
|
|
export const queryStatisticsIndicatorPart2 = (params, success, error) =>_get("/app/enforcementCheckStatistics/statisticsIndicatorPart2",params,success,error)
|
|
|
|
/**
|
|
* 查询统计部门分析数据
|
|
* @param {*} params
|
|
* @param {*} success
|
|
* @param {*} error
|
|
* @returns
|
|
*/
|
|
export const queryStatisticsIndicatorPart3 = (params, success, error) =>_get("/app/enforcementCheckStatistics/statisticsIndicatorPart3",params,success,error)
|
|
|
|
//获取全部执法单位
|
|
export const getAllEnforceDept = (params, success, error) => _post("/app/code/registration/getAllEnforceDept",params,success,error)
|
|
|