Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-marketing
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 7c40ae4e
authored
Jul 24, 2023
by
王志慧
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fixed
1 parent
c1753a4f
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
13 deletions
src/common/constant.js
src/views/memberCenter/center.vue
src/views/sop/sopAnalysis/resultList.vue
src/common/constant.js
View file @
7c40ae4
...
@@ -213,6 +213,14 @@ const memberTypeList = [
...
@@ -213,6 +213,14 @@ const memberTypeList = [
{
{
confId
:
2
,
confId
:
2
,
confName
:
'试用会员'
confName
:
'试用会员'
},
{
confId
:
3
,
confName
:
'金卡会员'
},
{
confId
:
4
,
confName
:
'银卡会员'
}
}
]
]
const
stateList
=
[
const
stateList
=
[
...
...
src/views/memberCenter/center.vue
View file @
7c40ae4
...
@@ -583,16 +583,6 @@ export default {
...
@@ -583,16 +583,6 @@ export default {
return
str
return
str
},
},
addMemberTypeList
()
{
addMemberTypeList
()
{
this
.
baseData
.
memberTypeList
.
push
(
{
confId
:
3
,
confName
:
'金卡会员'
},
{
confId
:
4
,
confName
:
'银卡会员'
}
)
this
.
baseData
.
memberTypeLists
.
push
(
this
.
baseData
.
memberTypeLists
.
push
(
{
{
dictValue
:
3
,
dictValue
:
3
,
...
...
src/views/sop/sopAnalysis/resultList.vue
View file @
7c40ae4
...
@@ -86,10 +86,10 @@ export default {
...
@@ -86,10 +86,10 @@ export default {
handleRates
()
{
handleRates
()
{
const
{
marketingCustomerCount
,
reachCustomerCount
,
potentialCustomerCount
,
dealCustomerCount
}
=
this
.
list
const
{
marketingCustomerCount
,
reachCustomerCount
,
potentialCustomerCount
,
dealCustomerCount
}
=
this
.
list
this
.
rates
.
reachRate
=
parseFloat
(((
reachCustomerCount
/
marketingCustomerCount
)
*
100
).
toFixed
(
2
))
this
.
rates
.
reachRate
=
!
marketingCustomerCount
?
'-'
:
parseFloat
(((
reachCustomerCount
/
marketingCustomerCount
)
*
100
).
toFixed
(
2
))
this
.
rates
.
percentConversion
this
.
rates
.
percentConversion
=
parseFloat
(((
potentialCustomerCount
/
reachCustomerCount
)
*
100
).
toFixed
(
2
))
=
!
reachCustomerCount
?
'-'
:
parseFloat
(((
potentialCustomerCount
/
reachCustomerCount
)
*
100
).
toFixed
(
2
))
this
.
rates
.
turnoverRatio
=
parseFloat
(((
dealCustomerCount
/
potentialCustomerCount
)
*
100
).
toFixed
(
2
))
this
.
rates
.
turnoverRatio
=
!
potentialCustomerCount
?
'-'
:
parseFloat
(((
dealCustomerCount
/
potentialCustomerCount
)
*
100
).
toFixed
(
2
))
}
}
}
}
}
}
...
...
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