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
c3e74122
Commit
c3e74122
authored
Aug 12, 2021
by
黑潮
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update: 样式
parent
37b8d407
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
9 additions
and
7 deletions
+9
-7
index.vue
src/components/libs/smsTemp/index.vue
+1
-1
form.vue
src/views/message/form.vue
+2
-1
importSendForm.vue
src/views/message/importSendForm.vue
+2
-1
importSendList.vue
src/views/message/importSendList.vue
+2
-2
record.vue
src/views/message/record.vue
+2
-2
No files found.
src/components/libs/smsTemp/index.vue
View file @
c3e74122
...
...
@@ -15,7 +15,7 @@
<el-table-column
:show-overflow-tooltip=
"false"
:width=
"200"
:min-width=
"200"
align=
"left"
prop=
"title"
label=
"模板名称"
></el-table-column>
<el-table-column
:show-overflow-tooltip=
"false"
:width=
"200"
:min-width=
"200"
align=
"left"
prop=
"content"
label=
"模板类型"
>
<
template
slot-scope=
"scope"
>
<p
class=
"gray"
>
{{
scope
.
row
.
type
===
0
?
'普通短信'
:
scope
.
row
.
type
===
1
?
'营销短信'
:
'验证码'
}}
</p>
<p
class=
"gray"
style=
"color:#606266"
>
{{
scope
.
row
.
type
===
0
?
'普通短信'
:
scope
.
row
.
type
===
1
?
'营销短信'
:
'验证码'
}}
</p>
</
template
>
</el-table-column>
<el-table-column
:show-overflow-tooltip=
"false"
:min-width=
"200"
align=
"left"
prop=
"content"
label=
"模板内容"
>
...
...
src/views/message/form.vue
View file @
c3e74122
...
...
@@ -96,7 +96,8 @@ export default {
],
disabledDate
(
val
)
{
return
Date
.
now
()
>=
val
.
getTime
()
+
24
*
60
*
60
*
1000
;
}
},
selectableRange
:
'08:00:00 - 22:00:00'
},
// 人群筛选器可传参数
sceneValue
:
'member'
,
// 场景值
...
...
src/views/message/importSendForm.vue
View file @
c3e74122
...
...
@@ -63,7 +63,8 @@ export default {
pickerOptions
:
{
disabledDate
(
val
)
{
return
Date
.
now
()
>=
val
.
getTime
()
+
24
*
60
*
60
*
1000
;
}
},
selectableRange
:
'08:00:00 - 22:00:00'
},
sceneSettingIdOptions
:
[],
sendTypeOptions
:
[{
value
:
0
,
label
:
'立即发送'
},
{
value
:
1
,
label
:
'选择时间发送'
}],
// eslint-disable-line
...
...
src/views/message/importSendList.vue
View file @
c3e74122
...
...
@@ -41,7 +41,7 @@
<span
v-else-if=
"filterStatus(scope.row.sendStatus)"
:class=
"'dm-status--' + filterStatus(scope.row.sendStatus).type"
>
{{
filterStatus
(
scope
.
row
.
sendStatus
).
label
}}
<el-tooltip
v-if=
"scope.row.sendStatus == 2 && scope.row.failReason"
:content=
"scope.row.failReason"
placement=
"top"
>
<i
class=
"el-icon-
warning"
style=
"color:#f56c6c;cursor:pointer;margin-left:3px;
"
></i>
<i
class=
"el-icon-
question"
style=
"color:#c0c4cc;cursor:pointer;margin-left:3px;font-size:14px
"
></i>
</el-tooltip>
</span>
<time-counts
v-if=
"scope.row.sendStatus == 0"
class=
"primary-color fz12"
:defaultVal=
"scope.row.sendTime"
:autoStart=
"true"
></time-counts>
...
...
@@ -86,7 +86,7 @@ export default {
pageSize
:
20
},
// 发送状态(-1: 已失效; 0:定时执行,1:执行完毕,2:执行失败,3:无可用模板;4.执行中)
status
:
[{
value
:
0
,
label
:
'定时执行'
,
type
:
'warning'
},
{
value
:
1
,
label
:
'已执行'
,
type
:
'success'
},
{
value
:
2
,
label
:
'执行失败'
,
type
:
'
danger'
},
{
value
:
5
,
label
:
'执行中'
,
type
:
'primary--flash'
},
{
value
:
-
1
,
label
:
'已失效'
,
type
:
'dange
r'
}],
// eslint-disable-line
status
:
[{
value
:
0
,
label
:
'定时执行'
,
type
:
'warning'
},
{
value
:
1
,
label
:
'已执行'
,
type
:
'success'
},
{
value
:
2
,
label
:
'执行失败'
,
type
:
'
error'
},
{
value
:
5
,
label
:
'执行中'
,
type
:
'primary--flash'
},
{
value
:
-
1
,
label
:
'已失效'
,
type
:
'erro
r'
}],
// eslint-disable-line
total
:
0
,
loading
:
false
,
tableList
:
[],
...
...
src/views/message/record.vue
View file @
c3e74122
...
...
@@ -25,7 +25,7 @@
<span
v-else-if=
"filterStatus(scope.row.sendStatus)"
:class=
"'dm-status--' + filterStatus(scope.row.sendStatus).type"
>
{{
filterStatus
(
scope
.
row
.
sendStatus
).
label
}}
<el-tooltip
v-if=
"scope.row.sendStatus == 2 && scope.row.failReason"
:content=
"scope.row.failReason"
placement=
"top"
>
<i
class=
"el-icon-
warning"
style=
"color:#f56c6c;cursor:pointer;margin-left:3px;
"
></i>
<i
class=
"el-icon-
question"
style=
"color:#c0c4cc;cursor:pointer;margin-left:3px;font-size:14px
"
></i>
</el-tooltip>
</span>
<time-counts
v-if=
"scope.row.sendStatus == 0"
:key=
"scope.row.smsId"
class=
"primary-color fz12"
:defaultVal=
"scope.row.sendTime"
:autoStart=
"true"
></time-counts>
...
...
@@ -56,7 +56,7 @@ export default {
mixins
:
[
tableMethods
],
data
()
{
return
{
sendStatusOptions
:
[{
value
:
''
,
label
:
'所有状态'
,
type
:
''
},
{
value
:
0
,
label
:
'定时执行'
,
type
:
'warning'
},
{
value
:
1
,
label
:
'已执行'
,
type
:
'success'
},
{
value
:
2
,
label
:
'执行失败'
,
type
:
'
danger'
},
{
value
:
5
,
label
:
'执行中'
,
type
:
'primary--flash'
},
{
value
:
-
1
,
label
:
'已失效'
,
type
:
'dange
r'
}],
// eslint-disable-line
sendStatusOptions
:
[{
value
:
''
,
label
:
'所有状态'
,
type
:
''
},
{
value
:
0
,
label
:
'定时执行'
,
type
:
'warning'
},
{
value
:
1
,
label
:
'已执行'
,
type
:
'success'
},
{
value
:
2
,
label
:
'执行失败'
,
type
:
'
error'
},
{
value
:
5
,
label
:
'执行中'
,
type
:
'primary--flash'
},
{
value
:
-
1
,
label
:
'已失效'
,
type
:
'erro
r'
}],
// eslint-disable-line
recordLoading
:
false
,
messageList
:
[],
recordHeader
:
[
...
...
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