Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
X
x-training-new
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
EzijingWeb
x-training-new
Commits
3225c43f
提交
3225c43f
authored
5月 05, 2022
作者:
matian
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
updates
上级
f7d2f6db
显示空白字符变更
内嵌
并排
正在显示
6 个修改的文件
包含
12 行增加
和
33 行删除
+12
-33
AppStepTwo.vue
src/modules/market-tools/components/app/AppStepTwo.vue
+0
-6
MailStepTwo.vue
src/modules/market-tools/components/mail/MailStepTwo.vue
+1
-6
SmsStepTwo.vue
src/modules/market-tools/components/mobileSms/SmsStepTwo.vue
+1
-9
App.vue
src/modules/market-tools/views/App.vue
+3
-3
Mail.vue
src/modules/market-tools/views/Mail.vue
+3
-3
MobileSms.vue
src/modules/market-tools/views/MobileSms.vue
+4
-6
没有找到文件。
src/modules/market-tools/components/app/AppStepTwo.vue
浏览文件 @
3225c43f
...
@@ -56,14 +56,8 @@ export default {
...
@@ -56,14 +56,8 @@ export default {
},
},
handleStepTwo
()
{
handleStepTwo
()
{
if
(
this
.
showIndex
===
0
)
{
this
.
activeIndexName
=
'单次触发'
}
else
{
this
.
activeIndexName
=
'条件触发'
}
this
.
$emit
(
'getShowIndex'
,
this
.
showIndex
)
this
.
$emit
(
'getShowIndex'
,
this
.
showIndex
)
let
flag
=
true
let
flag
=
true
console
.
log
(
this
.
showIndex
,
'index'
)
if
(
this
.
showIndex
===
0
)
{
if
(
this
.
showIndex
===
0
)
{
this
.
stepTwoList
[
0
].
form
.
triggerList
.
forEach
(
item
=>
{
this
.
stepTwoList
[
0
].
form
.
triggerList
.
forEach
(
item
=>
{
if
(
item
.
startValue
===
''
)
{
if
(
item
.
startValue
===
''
)
{
...
...
src/modules/market-tools/components/mail/MailStepTwo.vue
浏览文件 @
3225c43f
...
@@ -72,12 +72,7 @@ export default {
...
@@ -72,12 +72,7 @@ export default {
handleStepTwo
()
{
handleStepTwo
()
{
this
.
$emit
(
'getTime'
,
this
.
times
,
this
.
times2
)
this
.
$emit
(
'getTime'
,
this
.
times
,
this
.
times2
)
if
(
this
.
showIndex
===
0
)
{
this
.
$emit
(
'getShowIndex'
,
this
.
showIndex
)
this
.
activeIndexName
=
'单次触发'
}
else
{
this
.
activeIndexName
=
'条件触发'
}
this
.
$emit
(
'getShowIndex'
,
this
.
activeIndexName
)
let
flag
=
true
let
flag
=
true
if
(
this
.
showIndex
===
1
)
{
if
(
this
.
showIndex
===
1
)
{
this
.
stepTwoList
[
0
].
form
.
triggerList
.
forEach
(
item
=>
{
this
.
stepTwoList
[
0
].
form
.
triggerList
.
forEach
(
item
=>
{
...
...
src/modules/market-tools/components/mobileSms/SmsStepTwo.vue
浏览文件 @
3225c43f
...
@@ -255,15 +255,7 @@ export default {
...
@@ -255,15 +255,7 @@ export default {
},
},
// 进去下一步之前的判断
// 进去下一步之前的判断
handleStepTwo
()
{
handleStepTwo
()
{
if
(
this
.
showIndex
===
0
)
{
this
.
$emit
(
'getShowIndex'
,
this
.
showIndex
)
this
.
showIndexName
=
'单次触发'
}
else
if
(
this
.
showIndex
===
1
)
{
this
.
showIndexName
=
'周期触发'
}
else
{
this
.
showIndexName
=
'节日触发'
}
console
.
log
(
this
.
showIndexName
,
'this.showIndexName'
)
this
.
$emit
(
'getShowIndex'
,
this
.
showIndexName
)
const
stepTwoData
=
{
const
stepTwoData
=
{
triggerDate
:
this
.
triggerDate
,
triggerDate
:
this
.
triggerDate
,
...
...
src/modules/market-tools/views/App.vue
浏览文件 @
3225c43f
...
@@ -52,13 +52,13 @@ export default {
...
@@ -52,13 +52,13 @@ export default {
stepTwoList
:
[],
stepTwoList
:
[],
stepTwoList2
:
[],
stepTwoList2
:
[],
caseId
:
''
,
caseId
:
''
,
activeIndexName
:
''
showIndex
:
''
}
}
},
},
methods
:
{
methods
:
{
getShowIndex
(
name
)
{
getShowIndex
(
val
)
{
this
.
activeIndexName
=
name
this
.
showIndex
=
val
},
},
// 上一步
// 上一步
handlePrev
()
{
handlePrev
()
{
...
...
src/modules/market-tools/views/Mail.vue
浏览文件 @
3225c43f
...
@@ -63,13 +63,13 @@ export default {
...
@@ -63,13 +63,13 @@ export default {
times
:
''
,
times
:
''
,
times2
:
''
,
times2
:
''
,
time2
:
''
,
time2
:
''
,
activeIndexName
:
''
showIndex
:
''
}
}
},
},
methods
:
{
methods
:
{
getShowIndex
(
name
)
{
getShowIndex
(
val
)
{
this
.
activeIndexName
=
name
this
.
showIndex
=
val
},
},
// 获取第二步时间
// 获取第二步时间
getTime
(
val
,
val2
)
{
getTime
(
val
,
val2
)
{
...
...
src/modules/market-tools/views/MobileSms.vue
浏览文件 @
3225c43f
...
@@ -18,9 +18,7 @@
...
@@ -18,9 +18,7 @@
@
getShowIndex=
"getShowIndex"
@
getShowIndex=
"getShowIndex"
:stepTwoData=
"stepTwoData"
:stepTwoData=
"stepTwoData"
/>
/>
<SmsStepThree
<SmsStepThree
v-if=
"activeStep === 2"
/>
v-if=
"activeStep === 2"
/>
<div
class=
"main_content_btn"
>
<div
class=
"main_content_btn"
>
<div
class=
"step_prev step_btn"
@
click=
"handlePrev"
v-if=
"activeStep > 0"
>
上一步
</div>
<div
class=
"step_prev step_btn"
@
click=
"handlePrev"
v-if=
"activeStep > 0"
>
上一步
</div>
<div
class=
"step_next step_btn"
@
click=
"handleNext"
v-if=
"activeStep >= 0 && activeStep
<
2
"
>
下一步
</div>
<div
class=
"step_next step_btn"
@
click=
"handleNext"
v-if=
"activeStep >= 0 && activeStep
<
2
"
>
下一步
</div>
...
@@ -63,14 +61,14 @@ export default {
...
@@ -63,14 +61,14 @@ export default {
times_send
:
''
,
times_send
:
''
,
solarTermsList
:
[],
solarTermsList
:
[],
festivalList
:
[],
festivalList
:
[],
activeName
:
''
showIndex
:
''
}
}
}
}
},
},
methods
:
{
methods
:
{
getShowIndex
(
name
)
{
getShowIndex
(
val
)
{
this
.
activeName
=
name
this
.
showIndex
=
val
},
},
// 获取第二步时间
// 获取第二步时间
getTime
(
val
)
{
getTime
(
val
)
{
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论