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
aeb84db8
Commit
aeb84db8
authored
Aug 04, 2022
by
crushh
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update: dist
parent
8a7d8c73
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
13 deletions
+22
-13
task.vue
src/views/ai/task/task.vue
+22
-13
No files found.
src/views/ai/task/task.vue
View file @
aeb84db8
...
...
@@ -90,7 +90,7 @@
</template>
<
script
>
import
{
page
,
rechargeCenter
,
stopActivityPlan
,
startActivityPlan
,
pageStatistics
,
aiAccountCheck
}
from
'@/service/api/aiApi.js'
;
import
{
page
,
rechargeCenter
,
stopActivityPlan
,
startActivityPlan
,
pageStatistics
,
aiAccountCheck
,
aiDictList
}
from
'@/service/api/aiApi.js'
;
import
{
formatDateTimeByType
}
from
'@/utils/index.js'
;
import
filterAvater
from
'@/mixins/filterAvater.js'
;
...
...
@@ -205,34 +205,34 @@ export default {
}
}
],
c
ardContent
:
[
originC
ardContent
:
[
{
title
:
'客户生日'
,
scene
:
1
,
scene
:
'1'
,
iconName
:
'icon-shengrizunxiang'
,
content
:
'针对生日客户进行营销,提高会员粘性'
},
{
title
:
'节日活动邀约'
,
scene
:
2
,
scene
:
'2'
,
iconName
:
'icon-huodongyaoyue'
,
content
:
'节日活动邀约,会员专享权益,提升门店营业额'
},
{
title
:
'加企微好友'
,
scene
:
3
,
scene
:
'3'
,
iconName
:
'icon-qiweihaoyou'
,
content
:
'针对未添加企微好友的客户进行营销,添加企微好友'
},
{
title
:
'客户复购'
,
scene
:
4
,
scene
:
'4'
,
iconName
:
'icon-kehufugouguanli'
,
content
:
'针对消费过的客户进行营销,提升核心客户数量'
},
{
title
:
'其它场景'
,
scene
:
0
,
scene
:
'0'
,
iconName
:
'icon-qitachangjing'
,
content
:
'自定义营销场景'
}
...
...
@@ -289,15 +289,17 @@ export default {
3
:
'dm-status--error'
,
4
:
'dm-status--info'
,
5
:
'dm-status--warning'
}
},
cardContent
:
[]
};
},
created
()
{
if
(
window
.
location
.
host
!=
'gicdev.demogic.com'
&&
!
window
.
location
.
host
.
includes
(
'localhost'
))
{
this
.
cardContent
.
splice
(
2
,
1
);
}
},
//
created() {
//
if (window.location.host != 'gicdev.demogic.com' && !window.location.host.includes('localhost')) {
//
this.cardContent.splice(2, 1);
//
}
//
},
mounted
()
{
this
.
getAiDictList
();
this
.
getTableData
();
this
.
getRechargeCenter
();
this
.
getAiAccountCheck
();
...
...
@@ -373,6 +375,13 @@ export default {
}
},
methods
:
{
getAiDictList
()
{
aiDictList
({
dictType
:
'marketing_activity_scene'
}).
then
(
res
=>
{
let
arr
=
res
.
result
||
[];
let
codeArr
=
arr
.
map
(
item
=>
item
.
dict_code
);
this
.
cardContent
=
this
.
originCardContent
.
filter
(
item
=>
codeArr
.
includes
(
item
.
scene
));
});
},
create
(
scene
,
id
)
{
if
(
!
this
.
canCreate
)
{
this
.
$confirm
(
`当前账户已无可用余额,请充值后再
${
id
?
'复制'
:
'创建'
}
外呼任务`
,
'提示'
,
{
...
...
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