Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
江名洋
/
linkwe-scrm
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 511eafef
authored
Jun 21, 2023
by
ext.wangyuman1
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
朋友圈模块
1 parent
2085208e
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
18 additions
and
17 deletions
vue3-lw-pc/src/views/friendCircle/components/Custom.vue
vue3-lw-pc/src/views/friendCircle/components/Interaction.vue
vue3-lw-pc/src/views/friendCircle/components/Staff.vue
vue3-lw-pc/src/views/friendCircle/components/Custom.vue
View file @
511eafe
...
@@ -72,7 +72,7 @@ import ChartBar from '@/components/ChartBar.vue'
...
@@ -72,7 +72,7 @@ import ChartBar from '@/components/ChartBar.vue'
import
ChartLine
from
'@/components/ChartLine.vue'
import
ChartLine
from
'@/components/ChartLine.vue'
import
SelectDept
from
'@/components/SelectDept'
import
SelectDept
from
'@/components/SelectDept'
import
{
getTableTotal
}
from
'@/api/contentCenter/common.js'
import
{
getTableTotal
}
from
'@/api/contentCenter/common.js'
import
{
statistic
Moments
}
from
'@/api/circle'
import
{
statistic
Customer
}
from
'@/api/circle'
export
default
{
export
default
{
name
:
'scene-statistics-scene'
,
name
:
'scene-statistics-scene'
,
...
@@ -143,13 +143,13 @@ export default {
...
@@ -143,13 +143,13 @@ export default {
},
},
methods
:
{
methods
:
{
getTabTotalFn
()
{
getTabTotalFn
()
{
statistic
Moments
(
this
.
id
).
then
((
res
)
=>
{
statistic
Customer
(
this
.
id
).
then
((
res
)
=>
{
this
.
cardData
[
0
].
value
=
res
.
data
.
inviterOldCustomerNum
this
.
cardData
[
0
].
value
=
res
.
data
.
predictSend
this
.
cardData
[
1
].
value
=
res
.
data
.
completeTaskOldCustomerNum
this
.
cardData
[
1
].
value
=
res
.
data
.
nonSend
this
.
cardData
[
2
].
value
=
res
.
data
.
fissionCustomerNum
this
.
cardData
[
2
].
value
=
res
.
data
.
sent
this
.
cardData
[
3
].
value
=
res
.
data
.
tdCompleteTaskOldCustomerNum
this
.
cardData
[
3
].
value
=
res
.
data
.
failSend
if
(
this
.
type
!==
3
)
{
if
(
this
.
type
!==
3
)
{
this
.
cardData
[
4
].
value
=
res
.
data
.
t
dCompleteTaskOldCustomerNum
this
.
cardData
[
4
].
value
=
res
.
data
.
t
odaySend
}
}
})
})
},
},
...
...
vue3-lw-pc/src/views/friendCircle/components/Interaction.vue
View file @
511eafe
...
@@ -12,7 +12,7 @@
...
@@ -12,7 +12,7 @@
</
template
>
</
template
>
<
script
>
<
script
>
import
{
statistic
Moments
}
from
'@/api/circle'
import
{
statistic
Interact
}
from
'@/api/circle'
import
Record
from
'./Record.vue'
import
Record
from
'./Record.vue'
import
ViewDetail
from
'./ViewDetail'
import
ViewDetail
from
'./ViewDetail'
export
default
{
export
default
{
...
@@ -61,12 +61,12 @@ export default {
...
@@ -61,12 +61,12 @@ export default {
},
},
methods
:
{
methods
:
{
getTabTotalFn
()
{
getTabTotalFn
()
{
statistic
Moments
(
this
.
id
).
then
((
res
)
=>
{
statistic
Interact
(
this
.
id
).
then
((
res
)
=>
{
this
.
cardData
[
0
].
value
=
res
.
data
.
inviterOldCustomerNum
this
.
cardData
[
0
].
value
=
res
.
data
.
like
this
.
cardData
[
1
].
value
=
res
.
data
.
com
pleteTaskOldCustomerNum
this
.
cardData
[
1
].
value
=
res
.
data
.
com
ment
if
(
this
.
type
===
1
)
{
if
(
this
.
type
===
1
)
{
this
.
cardData
[
2
].
value
=
res
.
data
.
fissionCustomerNum
this
.
cardData
[
2
].
value
=
res
.
data
.
people
this
.
cardData
[
3
].
value
=
res
.
data
.
tdCompleteTaskOldCustomerNum
this
.
cardData
[
3
].
value
=
res
.
data
.
count
}
}
})
})
},
},
...
...
vue3-lw-pc/src/views/friendCircle/components/Staff.vue
View file @
511eafe
...
@@ -158,10 +158,11 @@ export default {
...
@@ -158,10 +158,11 @@ export default {
methods
:
{
methods
:
{
getTabTotalFn
()
{
getTabTotalFn
()
{
statisticMoments
(
this
.
id
).
then
((
res
)
=>
{
statisticMoments
(
this
.
id
).
then
((
res
)
=>
{
this
.
cardData
[
0
].
value
=
res
.
data
.
inviterOldCustomerNum
this
.
cardData
[
0
].
value
=
res
.
data
.
targetExecute
this
.
cardData
[
1
].
value
=
res
.
data
.
completeTaskOldCustomerNum
this
.
cardData
[
1
].
value
=
res
.
data
.
nonExecute
this
.
cardData
[
2
].
value
=
res
.
data
.
fissionCustomerNum
this
.
cardData
[
2
].
value
=
res
.
data
.
executed
this
.
cardData
[
3
].
value
=
res
.
data
.
tdCompleteTaskOldCustomerNum
this
.
cardData
[
3
].
value
=
res
.
data
.
todayExecute
this
.
cardData
[
4
].
value
=
res
.
data
.
remindCount
})
})
},
},
remind
(
id
)
{
remind
(
id
)
{
...
...
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