Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
A
admin-base
Project
Project
Details
Activity
Releases
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
new-sing
admin-base
Commits
e8064663
Commit
e8064663
authored
Dec 11, 2018
by
chenfenglei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
微信群发消息 添加type=4, 指定用户手机号发送
parent
e754a0bf
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
1 deletion
+17
-1
index.vue
src/components/groupSend/index.vue
+17
-1
No files found.
src/components/groupSend/index.vue
View file @
e8064663
...
...
@@ -118,8 +118,16 @@
<el-radio
:label=
"1"
>
48时内关注但未购课用户
</el-radio>
<el-radio
:label=
"2"
>
有体验课但没有正式课用户
</el-radio>
<el-radio
:label=
"3"
>
未试听用户
</el-radio>
<el-radio
:label=
"4"
>
指定用户手机号发送
</el-radio>
</el-radio-group>
</el-form-item>
<el-row
v-if=
"searchFrom.type === 4"
>
<el-col
:span=
"16"
>
<el-form-item
label=
"用户手机号"
>
<el-input
v-model=
"searchFrom.mobiles"
placeholder=
"提示:多个手机号逗号隔开"
></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col
:span=
"16"
>
<el-form-item
label=
"用户ID"
>
...
...
@@ -476,6 +484,7 @@ export default {
if
(
val
===
1
)
return
"48时内关注但未购课用户"
;
if
(
val
===
2
)
return
"有体验课但没有正式课用户"
;
if
(
val
===
3
)
return
"未试听用户"
;
if
(
val
===
4
)
return
"指定用户手机号"
;
}
},
methods
:
{
...
...
@@ -598,11 +607,18 @@ export default {
msgTips
+=
"有体验课但没有正式课用户,"
;
}
else
if
(
this
.
searchFrom
.
type
===
3
)
{
msgTips
+=
"未试听用户,"
;
}
else
if
(
this
.
searchFrom
.
type
===
4
)
{
if
(
!
this
.
searchFrom
.
mobiles
){
this
.
searchFrom
.
mobiles
=
""
;
}
json
.
mobiles
=
this
.
searchFrom
.
mobiles
;
msgTips
+=
"指定手机号用户("
+
json
.
mobiles
+
"),"
;
}
if
(
this
.
searchFrom
.
user_ids
)
{
json
.
user_ids
=
this
.
searchFrom
.
user_ids
;
console
.
log
(
json
)
msgTips
+=
"用户ID:"
+
json
.
user_ids
;
}
else
{
}
else
{
this
.
$message
({
type
:
"error"
,
message
:
"请加入内部人员!"
...
...
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