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
554dbdbb
Commit
554dbdbb
authored
Nov 22, 2021
by
liuchenxi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update: 短信内容文案修改
parent
975b6ea6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
14 deletions
+6
-14
addTemp.vue
src/views/message/addTemp.vue
+6
-14
No files found.
src/views/message/addTemp.vue
View file @
554dbdbb
...
...
@@ -316,7 +316,7 @@ export default {
if
(
this
.
templateVar
[
para
])
return
`{${this.templateVar[para]
}}
`
;
else
return
match
;
}
);
return
this
.
form
.
sign
+
(
content
||
'{
内容区
}
'
)
+
(
this
.
isEcmMsg
?
'回T退订'
:
''
);
return
this
.
form
.
sign
+
(
content
||
'{
短信内容
}
'
)
+
(
this
.
isEcmMsg
?
'回T退订'
:
''
);
}
,
isEcmMsg
()
{
return
this
.
form
.
type
==
1
;
...
...
@@ -327,8 +327,8 @@ export default {
this
.
$store
.
commit
(
'mutations_breadcrumb'
,
[{
name
:
'营销管理'
,
path
:
''
}
,
{
name
:
'短信营销'
,
path
:
''
}
,
{
name
:
'模板库'
,
path
:
'/message/temp'
}
,
{
name
:
'编辑模板'
,
path
:
''
}
]);
// eslint-disable-line
this
.
LoadTempInfo
();
}
else
{
const
sign
=
await
this
.
getMsg
Sign
();
this
.
form
.
sign
=
sign
.
result
.
signText
;
const
sign
=
await
get
Sign
();
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
();
...
...
@@ -364,7 +364,7 @@ export default {
}
,
async
LoadTempInfo
()
{
this
.
loading
=
true
;
let
sign
=
await
this
.
getMsg
Sign
();
let
sign
=
await
get
Sign
();
let
res
=
await
LoadTempInfo
({
gicSmsTemplateId
:
this
.
$route
.
params
.
id
}
);
let
content
=
res
.
result
.
smsContent
.
trim
()
||
''
;
if
(
res
.
result
.
smsType
==
1
&&
content
.
slice
(
-
4
)
==
'回T退订'
)
{
...
...
@@ -376,7 +376,7 @@ export default {
remark
:
res
.
result
.
remark
,
title
:
res
.
result
.
smsTitle
,
gicSmsTemplateId
:
res
.
result
.
gicSmsTemplateId
,
sign
:
sign
.
result
.
signText
sign
:
sign
.
result
.
signText
?
`【${sign.result.signText
}
】`
:
''
}
;
this
.
loading
=
false
;
}
,
...
...
@@ -451,14 +451,6 @@ export default {
// 重置校验屏蔽词的状态
resetValidateStatus
()
{
if
(
this
.
validateStatus
)
this
.
validateStatus
=
null
;
}
,
// 获取短信签名
getMsgSign
()
{
return
getSign
();
// return getSign().then(res =>
{
// this.form.sign = `【$
{
res
.
result
.
signText
}】
` || '';
// console.log(12312321, this.form.sign);
//
}
);
}
}
}
;
...
...
@@ -517,7 +509,7 @@ export default {
.
inner
{
margin
:
50
px
0
0
0
;
box
-
sizing
:
border
-
box
;
word-
wrap: break-word
;
word
-
break
:
break
-
all
;
border
-
radius
:
14
px
;
padding
:
10
px
;
width
:
200
px
;
...
...
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