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
de3398b3
Commit
de3398b3
authored
Oct 09, 2019
by
guoyou
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'base-modify' of
http://113.105.137.151:22280/youjj/cloud-platform-ui
into base-modify
parents
d7e014a5
73ec2fb5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
4 deletions
+17
-4
index.vue
src/views/vehicle/vehicleCount/index.vue
+17
-4
No files found.
src/views/vehicle/vehicleCount/index.vue
View file @
de3398b3
...
@@ -21,7 +21,7 @@
...
@@ -21,7 +21,7 @@
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"5"
>
<el-col
:span=
"5"
>
<el-form-item>
<el-form-item
label=
"开始时间"
>
<el-date-picker
<el-date-picker
v-model=
"listQuery.startTime"
v-model=
"listQuery.startTime"
type=
"date"
type=
"date"
...
@@ -32,6 +32,18 @@
...
@@ -32,6 +32,18 @@
</el-date-picker>
</el-date-picker>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"5"
>
<el-form-item
label=
"结束时间"
>
<el-date-picker
v-model=
"listQuery.endTime"
type=
"date"
:editable=
"false"
format=
"yyyy-MM-dd"
prop=
"endTime"
placeholder=
"请选择日期"
>
</el-date-picker>
</el-form-item>
</el-col>
</el-row>
</el-row>
<el-row>
<el-row>
<el-button
class=
"filter-item"
type=
"primary"
@
click=
"handlerSearch"
>
<el-button
class=
"filter-item"
type=
"primary"
@
click=
"handlerSearch"
>
...
@@ -123,7 +135,8 @@
...
@@ -123,7 +135,8 @@
return
{
return
{
listQuery
:
{
listQuery
:
{
type
:
null
,
type
:
null
,
startTime
:
new
Date
()
startTime
:
new
Date
(),
endTime
:
new
Date
()
},
},
tableKey
:
0
,
tableKey
:
0
,
typeList
:
[
typeList
:
[
...
@@ -144,7 +157,8 @@
...
@@ -144,7 +157,8 @@
},
},
methods
:
{
methods
:
{
handlerSearch
()
{
handlerSearch
()
{
this
.
listQuery
.
startTime
=
getYMD_date
(
this
.
listQuery
.
startTime
);
this
.
listQuery
.
startTime
=
getYMD_date
(
new
Date
(
this
.
listQuery
.
startTime
));
this
.
listQuery
.
endTime
=
getYMD_date
(
new
Date
(
this
.
listQuery
.
endTime
));
get
(
this
.
listQuery
).
then
(
response
=>
{
get
(
this
.
listQuery
).
then
(
response
=>
{
if
(
response
.
status
===
200
)
{
if
(
response
.
status
===
200
)
{
this
.
list
=
response
.
data
this
.
list
=
response
.
data
...
@@ -220,7 +234,6 @@
...
@@ -220,7 +234,6 @@
window
.
location
.
href
=
"https://"
+
domain
+
"/vehicle/vehicleCount/app/unauth/download?path="
+
fileName
;
window
.
location
.
href
=
"https://"
+
domain
+
"/vehicle/vehicleCount/app/unauth/download?path="
+
fileName
;
})
})
},
},
}
}
}
}
</
script
>
</
script
>
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