Commit 7f05d2c1 by zhangquan

精品升级

1 parent ed092b56
...@@ -4,120 +4,126 @@ const getRulesData = () => { ...@@ -4,120 +4,126 @@ const getRulesData = () => {
return method return method
} }
const getRulesListData = () => { const getRulesListData = () => {
let method = 'dj.api.smartcarlife.merchantDivisionRule.pageChangeRecord' let method = 'dj.api.smartcarlife.merchantDivisionRule.pageChangeRecord'
return method return method
} }
// 客户评价 // 客户评价
const guestComTotal = () => { const guestComTotal = () => {
let method = 'dj.api.smartcarlife.orderCommentReport.total' let method = 'dj.api.smartcarlife.orderCommentReport.total'
return method return method
} }
// 是否开通精品升级 // 是否开通精品升级
const isOpenUpgrade = () => { const isOpenUpgrade = () => {
let method = 'dj.api.serviceMerchant.isOpenSmartcarlife' let method = 'dj.api.serviceMerchant.isOpenSmartcarlife'
return method return method
} }
// 订单统计 // 订单统计
const orderTotal = () => { const orderTotal = () => {
let method = 'dj.api.smartcarlife.orderReport.total' let method = 'dj.api.smartcarlife.orderReport.total'
return method return method
} }
// 券统计 // 券统计
const couponsTotal = () => { const couponsTotal = () => {
let method = 'dj.api.smartcarlife.couponReport.total' let method = 'dj.api.smartcarlife.couponReport.total'
return method return method
} }
// 按天统计券 // 按天统计券
const couponsTotalByDay = () => { const couponsTotalByDay = () => {
let method = 'dj.api.smartcarlife.couponReport.countByDate' let method = 'dj.api.smartcarlife.couponReport.countByDate'
return method return method
} }
// 按天统计金额 // 按天统计金额
const moneyTotal = () => { const moneyTotal = () => {
let method = 'dj.api.smartcarlife.orderReport.totalByDay' let method = 'dj.api.smartcarlife.orderReport.totalByDay'
return method return method
} }
// 精品礼券订单查询 // 精品礼券订单查询
const findCoupons = () => { const findCoupons = () => {
let method = 'dj.api.life.customer.coupon.listFor4S' let method = 'dj.api.life.customer.coupon.listFor4S'
return method return method
} }
// 精品礼券升级订单查询 // 精品礼券升级订单查询
const findupGradeOrder = () => { const findupGradeOrder = () => {
let method = 'dj.api.smartcarlife.goodsOrderProfitAllocation.shop.merchant.page' let method = 'dj.api.smartcarlife.goodsOrderProfitAllocation.shop.merchant.page'
return method return method
} }
// 查看礼券
const newFindupGradeOrder = () => {
let method = 'dj.api.smartcarlife.goodsOrderProfitAllocation.shop.merchant.pageByMainOrder'
return method
}
// 查看礼券
const checkCoupons = () => { const checkCoupons = () => {
let method = 'dj.api.smartcarlife.merchant.coupon.page' let method = 'dj.api.smartcarlife.merchant.coupon.page'
return method return method
} }
// 我的分账 // 我的分账
const mydivision = () => { const mydivision = () => {
let method = 'dj.smartcarlife.api.shop.order.division.page' let method = 'dj.smartcarlife.api.shop.order.division.page'
return method return method
} }
// 精品礼券导出 // 精品礼券导出
const exportCoupons = () => { const exportCoupons = () => {
let method = 'dj.api.life.customer.coupon.exportExcelListFor4S' let method = 'dj.api.life.customer.coupon.exportExcelListFor4S'
return method return method
} }
// 精品礼券升级订单导出 // 精品礼券升级订单导出
const exportUpgrade = () => { const exportUpgrade = () => {
let method = 'dj.api.smartcarlife.goodsOrderProfitAllocation.shop.merchant.export' let method = 'dj.api.smartcarlife.goodsOrderProfitAllocation.shop.merchant.export'
return method return method
} }
// 我的分账导出 // 我的分账导出
const exportMydivision = () => { const exportMydivision = () => {
let method = 'dj.smartcarlife.api.shop.order.division.export' let method = 'dj.smartcarlife.api.shop.order.division.export'
return method return method
} }
// 获取发券人/转化人列表 // 获取发券人/转化人列表
const getEmployName = () => { const getEmployName = () => {
let method = 'dj.api.life.customer.coupon.distinctColum' let method = 'dj.api.life.customer.coupon.distinctColum'
return method return method
} }
// 查看明细 // 查看明细
const checkDetail = () => { const checkDetail = () => {
let method = 'dj.api.smartcarlife.goodsOrder.detail' let method = 'dj.api.smartcarlife.goodsOrder.detail'
return method return method
} }
// 集团--订单统计 // 集团--订单统计
const orderTotalOfJT = () => { const orderTotalOfJT = () => {
let method = 'dj.api.smartcarlife.orderReport.totalByMerchant' let method = 'dj.api.smartcarlife.orderReport.totalByMerchant'
return method return method
} }
// 集团--精品升级订单统计数 // 集团--精品升级订单统计数
const orderTotalNumOfJT = () => { const orderTotalNumOfJT = () => {
let method = 'dj.api.smartcarlife.goodsOrderProfitAllocation.shop.merchant.count' let method = 'dj.api.smartcarlife.goodsOrderProfitAllocation.shop.merchant.count'
return method return method
} }
// 集团--我的分账统计数 // 集团--我的分账统计数
const myAccountTotalNumOfJT = () => { const myAccountTotalNumOfJT = () => {
let method = 'dj.smartcarlife.api.shop.order.division.page.count' let method = 'dj.smartcarlife.api.shop.order.division.page.count'
return method return method
} }
// 获取4s店列表 // 获取4s店列表
const get4SList = params => { const get4SList = params => {
params.method = `scrm.api.carlife.merchant.listWithPageByCurMerchant` params.method = `scrm.api.carlife.merchant.listWithPageByCurMerchant`
return http({ return http({
url: 'rop-scrm-carlife/router', url: 'rop-scrm-carlife/router',
method: 'GET', method: 'GET',
data: params, data: params,
sign: true sign: true
}) })
} }
// 服务介绍 // 服务介绍
const introConpute = params => { const introConpute = params => {
params.method = `scrm.api.boutiquecoupon.config.getModelParams` params.method = `scrm.api.boutiquecoupon.config.getModelParams`
return http({ return http({
url: 'rop-scrm-boutiquecoupon/router', url: 'rop-scrm-boutiquecoupon/router',
method: 'GET', method: 'GET',
data: params, data: params,
sign: true sign: true
}) })
} }
// 获取商户列表 // 获取商户列表
const getMerchantList = params => { const getMerchantList = params => {
params.method = `entmicro.api.common.findMerchantTreeByMerchantNo.list` params.method = `entmicro.api.common.findMerchantTreeByMerchantNo.list`
return http({ return http({
...@@ -127,28 +133,4 @@ const getMerchantList = params => { ...@@ -127,28 +133,4 @@ const getMerchantList = params => {
sign: true sign: true
}) })
} }
export {
getRulesData,
getRulesListData,
guestComTotal,
isOpenUpgrade,
orderTotal,
couponsTotal,
couponsTotalByDay,
moneyTotal,
findCoupons,
findupGradeOrder,
checkCoupons,
mydivision,
exportMydivision,
exportUpgrade,
exportCoupons,
getEmployName,
checkDetail,
orderTotalOfJT,
orderTotalNumOfJT,
myAccountTotalNumOfJT,
get4SList,
introConpute,
getMerchantList
}
\ No newline at end of file \ No newline at end of file
export { getRulesData, getRulesListData, guestComTotal, isOpenUpgrade, orderTotal, couponsTotal, couponsTotalByDay, moneyTotal, findCoupons, findupGradeOrder, newFindupGradeOrder, checkCoupons, mydivision, exportMydivision, exportUpgrade, exportCoupons, getEmployName, checkDetail, orderTotalOfJT, orderTotalNumOfJT, myAccountTotalNumOfJT, get4SList, introConpute, getMerchantList }
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!