/*
 * @Descripttion: 
 * @version: 
 * @Author: 王三华
 * @Date: 2023-10-17 16:22:39
 */
const http = uni.$u.http
//签呈配置内容
export const signData = (id) => http.get('/system/manage/approval/sign-data/' + id)

//可审批管理员
export const approvalUser = (params) => http.get('/system/manage/user/approval-user', { params })
//全部管理员
export const userAll = (params) => http.get('/system/manage/user/all', { params })
//签呈类型
export const signType = (params) => http.get('/system/pub/enums/sign-type', { params })

// 修改地址签呈提交
export const addressConfirm = (params) => http.post('/sale/manage/order-business/address-confirm',params)
// 撤销订单签呈提交
export const cancelOrderConfirm = (params) => http.post('/sale/manage/order-business/cancel-order-confirm',params)
// 退单签呈提交
export const returnConfirmMerge = (params) => http.post('/sale/manage/order-business/return-batch-confirm',params)

//基础业务办理签呈提交
export const petitionConfirm = (params) => http.post('/member/manage/handle-business/online-petition-confirm',params)
//调换货物签呈提交
export const productConfirm = (params) => http.post('/sale/manage/order-business/product-confirm',params)


//提现签呈提交
export const withdrawConfirm = (params) => http.post('/member/manager/withdraw/confirm-withdraw-petition', params)
// 审批状态
export const approvalStatus = (params) => http.get('/system/pub/enums/approval-status-submit', { params })
// 自定义签呈列表
export const customList = (params) => http.get('/system/manage/approval-business/custom-list', { params })

//日常申请发起签呈
export const submitCustom = (params) => http.post('/system/manage/approval-business/submit-custom', params)