/*
 * @Descripttion: 
 * @version: 
 * @Author: 王三华
 * @Date: 2023-10-12 10:40:53
 */
const http = uni.$u.http
// 待办数据
export const waitApproval = (params) => http.get('/system/manage/index/wait-approval', { params })
// 登录
export const login = (params) => http.post('/system/auth/manage/login', params)
//查询会员信息
export const getMemberList = (params) => http.get('/member/manager/member/query-member', { params })
//获取根据名称获取列菜单
export const getRoleMenu = (params) => http.get('/system/manage/role-menu-column/get-column/' + params)

//注册等级
export const getgradeRanglist = (params) => http.get('/system/manage/grade/gradeRanglist', { params })
//荣誉奖衔
export const getAwardsListChiose = (params) => http.get('/system/manage/awards/awardsList', { params })
//查询隶属体系下拉选
export const getvertexValue = (params) => http.get('/system/manage/vertex/find-all', { params })
//来源下拉1
export const noticeWebsite = (params) => http.get('/system/pub/enums/sign-source-first-two', { params })
//隶属团队下拉选
export const getmemberTeamList = (params) => http.get('/member/manage/member-team/listNoPage', { params })
//注册权限列表
export const getRegistration = (params) => http.get('/system/pub/enums/registration-authority', { params })
//账户状态下拉选
export const getaccountStatus = (params) => http.get('/system/pub/enums/account-status', { params })
//钱包状态下拉选
export const getsalletStatus = (params) => http.get('/system/pub/enums/account-member-account', { params })

//认证枚举下拉选
export const getattestation = (params) => http.get('/system/pub/enums/get-yes-no-attestation', { params })
//订单状态
export const getorderStatus = (params) => http.get('/system/pub/enums/get-order-source', { params })

//订单业务列表
export const getOrderBusinessList = (params) => http.get('/sale/manage/order-business/list', { params })
//订单类型枚举
export const getOrderType = (params) => http.get('/system/pub/enums/order-type', { params })
//订单类型
export const getOrderBusiness = (params) => http.get('system/pub/enums/order-business', { params })
//修改地址数据
export const getOrderBusinessAddressData = (params) => http.get('/sale/manage/order-business/address-data', { params })
//地址
export const areaList = (params) => http.get('/system/manage/area/find-all', { params })
//修改地址校验
export const addressCheck = (params) => http.get('/sale/manage/order-business/address-check', { params })

// 修改地址确认（无签呈）
export const addressFree = (params) => http.post('/sale/manage/order-business/address-confirm-free-sign', params)
// 撤单数据
export const toCancelOrder = (params) => http.post('/sale/manage/order-business/cancel-order-submit', params)
// 校验撤单
export const validateBind = (params) => http.post('/sale/manage/order-business/validate-bind', params)
// 撤单免签免付
export const freeCancelOrder = (params) => http.post('/sale/manage/order-business/free-cancel-order-confirm', params)

//基础业务列表
export const getBusinessList = (params) => http.get('/member/manage/handle-business/businessList', { params })

// 办理基础业务枚举
export const getHandleBusinessEnum = (params) => http.get('/system/pub/enums/handleBusinessEnum', { params })

//基础业务办理校验
export const businessCheck = (params) => http.post('/member/manage/handle-business/businessCheck', params)

//退单数据
export const returnDataMerge = (params) => http.get('/sale/manage/order-business/return-data-batch', { params })

//验证签呈是否存在
export const checkHassign = (id) => http.get('/system/manage/approval/has-sign/' + id)

//特殊业务-免签、确认需调用校验金额
export const balanceCheck = (params) => http.post('/member/manage/handle-business/balanceCheck', params)

//保存业务办理信息
export const saveHandelBusiness = (params) => http.post('/member/manage/handle-business/save', params)

//调换货数据
export const productData = (params) => http.get('/sale/manage/order-business/product-data', { params })
//产品名称
export const getProductAll = (params) => http.get('/sale/manage/product/all', { params })

// 调换货（无签呈）
export const productFree = (params) => http.post('/sale/manage/order-business/product-confirm-free-sign', params)

//证件类型
export const getCardType = (params) => http.get('/system/pub/enums/get-card-type', { params })
//获取性别
export const getSex = (params) => http.get('/system/pub/enums/get-sex', { params })
//查询真实信息
export const memberRealInfo = (params) => http.get('/member/manager/member/member-real-info', { params })
//关联部门
export const getPlacedeptList = (params) => http.get('/system/pub/enums/placedept', { params })
//撤单类型
export const getCancleList = (params) => http.get('/system/pub/enums/cancel-the-order', { params })
//撤单列表
export const orderChargeLog = (params) => http.get('/sale/manage/order-charge-log/list', { params })
//操作功能
export const methodType = (params) => http.get('/system/manage/operation-log/method-type', { params })
//操作模块
export const moduleType = (params) => http.get('/system/manage/operation-log/module-type', { params })
//操作记录列表
export const operationLogList = (params) => http.get('/system/manage/operation-log/list', { params })
//拨比列表体系
export const vertexChild = (params) => http.get('/system/manage/vertex/vertex-child', { params })
//收益状态
export const incomeStatusList = (params) => http.get('/system/pub/enums/incomeStatus', { params })
//服务协议
export const serviceStatus = (params) => http.get('/system/pub/enums/service-status', { params })