Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
X
x-training-new
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
EzijingWeb
x-training-new
Commits
3bba545a
提交
3bba545a
authored
5月 09, 2022
作者:
lihuihui
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
update
上级
ce50ac97
隐藏空白字符变更
内嵌
并排
正在显示
5 个修改的文件
包含
76 行增加
和
9 行删除
+76
-9
EditStyle.vue
src/components/base/EditStyle.vue
+10
-1
AppStepThree.vue
src/modules/market-tools/components/app/AppStepThree.vue
+2
-2
MailStepThree.vue
src/modules/market-tools/components/mail/MailStepThree.vue
+1
-1
SmsStepFour.vue
...modules/market-tools/components/mobileSms/SmsStepFour.vue
+1
-1
SmsStepTwo.vue
src/modules/market-tools/components/mobileSms/SmsStepTwo.vue
+62
-4
没有找到文件。
src/components/base/EditStyle.vue
浏览文件 @
3bba545a
...
@@ -15,7 +15,7 @@
...
@@ -15,7 +15,7 @@
placeholder=
"请输入"
placeholder=
"请输入"
></el-input>
></el-input>
</
template
>
</
template
>
<
template
v-
else
>
<
template
v-
if=
"type == 'input'"
>
<el-input
<el-input
:maxlength=
"valueMaxLength"
:maxlength=
"valueMaxLength"
style=
"margin-top: 15px"
style=
"margin-top: 15px"
...
@@ -23,6 +23,15 @@
...
@@ -23,6 +23,15 @@
placeholder=
"请输入"
placeholder=
"请输入"
></el-input>
></el-input>
</
template
>
</
template
>
<
template
v-if=
"type == 'textarea'"
>
<el-input
type=
"textarea"
:maxlength=
"valueMaxLength"
style=
"margin-top: 15px"
v-model=
"returnData.textValue"
placeholder=
"请输入"
></el-input>
</
template
>
</div>
</div>
<div
class=
"tool-select"
>
<div
class=
"tool-select"
>
<div
v-for=
"(item, index) in toolList"
:key=
"index"
>
<div
v-for=
"(item, index) in toolList"
:key=
"index"
>
...
...
src/modules/market-tools/components/app/AppStepThree.vue
浏览文件 @
3bba545a
...
@@ -55,7 +55,7 @@ export default {
...
@@ -55,7 +55,7 @@ export default {
]
]
},
},
{
{
type
:
'
input
'
,
type
:
'
textarea
'
,
dataFlag
:
'describeParams'
,
dataFlag
:
'describeParams'
,
title
:
'推送内容'
,
title
:
'推送内容'
,
subTitle
:
'内容栏'
,
subTitle
:
'内容栏'
,
...
@@ -120,7 +120,7 @@ export default {
...
@@ -120,7 +120,7 @@ export default {
for
(
const
data
in
params
)
{
for
(
const
data
in
params
)
{
if
(
params
[
data
].
textValue
===
''
||
this
.
imgParams
.
url
===
''
)
{
if
(
params
[
data
].
textValue
===
''
||
this
.
imgParams
.
url
===
''
)
{
this
.
$message
({
this
.
$message
({
message
:
'请
编辑主题
'
,
message
:
'请
完善步骤后才能进入下一步
'
,
type
:
'warning'
type
:
'warning'
})
})
return
false
return
false
...
...
src/modules/market-tools/components/mail/MailStepThree.vue
浏览文件 @
3bba545a
...
@@ -183,7 +183,7 @@ export default {
...
@@ -183,7 +183,7 @@ export default {
return
params
return
params
}
else
{
}
else
{
this
.
$message
({
this
.
$message
({
message
:
'请
编辑主题
'
,
message
:
'请
完善步骤后才能进入下一步
'
,
type
:
'warning'
type
:
'warning'
})
})
return
false
return
false
...
...
src/modules/market-tools/components/mobileSms/SmsStepFour.vue
浏览文件 @
3bba545a
...
@@ -33,7 +33,7 @@
...
@@ -33,7 +33,7 @@
<div
class=
"icon"
></div>
<div
class=
"icon"
></div>
<div
class=
"text"
>
<div
class=
"text"
>
触发时间:
{{
data
.
stepTwo
.
time_range
[
0
]
}}
至
{{
data
.
stepTwo
.
time_range
[
1
]
}}
{{
触发时间:
{{
data
.
stepTwo
.
time_range
[
0
]
}}
至
{{
data
.
stepTwo
.
time_range
[
1
]
}}
{{
data
.
stepTwo
.
times_every
data
.
stepTwo
.
times_every
.
toString
()
}}
{{
data
.
stepTwo
.
times_hour
}}
}}
{{
data
.
stepTwo
.
times_hour
}}
</div>
</div>
</div>
</div>
...
...
src/modules/market-tools/components/mobileSms/SmsStepTwo.vue
浏览文件 @
3bba545a
...
@@ -34,14 +34,16 @@
...
@@ -34,14 +34,16 @@
start-placeholder=
"开始日期"
start-placeholder=
"开始日期"
end-placeholder=
"结束日期"
end-placeholder=
"结束日期"
:picker-options=
"pickerOptions"
:picker-options=
"pickerOptions"
value-format=
"yyyy-MM-dd"
>
>
</el-date-picker>
</el-date-picker>
时间范围内
时间范围内
<br
/>
<br
/>
<br
/>
<br
/>
<el-select
v-model=
"data.times_every"
>
<
!--
<
el-select
v-model=
"data.times_every"
>
<el-option
v-for=
"it in timesList"
:key=
"it.value"
:label=
"it.label"
:value=
"it.value"
>
</el-option>
<el-option
v-for=
"it in timesList"
:key=
"it.value"
:label=
"it.label"
:value=
"it.value"
>
</el-option>
</el-select>
</el-select>
-->
<el-cascader
:options=
"timesEvery"
v-model=
"data.times_every"
></el-cascader>
<el-time-picker
<el-time-picker
v-model=
"data.times_hour"
v-model=
"data.times_hour"
...
@@ -131,6 +133,7 @@ export default {
...
@@ -131,6 +133,7 @@ export default {
return
time
.
getTime
()
<
Date
.
now
()
return
time
.
getTime
()
<
Date
.
now
()
}
}
},
},
timesEvery
:
[],
timesList
:
[
timesList
:
[
{
{
value
:
'每日'
,
value
:
'每日'
,
...
@@ -215,6 +218,54 @@ export default {
...
@@ -215,6 +218,54 @@ export default {
}
}
},
},
mounted
()
{
mounted
()
{
this
.
timesEvery
=
[
{
value
:
'每日'
,
label
:
'每日'
},
{
value
:
'每周'
,
label
:
'每周'
,
children
:
[
{
value
:
'周一'
,
label
:
'周二'
},
{
value
:
'周二'
,
label
:
'周二'
},
{
value
:
'周三'
,
label
:
'周三'
},
{
value
:
'周四'
,
label
:
'周四'
},
{
value
:
'周五'
,
label
:
'周五'
},
{
value
:
'周六'
,
label
:
'周六'
},
{
value
:
'周日'
,
label
:
'周日'
}
]
},
{
value
:
'每月'
,
label
:
'每月'
,
children
:
[]
}
]
for
(
let
i
=
0
;
i
<
31
;
i
++
)
{
this
.
timesEvery
[
2
].
children
.
push
({
value
:
`
${
i
+
1
}
号`
,
label
:
`
${
i
+
1
}
号`
})
}
this
.
setSolarTerms
()
this
.
setSolarTerms
()
},
},
methods
:
{
methods
:
{
...
@@ -286,7 +337,13 @@ export default {
...
@@ -286,7 +337,13 @@ export default {
},
},
// 进去下一步之前的判断
// 进去下一步之前的判断
handleStepTwo
()
{
handleStepTwo
()
{
if
(
this
.
data
.
index
===
0
&&
(
this
.
data
.
triggerDate
===
''
||
this
.
data
.
triggerDate
===
null
||
this
.
data
.
triggerTime
===
''
||
this
.
data
.
triggerTime
===
null
))
{
if
(
this
.
data
.
index
===
0
&&
(
this
.
data
.
triggerDate
===
''
||
this
.
data
.
triggerDate
===
null
||
this
.
data
.
triggerTime
===
''
||
this
.
data
.
triggerTime
===
null
)
)
{
this
.
$message
.
warning
(
'请完善改步骤后才能进入下一步'
)
this
.
$message
.
warning
(
'请完善改步骤后才能进入下一步'
)
return
false
return
false
}
else
if
(
}
else
if
(
...
@@ -300,7 +357,8 @@ export default {
...
@@ -300,7 +357,8 @@ export default {
return
false
return
false
}
else
if
(
}
else
if
(
this
.
data
.
index
===
2
&&
this
.
data
.
index
===
2
&&
(
this
.
data
.
times_send
===
''
||
this
.
data
.
times_send
===
null
||
(
this
.
data
.
times_send
===
''
||
this
.
data
.
times_send
===
null
||
this
.
festivalList
.
filter
(
item
=>
item
.
isActive
===
false
).
length
===
this
.
festivalList
.
length
||
this
.
festivalList
.
filter
(
item
=>
item
.
isActive
===
false
).
length
===
this
.
festivalList
.
length
||
this
.
solarTermsList
.
filter
(
item
=>
item
.
isActive
===
false
).
length
===
this
.
solarTermsList
.
length
)
this
.
solarTermsList
.
filter
(
item
=>
item
.
isActive
===
false
).
length
===
this
.
solarTermsList
.
length
)
)
{
)
{
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论