xlb-main-login
Version:
``` yarn install ```
91 lines (84 loc) • 2.28 kB
JavaScript
import { locality, wei_url, weichat } from './config'
import { axios } from '@/utils/request'
// 订单管理列表
export function indentList(params, type) {
// const params = {
// name: name ? name : null,
// nickname: nickname ? nickname : null,
// openid: openid ? openid : null,
// id: id ? id : null,
// wechatPayOrderId: wechatPayOrderId ? wechatPayOrderId : null,
// current: current ? current : 1,
// size: size ? size : 10,
// type: type ? type : 0,
// }
return axios({
url: locality + '/v1/shop/order/list?type=' + type,
method: 'get',
params,
})
}
//趣味测试数据分析interestList
export function interestList(festivalId, params) {
return axios({
url: weichat + '/v1/wechat/work/festival/user/list?festivalId=' + festivalId,
method: 'get',
params,
})
}
//趣味测试数据分析导出
export function interDerive(festivalId, params) {
return axios({
url: weichat + '/v1/wechat/work/festival/user/list/e?festivalId=' + festivalId,
method: 'get',
params,
})
}
//趣味测试卡片数据
export function interCardList(params) {
return axios({
url: weichat + '/v1/wechat/work/festival/data',
method: 'get',
params,
})
}
//趣味测试详情
export function interDetails(params) {
return axios({
url: weichat + '/v1/wechat/work/festival/user/child/list',
method: 'get',
params,
})
}
//数据导出
export function exportPaiToExcel(params, type) {
return axios({
url: locality + '/v1/shop/order/list/e?type=' + type,
method: 'get',
params,
})
}
// 下级用户数据导出
export function interDataExportAnalysis(params) {
return axios({
url: wei_url + '/demo-wechat-work/v1/wechat/work/festival/user/child/list/e',
method: 'get',
params,
})
}
//核销列表数据导出
export function exportListExcel(params, type) {
return axios({
url: locality + '/v1/shop/write/off/record/export?type=' + type,
method: 'get',
params,
})
}
//全部记录
export function approvedMemo(params, type) {
return axios({
url: locality + '/v1/shop/write/off/record?type=' + type,
method: 'get',
params,
})
}