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
bc3038e2
Commit
bc3038e2
authored
Apr 14, 2021
by
黑潮
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update: 字段结构
parent
5af5496d
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
9 deletions
+15
-9
item-qywx.vue
src/views/ecm/marketing-event/components/item-qywx.vue
+10
-5
lib-qywx.vue
src/views/ecm/marketing-event/components/lib-qywx.vue
+4
-3
index.vue
src/views/ecm/marketing-event/index.vue
+1
-1
No files found.
src/views/ecm/marketing-event/components/item-qywx.vue
View file @
bc3038e2
<
template
>
<div
class=
"dm-qywx__item__wrap"
>
<div
class=
"fz16"
>
{{
item
.
qywxEnterpriseName
}}
1231231
</div>
<div
class=
"fz16"
>
{{
qywx
.
qywxEnterpriseName
}}
1231231
</div>
<div
class=
"divider"
></div>
<div>
{{
item
.
title
}}
123
</div>
<div
style=
"margin-top:12px;color:#606266"
>
{{
item
.
remark
}}
123
</div>
<div
style=
"margin-top:12px;color:#606266"
>
{{
qywx
.
remark
}}
123
</div>
<p
style=
"margin-top:12px"
>
<span>
任务完成方式
</span>
:
<el-checkbox
label=
"话务"
:value=
"
item
.telFlag"
:true-label=
"1"
:false-label=
"0"
disabled
></el-checkbox>
<el-checkbox
label=
"会话"
:value=
"
item
.chatFlag"
:true-label=
"1"
:false-label=
"0"
disabled
></el-checkbox>
<el-checkbox
label=
"短信"
:value=
"
item
.smsFlag"
:true-label=
"1"
:false-label=
"0"
disabled
></el-checkbox>
<el-checkbox
label=
"话务"
:value=
"
qywx
.telFlag"
:true-label=
"1"
:false-label=
"0"
disabled
></el-checkbox>
<el-checkbox
label=
"会话"
:value=
"
qywx
.chatFlag"
:true-label=
"1"
:false-label=
"0"
disabled
></el-checkbox>
<el-checkbox
label=
"短信"
:value=
"
qywx
.smsFlag"
:true-label=
"1"
:false-label=
"0"
disabled
></el-checkbox>
</p>
</div>
</
template
>
...
...
@@ -23,6 +23,11 @@ export default {
return
{};
}
}
},
computed
:
{
qywx
()
{
return
this
.
item
.
qywx
||
{};
}
}
};
</
script
>
...
...
src/views/ecm/marketing-event/components/lib-qywx.vue
View file @
bc3038e2
...
...
@@ -59,8 +59,6 @@ export default {
},
data
()
{
return
{
cardLevelList
:
[],
cardLevel
:
''
,
step
:
0
,
form
:
{
qywxEnterpriseId
:
'123123'
,
...
...
@@ -92,11 +90,14 @@ export default {
chatContent
:
null
,
smsContent
:
null
};
this
.
step
=
0
;
this
.
$refs
.
form
.
resetFields
();
this
.
$emit
(
'update:show'
,
false
);
},
addItem
()
{
this
.
$emit
(
'sendItem'
,
{
...
this
.
form
,
comName
:
'qywx'
});
let
qywx
=
{
...
this
.
form
};
delete
qywx
.
title
;
this
.
$emit
(
'sendItem'
,
{
title
:
this
.
form
.
title
,
qywx
,
comName
:
'qywx'
});
this
.
close
();
}
}
...
...
src/views/ecm/marketing-event/index.vue
View file @
bc3038e2
...
...
@@ -252,7 +252,7 @@ export default {
this
.
list
.
push
({
comName
:
'item-grade'
,
item
:
{
title
:
v
.
title
,
ecmMarketingTypeRelationId
:
v
.
ecmMarketingTypeRelationId
,
relationId
:
v
.
relationId
,
ecmPlanId
:
v
.
ecmPlanId
}
});
break
;
case
'qywx'
:
// 8 积分
this
.
list
.
push
({
comName
:
'item-qywx'
,
item
:
{
title
:
v
.
title
,
qywx
EnterpriseName
:
v
.
qywxEnterpriseName
,
remark
:
v
.
remark
,
telFlag
:
v
.
telFlag
,
chatFlag
:
v
.
chatFlag
,
smsFlag
:
v
.
smsFlag
,
ecmMarketingTypeRelationId
:
v
.
ecmMarketingTypeRelationId
,
relationId
:
v
.
relationId
,
ecmPlanId
:
v
.
ecmPlanId
}
});
this
.
list
.
push
({
comName
:
'item-qywx'
,
item
:
{
title
:
v
.
title
,
qywx
:
v
.
qywx
,
ecmMarketingTypeRelationId
:
v
.
ecmMarketingTypeRelationId
,
relationId
:
v
.
relationId
,
ecmPlanId
:
v
.
ecmPlanId
}
});
break
;
}
});
...
...
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