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
05a03585
Commit
05a03585
authored
Jul 29, 2021
by
liuchenxi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update: 触达效果
parent
b57185d4
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
27 deletions
+18
-27
ecmApi.js
src/service/api/ecmApi.js
+3
-7
touch-clue.vue
src/views/ecm/touch-clue.vue
+15
-20
No files found.
src/service/api/ecmApi.js
View file @
05a03585
...
...
@@ -56,23 +56,19 @@ export const getCardLeadsList = params => requests(PREFIX + 'getCardLeadsList',
// 计划整体详情
export
const
overAllList
=
params
=>
requests
(
PREFIX
+
'ecmOverAllTable'
,
params
);
// 单独数据
export
const
overAllTable
=
params
=>
requests
(
PREFIX
+
'ecmOverAllPage'
,
params
);
// 下钻表格
export
const
overAllTableExport
=
config
.
api
+
PREFIX
+
'ecmOverAllPageExport'
;
// 导出数据
// 话务详情
export
const
telTaskDiagram
=
params
=>
requests
(
PREFIX
+
'ecmTelTaskColumnDiagram'
,
params
);
// 柱线图
export
const
telTaskList
=
params
=>
requests
(
PREFIX
+
'ecmTelTaskTable'
,
params
);
// 单独数据
export
const
telTaskTable
=
params
=>
requests
(
PREFIX
+
'ecmTelTaskPage'
,
params
);
// 下钻表格
export
const
telTaskTableExport
=
config
.
api
+
PREFIX
+
'ecmTelTaskPageExport'
;
// 导出数据
// 群发详情
export
const
massDiagram
=
params
=>
requests
(
PREFIX
+
'ecmMassColumnDiagram'
,
params
);
// 柱线图
export
const
massList
=
params
=>
requests
(
PREFIX
+
'ecmMassTaskTable'
,
params
);
// 单独数据
export
const
massTable
=
params
=>
requests
(
PREFIX
+
'ecmMassTaskPage'
,
params
);
// 下钻表格
export
const
massTableExport
=
config
.
api
+
PREFIX
+
'ecmMassTaskPageExport'
;
// 导出数据
// 智能营销线索页tree
export
const
getGroupTree
=
params
=>
requests
(
PREFIX
+
'getGroupTree'
,
params
);
// export
export
const
getTabList
=
params
=>
requests
(
PREFIX
+
'ecmGuideCluesTableLabel'
,
params
);
// 智能营销导出表格
export
const
otherTableExoport
=
config
.
api
+
PREFIX
+
'ecmGuideCluesTouchEffectTabExport'
;
// // 触达效果-其他tab-表格
export
const
allConvTableExport
=
config
.
api
+
PREFIX
+
'ecmGuideCluesTouchEffectTotalTabExport'
;
// 触达效果-整体转化-表格
export
const
taskTableExport
=
config
.
api
+
PREFIX
+
'ecmGuideCluesTaskTableExport'
;
// 触达效果-任务完成情况表格
export
const
headClueTableExport
=
config
.
api
+
PREFIX
+
'ecmHeadCluesTaskTabExport'
;
// 触达效果-后台线索表格
export
const
getUseStoredFalg
=
params
=>
requests
(
PREFIX
+
'get-ecm-store-flag'
,
params
);
...
...
src/views/ecm/touch-clue.vue
View file @
05a03585
...
...
@@ -47,7 +47,7 @@
</template>
<
script
>
import
{
getGroupTree
,
overAllList
,
massList
,
telTaskList
,
overAllTable
,
telTaskTable
,
massTable
}
from
'@/service/api/ecmApi.js'
;
import
{
getGroupTree
,
overAllList
,
massList
,
telTaskList
,
overAllTable
,
telTaskTable
,
massTable
,
overAllTableExport
,
telTaskTableExport
,
massTableExport
}
from
'@/service/api/ecmApi.js'
;
import
marketList
from
'@/views/ecm/touch-components/market-list.vue'
;
import
batchToTelList
from
'@/views/ecm/touch-components/batch-send/batch-fail-phone.vue'
;
import
batchTaskList
from
'@/views/ecm/touch-components/batch-send/batch-send-sum.vue'
;
...
...
@@ -371,22 +371,14 @@ export default {
cdkeyExport
()
{
this
.
exportDialog
=
true
;
let
meth
;
let
params
=
{
requestProject
:
'marketing'
,
ecmPlanId
:
this
.
$route
.
query
.
id
,
pageNum
:
this
.
currentPage
,
pageSize
:
this
.
pageSize
,
orderBy
:
this
.
listTabsIndex
==
1
?
this
.
touchOrderBy
:
this
.
taskOrderBy
,
storeGroupId
:
this
.
storeGroupId
,
level
:
this
.
level
};
// if (this.type == 2) {
// meth = headClueTableExport;
// } else {
// if (this.listTabsIndex == 0) {
// meth = taskTableExport;
// if (this.taskTabIndex != 0) params.taskType = this.taskTabIndex;
// } else {
// if (this.tabsIndex == 0) {
// meth = allConvTableExport;
// } else {
// meth = otherTableExoport;
// params.touchTypes = this.tabsIndex;
// }
// }
// }
let
params
=
{
requestProject
:
'marketing'
,
ecmPlanId
:
this
.
$route
.
query
.
id
,
pageNum
:
this
.
currentPage
,
pageSize
:
this
.
pageSize
,
orderBy
:
this
.
listTabsIndex
==
1
?
this
.
touchOrderBy
:
this
.
taskOrderBy
,
storeGroupId
:
this
.
storeGroupId
,
level
:
this
.
level
,
type
:
this
.
listTabsIndex
?
1
:
2
};
if
(
this
.
type
==
'计划整体'
)
{
meth
=
overAllTableExport
;
}
else
if
(
this
.
type
.
indexOf
(
'话务'
)
!=
-
1
)
{
meth
=
telTaskTableExport
;
}
else
{
meth
=
massTableExport
;
}
this
.
excelUrl
=
meth
;
this
.
params
=
params
;
},
...
...
@@ -454,9 +446,9 @@ export default {
border-top
:
1px
solid
#dcdfe6
;
.tree
{
display
:
inline-block
;
width
:
2
2
3px
;
width
:
2
4
3px
;
font-size
:
14px
;
padding
:
20px
20px
0
0
;
padding
-top
:
20px
;
border-right
:
1px
solid
#dcdfe6
;
.node-label
{
font-family
:
PingFangSC-Regular
,
PingFang
SC
;
...
...
@@ -473,6 +465,9 @@ export default {
margin-left
:
31px
;
color
:
#606266
;
}
/
deep
/
.el-tree-node__content
{
padding-right
:
20px
;
}
/
deep
/
.el-tree-node__content
:hover
{
background
:
rgba
(
24
,
144
,
255
,
0.06
);
}
...
...
@@ -492,7 +487,7 @@ export default {
display
:
inline-block
;
padding
:
0
20px
20px
;
box-sizing
:
border-box
;
width
:
calc
(
100%
-
2
44
px
);
width
:
calc
(
100%
-
2
50
px
);
.top
{
display
:
flex
;
justify-content
:
space-between
;
...
...
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