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
1d57f726
Commit
1d57f726
authored
Dec 20, 2021
by
caoyanzhi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update: 微信图文升级
parent
740e305c
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
4 deletions
+16
-4
form.vue
src/views/ecm/form.vue
+1
-1
lib-teletext.vue
src/views/ecm/marketing-event/components/lib-teletext.vue
+9
-2
index.vue
src/views/ecm/marketing-event/index.vue
+6
-1
No files found.
src/views/ecm/form.vue
View file @
1d57f726
...
...
@@ -355,7 +355,7 @@
</div>
</h3>
<!-- 只有实时才是单图文 -->
<marketing-event
:readOnly=
"isInfo || onlineStatus == 2"
:show-delete-tooltip=
"isEdit && analyseConfig.open_flag == 1"
show-out-coupon-icon
ref=
"marketingEvent"
@
has-card=
"hasCard"
v-if=
"ecmPlanId"
:singleFlag=
"form.effectType === 0"
:integralMultiple=
"form.effectAction === 'consume'"
:ecmPlanId=
"ecmPlanId"
:isSupportVar=
"form.effectType === 0"
:code=
"code"
:enabledMessageState=
"enabledMessageState"
:cardLimitType=
"-1"
:use-stored=
"useStoredFlag && ['consume', 'stored'].includes(form.effectAction) && form.effectType == 0"
:use-qfxx=
"form.effectType !== 0"
></marketing-event>
<marketing-event
:
effectType=
"form.effectType"
:
readOnly=
"isInfo || onlineStatus == 2"
:show-delete-tooltip=
"isEdit && analyseConfig.open_flag == 1"
show-out-coupon-icon
ref=
"marketingEvent"
@
has-card=
"hasCard"
v-if=
"ecmPlanId"
:singleFlag=
"form.effectType === 0"
:integralMultiple=
"form.effectAction === 'consume'"
:ecmPlanId=
"ecmPlanId"
:isSupportVar=
"form.effectType === 0"
:code=
"code"
:enabledMessageState=
"enabledMessageState"
:cardLimitType=
"-1"
:use-stored=
"useStoredFlag && ['consume', 'stored'].includes(form.effectAction) && form.effectType == 0"
:use-qfxx=
"form.effectType !== 0"
></marketing-event>
<!-- 只有非实时&&选择卡券了展示提示 -->
<div
v-if=
"currentCard.comName && form.effectType != 0 && couponAutoGetFlag"
class=
"fz13 regular-font-color line-height2"
style=
"margin-left:120px;margin-top:30px;"
>
* 用户在领取卡券后需要
<b
class=
"bold"
>
同步至ERP
</b>
,如果关闭用户
<b
class=
"bold"
>
手动领取
</b>
,卡券在
<b
class=
"bold"
>
批量投放
</b>
时会需要将卡券信息批量同步至ERP。
<br
/>
...
...
src/views/ecm/marketing-event/components/lib-teletext.vue
View file @
1d57f726
...
...
@@ -72,6 +72,11 @@ export default {
// 图文 实时发送这个参数为true,过滤图文仅要单图文
type
:
Boolean
,
default
:
false
},
// 智能营销的时效 0:触点 1:重复 2:单次
effectType
:
{
type
:
[
Number
,
String
],
default
:
0
}
},
created
()
{
...
...
@@ -83,8 +88,7 @@ export default {
listParams
:
{
currentPage
:
1
,
pageSize
:
20
,
searchName
:
''
,
wxscType
:
2
searchName
:
''
},
total
:
0
,
loading
:
false
,
...
...
@@ -103,6 +107,9 @@ export default {
loadImgTextList
()
{
this
.
loading
=
true
;
const
params
=
{
...
this
.
listParams
};
if
(
this
.
effectType
!=
0
)
{
params
.
wxscType
=
2
;
}
if
(
this
.
singleFlag
)
{
params
.
singleFlag
=
1
;
// 不是实时就不穿这个参数,不传表示全部
}
...
...
src/views/ecm/marketing-event/index.vue
View file @
1d57f726
...
...
@@ -34,7 +34,7 @@
</transition>
</div>
<!-- 弹窗组件 -->
<component
:is=
"dialogCom"
@
sendItem=
"saveToList"
:showOutCouponIcon=
"showOutCouponIcon"
:item=
"currentItem"
:show
.
sync=
"dialogShow"
:isSupportVar=
"isSupportVar"
:cardLimitType=
"cardLimitType"
:integralMultiple=
"integralMultiple"
:singleFlag=
"singleFlag"
:read-only=
"readOnly || showView"
:resource-status=
"resourceStatus"
></component>
<component
:is=
"dialogCom"
@
sendItem=
"saveToList"
:
effectType=
"effectType"
:
showOutCouponIcon=
"showOutCouponIcon"
:item=
"currentItem"
:show
.
sync=
"dialogShow"
:isSupportVar=
"isSupportVar"
:cardLimitType=
"cardLimitType"
:integralMultiple=
"integralMultiple"
:singleFlag=
"singleFlag"
:read-only=
"readOnly || showView"
:resource-status=
"resourceStatus"
></component>
</section>
</template>
...
...
@@ -152,6 +152,11 @@ export default {
type
:
Boolean
,
default
:
true
},
// 智能营销的时效 0:触点 1:重复 2:单次
effectType
:
{
type
:
[
Number
,
String
],
default
:
0
},
useQfxx
:
Boolean
,
showDeleteTooltip
:
Boolean
},
...
...
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