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
2d2ca55a
Commit
2d2ca55a
authored
May 07, 2022
by
crushh
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update: 会员类型传值
parent
77e05bed
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
9 deletions
+8
-9
form.vue
src/views/wechat/form.vue
+8
-9
No files found.
src/views/wechat/form.vue
View file @
2d2ca55a
...
...
@@ -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
;
...
...
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