Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-drainage
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 af4c33b9
authored
Dec 09, 2022
by
前端
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'xuyl_3.2.0_fix' into 'v3.2.0'
修复营销bug See merge request
!40
2 parents
3700bdca
860731f6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
11 deletions
src/views/market/config.vue
src/views/market/config.vue
View file @
af4c33b
...
...
@@ -279,7 +279,6 @@ const validateTime = (rule, value, callback) => {
}
}
const
validateContent
=
(
rule
,
value
,
callback
)
=>
{
console
.
log
(
value
)
if
(
value
==
`【
${
Vue
.
prototype
.
$globalState
.
session
.
merchantName
}
】`
)
{
callback
(
new
Error
(
'请选择短信模板'
))
}
else
{
...
...
@@ -396,7 +395,6 @@ export default {
},
crowding
:
{
handler
()
{
console
.
log
(
this
.
crowding
)
if
(
this
.
crowding
.
length
==
0
)
{
this
.
contactNum
=
0
return
...
...
@@ -407,7 +405,6 @@ export default {
},
labeling
:
{
handler
()
{
console
.
log
(
this
.
labeling
.
length
)
if
(
this
.
labeling
.
length
==
0
)
{
this
.
contactNum
=
0
this
.
filterTagging
=
[]
...
...
@@ -443,7 +440,6 @@ export default {
this
.
labeling
=
[]
this
.
crowding
=
[]
this
.
contactNum
=
0
console
.
log
(
'清空'
)
})
.
catch
(()
=>
{
this
.
selectType
=
oldVal
...
...
@@ -457,7 +453,6 @@ export default {
})
.
then
(()
=>
{
this
.
clearFile
()
console
.
log
(
'清空了'
)
})
.
catch
(()
=>
{
this
.
selectType
=
oldVal
...
...
@@ -481,7 +476,6 @@ export default {
this
.
$router
.
push
(
'/market/index'
)
},
handleCancel
()
{
console
.
log
(
this
.
saveStatus
)
if
(
this
.
saveStatus
||
(
this
.
$refs
.
welcome
&&
this
.
$refs
.
welcome
.
previewList
.
length
>
0
&&
this
.
editStatus
))
{
this
.
dialogVisible
=
true
}
else
{
...
...
@@ -504,7 +498,6 @@ export default {
const
file
=
e
.
srcElement
.
files
[
0
]
let
AllImgExt
=
'.xls|.xlsx'
let
extName
=
file
.
name
.
substring
(
file
.
name
.
lastIndexOf
(
'.'
)).
toLowerCase
()
console
.
log
(
extName
)
if
(
AllImgExt
.
indexOf
(
extName
)
===
-
1
)
{
this
.
$message
.
error
(
'上传格式不正确'
)
return
false
...
...
@@ -551,7 +544,6 @@ export default {
},
selectActivity
(
item
)
{
this
.
ModelItem
=
item
console
.
log
(
this
.
ModelItem
)
},
handleSaveImport
()
{
const
groupIds
=
this
.
crowding
.
map
(
item
=>
item
.
crowdId
)
...
...
@@ -601,7 +593,7 @@ export default {
this
.
$message
.
error
(
'请上传客户信息'
)
return
}
if
(
!
this
.
imName
)
{
if
(
!
this
.
addForm
.
imName
)
{
this
.
imNameStatus
=
true
return
}
...
...
@@ -691,7 +683,6 @@ export default {
this
.
$refs
.
screenTagForm
.
init
(
this
.
labeling
)
},
handleCrowd
()
{
console
.
log
(
this
.
crowding
)
this
.
$refs
.
selectCrowdForm
.
init
(
this
.
crowding
)
},
crowdChecked
(
item
)
{
...
...
@@ -724,7 +715,6 @@ export default {
const
taggingList
=
tagging
.
map
(
item
=>
{
let
name
=
item
.
name
.
split
(
','
)
let
ids
=
item
.
tagIds
.
split
(
','
)
console
.
log
(
ids
)
let
labelList
=
name
.
map
((
tag
,
index
)
=>
{
return
{
id
:
ids
[
index
],
name
:
tag
}
})
...
...
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