Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-appreciation
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 7f05d2c1
authored
Apr 26, 2024
by
zhangquan
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
精品升级
1 parent
ed092b56
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
49 additions
and
67 deletions
src/api/modules/rules.js
src/views/inSale/upgradeOrder.vue
src/api/modules/rules.js
View file @
7f05d2c
...
@@ -6,98 +6,104 @@ const getRulesData = () => {
...
@@ -6,98 +6,104 @@ const getRulesData = () => {
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
({
...
@@ -106,8 +112,8 @@ const get4SList = params => {
...
@@ -106,8 +112,8 @@ const get4SList = params => {
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
({
...
@@ -116,8 +122,8 @@ const introConpute = params => {
...
@@ -116,8 +122,8 @@ const introConpute = params => {
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
}
src/views/inSale/upgradeOrder.vue
View file @
7f05d2c
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment