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 ece6be4a
authored
Dec 28, 2023
by
zhangquan
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
耀美版本开发
1 parent
4dd209b8
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
33 additions
and
33 deletions
src/api/modules/beforeSale.js
src/views/beforeSale/equitySummary.vue
src/api/modules/beforeSale.js
View file @
ece6be4
...
...
@@ -381,6 +381,17 @@ const getOrdersummary = params => {
})
}
// 获取汇总渠道类型
const
getChannelTypeApi
=
params
=>
{
params
.
method
=
'scrm.api.equity.service.order.summary.sub.channel.type.list'
return
http
({
url
:
'rop-scrm-equity/router'
,
method
:
'POST'
,
data
:
params
,
sign
:
true
})
}
// 获取汇总产品列表
const
getSummaryPackage
=
params
=>
{
params
.
method
=
'scrm.api.equity.service.summary.package'
...
...
@@ -402,4 +413,4 @@ const getSummaryExportApi = params => {
})
}
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
}
export
default
{
getOrdersummary
,
get
ChannelTypeApi
,
get
SummaryPackage
,
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 @
ece6be4
...
...
@@ -110,8 +110,8 @@ export default {
name
:
'subChannel'
,
type
:
'select'
,
optionList
:
[],
optionId
:
'c
onfId
'
,
optionLabel
:
'c
onf
Name'
,
optionId
:
'c
hannelTypeValue
'
,
optionLabel
:
'c
hannelType
Name'
,
optionsName
:
'subChannelList'
},
{
...
...
@@ -223,7 +223,7 @@ export default {
prop
:
'equippedCardFlag'
,
width
:
100
,
formatter
:
cellValue
=>
{
return
cellValue
.
equippedCardFlag
==
1
?
'是'
:
'否'
return
cellValue
.
equippedCardFlag
==
1
?
'是'
:
'否'
}
},
{
...
...
@@ -231,7 +231,7 @@ export default {
prop
:
'cardSeqNo'
,
width
:
'180px'
,
formatter
:
cellValue
=>
{
return
cellValue
.
equippedCardFlag
==
1
?
cellValue
.
cardSeqNo
:
'--'
return
cellValue
.
equippedCardFlag
==
1
?
cellValue
.
cardSeqNo
:
'--'
}
},
{
...
...
@@ -239,7 +239,7 @@ export default {
prop
:
'cardSeqNo'
,
width
:
'120px'
,
formatter
:
cellValue
=>
{
return
cellValue
.
snFlag
==
1
?
'是'
:
'否'
return
cellValue
.
snFlag
==
1
?
'是'
:
'否'
}
},
{
...
...
@@ -247,7 +247,7 @@ export default {
prop
:
'sns'
,
width
:
'180px'
,
formatter
:
cellValue
=>
{
return
cellValue
.
snFlag
==
1
?
cellValue
.
sns
:
'--'
return
cellValue
.
snFlag
==
1
?
cellValue
.
sns
:
'--'
}
},
{
...
...
@@ -278,10 +278,8 @@ export default {
},
{
label
:
'渠道'
,
width
:
'170px'
,
formatter
:
cellValue
=>
{
return
cellValue
.
subChannelType
?
(
this
.
baseData
.
subChannelList
.
find
(
item
=>
item
.
confId
==
cellValue
.
subChannelType
)?.
confName
||
'--'
)
:
'--'
}
prop
:
'subChannelTypeName'
,
width
:
'170px'
},
{
label
:
'操作人'
,
...
...
@@ -309,28 +307,7 @@ export default {
confName
:
'广汇'
}
],
subChannelList
:
[
{
confId
:
11
,
confName
:
'嘀加scrm'
},
{
confId
:
12
,
confName
:
'嘀加智慧门店'
},
{
confId
:
21
,
confName
:
'广汇爱车保镖'
},
{
confId
:
22
,
confName
:
'广汇scrm'
},
{
confId
:
31
,
confName
:
'frms&虎哥e盾'
}
],
subChannelList
:
[],
cardFlagList
:
[
{
confId
:
1
,
...
...
@@ -407,6 +384,10 @@ export default {
}
},
created
()
{
this
.
getChannelType
()
},
mounted
()
{
this
.
$apis
.
beforeSale
.
getSummaryPackage
({}).
then
(
res
=>
{
this
.
baseData
.
goodsStatusList
=
res
...
...
@@ -415,6 +396,14 @@ export default {
},
methods
:
{
//获取渠道枚举
getChannelType
()
{
this
.
$apis
.
beforeSale
.
getChannelTypeApi
({}).
then
(
res
=>
{
if
(
res
?.
length
)
{
this
.
baseData
.
subChannelList
=
res
}
})
},
getSelectInputParams
()
{
const
list
=
Object
.
keys
(
this
.
searchSelectObj
)
var
params
=
{}
...
...
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