Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
A
admin-base
Project
Project
Details
Activity
Releases
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
new-sing
admin-base
Commits
d566ad54
Commit
d566ad54
authored
Nov 20, 2018
by
王
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
群发助手48小时默认时间
parent
3e25e101
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
index.vue
src/components/groupSend/index.vue
+2
-1
No files found.
src/components/groupSend/index.vue
View file @
d566ad54
...
...
@@ -551,6 +551,7 @@
let
msgTips
=
this
.
searchFrom
.
is_test
?
'发送筛选用户,'
:
'不发送筛选用户,'
;
if
(
this
.
searchFrom
.
type
===
1
){
if
(
this
.
searchFrom
.
time
&&
this
.
searchFrom
.
time
.
length
>
0
){
console
.
log
(
'this.searchFrom.time'
,
this
.
searchFrom
.
time
)
json
.
start_at
=
CommonJs
.
dateFmt
(
this
.
searchFrom
.
time
[
0
],
"yyyy-MM-dd hh:mm:ss"
);
json
.
end_at
=
CommonJs
.
dateFmt
(
this
.
searchFrom
.
time
[
1
],
"yyyy-MM-dd hh:mm:ss"
);
msgTips
+=
'48时内关注但未购课用户('
+
json
.
start_at
+
'~'
+
json
.
end_at
+
','
;
...
...
@@ -861,7 +862,7 @@
let
date
=
new
Date
();
let
now_seconds
=
date
.
getTime
();
let
start_seconds
=
now_seconds
-
48
*
60
*
60
*
1000
;
this
.
searchFrom
.
time
=
[
CommonJs
.
dateFmt
(
new
Date
(
start_seconds
),
'yyyy-MM-dd hh:mm:ss'
),
CommonJs
.
dateFmt
(
new
Date
(
now_seconds
),
'yyyy-MM-dd hh:mm:ss'
)]
this
.
searchFrom
.
time
=
[
new
Date
(
start_seconds
),
new
Date
(
now_seconds
)]
}
},
mounted
(){
...
...
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