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
4162af00
Commit
4162af00
authored
Jan 19, 2022
by
caoyanzhi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update: 时效切换时,重置营销事件
parent
88f8e8c1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
0 deletions
+23
-0
index.vue
src/views/ecm/marketing-event/index.vue
+23
-0
No files found.
src/views/ecm/marketing-event/index.vue
View file @
4162af00
...
...
@@ -226,6 +226,29 @@ export default {
}
},
watch
:
{
effectType
(
newType
,
oldType
)
{
// 触点切换成单次或重复,清空已选择的图文;
// 单次和重复间切换时,不需要清空操作;
// 单次切换触点或者重复切换触点,清空已选择的图文;
// 0:触点 1:重复 2:单次
if
(
oldType
==
0
||
newType
==
0
)
{
this
.
list
.
forEach
(
el
=>
{
if
(
el
.
comName
==
'item-teletext'
)
{
this
.
delItem
(
el
);
}
});
}
// 单次切换成触点或者重复切换成触点,清空已选择的群发营销事件;
// 单次和重复之间切换,不需要清空操作;
if
(
newType
==
0
)
{
this
.
list
.
forEach
(
el
=>
{
if
(
el
.
comName
==
'item-qfxx'
)
{
this
.
delItem
(
el
);
}
});
}
},
// useStored: {
// handler() {
// console.log('useStored');
...
...
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