Commit 1d57f726 by caoyanzhi

update: 微信图文升级

parent 740e305c
......@@ -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 />
......
......@@ -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; // 不是实时就不穿这个参数,不传表示全部
}
......
......@@ -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
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment