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
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
55 additions
and
26 deletions
src/api/modules/beforeSale.js
src/views/beforeSale/equitySummary.vue
src/api/modules/beforeSale.js
View file @
0ae027a
...
@@ -325,7 +325,7 @@ const spaAgressData = params => {
...
@@ -325,7 +325,7 @@ const spaAgressData = params => {
url
:
'rop-scrm-equity/router'
,
url
:
'rop-scrm-equity/router'
,
method
:
'POST'
,
method
:
'POST'
,
data
:
params
,
data
:
params
,
sign
:
true
,
sign
:
true
})
})
}
}
...
@@ -336,39 +336,70 @@ const merchantInfo = params => {
...
@@ -336,39 +336,70 @@ const merchantInfo = params => {
url
:
'rop-scrm-equity/router'
,
url
:
'rop-scrm-equity/router'
,
method
:
'POST'
,
method
:
'POST'
,
data
:
params
,
data
:
params
,
sign
:
true
,
sign
:
true
})
})
}
}
// 卡号---获取期限
// 卡号---获取期限
const
dateBycarNo
=
params
=>
{
const
dateBycarNo
=
params
=>
{
params
.
method
=
'scrm.api.equity.service.cfc.get.by.seqno'
params
.
method
=
'scrm.api.equity.service.cfc.get.by.seqno'
return
http
({
return
http
({
url
:
'rop-scrm-equity/router'
,
url
:
'rop-scrm-equity/router'
,
method
:
'POST'
,
method
:
'POST'
,
data
:
params
,
data
:
params
,
sign
:
true
,
sign
:
true
})
})
}
}
// 获取活码列表-
// 获取活码列表-
const
activeCodeList
=
params
=>
{
const
activeCodeList
=
params
=>
{
params
.
method
=
'entmicro.api.code.getFreeChannelCode'
params
.
method
=
'entmicro.api.code.getFreeChannelCode'
return
http
({
return
http
({
url
:
'rop-scrm-entmicro/router'
,
url
:
'rop-scrm-entmicro/router'
,
method
:
'POST'
,
method
:
'POST'
,
data
:
params
,
data
:
params
,
sign
:
true
,
sign
:
true
})
})
}
}
// 更新活码
// 更新活码
const
updateActiveCode
=
params
=>
{
const
updateActiveCode
=
params
=>
{
params
.
method
=
'scrm.api.equity.service.merchant.qrcode.update'
params
.
method
=
'scrm.api.equity.service.merchant.qrcode.update'
return
http
({
return
http
({
url
:
'rop-scrm-equity/router'
,
url
:
'rop-scrm-equity/router'
,
method
:
'POST'
,
method
:
'POST'
,
data
:
params
,
data
:
params
,
sign
:
true
,
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
{
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
\ No newline at end of file
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 {
...
@@ -27,10 +27,7 @@ export default {
searchForm
:
{
searchForm
:
{
orderStatus
:
''
,
orderStatus
:
''
,
packageCode
:
''
,
packageCode
:
''
,
completionStatus
:
''
,
auditStatus
:
''
,
channel
:
''
,
channel
:
''
,
dataPerfection
:
''
,
successDate
:
[],
successDate
:
[],
effectiveDate
:
[]
effectiveDate
:
[]
},
},
...
@@ -61,6 +58,10 @@ export default {
...
@@ -61,6 +58,10 @@ export default {
{
{
label
:
'车架号'
,
label
:
'车架号'
,
name
:
'vin'
name
:
'vin'
},
{
label
:
'店面名称'
,
name
:
'merchantName'
}
}
],
],
handleSelectChange
:
value
=>
{
handleSelectChange
:
value
=>
{
...
@@ -110,7 +111,7 @@ export default {
...
@@ -110,7 +111,7 @@ export default {
}
}
],
],
// 表格
// 表格
getListApi
:
this
.
$apis
.
beforeSale
.
get
ListApi
,
getListApi
:
this
.
$apis
.
beforeSale
.
get
Ordersummary
,
tableParams
:
{
tableParams
:
{
listName
:
'list'
,
listName
:
'list'
,
tableOption
:
false
,
tableOption
:
false
,
...
@@ -194,7 +195,7 @@ export default {
...
@@ -194,7 +195,7 @@ export default {
prop
:
'orderStatus'
,
prop
:
'orderStatus'
,
width
:
'170px'
,
width
:
'170px'
,
formatter
:
cellValue
=>
{
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 {
...
@@ -215,11 +216,11 @@ export default {
mdList
:
[],
mdList
:
[],
channelList
:
[
channelList
:
[
{
{
confId
:
0
,
confId
:
1
,
confName
:
'嘀加'
confName
:
'嘀加'
},
},
{
{
confId
:
1
,
confId
:
2
,
confName
:
'广汇'
confName
:
'广汇'
}
}
],
],
...
@@ -280,7 +281,7 @@ export default {
...
@@ -280,7 +281,7 @@ export default {
},
},
mounted
()
{
mounted
()
{
this
.
$apis
.
beforeSale
.
get
ProListApi
({}).
then
(
res
=>
{
this
.
$apis
.
beforeSale
.
get
SummaryPackage
({}).
then
(
res
=>
{
this
.
baseData
.
goodsStatusList
=
res
this
.
baseData
.
goodsStatusList
=
res
this
.
getOptionsList
(
'searchFormData'
)
this
.
getOptionsList
(
'searchFormData'
)
})
})
...
@@ -352,7 +353,7 @@ export default {
...
@@ -352,7 +353,7 @@ export default {
// 导出
// 导出
handleExport
()
{
handleExport
()
{
var
params
=
this
.
getParams
()
var
params
=
this
.
getParams
()
this
.
$apis
.
beforeSale
.
getExportApi
(
params
).
then
(
res
=>
{
this
.
$apis
.
beforeSale
.
get
Summary
ExportApi
(
params
).
then
(
res
=>
{
// window.open(res)
// window.open(res)
let
tempaa
=
utils
.
getExplorer
()
let
tempaa
=
utils
.
getExplorer
()
if
(
tempaa
==
'QQ'
)
{
if
(
tempaa
==
'QQ'
)
{
...
@@ -374,10 +375,7 @@ export default {
...
@@ -374,10 +375,7 @@ export default {
this
.
searchForm
=
{
this
.
searchForm
=
{
orderStatus
:
''
,
orderStatus
:
''
,
packageCode
:
''
,
packageCode
:
''
,
completionStatus
:
''
,
auditStatus
:
''
,
channel
:
''
,
channel
:
''
,
dataPerfection
:
''
,
successDate
:
[],
successDate
:
[],
effectiveDate
:
[]
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