Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-points
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 59193d90
authored
Jan 25, 2024
by
杨北旺
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修复bug
1 parent
1007f5b4
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
6 deletions
src/views/sms/add.vue
src/views/storeCredit/add.vue
src/views/sms/add.vue
View file @
59193d9
...
...
@@ -160,6 +160,9 @@ export default {
customerJf
=
'#客户积分#'
,
customerName
=
'#客户姓名#'
// 如果标题中包含,关键字就替换一下
if
(
title
.
length
>
500
)
{
title
=
title
.
substring
(
0
,
500
)
}
if
(
title
.
includes
(
shortLink
))
{
title
=
title
.
replaceAll
(
shortLink
,
'<font style="color:#5092FF !important;">'
+
shortLink
+
'</font>'
)
}
...
...
@@ -169,9 +172,6 @@ export default {
if
(
title
.
includes
(
customerName
))
{
title
=
title
.
replaceAll
(
customerName
,
'<font style="color:#5850ff !important;">'
+
customerName
+
'</font>'
)
}
if
(
title
.
length
>
500
)
{
title
=
title
.
substring
(
0
,
500
)
}
return
title
},
// 获取标签文案
...
...
@@ -254,7 +254,7 @@ export default {
// 筛选已打开的短信模块
for
(
let
k
in
_temp
)
{
const
target
=
_temp
[
k
]
if
(
target
.
switch
)
{
if
(
target
.
switch
||
target
.
id
)
{
isHaveOpen
=
true
needCheckList
.
push
(
target
)
}
...
...
@@ -370,7 +370,7 @@ export default {
})
}
},
onchangeInput
(){
onchangeInput
()
{
this
.
editStatus
=
true
}
}
...
...
src/views/storeCredit/add.vue
View file @
59193d9
...
...
@@ -249,6 +249,7 @@
size
=
"medium"
>
取消
<
/el-button
>
<
el
-
button
v
-
if
=
"!isWatchPage"
type
=
"primary"
@
click
=
"handleConfirm"
size
=
"medium"
...
...
@@ -459,12 +460,14 @@ export default {
gasCardServiceCharge
:
0
,
passageServiceCharge
:
0
}
,
pageNum
:
1
pageNum
:
1
,
isWatchPage
:
false
}
}
,
mounted
()
{
const
{
id
,
type
}
=
this
.
$route
.
query
if
(
id
)
this
.
getDetail
(
id
,
type
)
this
.
isWatchPage
=
!
type
}
,
methods
:
{
refreshTable
({
pageNum
}
)
{
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment