parent
3258ccaf6d
commit
e91c7f28f0
28 changed files with 1203 additions and 1258 deletions
@ -1,452 +1,242 @@ |
||||
import { get, post, put, del,Url } from './http'; |
||||
// let host = 'http://192.168.31.137:8080';//陈赓
|
||||
|
||||
import { |
||||
get, |
||||
post, |
||||
put, |
||||
del, |
||||
Url |
||||
} from './http'; |
||||
let host = Url; |
||||
|
||||
export const login = p => post('/apiHrmsAuth/hrms/auth/userlogin/login', p); //登录
|
||||
export const phoneCode = p => get('/apiHrmsAuth/hrms/auth/userlogin/sendCode', p); //找回密码验证码
|
||||
|
||||
export const verifyMobile = p => post('/apiHrmsAuth/hrms/auth/userlogin/verifyMobile', p); //忘记密码
|
||||
export const getBackPwd = p => post('/apiHrmsAuth/hrms/auth/userlogin/getBackPwd', p); //设置新密码
|
||||
export const querycustomerList = p => get('/api-crms/crms/customer/queryList', p); //查询客户
|
||||
export const deleteCustomer = p => del('/api-crms/crms/customer/deleteCustomer', p); //删除客户
|
||||
export const queryDetails = p => get('/api-crms/crms/customer/queryDetails', p); //查询客户详情
|
||||
export const savePersonal = p => post('/api-crms/crms/customer/savePersonal', p); //添加个人客户
|
||||
export const saveCompany = p => post('/api-crms/crms/customer/saveCompany', p); //添加企业客户
|
||||
export const updateCompany = p => post('/api-crms/crms/customer/updateCompany', p); //编辑企业客户
|
||||
export const updatePersonal = p => post('/api-crms/crms/customer/updatePersonal', p); //编辑个人客户
|
||||
export const listEmployeeName = p => get('/api-hrms/hrms/employee/listEmployeeName', p); //查询所有的客户经理
|
||||
export const updatePwd = p => post('/apiHrmsAuth/hrms/auth/userlogin/updatePwd', p); //修改平台超管员密码
|
||||
export const loginLogList = p => get('/apiHrmsAuth/hrms/auth/systemLog/loginLogList', p); //平台日志列表
|
||||
export const rolePermissionList = p => get('/apiHrmsAuth/hrms/auth/permission/rolePermissionList', p); //角色权限列表
|
||||
export const queryPermission = p => get('/apiHrmsAuth/hrms/auth/permission/queryPermissionByRoleId', p); //查看角色权限
|
||||
export const saveRolePermission = p => post('/apiHrmsAuth/hrms/auth/permission/saveRolePermission', p); //新增角色权限
|
||||
export const updateRolePermission = p => post('/apiHrmsAuth/hrms/auth/permission/updateRolePermission', p); //编辑角色权限
|
||||
export const delRolePermission = p => post('/apiHrmsAuth/hrms/auth/permission/delRolePermission', p); //删除角色权限
|
||||
export const jurTree = p => get('/apiHrmsAuth/hrms/auth/permission/tree', p); //查询所有权限树形结构
|
||||
|
||||
// 后台-人资-部门
|
||||
export const departmentTree = p => get('/api-hrms/hrms/dept/tree',p); //部门树形结构数据(显示部门)
|
||||
export const addDepartment = p => post('/api-hrms/hrms/dept/save', p); //新增一条部门信息
|
||||
export const deleteDepartment = p => del('/api-hrms/hrms/dept/delete', p); //删除部门信息(树结构)
|
||||
export const editDepartment = p => put('/api-hrms/hrms/dept/update', p); //根据id修改部门信息(编辑)
|
||||
export const dragDepartment = p => put('/api-hrms/hrms/dept/update/sort', p); //修改部门的拖拽排序(传id和排序)
|
||||
export const rulesAll = p => get('/api-hrms/hrms/position/listRoleIdAndName', p); //所有角色id+名称
|
||||
export const postAll = p => post('/api-hrms/hrms/position/listPositionIdAndName', p); //所有职位id+名称
|
||||
export const ruleJurisdiction = p => post('/api-hrms/hrms/employee/tree', p); //新增员工-角色对应的权限
|
||||
export const clickDepartment = p => get('/api-hrms/hrms/dept/children', p); //点击部门,搜索该部门名下的员工
|
||||
// 后台-人资-员工列表
|
||||
export const deleteStaff = p => del('/api-hrms/hrms/employee/delete', p); //根据id删除员工
|
||||
export const forbiddenStaff = p => get('/api-hrms/hrms/employee/forbidInfo', p); //禁用详情(为啥禁用)
|
||||
export const queryStaff = p => get('/api-hrms/hrms/employee/getEmployeeAndDeptById', p); //根据id查询员工的基本信息
|
||||
export const queryStaffName = p => get('/api-hrms/hrms/employee/getEmployeeById', p); //根据id查询员工姓名
|
||||
export const staffMessage = p => get('/api-hrms/hrms/employee/info', p); //根据id查询员工详细信息
|
||||
export const staffList = p => get('/api-hrms/hrms/employee/list', p); //查询列表
|
||||
export const staffResetPwd = p => get('/api-hrms/hrms/employee/reset', p); //员工重置密码
|
||||
export const addStaff = p => post('/api-hrms/hrms/employee/save', p); //新增员工
|
||||
export const startStaff = p => get('/api-hrms/hrms/employee/start', p); //启用员工
|
||||
export const stopStaff = p => post('/api-hrms/hrms/employee/stop', p); //禁用员工
|
||||
export const roleStaff = p => post('/api-hrms/hrms/employee/tree', p); //角色对应权限
|
||||
export const editStaff = p => post('/api-hrms/hrms/employee/update', p); //修改员工
|
||||
// 后台-员工-导入
|
||||
export const importStaff = p => post('/api-hrms/hrms/employee/excelImport',p); //导入员工(上传)
|
||||
// 后台-员工-导出
|
||||
export const excelStaffFile = `${host}/api-hrms/hrms/employee/excelExport`; //导出员工文件
|
||||
export const excelTemplateStaff = `${host}/api-hrms/hrms/employee/excelTemplate`; //导出员工模板
|
||||
// 后台-人资-职位
|
||||
export const deletePost = p => del('/api-hrms/hrms/position/delete', p); //删除职位信息
|
||||
export const searchPostId = p => get('/api-hrms/hrms/position/info', p); //职位id查询职位信息详情
|
||||
export const postList = p => get('/api-hrms/hrms/position/list', p); //职位列表+查询
|
||||
export const addPostMessage = p => post('/api-hrms/hrms/position/save', p); //新增职位信息
|
||||
export const editPostMessage = p => put('/api-hrms/hrms/position/update', p); //修改职位信息
|
||||
|
||||
// 后台担保系统
|
||||
// 表单设计--公用接口
|
||||
export const login = p => post('/apiHrmsAuth/hrms/auth/userlogin/login', p); |
||||
export const phoneCode = p => get('/apiHrmsAuth/hrms/auth/userlogin/sendCode', p); |
||||
export const verifyMobile = p => post('/apiHrmsAuth/hrms/auth/userlogin/verifyMobile', p); |
||||
export const getBackPwd = p => post('/apiHrmsAuth/hrms/auth/userlogin/getBackPwd', p); |
||||
export const querycustomerList = p => get('/api-crms/crms/customer/queryList', p); |
||||
export const deleteCustomer = p => del('/api-crms/crms/customer/deleteCustomer', p); |
||||
export const queryDetails = p => get('/api-crms/crms/customer/queryDetails', p); |
||||
export const savePersonal = p => post('/api-crms/crms/customer/savePersonal', p); |
||||
export const saveCompany = p => post('/api-crms/crms/customer/saveCompany', p); |
||||
export const updateCompany = p => post('/api-crms/crms/customer/updateCompany', p); |
||||
export const updatePersonal = p => post('/api-crms/crms/customer/updatePersonal', p); |
||||
export const listEmployeeName = p => get('/api-hrms/hrms/employee/listEmployeeName', p); |
||||
export const updatePwd = p => post('/apiHrmsAuth/hrms/auth/userlogin/updatePwd', p); |
||||
export const loginLogList = p => get('/apiHrmsAuth/hrms/auth/systemLog/loginLogList', p); |
||||
export const rolePermissionList = p => get('/apiHrmsAuth/hrms/auth/permission/rolePermissionList', p); |
||||
export const queryPermission = p => get('/apiHrmsAuth/hrms/auth/permission/queryPermissionByRoleId', p); |
||||
export const saveRolePermission = p => post('/apiHrmsAuth/hrms/auth/permission/saveRolePermission', p); |
||||
export const updateRolePermission = p => post('/apiHrmsAuth/hrms/auth/permission/updateRolePermission', p); |
||||
export const delRolePermission = p => post('/apiHrmsAuth/hrms/auth/permission/delRolePermission', p); |
||||
export const jurTree = p => get('/apiHrmsAuth/hrms/auth/permission/tree', p); |
||||
export const departmentTree = p => get('/api-hrms/hrms/dept/tree', p); |
||||
export const addDepartment = p => post('/api-hrms/hrms/dept/save', p); |
||||
export const deleteDepartment = p => del('/api-hrms/hrms/dept/delete', p); |
||||
export const editDepartment = p => put('/api-hrms/hrms/dept/update', p); |
||||
export const dragDepartment = p => put('/api-hrms/hrms/dept/update/sort', p); |
||||
export const rulesAll = p => get('/api-hrms/hrms/position/listRoleIdAndName', p); |
||||
export const postAll = p => post('/api-hrms/hrms/position/listPositionIdAndName', p); |
||||
export const ruleJurisdiction = p => post('/api-hrms/hrms/employee/tree', p); |
||||
export const clickDepartment = p => get('/api-hrms/hrms/dept/children', p); |
||||
export const deleteStaff = p => del('/api-hrms/hrms/employee/delete', p); |
||||
export const forbiddenStaff = p => get('/api-hrms/hrms/employee/forbidInfo', p); |
||||
export const queryStaff = p => get('/api-hrms/hrms/employee/getEmployeeAndDeptById', p); |
||||
export const queryStaffName = p => get('/api-hrms/hrms/employee/getEmployeeById', p); |
||||
export const staffMessage = p => get('/api-hrms/hrms/employee/info', p); |
||||
export const staffList = p => get('/api-hrms/hrms/employee/list', p); |
||||
export const staffResetPwd = p => get('/api-hrms/hrms/employee/reset', p); |
||||
export const addStaff = p => post('/api-hrms/hrms/employee/save', p); |
||||
export const startStaff = p => get('/api-hrms/hrms/employee/start', p); |
||||
export const stopStaff = p => post('/api-hrms/hrms/employee/stop', p); |
||||
export const roleStaff = p => post('/api-hrms/hrms/employee/tree', p); |
||||
export const editStaff = p => post('/api-hrms/hrms/employee/update', p); |
||||
export const importStaff = p => post('/api-hrms/hrms/employee/excelImport', p); |
||||
export const excelStaffFile = `${host}/api-hrms/hrms/employee/excelExport`; |
||||
export const excelTemplateStaff = `${host}/api-hrms/hrms/employee/excelTemplate`; |
||||
export const deletePost = p => del('/api-hrms/hrms/position/delete', p); |
||||
export const searchPostId = p => get('/api-hrms/hrms/position/info', p); |
||||
export const postList = p => get('/api-hrms/hrms/position/list', p); |
||||
export const addPostMessage = p => post('/api-hrms/hrms/position/save', p); |
||||
export const editPostMessage = p => put('/api-hrms/hrms/position/update', p); |
||||
export const designFrom = p => get('/api-guarantee/form/design/list', p); |
||||
// 修改表单
|
||||
export const updateFrom = p => post('/api-guarantee/form/design/update', p); |
||||
// 担保模块选择
|
||||
export const processManageList = p => get('/api-guarantee/dg-process-manage/processManageList', p); |
||||
// 修改图标
|
||||
export const updateProcessManage = p => post('/api-guarantee/dg-process-manage/updateProcessManage', p); //新增职位信息
|
||||
// 修改可见范围
|
||||
export const updateProcessManage = p => post('/api-guarantee/dg-process-manage/updateProcessManage', p); |
||||
export const updateUserVisual = p => post('/api-guarantee/dg-process-manage/updateUserVisual', p); |
||||
// 查询可见范围
|
||||
export const processVisualList = p => get('/api-guarantee/dg-process-manage/processVisualList', p); |
||||
|
||||
// 查询超管用户--用于避免超管在表单可见范围被删除
|
||||
export const superManager = p => get('/api-hrms/hrms/employee/getUserIdByRoleId', p); |
||||
|
||||
// 查询抄送用户
|
||||
export const queryCopySendUser = p => get('/api-guarantee/dg-process-user/queryCopySendUser', p); |
||||
// 添加抄送的用户
|
||||
export const addCopySendUser = p => post('/api-guarantee/dg-process-user/updateCopySendUser', p); |
||||
// 查添加进流程的员工
|
||||
export const getEmployeesByRoleId = p => get('/api-hrms/hrms/role/getEmployeesByRoleId', p); |
||||
// 修改用户角色
|
||||
export const updateUserRole = p => post('/api-hrms/hrms/role/updateUserRole', p); |
||||
// 查询日志列表
|
||||
export const systemLog = p => get('/apiHrmsAuth/hrms/auth/systemLog/list', p); |
||||
|
||||
|
||||
// 系统-新增角色权限
|
||||
export const newAddRolePermission = p => post('/apiHrmsAuth/hrms/auth/permission/saveRolePermission', p); //新增角色权限
|
||||
export const editRolePermission = p => post('/apiHrmsAuth/hrms/auth/permission/updateRolePermission', p); //修改角色权限
|
||||
export const getPermissionIds = p => get('/apiHrmsAuth/hrms/auth/permission/queryPermissionArrById', p); //已有权限的ids
|
||||
|
||||
// 工作台--人力资源
|
||||
// 绑定手机号
|
||||
export const newAddRolePermission = p => post('/apiHrmsAuth/hrms/auth/permission/saveRolePermission', p); |
||||
export const editRolePermission = p => post('/apiHrmsAuth/hrms/auth/permission/updateRolePermission', p); |
||||
export const getPermissionIds = p => get('/apiHrmsAuth/hrms/auth/permission/queryPermissionArrById', p); |
||||
export const workBindPhone = p => get('/api-hrms/hrms/user/binding', p); |
||||
// 微信解绑
|
||||
export const wxUnbundle = p => get('/api-hrms/hrms/user/cancel', p); |
||||
// 验证码
|
||||
export const workPhoneAuthCord = p => get('/api-hrms/hrms/user/code', p); |
||||
// 用户信息
|
||||
export const workUserMsg = p => get('/api-hrms/hrms/user/info', p); |
||||
// 修改用户信息9
|
||||
export const woreEditUserMsg = p => post('/api-hrms/hrms/user/update', p); |
||||
// 修改密码
|
||||
export const workEditPwd = p => get('/api-hrms/hrms/user/updatePassword', p); |
||||
// 头像上传
|
||||
export const headImgUp = p => post('/api-hrms/hrms/user/uploadFile', p); |
||||
|
||||
//工作台--保后管理
|
||||
// 查询保后列表
|
||||
export const insuranceList = p => get('/api-guarantee/al-insurance-list/insuranceList', p); |
||||
// 查询保后详情
|
||||
export const insuranceDetail = p => get('/api-guarantee/al-insurance-list/insuranceDetail', p); |
||||
//办理结项
|
||||
export const updateInsurance = p => get('/api-guarantee/al-insurance-list/updateStatus', p); |
||||
|
||||
//还款录入
|
||||
export const repaymentEntry = p => post('/api-guarantee/al-repayment-entry/repaymentEntry', p); |
||||
|
||||
//还款记录列表
|
||||
export const repaymentList = p => get('/api-guarantee/al-repayment-entry/repaymentList', p); |
||||
//还款记录统计
|
||||
export const repaymentStatistics = p => get('/api-guarantee/al-repayment-entry/repaymentStatistics', p); |
||||
//批量删除还款记录
|
||||
export const delRepayment = p => post('/api-guarantee/al-repayment-entry/delRepayment', p); |
||||
// 查询还款记录详情
|
||||
export const repaymentDetail = p => get('/api-guarantee/al-repayment-entry/repaymentDetail', p); |
||||
// 编辑还款录入
|
||||
export const updateRepayment = p => post('/api-guarantee/al-repayment-entry/updateRepayment', p); |
||||
|
||||
// 添加保后业务
|
||||
export const saveInsurance = p => post('/api-guarantee/al-insurance-list/saveInsurance', p); |
||||
// 删除保后业务
|
||||
export const deleteInsurance = p => post('/api-guarantee/al-insurance-list/deleteInsurance?insuranceId='+p); |
||||
// 更新保后业务
|
||||
export const deleteInsurance = p => post('/api-guarantee/al-insurance-list/deleteInsurance?insuranceId=' + p); |
||||
export const editInsurance = p => post('/api-guarantee/al-insurance-list/updateInsurance', p); |
||||
|
||||
// 清收组列表
|
||||
export const liquidateList = p => get('/api-guarantee/al-collection-group/list', p); |
||||
// 清收组添加或修改
|
||||
export const liquidateEdit = p => post('/api-guarantee/al-collection-group/saveOrUpdate', p); |
||||
// 清收组删除
|
||||
export const liquidateDel = p => post('/api-guarantee/al-collection-group/delete?id='+p); |
||||
|
||||
// 取得代偿金额
|
||||
export const liquidateDel = p => post('/api-guarantee/al-collection-group/delete?id=' + p); |
||||
export const compensationSituation = p => get(`/api-guarantee/al-insurance-list/compensationSituation?date=${p.data}&insuranceId=${p.insuranceId}`); |
||||
export const queryCollectionProgress = p => post('/api-guarantee/al-collection-statistics/queryCollectionProgress', p); |
||||
export const collectionProgressExport = p => `${host}/api-guarantee/al-collection-statistics/collectionProgressExport?ids=${p}` |
||||
export const editAnnualStatistics = p => post('/api-guarantee/al-collection-statistics/editAnnualStatistics', p); |
||||
export const personnelSelection = p => get('/api-guarantee/al-collection-statistics/personnelSelection', p); |
||||
export const annualStatisticsDeleted = p => post(`/api-guarantee/al-collection-statistics/annualStatisticsDeleted?year=${p}`); |
||||
export const annualStatisticsListExport = p => `${host}/api-guarantee/al-collection-statistics/annualStatisticsListExport?year=${p}` |
||||
export const importInsurance = `${host}/api-guarantee/al-insurance-list/importInsurance`; |
||||
export const exportFailure = p=> `${host}/api-guarantee/al-insurance-list/exportFailure?exportCode=${p}`; |
||||
|
||||
|
||||
// 催收
|
||||
|
||||
export const collectionGroupList = p => post('/api-guarantee/al-collection-statistics/collectionGroupList', p); |
||||
export const generateAnnualStatistics = p => post('/api-guarantee/al-collection-statistics/generateAnnualStatistics', p); |
||||
export const annualList = p => get('/api-guarantee/al-collection-statistics/annualList', p); |
||||
export const annualStatisticsList = p => post('/api-guarantee/al-collection-statistics/annualStatisticsList', p); |
||||
export const collection = p => post('/api-guarantee/al-collection/collection', p); |
||||
// 催收列表
|
||||
export const collectionList = p => get('/api-guarantee/al-collection/list', p); |
||||
// 点击催收查询出的列表
|
||||
export const collectionListDetail = p => get('/api-guarantee/al-collection/overdue/detail', p); |
||||
// 催收记录列表
|
||||
export const collectionHisList = p => post('/api-guarantee/al-collection/collection/list', p); |
||||
// 催收记录列表点击查看
|
||||
export const collectionHisListDetail = p => get('/api-guarantee/al-collection/examine/detail', p); |
||||
|
||||
export const excelInsurance = `${host}/api-guarantee/al-insurance-list/excelExport`; //导出保后管理列表
|
||||
export const excelHis = `${host}/api-guarantee/al-repayment-entry/excelExport`; //导出还款记录列表
|
||||
export const excelCollection = `${host}/api-guarantee/al-collection/list/export/excel`; //导出催收管理列表
|
||||
export const excelCollectionHis = `${host}/api-guarantee/al-collection/collection/list/export/excel`; //导出催收管理列表
|
||||
|
||||
|
||||
// 工作台--客户资源管理
|
||||
// 删除
|
||||
export const excelInsurance = `${host}/api-guarantee/al-insurance-list/excelExport`; |
||||
export const excelHis = `${host}/api-guarantee/al-repayment-entry/excelExport`; |
||||
export const excelCollection = `${host}/api-guarantee/al-collection/list/export/excel`; |
||||
export const excelCollectionHis = `${host}/api-guarantee/al-collection/collection/list/export/excel`; |
||||
export const workClientDel = p => post('/api-crms/crms/workbench/delete', p); |
||||
// 详情
|
||||
export const workClientParticulars = p => get('/api-crms/crms/workbench/info', p); |
||||
// 客户信息列表展示
|
||||
export const workClientMsgList = p => get('/api-crms/crms/workbench/list', p); |
||||
// 获取当前客户部门经理--下属客户经理
|
||||
export const workClientManager= p => get('/api-crms/crms/workbench/manager', p);
|
||||
// 不通过
|
||||
export const workClientManager = p => get('/api-crms/crms/workbench/manager', p); |
||||
export const workClientNoPass = p => get('/api-crms/crms/workbench/noPass', p); |
||||
// 通过审核
|
||||
export const workClientPass = p => get('/api-crms/crms/workbench/pass', p); |
||||
// 新增企业类型客户
|
||||
export const workClientAddEnterprise = p => post('/api-crms/crms/workbench/saveCompany', p); |
||||
// 新增企业类型客户新版接口
|
||||
export const insertCompany = p => post('/api-crms/crms/workbench/insertCompany', p); |
||||
// 新增个人类型客户
|
||||
export const workClientMsg = p => post('/api-crms/crms/workbench/savePersonal', p); |
||||
// 修改企业类型客户
|
||||
export const workEditClientEnterpriseMsg = p => post('/api-crms/crms/workbench/updateCompany', p); |
||||
// 修改企业类型客户新版接口
|
||||
export const updateCompanyNew = p => post('/api-crms/crms/workbench/updateCompanyNew', p); |
||||
// 修改个人类型客户
|
||||
export const workEditClientMsg = p => post('/api-crms/crms/workbench/updatePersonal', p); |
||||
|
||||
// 后台和前台区分
|
||||
// 新增个人类型客户
|
||||
export const backClientMsg = p => post('/api-crms/crms/customer/savePersonal', p); |
||||
// 新增企业类型客户
|
||||
export const backSaveCompany = p => post('/api-crms/crms/customer/saveCompany', p); |
||||
// 修改企业类型客户
|
||||
export const backupdateCompany = p => post('/api-crms/crms/customer/updateCompany', p); |
||||
// 修改个人类型客户
|
||||
export const backupdatePersonal = p => post('/api-crms/crms/customer/updatePersonal', p); |
||||
|
||||
// 登录微信扫码(图片)
|
||||
// export const WXCordImg = p => get('/apiHrmsAuth/hrms/auth/userlogin/wxLoginUrl', p);
|
||||
// 微信回调授权码(不用管)
|
||||
export const WXAuthCord = p => get('/apiHrmsAuth/hrms/auth/userlogin/user/callback', p); |
||||
// 登录绑定手机号
|
||||
export const bindPhone = p => post('/apiHrmsAuth/hrms/auth/userlogin/bindPhoneAndOpenId', p); |
||||
// 登录手机验证码
|
||||
export const phoneAuthCord = p => get('/apiHrmsAuth/hrms/auth/userlogin/sendCode', p); |
||||
// 判断手机是否存在
|
||||
export const phoneExist = p => get('/apiHrmsAuth/hrms/auth/userlogin/isPhoneExist', p); |
||||
|
||||
// 工作台--担保业务
|
||||
//业务申请列表
|
||||
export const businessApplyList = p => get('/api-guarantee/dg-apply-amount-info/businessApplicationList', p); |
||||
//新建业务
|
||||
export const businessApplication = p => post('/api-guarantee/dg-apply-amount-info/businessApplication', p); |
||||
// 获取所有客户的信息
|
||||
export const getAllClient = p => get('/api-crms/crms/customer/queryCompanyCodeAndName', p); |
||||
//客户编号/取得信息
|
||||
export const companyInfoBySth = p => post('/api-guarantee/dg-apply-amount-info/companyInfoBySth', p); |
||||
// 业务申请-查看
|
||||
export const businessApplyWatch = p => get('/api-guarantee/dg-apply-amount-info/businessApplicationDetail', p); |
||||
// 业务-修改
|
||||
export const businessApplyEdit = p => post('/api-guarantee/dg-apply-amount-info/updateBusinessApplication', p); |
||||
// 业务申请-审核
|
||||
export const businessApplyAudit = p => post('/api-guarantee/dg-apply-amount-info/approvalBusinessApplication', p); |
||||
// 业务-撤销
|
||||
export const businessApplyRepeal = p => get('/api-guarantee/dg-apply-amount-info/revokeBusinessApplication', p); |
||||
// 所有银行
|
||||
export const allBankName = p => get('/api-guarantee/dg-bank/bankList', p); |
||||
|
||||
// 抄送功能截图--已修改为正常功能
|
||||
export const copySend = p => post('/api-guarantee/dg-copy-for/copySend', p); |
||||
|
||||
// 担保调查列表
|
||||
export const guaranteeList = p => get('/api-guarantee/dg-guarantee-assign-user/guaranteeList', p); |
||||
// 查看详情功能--领导/调查员
|
||||
export const guaranteeDetails = p => get('/api-guarantee/dg-guarantee-assign-user/guaranteeDetail', p); |
||||
// 调查功能
|
||||
export const guaranteeSurvey = p => post('/api-guarantee/dg-guarantee-assign-user/investigateGuarantee', p); |
||||
// 领导审核
|
||||
export const guaranteeleader = p => post('/api-guarantee/dg-guarantee-assign-user/approvalGuarantee', p); |
||||
// 指派A/B角
|
||||
export const guaranteeDesignateAB = p => post('/api-guarantee/dg-guarantee-assign-user/assignCorners', p); |
||||
|
||||
// 团队效率-柱状图
|
||||
export const efficiencyChart = p => post('/api-guarantee/guarantee/efficiency/team', p); |
||||
// 团队效率--搜索部门
|
||||
export const listDepartment = p => get('/api-hrms/hrms/dept/listDepartment', p); |
||||
// 团队效率--业务数量状态栏
|
||||
export const businessCount = p => get('/api-guarantee/guarantee/efficiency/businessCount', p); |
||||
// 个人效率--列表
|
||||
export const personalEfficiencyList = p => post('/api-guarantee/guarantee/efficiency/personalEfficiencyList', p); |
||||
// 个人效率--抄送我的列表
|
||||
export const queryCopyForMe = p => post('/api-guarantee/dg-copy-user/queryCopyForMe', p); |
||||
// 抄送导出
|
||||
export const exportCopyForMe = `${host}/api-guarantee/dg-copy-user/exportCopyForMe`; |
||||
// 个人效率--列表导出
|
||||
export const personalEfficiencyListExport = `${host}/api-guarantee/guarantee/efficiency/personalEfficiencyListExport`; |
||||
|
||||
// 消息提示接口
|
||||
export const notice = p => get('/api-guarantee/guarantee/efficiency/notice', p); |
||||
|
||||
|
||||
|
||||
// 根据部门id查询员工
|
||||
export const listEmployeeByDeptId = p => get('/api-hrms/hrms/dept/listEmployeeByDeptId', p); |
||||
// 暂时替代一下上面的接口,后续切换回去。这接口上面有过了,不管,后续删除
|
||||
// export const listEmployeeName = p => get('/api-hrms/hrms/employee/listEmployeeName', p);
|
||||
//
|
||||
// 业务统计--
|
||||
// 列表导出
|
||||
export const excelExportPass = `${host}/api-guarantee/guarantee/statistics/excelExport`; |
||||
// 拒绝列表导出
|
||||
export const excelExportRefuse = `${host}/api-guarantee/guarantee/statistics/excelExportRefuse`; |
||||
// 业务统计列表
|
||||
export const listPass = p => get('/api-guarantee/guarantee/statistics/list', p); |
||||
// 拒绝列表
|
||||
export const listRefuse = p => get('/api-guarantee/guarantee/statistics/listRefuse', p); |
||||
|
||||
|
||||
// 个人中心柱状图
|
||||
export const approvalNum = p => get('/api-guarantee/guarantee/efficiency/approvalNum', p); |
||||
|
||||
// 指派树---不做限制版-仅工作会
|
||||
export const designateEmpTrees = p => get('/api-hrms//hrms/dept/empTrees', p); |
||||
|
||||
|
||||
// 关联人列表
|
||||
export const designateEmpTrees = p => get('/api-hrms/hrms/dept/empTrees', p); |
||||
export const getLinkmanList = p => get('/api-crms/crms-company-personal/companyPersonalList', p); |
||||
// 查询关联人
|
||||
export const searchLinkmanList = p => get('/api-crms/crms-company-personal/selectCompanyPersonal', p); |
||||
// 查询关联人新版
|
||||
export const NewsearchLinkmanList = p => get('/api-crms/crms-company-personal/selectCompanyPersonal', p); |
||||
// 删除关联人
|
||||
export const delLinkmanList = p => post('/api-crms/crms-company-personal/deleteCompanyPersonal', p); |
||||
// 删除关联人新版
|
||||
export const NewdelLinkmanList = p => post('/api-crms/crms-company-personal/deleteCompanyPersonal', p); |
||||
// 新增关联人
|
||||
export const newLinkmanList = p => post('/api-crms/crms-company-personal/insertCompanyPersonal', p); |
||||
// 新增关联人新版
|
||||
export const newLinkList = p => post('/api-crms/crms-company-personal/insertCompanyPersonal', p); |
||||
// 编辑关联人
|
||||
export const editLinkmanList = p => post('/api-crms/crms-company-personal/updateCompanyPersonal', p); |
||||
// 编辑关联人新版
|
||||
export const NeweditLinkmanList = p => post('/api-crms/crms-company-personal/updateCompanyPersonal', p); |
||||
|
||||
|
||||
|
||||
|
||||
|
||||
// 资产部--审核
|
||||
export const assetAudit = p => post('/api-guarantee/dg-assets-investigation/approvalAssets', p); |
||||
// 资产部--查看
|
||||
export const assetWatch = p => get('/api-guarantee/dg-assets-investigation/assetsDetail', p); |
||||
// 资产部--列表
|
||||
export const assetList = p => post('/api-guarantee/dg-assets-investigation/assetsList', p); |
||||
// 资产部--指派
|
||||
export const assetAssign = p => post('/api-guarantee/dg-assets-investigation/assignCorners', p); |
||||
// 资产部--调查
|
||||
export const assetSurvey = p => post('/api-guarantee/dg-assets-investigation/investigateAssets', p); |
||||
|
||||
// 信息部--列表
|
||||
export const messageList = p => get('/api-guarantee/dg-message-investigation/messageList', p); |
||||
// 信息部详情
|
||||
export const messageDetail = p => get('/api-guarantee/dg-message-investigation/messageDetail', p); |
||||
// 信息部--指派
|
||||
export const messageAssign = p => post('/api-guarantee/dg-message-investigation/assignCorners', p); |
||||
// 信息部--调查
|
||||
export const messageSurvey = p => post('/api-guarantee/dg-message-investigation/investigateMessage', p); |
||||
// 信息部审核
|
||||
export const messageAudit = p => post('/api-guarantee/dg-message-investigation/approvalMessage', p); |
||||
|
||||
// 合规调查-指派
|
||||
export const complianceAssign = p => get('/api-guarantee/compliance/investigation/assign', p); |
||||
// 合规-审核
|
||||
export const complianceAudit = p => post('/api-guarantee/compliance/investigation/check', p); |
||||
// 合规-列表
|
||||
export const complianceList = p => get('/api-guarantee/compliance/investigation/list', p); |
||||
// 合规-查看详情
|
||||
export const complianceDetail = p => get('/api-guarantee/compliance/investigation/query', p); |
||||
// 合规-调查
|
||||
export const complianceSurvey = p => post('/api-guarantee/compliance/investigation/survey', p); |
||||
|
||||
// 工作会-审议
|
||||
export const workAudit = p => post('/api-guarantee/work/conference/check', p); |
||||
//工作会-所有审核意见
|
||||
export const workOpinion = p => get('/api-guarantee/work/conference/getAuditOpinion', p); |
||||
// 工作会列表
|
||||
export const workList = p => get('/api-guarantee/work/conference/list', p); |
||||
// 工作会-查看
|
||||
export const workDetail = p => get('/api-guarantee/work/conference/query', p); |
||||
// 工作会-评委抽取
|
||||
export const workExtract = p => post('/api-guarantee/work/conference/theJudgesDrawn', p); |
||||
|
||||
// 贷审会-审议
|
||||
export const loansAudit = p => post('/api-guarantee/committee/consider/check', p); |
||||
// 贷审会-列表
|
||||
export const loansList = p => get('/api-guarantee/committee/consider/list', p); |
||||
// 贷审会-查看
|
||||
export const loansDetail = p => get('/api-guarantee/committee/consider/query', p); |
||||
// 贷审会--获取抽取的评委
|
||||
export const loansJudge = p => get('/api-guarantee/committee/consider/theJudgesDrawn', p); |
||||
|
||||
|
||||
|
||||
|
||||
/* 业务+担保 上传文件 */ |
||||
export const guaranteeUploadFile = p => post('/api-guarantee/dg-apply-amount-info/uploadFile', p); |
||||
/* 业务+担保 删除文件 */ |
||||
export const guaranteeDeleteFile = p => get('/api-guarantee/dg-apply-amount-info/deleteServerFile', p); |
||||
//担保函的接口
|
||||
export const guaranteeLetterList = p => post('/api-guarantee/dg-guarantee-letter-assign-user/guaranteeLetterList', p); //担保函列表
|
||||
export const updateStatus = p => post('/api-guarantee/dg-guarantee-letter-assign-user/updateStatus', p); //用户提交审核意见
|
||||
// 担保函详情--新增
|
||||
export const guaranteeLetterList = p => post('/api-guarantee/dg-guarantee-letter-assign-user/guaranteeLetterList', p); |
||||
export const updateStatus = p => post('/api-guarantee/dg-guarantee-letter-assign-user/updateStatus', p); |
||||
export const letterDetail = p => get('/api-guarantee/dg-guarantee-letter-assign-user/guaranteeLetterDetail', p); |
||||
|
||||
//回款确认
|
||||
export const paymentList = p => post('/api-guarantee/dg-payment-confirmation-consider/paymentConfirmationList', p); //回款确认列表
|
||||
export const updatePayment = p => post('/api-guarantee/dg-payment-confirmation-consider/updatePaymentConfirmation', p); //更新回款确认
|
||||
// 回款详情 --新增
|
||||
export const paymentList = p => post('/api-guarantee/dg-payment-confirmation-consider/paymentConfirmationList', p); |
||||
export const updatePayment = p => post('/api-guarantee/dg-payment-confirmation-consider/updatePaymentConfirmation', p); |
||||
export const paymentDetail = p => get('/api-guarantee/dg-payment-confirmation-consider/paymentConfirmationDetail', p); |
||||
|
||||
//放款通知
|
||||
export const loanNoticeList = p => post('/api-guarantee/dg-loan-notice/loanNoticeList', p); //放款通知列表
|
||||
export const updateLoanNotice = p => post('/api-guarantee/dg-loan-notice/updateLoanNotice', p); //放款通知确认
|
||||
// 放款详情--新增
|
||||
export const loanNoticeList = p => post('/api-guarantee/dg-loan-notice/loanNoticeList', p); |
||||
export const updateLoanNotice = p => post('/api-guarantee/dg-loan-notice/updateLoanNotice', p); |
||||
export const loanNoticeDetail = p => get('/api-guarantee/dg-loan-notice/loanNoticeDetail', p); |
||||
|
||||
|
||||
export const auditProcessList = p => get('/api-guarantee/dg-audit-process/auditProcessList', p);//审核流程进程列表
|
||||
export const auditProcessPop = p => get('/api-guarantee/dg-audit-process/getProcessId', p);//审核流程进程--弹框
|
||||
|
||||
//获取当前用户角色
|
||||
export const auditProcessList = p => get('/api-guarantee/dg-audit-process/auditProcessList', p); |
||||
export const auditProcessPop = p => get('/api-guarantee/dg-audit-process/getProcessId', p); |
||||
export const getNowRole = p => get('/api-guarantee/dg-apply-amount-info/getRoles', p); |
||||
// 获取动态路由权限
|
||||
export const getPermission = p => get('/api-hrms/hrms/permission/getPermission', p); |
||||
|
||||
// 首页的接口
|
||||
// 当月每天新建审批
|
||||
export const getNewBusinessCount = p => get('/api-guarantee/guarantee/efficiency/getNewBusinessCount', p); |
||||
// 当天新建审批数量-客户员工区分
|
||||
export const getTodayBusinessCount = p => get('/api-guarantee/guarantee/efficiency/getTodayBusinessCount', p); |
||||
// 今日审批记录--个人中心
|
||||
export const todayApprovalRecord = p => get('/api-guarantee/dg-audit-process/todayApprovalRecord', p); |
||||
// 访问记录-列表
|
||||
export const queryAccessRecords = p => get('/apiHrmsAuth/hrms-access-records-log/queryAccessRecords', p); |
||||
// 访问次数
|
||||
export const queryVisitNum = p => get('/apiHrmsAuth/hrms-access-records-log/queryVisitNum', p); |
||||
// 今日登录用户总数
|
||||
export const queryLoginNum = p => get('/apiHrmsAuth/hrms-access-records-log/queryLoginNum', p); |
||||
// 登录趋势图
|
||||
export const queryLoginOnline = p => get('/apiHrmsAuth/hrms-access-records-log/queryLoginOnline', p); |
||||
// 登录时间段
|
||||
export const queryLoginOnline2 = p => get('/apiHrmsAuth/hrms-access-records-log/queryLoginOnline2', p); |
||||
|
||||
// 业务-导出
|
||||
export const businessExportList = `${host}/api-guarantee/dg-apply-amount-info/excelExport`; |
||||
// 担保-导出
|
||||
export const guaranteeExportList = `${host}/api-guarantee/dg-guarantee-assign-user/excelExport`; |
||||
// 资产-导出
|
||||
export const assetExportList = `${host}/api-guarantee/dg-assets-investigation/excelExport`; |
||||
// 信息-导出
|
||||
export const messageExportList = `${host}/api-guarantee/dg-message-investigation/excelExport`; |
||||
// 合规-导出
|
||||
export const complianceExportList = `${host}/api-guarantee/compliance/investigation/excelExport`; |
||||
// 工作会-导出
|
||||
export const workExportList = `${host}/api-guarantee/work/conference/excelExport`; |
||||
// 贷审会-导出
|
||||
export const loansExportList = `${host}/api-guarantee/committee/consider/excelExport`; |
||||
|
||||
|
||||
export const excelTemplate = `${host}/api-crms/crms/customer/excelTemplate`; //导出客户模板
|
||||
export const excelExport = `${host}/api-crms/crms/customer/excelExport`; //导出客户
|
||||
export const excelImport = `${host}/api-crms/crms/customer/excelImport`; //导入excal
|
||||
|
||||
export const excelExportStaff = `${host}/api-crms/crms/customer/excelExport`; //导出客户
|
||||
export const excelImportStaff = `${host}/api-crms/crms/customer/excelImport`; //导入员工excal
|
||||
|
||||
|
||||
export const excelExportLetter = `${host}/api-guarantee/dg-guarantee-letter-assign-user/guaranteeLetterListExport`; //导出担保函列表
|
||||
export const exportGuaranteeLetter = `${host}/api-guarantee/dg-guarantee-letter-assign-user/exportGuaranteeLetter`; //导出担保函
|
||||
|
||||
export const excelExportPayment = `${host}/api-guarantee/dg-payment-confirmation-consider/paymentConfirmationListExport`; //导出回款确认列表数据
|
||||
|
||||
export const loanNoticeListExport = `${host}/api-guarantee/dg-loan-notice/loanNoticeListExport`; //导出放款通知列表数据
|
||||
export const exportLoanNotice = `${host}/api-guarantee/dg-loan-notice/exportLoanNotice`; //导出放款通知
|
||||
export const excelTemplate = `${host}/api-crms/crms/customer/excelTemplate`; |
||||
export const excelExport = `${host}/api-crms/crms/customer/excelExport`; |
||||
export const excelImport = `${host}/api-crms/crms/customer/excelImport`; |
||||
export const excelExportStaff = `${host}/api-crms/crms/customer/excelExport`; |
||||
export const excelImportStaff = `${host}/api-crms/crms/customer/excelImport`; |
||||
export const excelExportLetter = `${host}/api-guarantee/dg-guarantee-letter-assign-user/guaranteeLetterListExport`; |
||||
export const exportGuaranteeLetter = `${host}/api-guarantee/dg-guarantee-letter-assign-user/exportGuaranteeLetter`; |
||||
export const excelExportPayment = `${host}/api-guarantee/dg-payment-confirmation-consider/paymentConfirmationListExport`; |
||||
export const loanNoticeListExport = `${host}/api-guarantee/dg-loan-notice/loanNoticeListExport`; |
||||
export const exportLoanNotice = `${host}/api-guarantee/dg-loan-notice/exportLoanNotice`; |
Loading…
Reference in new issue