Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
cloud-platform-ui
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
youjj
cloud-platform-ui
Commits
5b190ae4
Commit
5b190ae4
authored
Dec 19, 2019
by
guoyou
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
订单统计日期筛选
parent
0e5545cf
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
7 deletions
+15
-7
orderStatistics.vue
src/views/statistics/orderStatistics.vue
+15
-7
No files found.
src/views/statistics/orderStatistics.vue
View file @
5b190ae4
...
@@ -4,14 +4,22 @@
...
@@ -4,14 +4,22 @@
<el-form
ref=
"listQuery"
:model=
"listQuery"
label-width=
"100px"
:inline=
"true"
>
<el-form
ref=
"listQuery"
:model=
"listQuery"
label-width=
"100px"
:inline=
"true"
>
<el-row>
<el-row>
<el-form-item
label=
"时间"
>
<el-form-item
label=
"时间"
>
<el-date-picker
<
!--
<
el-date-picker
v-model=
"time"
v-model=
"time"
placeholder=
"请选择时间"
placeholder=
"请选择时间"
type=
"datetimerange"
type=
"datetimerange"
range-separator=
"至"
range-separator=
"至"
start-placeholder=
"开始日期"
start-placeholder=
"开始日期"
end-placeholder=
"结束日期"
end-placeholder=
"结束日期"
></el-date-picker>
></el-date-picker>
-->
<el-date-picker
v-model=
"time"
type=
"daterange"
placeholder=
"请选择时间范围"
range-separator=
"至"
start-placeholder=
"开始日期"
end-placeholder=
"结束日期"
>
</el-date-picker>
</el-form-item>
</el-form-item>
<el-form-item
label=
"统计周期"
>
<el-form-item
label=
"统计周期"
>
<el-radio-group
v-model=
"listQuery.statisticalWay"
>
<el-radio-group
v-model=
"listQuery.statisticalWay"
>
...
@@ -276,12 +284,12 @@ export default {
...
@@ -276,12 +284,12 @@ export default {
if
(
!!
this
.
time
)
{
if
(
!!
this
.
time
)
{
this
.
listQuery
.
startDate
=
formatDate
(
this
.
listQuery
.
startDate
=
formatDate
(
new
Date
(
this
.
time
[
0
]),
new
Date
(
this
.
time
[
0
]),
'yyyy-MM-dd
hh:mm:ss
'
'yyyy-MM-dd'
)
)
+
" 00:00:00"
this
.
listQuery
.
endDate
=
formatDate
(
this
.
listQuery
.
endDate
=
formatDate
(
new
Date
(
this
.
time
[
1
]),
new
Date
(
this
.
time
[
1
]),
'yyyy-MM-dd
hh:mm:ss
'
'yyyy-MM-dd'
)
)
+
" 23:59:59"
}
}
this
.
getList
()
this
.
getList
()
},
},
...
@@ -293,7 +301,7 @@ export default {
...
@@ -293,7 +301,7 @@ export default {
page
:
1
,
//当前页
page
:
1
,
//当前页
limit
:
10
,
//每页条数
limit
:
10
,
//每页条数
statisticalWay
:
1
,
//统计方式
statisticalWay
:
1
,
//统计方式
orderState
:
null
,
//订单状态
orderState
:
''
,
//订单状态
orderOrigin
:
null
,
//来源
orderOrigin
:
null
,
//来源
payWay
:
null
,
//支付方式
payWay
:
null
,
//支付方式
statisticalSigns
:
[
'aa_ota'
]
//筛选
statisticalSigns
:
[
'aa_ota'
]
//筛选
...
...
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