Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-presale
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 0ae027ab
authored
Aug 23, 2022
by
前端
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
汇总开发
1 parent
36650f59
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
76 additions
and
47 deletions
src/api/modules/beforeSale.js
src/views/beforeSale/equitySummary.vue
src/api/modules/beforeSale.js
View file @
0ae027a
...
...
@@ -163,7 +163,7 @@ const getProListApi = params => {
// 获取无忧卡套餐列表
const
getPackageListApi
=
params
=>
{
params
.
method
=
`scrm.api.equity.service.package.dj.list.get`
// params.method = `scrm.api.equity.service.package.list.get`
// params.method = `scrm.api.equity.service.package.list.get`
return
http
({
url
:
'rop-scrm-equity/router'
,
method
:
'GET'
,
...
...
@@ -325,50 +325,81 @@ const spaAgressData = params => {
url
:
'rop-scrm-equity/router'
,
method
:
'POST'
,
data
:
params
,
sign
:
true
,
sign
:
true
})
}
// 店铺信息
const
merchantInfo
=
params
=>
{
params
.
method
=
'scrm.api.equity.common.merchant.detail.det'
return
http
({
url
:
'rop-scrm-equity/router'
,
method
:
'POST'
,
data
:
params
,
sign
:
true
,
})
}
// 卡号---获取期限
params
.
method
=
'scrm.api.equity.common.merchant.detail.det'
return
http
({
url
:
'rop-scrm-equity/router'
,
method
:
'POST'
,
data
:
params
,
sign
:
true
})
}
// 卡号---获取期限
const
dateBycarNo
=
params
=>
{
params
.
method
=
'scrm.api.equity.service.cfc.get.by.seqno'
return
http
({
url
:
'rop-scrm-equity/router'
,
method
:
'POST'
,
data
:
params
,
sign
:
true
,
sign
:
true
})
}
// 获取活码列表-
const
activeCodeList
=
params
=>
{
params
.
method
=
'entmicro.api.code.getFreeChannelCode'
return
http
({
url
:
'rop-scrm-entmicro/router'
,
method
:
'POST'
,
data
:
params
,
sign
:
true
,
})
}
// 更新活码
const
updateActiveCode
=
params
=>
{
params
.
method
=
'scrm.api.equity.service.merchant.qrcode.update'
return
http
({
url
:
'rop-scrm-equity/router'
,
method
:
'POST'
,
data
:
params
,
sign
:
true
,
})
}
export
default
{
getUserInfoApi
,
getCountNoDataApi
,
getListApi
,
getMerchantApi
,
getExportApi
,
getPriteApi
,
getCarBrandListApi
,
getCarChildListApi
,
getCarTypeListApi
,
getCarSeriesListApi
,
getHotlineApi
,
getDefaultCarbrandApi
,
updateHotlineApi
,
updateCarBrandApi
,
getProListApi
,
getPackageListApi
,
getEquityApi
,
updateEquityApi
,
createCodeApi
,
getOrderAttrApi
,
getAllOrderValueApi
,
verifyOrderApi
,
checkOrderApi
,
updateOrderApi
,
uploadImgApi
,
backOrderApi
,
aduitOrderApi
,
judgeSetting
,
spaAgressData
,
merchantInfo
,
dateBycarNo
,
activeCodeList
,
updateActiveCode
}
\ No newline at end of file
// 获取活码列表-
const
activeCodeList
=
params
=>
{
params
.
method
=
'entmicro.api.code.getFreeChannelCode'
return
http
({
url
:
'rop-scrm-entmicro/router'
,
method
:
'POST'
,
data
:
params
,
sign
:
true
})
}
// 更新活码
const
updateActiveCode
=
params
=>
{
params
.
method
=
'scrm.api.equity.service.merchant.qrcode.update'
return
http
({
url
:
'rop-scrm-equity/router'
,
method
:
'POST'
,
data
:
params
,
sign
:
true
})
}
// 获取汇总订单列表
const
getOrdersummary
=
params
=>
{
params
.
method
=
'scrm.api.equity.service.order.summary.page'
return
http
({
url
:
'rop-scrm-equity/router'
,
method
:
'POST'
,
data
:
params
,
sign
:
true
})
}
// 获取汇总产品列表
const
getSummaryPackage
=
params
=>
{
params
.
method
=
'scrm.api.equity.service.summary.package'
return
http
({
url
:
'rop-scrm-equity/router'
,
method
:
'POST'
,
data
:
params
,
sign
:
true
})
}
const
getSummaryExportApi
=
params
=>
{
params
.
method
=
`scrm.api.equity.service.order.summary.export`
return
http
({
url
:
'rop-scrm-equity/router'
,
method
:
'GET'
,
data
:
params
,
sign
:
true
})
}
export
default
{
getOrdersummary
,
getSummaryPackage
,
getSummaryExportApi
,
getUserInfoApi
,
getCountNoDataApi
,
getListApi
,
getMerchantApi
,
getExportApi
,
getPriteApi
,
getCarBrandListApi
,
getCarChildListApi
,
getCarTypeListApi
,
getCarSeriesListApi
,
getHotlineApi
,
getDefaultCarbrandApi
,
updateHotlineApi
,
updateCarBrandApi
,
getProListApi
,
getPackageListApi
,
getEquityApi
,
updateEquityApi
,
createCodeApi
,
getOrderAttrApi
,
getAllOrderValueApi
,
verifyOrderApi
,
checkOrderApi
,
updateOrderApi
,
uploadImgApi
,
backOrderApi
,
aduitOrderApi
,
judgeSetting
,
spaAgressData
,
merchantInfo
,
dateBycarNo
,
activeCodeList
,
updateActiveCode
}
src/views/beforeSale/equitySummary.vue
View file @
0ae027a
...
...
@@ -27,10 +27,7 @@ export default {
searchForm
:
{
orderStatus
:
''
,
packageCode
:
''
,
completionStatus
:
''
,
auditStatus
:
''
,
channel
:
''
,
dataPerfection
:
''
,
successDate
:
[],
effectiveDate
:
[]
},
...
...
@@ -61,6 +58,10 @@ export default {
{
label
:
'车架号'
,
name
:
'vin'
},
{
label
:
'店面名称'
,
name
:
'merchantName'
}
],
handleSelectChange
:
value
=>
{
...
...
@@ -110,7 +111,7 @@ export default {
}
],
// 表格
getListApi
:
this
.
$apis
.
beforeSale
.
get
ListApi
,
getListApi
:
this
.
$apis
.
beforeSale
.
get
Ordersummary
,
tableParams
:
{
listName
:
'list'
,
tableOption
:
false
,
...
...
@@ -194,7 +195,7 @@ export default {
prop
:
'orderStatus'
,
width
:
'170px'
,
formatter
:
cellValue
=>
{
return
this
.
baseData
.
orderStatusList
.
map
(
item
=>
item
.
confId
).
includes
(
cellValue
.
orderStatus
)
?
this
.
baseData
.
orderStatus
List
.
find
(
item
=>
item
.
confId
==
cellValue
.
orderStatus
).
confName
:
'--'
return
this
.
baseData
.
completList
.
map
(
item
=>
item
.
confId
).
includes
(
cellValue
.
orderStatus
)
?
this
.
baseData
.
complet
List
.
find
(
item
=>
item
.
confId
==
cellValue
.
orderStatus
).
confName
:
'--'
}
},
{
...
...
@@ -215,11 +216,11 @@ export default {
mdList
:
[],
channelList
:
[
{
confId
:
0
,
confId
:
1
,
confName
:
'嘀加'
},
{
confId
:
1
,
confId
:
2
,
confName
:
'广汇'
}
],
...
...
@@ -280,7 +281,7 @@ export default {
},
mounted
()
{
this
.
$apis
.
beforeSale
.
get
ProListApi
({}).
then
(
res
=>
{
this
.
$apis
.
beforeSale
.
get
SummaryPackage
({}).
then
(
res
=>
{
this
.
baseData
.
goodsStatusList
=
res
this
.
getOptionsList
(
'searchFormData'
)
})
...
...
@@ -352,7 +353,7 @@ export default {
// 导出
handleExport
()
{
var
params
=
this
.
getParams
()
this
.
$apis
.
beforeSale
.
getExportApi
(
params
).
then
(
res
=>
{
this
.
$apis
.
beforeSale
.
get
Summary
ExportApi
(
params
).
then
(
res
=>
{
// window.open(res)
let
tempaa
=
utils
.
getExplorer
()
if
(
tempaa
==
'QQ'
)
{
...
...
@@ -374,10 +375,7 @@ export default {
this
.
searchForm
=
{
orderStatus
:
''
,
packageCode
:
''
,
completionStatus
:
''
,
auditStatus
:
''
,
channel
:
''
,
dataPerfection
:
''
,
successDate
:
[],
effectiveDate
:
[]
}
...
...
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