Commit 2d2ca55a by crushh

update: 会员类型传值

parent 77e05bed
......@@ -360,17 +360,13 @@ export default {
contentType: this.info.contentType,
sendType: this.info.sendType,
sendTime: this.info.sendTime,
memberSearchDTO: this.info.memberType == 0 ? this.info.memberSearchDTO : this.info.memberType == 1 ? this.info.memberIdOpenIds : this.info.memberGroupIds,
searchJson: this.getSaveData
searchJson: this.getSaveData,
memberIdOpenIds: this.info.memberIdOpenIds
};
//微信营销主键ID (注意: 新建时null, 修改必传)
if (this.$route.meta.type === 'edit') {
params.wechatTeletextId = this.$route.params.id;
}
//memberType 0:会员筛选 不传; memberType 1:指定会员, 多个会员memberId由逗号隔开
if (this.info.memberType) {
params.memberIdOpenIds = this.info.memberIdOpenIds;
}
if (this.info.contentType === 0) {
params.imageTextId = this.info.imageTextId;
params.imageTextWechatId = this.info.imageTextWechatId;
......@@ -469,16 +465,19 @@ export default {
contentType: this.info.contentType,
sendType: this.info.sendType,
sendTime: this.info.sendTime,
memberSearchDTO: this.info.memberType == 0 ? this.info.memberSearchDTO : this.info.memberType == 1 ? this.info.memberIdOpenIds : this.info.memberGroupIds,
searchJson: this.getSaveData
};
//微信营销主键ID (注意: 新建时null, 修改必传)
if (this.$route.meta.type === 'edit') {
params.wechatTeletextId = this.$route.params.id;
}
//memberType 0:会员筛选 不传; memberType 1:指定会员, 多个会员memberId由逗号隔开
if (this.info.memberType) {
//memberType 0:会员筛选 ; memberType 1:指定会员, 多个会员memberId由逗号隔开;memberType 2 会员分组
if (this.info.memberType == 0) {
params.memberSearchDTO = this.info.memberSearchDTO;
} else if (this.info.memberType == 1) {
params.memberIdOpenIds = this.info.memberIdOpenIds;
} else if (this.info.memberType == 2) {
params.memberSearchDTO = this.info.memberGroupIds;
}
if (this.info.contentType === 0) {
params.imageTextId = this.info.imageTextId;
......
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