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
8fe1f0f8
Commit
8fe1f0f8
authored
Jul 07, 2021
by
黑潮
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update: 优化
parent
5e19b763
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
3 deletions
+14
-3
lib-qfxx.vue
src/views/ecm/marketing-event/components/lib-qfxx.vue
+14
-3
No files found.
src/views/ecm/marketing-event/components/lib-qfxx.vue
View file @
8fe1f0f8
...
...
@@ -49,13 +49,13 @@
</div>
</el-form-item>
<el-form-item
class=
"is-required"
label=
"群发失败设置"
>
<el-radio-group
:disabled=
"readOnly"
v-model=
"form.failSetting"
>
<el-radio-group
:disabled=
"readOnly"
v-model=
"form.failSetting"
@
change=
"onChangeFailSetting"
>
<el-radio
:label=
"1"
style=
"margin-right:0"
>
开启
</el-radio>
<el-radio
:label=
"0"
style=
"margin-left:20px"
>
不开启
</el-radio>
</el-radio-group>
<div
class=
"tips"
>
开启则当发送对象失败时将支持选择其他方式完成任务,反之则判定任务失败
</div>
<div
class=
"tips"
>
(注:群发失败人群为该计划所选人群中非群发任务所选企业的企微好友)
</div>
<
template
v-if=
"form.failSetting == 1"
>
<
div
ref=
"task"
v-if=
"form.failSetting == 1"
>
<div
class=
"task-wrapper"
style=
"margin-top:16px;padding-top:14px;"
>
<el-row
style=
"margin-bottom:12px"
type=
"flex"
align=
"middle"
justify=
"space-between"
>
<el-checkbox
label=
"话务"
style=
"margin-bottom:0"
:value=
"form.telFlag"
:true-label=
"1"
:false-label=
"0"
:disabled=
"readOnly"
@
change=
"onChangeTelTask"
></el-checkbox>
...
...
@@ -79,7 +79,7 @@
<div
v-if=
"form.gicSmsTemplateId != -1"
style=
"margin-top:12px;color:#606266"
>
{{ sms.content }}
</div>
</div>
</div>
</
template
>
</
div
>
</el-form-item>
</el-form>
<
template
v-if=
"!readOnly"
slot=
"footer"
>
...
...
@@ -157,6 +157,15 @@ export default {
this
.
getEntepriseList
();
},
methods
:
{
onChangeFailSetting
(
flag
)
{
if
(
flag
)
{
this
.
$nextTick
(()
=>
{
if
(
this
.
$refs
.
task
)
{
this
.
$refs
.
task
.
scrollIntoView
({
behavior
:
'smooth'
,
block
:
'center'
,
inline
:
'nearest'
});
}
});
}
},
onInsertTemplate
(
item
)
{
console
.
log
(
item
);
this
.
sms
=
{
...
...
@@ -165,6 +174,7 @@ export default {
};
this
.
form
.
gicSmsTemplateId
=
item
.
value
.
gicSmsTemplateId
;
this
.
form
.
smsFlag
=
1
;
this
.
onChangeFailSetting
(
true
);
},
openDialog
(
type
)
{
// type: reduceLink 压缩链接,transferLink 小程序链接,smsTemplate 短信模板
...
...
@@ -290,6 +300,7 @@ export default {
lateDays
:
item
.
lateDays
};
this
.
form
.
telFlag
=
1
;
this
.
onChangeFailSetting
(
true
);
}
},
computed
:
{
...
...
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