Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
marketing
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
marketing-web
marketing
Commits
7cc7c8ff
Commit
7cc7c8ff
authored
Apr 25, 2021
by
liuchenxi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
--触达效果--
parent
7878e30d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
8 deletions
+11
-8
list.vue
src/views/ecm/list.vue
+1
-1
touch-clue.vue
src/views/ecm/touch-clue.vue
+10
-7
No files found.
src/views/ecm/list.vue
View file @
7cc7c8ff
...
...
@@ -187,6 +187,7 @@ export default {
activitySelect
},
created
()
{
this
.
setXsxsFlag
();
getUseStoredFalg
().
then
(
res
=>
{
if
(
res
.
result
.
useStoredFlag
)
{
this
.
marketingTypeOptions
.
find
(
el
=>
el
.
value
==
'grade'
).
visible
=
true
;
...
...
@@ -198,7 +199,6 @@ export default {
{
name
:
'营销管理'
,
path
:
''
},
{
name
:
'智能营销'
,
path
:
'/ecm'
}
]);
// eslint-disable-line
this
.
setXsxsFlag
();
},
methods
:
{
search
()
{
...
...
src/views/ecm/touch-clue.vue
View file @
7cc7c8ff
...
...
@@ -72,6 +72,10 @@ export default {
],
taskTabs
:
[
{
name
:
'合计'
,
value
:
0
},
{
name
:
'企业微信'
,
value
:
1
},
...
...
@@ -82,7 +86,7 @@ export default {
],
listTabs
:
[
'任务完成情况'
,
'触达效果'
],
tabsIndex
:
0
,
taskTabIndex
:
1
,
taskTabIndex
:
0
,
listTabsIndex
:
1
,
type
:
1
,
// 1导购 2后台
marketListData
:
[],
...
...
@@ -118,14 +122,11 @@ export default {
changeTabs
(
index
)
{
if
(
this
.
listTabsIndex
==
1
)
{
if
(
this
.
tabsIndex
==
index
)
return
;
this
.
touchOrderBy
=
''
;
this
.
tabsIndex
=
index
;
}
else
{
if
(
this
.
taskTabIndex
==
index
)
return
;
this
.
taskOrderBy
=
''
;
this
.
taskTabIndex
=
index
;
}
this
.
$refs
.
table
.
clearSort
();
this
.
getTableFirstData
();
},
changeListTab
(
index
)
{
...
...
@@ -225,7 +226,7 @@ export default {
if
(
this
.
listTabsIndex
==
0
)
{
// 任务完成情况
meth
=
ecmGuideCluesTaskTable
;
params
.
taskType
=
this
.
taskTabIndex
;
if
(
this
.
taskTabIndex
!=
0
)
params
.
taskType
=
this
.
taskTabIndex
;
}
else
{
if
(
this
.
tabsIndex
==
0
)
{
// 整体计划tab是单独的接口
...
...
@@ -238,7 +239,10 @@ export default {
}
}
meth
(
params
).
then
(
res
=>
{
if
(
!
res
.
result
.
result
||
!
res
.
result
.
result
.
length
)
return
;
if
(
!
res
.
result
.
result
||
!
res
.
result
.
result
.
length
)
{
this
.
tableList
=
[];
return
;
}
if
(
this
.
currentPage
==
1
&&
this
.
listTabsIndex
!=
0
)
{
// 任务完成情况无表头
let
resetArr
=
[];
...
...
@@ -277,7 +281,6 @@ export default {
});
},
sortChange
(
column
)
{
console
.
log
(
column
);
let
prop
=
column
.
prop
;
let
orderby
=
column
.
order
;
if
(
orderby
==
'descending'
)
orderby
=
'desc'
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment