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
e338c221
Commit
e338c221
authored
Mar 11, 2022
by
caoyanzhi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update: 短信群发菜单调整
parent
2258ff46
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
4 additions
and
59 deletions
+4
-59
addTemp.vue
src/views/message/addTemp.vue
+0
-5
blackList.vue
src/views/message/blackList.vue
+0
-5
detail.vue
src/views/message/detail.vue
+0
-1
form.vue
src/views/message/form.vue
+2
-13
importSendDetail.vue
src/views/message/importSendDetail.vue
+0
-1
importSendForm.vue
src/views/message/importSendForm.vue
+0
-3
importSendList.vue
src/views/message/importSendList.vue
+0
-1
record.vue
src/views/message/record.vue
+1
-12
temp.vue
src/views/message/temp.vue
+1
-18
No files found.
src/views/message/addTemp.vue
View file @
e338c221
...
...
@@ -278,9 +278,6 @@ export default {
}
;
}
,
computed
:
{
asideShow
()
{
return
this
.
$store
.
state
.
marketing
.
asideShow
;
}
,
getMin
()
{
if
(
this
.
transferLink
.
type
==
0
)
{
// eslint-disable-next-line
...
...
@@ -324,12 +321,10 @@ export default {
}
,
async
created
()
{
if
(
this
.
editFlag
)
{
this
.
$store
.
commit
(
'mutations_breadcrumb'
,
[{
name
:
'营销管理'
,
path
:
''
}
,
{
name
:
'短信营销'
,
path
:
''
}
,
{
name
:
'模板库'
,
path
:
'/message/temp'
}
,
{
name
:
'编辑模板'
,
path
:
''
}
]);
// eslint-disable-line
this
.
LoadTempInfo
();
}
else
{
const
sign
=
await
getSign
();
this
.
form
.
sign
=
sign
.
result
.
signText
?
`【${sign.result.signText
}
】`
:
''
;
this
.
$store
.
commit
(
'mutations_breadcrumb'
,
[{
name
:
'营销管理'
,
path
:
''
}
,
{
name
:
'短信营销'
,
path
:
''
}
,
{
name
:
'模板库'
,
path
:
'/message/temp'
}
,
{
name
:
'新增模板'
,
path
:
''
}
]);
// eslint-disable-line
}
this
.
getUserData
();
}
,
...
...
src/views/message/blackList.vue
View file @
e338c221
...
...
@@ -61,11 +61,6 @@ import { getBlackList, addBlackList, removeBlackList } from '@/service/api/messa
export
default
{
name
:
'blackList'
,
created
()
{
this
.
$store
.
commit
(
'mutations_breadcrumb'
,
[
{
name
:
'营销管理'
,
path
:
''
},
{
name
:
'短信营销'
,
path
:
''
},
{
name
:
'黑名单管理'
,
path
:
''
}
]);
// eslint-disable-line
this
.
getTableHeader
();
this
.
getTableData
();
},
...
...
src/views/message/detail.vue
View file @
e338c221
...
...
@@ -218,7 +218,6 @@ export default {
};
},
created
()
{
this
.
$store
.
commit
(
'mutations_breadcrumb'
,
[{
name
:
'营销管理'
,
path
:
''
},
{
name
:
'短信营销'
,
path
:
'/message'
},
{
name
:
'短信群发'
,
path
:
'/message/record'
},
{
name
:
'短信群发详情'
,
path
:
''
}]);
// eslint-disable-line
this
.
LoadMessageDetail
(
this
.
$route
.
params
.
id
);
this
.
LoadMessageDetailList
();
},
...
...
src/views/message/form.vue
View file @
e338c221
...
...
@@ -55,10 +55,10 @@
</el-form-item>
<!-- <span v-show="smsType && info.sendType" style="color:#909399;font-size:12px;padding-left:110px">因运营商限制,营销短信发送时间为每日8:00-22:00,尽量避免夜间发送,减少用户投诉。</span> -->
</section>
<d
iv
class=
"btn-wrap_fixed"
:class=
"{ on: asideShow }"
>
<d
m-form-bottom
>
<el-button
type=
"primary"
@
click=
"sendSms"
>
提 交
</el-button>
<el-button
@
click=
"$router.go(-1)"
>
返 回
</el-button>
</d
iv
>
</d
m-form-bottom
>
</el-form>
</template>
<
script
>
...
...
@@ -112,9 +112,6 @@ export default {
smsTemp
},
computed
:
{
asideShow
()
{
return
this
.
$store
.
state
.
marketing
.
asideShow
;
},
combineDate
()
{
const
time
=
formatDateTimeByType
(
this
.
info
.
sendHourTime
,
'yyyy-MM-dd-HH-mm-ss'
,
true
).
h
;
const
date
=
formatDateTimeByType
(
this
.
info
.
sendTime
,
'yyyy-MM-dd-HH-mm-ss'
,
true
).
y
;
...
...
@@ -124,14 +121,6 @@ export default {
return
{
selectableRange
:
this
.
smsType
?
[
'8:01:00 - 21:59:59'
]
:
[]
};
}
},
created
()
{
this
.
$store
.
commit
(
'mutations_breadcrumb'
,
[
{
name
:
'营销管理'
,
path
:
''
},
{
name
:
'短信营销'
,
path
:
''
},
{
name
:
'短信群发'
,
path
:
'/message/record'
},
{
name
:
'新建群发'
,
path
:
''
}
]);
// eslint-disable-line
},
methods
:
{
//提交表单验证人数 人员筛选和会员分组 需要
async
checkMessageSendCount
()
{
...
...
src/views/message/importSendDetail.vue
View file @
e338c221
...
...
@@ -180,7 +180,6 @@ export default {
};
},
created
()
{
this
.
$store
.
commit
(
'mutations_breadcrumb'
,
[{
name
:
'营销管理'
,
path
:
''
},
{
name
:
'短信营销'
,
path
:
'/message'
},
{
name
:
'导入发送列表'
,
path
:
'/message/import-send'
},
{
name
:
'导入发送详情'
,
path
:
''
}]);
// eslint-disable-line
this
.
getSmsImportPlanDetail
(
this
.
$route
.
params
.
id
);
this
.
smsSmportPlanLogPage
();
},
...
...
src/views/message/importSendForm.vue
View file @
e338c221
...
...
@@ -133,9 +133,6 @@ export default {
mounted
()
{
this
.
sceneSettingList
();
this
.
getSmsImportPlanDetail
();
},
created
()
{
this
.
$store
.
commit
(
'mutations_breadcrumb'
,
[{
name
:
'营销管理'
,
path
:
''
},
{
name
:
'短信营销'
,
path
:
''
},
{
name
:
this
.
info
?
'手工导入群发详情'
:
'新建导入群发'
,
path
:
''
}]);
// eslint-disable-line
}
};
</
script
>
...
...
src/views/message/importSendList.vue
View file @
e338c221
...
...
@@ -99,7 +99,6 @@ export default {
},
created
()
{
this
.
getTableList
();
this
.
$store
.
commit
(
'mutations_breadcrumb'
,
[{
name
:
'营销管理'
,
path
:
''
},
{
name
:
'短信营销'
,
path
:
''
},
{
name
:
'导入发送列表'
,
path
:
''
}]);
// eslint-disable-line
},
components
:
{
timeCounts
...
...
src/views/message/record.vue
View file @
e338c221
<
template
>
<section
class=
"dm-wrap"
v-loading=
"recordLoading"
>
<div
class=
"page-tip"
>
送达人数、计费条数会在提交完成后5分钟更新,点击详情可查看实时数据。
</div>
<div
class=
"clearfix pb22"
>
<el-date-picker
class=
"w250"
v-model=
"dateTime"
type=
"daterange"
range-separator=
"至"
start-placeholder=
"开始日期"
end-placeholder=
"结束日期"
@
change=
"refresh"
></el-date-picker>
<el-select
class=
"dm-select"
v-model=
"listParams.sendStatus"
placeholder=
"选择发送状态"
@
change=
"refresh"
>
...
...
@@ -136,22 +137,10 @@ export default {
quantity
:
0
};
},
mounted
()
{
this
.
$store
.
commit
(
'mutations_layoutTips'
,
`<div class="layout--tips">
<i class="el-icon-info"></i>送达人数、计费条数会在提交完成后5分钟更新,点击详情可查看实时数据。
</div>`
);
},
created
()
{
this
.
$store
.
commit
(
'mutations_breadcrumb'
,
[{
name
:
'营销管理'
,
path
:
''
},
{
name
:
'短信营销'
,
path
:
''
},
{
name
:
'短信群发'
,
path
:
''
}]);
// eslint-disable-line
this
.
getTableList
();
this
.
getQuantity
();
},
beforeDestroy
()
{
this
.
$store
.
commit
(
'mutations_layoutTips'
,
''
);
},
methods
:
{
formatDateTimeByType
,
async
getTableList
()
{
...
...
src/views/message/temp.vue
View file @
e338c221
<
template
>
<section
class=
"dm-wrap"
v-loading=
"loading"
>
<div
class=
"page-tip"
>
短信模板审核时间一般为半个工作日,具体以运营商审核为准
</div>
<div
class=
"pb10"
>
<el-select
class=
"dm-select"
v-model=
"listParams.type"
placeholder=
"选择营销场景"
@
change=
"search"
>
<el-option
v-for=
"(v, i) in libTypeOptions"
:key=
"i"
:label=
"v.label"
:value=
"v.value"
></el-option>
...
...
@@ -78,26 +79,8 @@ export default {
};
},
created
()
{
this
.
$store
.
commit
(
'mutations_breadcrumb'
,
[
{
name
:
'营销管理'
,
path
:
''
},
{
name
:
'短信营销'
,
path
:
''
},
{
name
:
'模板库'
,
path
:
''
}
]);
// eslint-disable-line
this
.
LoadLibList
();
},
mounted
()
{
this
.
$store
.
commit
(
'mutations_layoutTips'
,
`<div class="layout--tips">
<i class="el-icon-info"></i>
短信模板审核时间一般为半个工作日,具体以运营商审核为准
</div>
`
);
},
beforeDestroy
()
{
this
.
$store
.
commit
(
'mutations_layoutTips'
,
''
);
},
methods
:
{
onDeleteData
(
v
)
{
this
.
$confirm
(
'确认删除该模板?删除后,所有引用此模板的短信都会停止发送。'
,
'提示'
,
{
...
...
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