Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-authorize
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 fca20af9
authored
Jan 11, 2023
by
前端
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'xuyl_dev_v3.4.0' into 'v3.4.0'
修复bug See merge request
!54
2 parents
aa2c2058
25cd829d
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
18 additions
and
3 deletions
src/mixins/marketingGroup.js
src/views/friendGroup/friendGroupAdd.vue
src/views/wechatGroup/addWechatGroup.vue
src/mixins/marketingGroup.js
View file @
fca20af
import
*
as
dayjs
from
"dayjs"
;
export
default
{
export
default
{
data
()
{
data
()
{
return
{
return
{
...
@@ -169,6 +171,21 @@ export default {
...
@@ -169,6 +171,21 @@ export default {
this
.
isUpdate
=
false
this
.
isUpdate
=
false
this
.
viewLoading
=
false
this
.
viewLoading
=
false
},
},
// 发送时间change事件
changeValue
(
v
)
{
const
date
=
new
Date
(
v
).
getTime
()
if
(
date
<
Date
.
now
())
{
this
.
timeOptions
=
{
selectableRange
:
`
${
dayjs
()
.
add
(
1
,
'm'
)
.
format
(
'HH:mm'
)}
:00 - 23:59:59`
}
}
else
{
this
.
timeOptions
=
{
selectableRange
:
'00:00:00 - 23:59:59'
}
}
},
getBaseInfo
()
{
getBaseInfo
()
{
let
params
=
{
let
params
=
{
customerType
:
this
.
basicForm
.
selectType
,
customerType
:
this
.
basicForm
.
selectType
,
...
@@ -187,7 +204,6 @@ export default {
...
@@ -187,7 +204,6 @@ export default {
params
.
crowdList
=
this
.
basicForm
.
crowdList
params
.
crowdList
=
this
.
basicForm
.
crowdList
params
.
combineType
=
combineType
.
crowd
params
.
combineType
=
combineType
.
crowd
}
}
console
.
log
(
params
)
return
params
return
params
},
},
// 人群筛选弹窗
// 人群筛选弹窗
...
...
src/views/friendGroup/friendGroupAdd.vue
View file @
fca20af
...
@@ -367,11 +367,11 @@ export default {
...
@@ -367,11 +367,11 @@ export default {
taskMerchantId
,
taskMerchantId
,
sendType
sendType
}
}
params
.
customerType
=
peopleParams
.
customerType
if
(
params
.
sendType
==
2
)
{
if
(
params
.
sendType
==
2
)
{
params
.
sendTime
=
this
.
basicForm
.
sendTime
+
' '
+
this
.
basicForm
.
sendDate
params
.
sendTime
=
this
.
basicForm
.
sendTime
+
' '
+
this
.
basicForm
.
sendDate
}
}
console
.
log
(
params
)
this
.
addLoading
=
true
this
.
addLoading
=
true
this
.
$apis
.
friendGroup
.
batchmomentSave
(
params
).
then
(
res
=>
{
this
.
$apis
.
friendGroup
.
batchmomentSave
(
params
).
then
(
res
=>
{
this
.
addLoading
=
false
this
.
addLoading
=
false
...
...
src/views/wechatGroup/addWechatGroup.vue
View file @
fca20af
...
@@ -371,7 +371,6 @@ export default {
...
@@ -371,7 +371,6 @@ export default {
})
})
params
.
contentList
=
contentList
params
.
contentList
=
contentList
this
.
addLoading
=
true
this
.
addLoading
=
true
console
.
log
(
params
)
await
this
.
$apis
.
wechatGroup
.
atchmessagingCreate
(
params
).
then
(
res
=>
{
await
this
.
$apis
.
wechatGroup
.
atchmessagingCreate
(
params
).
then
(
res
=>
{
if
(
res
.
code
==
0
)
{
if
(
res
.
code
==
0
)
{
this
.
$message
({
this
.
$message
({
...
...
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