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
c5e1ed53
Commit
c5e1ed53
authored
Jan 05, 2022
by
chenyu
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'bugfix/1月5生产bug' of
http://git.gicdev.com/marketing-web/marketing
into dev
parents
97965afe
d29c4103
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
board.vue
src/views/recharge/board.vue
+4
-3
No files found.
src/views/recharge/board.vue
View file @
c5e1ed53
...
...
@@ -104,7 +104,7 @@
<div
class=
"dm-wrap"
style=
"margin-top: 12px"
>
<div
class=
"pb22"
>
<div
slot=
"header"
class=
"clearfix"
>
<el-date-picker
:pickerOptions=
"pickerOptions"
v-model=
"dateTime"
type=
"daterange"
range-separator=
"至"
start-placeholder=
"开始日期"
end-placeholder=
"结束日期"
@
change=
"consumeRecord('two')"
></el-date-picker>
<el-date-picker
:pickerOptions=
"pickerOptions"
v-model=
"dateTime"
type=
"daterange"
range-separator=
"至"
start-placeholder=
"开始日期"
end-placeholder=
"结束日期"
@
change=
"consumeRecord('two')"
@
click
.
native=
"minDate = null"
></el-date-picker>
<select-depart
v-if=
"config.isMoreAccount && config.showAllDepartment"
:data=
"deparment2"
@
load=
"() => load('two')"
@
getDepartId=
"id => getDepartId(id, 'two')"
@
remote-search=
"val => remoteSearch(val, 'two')"
:loading=
"deparment2.loading"
/>
<span
class=
"fz12 gray"
>
* 此处仅支持筛选近半年的统计数据
</span>
</div>
...
...
@@ -158,6 +158,7 @@ export default {
return
{
dateTime
:
[
Date
.
now
(),
Date
.
now
()],
minDate
:
new
Date
(),
maxDate
:
new
Date
(),
loading1
:
false
,
loading2
:
false
,
tableList
:
[],
...
...
@@ -176,9 +177,9 @@ export default {
if
(
this
.
minDate
)
{
const
curTime
=
this
.
minDate
.
getTime
();
const
min
=
curTime
-
oneMothods
>
halfYearBefore
?
curTime
-
oneMothods
:
halfYearBefore
;
return
val
.
getTime
()
>
curTime
+
oneMothods
||
val
.
getTime
()
<
min
;
return
val
.
getTime
()
>
curTime
+
oneMothods
||
val
.
getTime
()
<
min
||
val
.
getTime
()
>
this
.
maxDate
;
}
return
val
.
getTime
()
<=
halfYearBefore
;
return
val
.
getTime
()
<=
halfYearBefore
||
val
.
getTime
()
>
this
.
maxDate
;
},
onPick
:
({
maxDate
,
minDate
})
=>
{
this
.
minDate
=
minDate
;
...
...
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