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
d6ad630e
Commit
d6ad630e
authored
Oct 12, 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
8be78a9e
09626d0e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
30 additions
and
14 deletions
+30
-14
index.vue
src/views/vehicle/vehicleCount/index.vue
+30
-14
No files found.
src/views/vehicle/vehicleCount/index.vue
View file @
d6ad630e
...
@@ -59,60 +59,71 @@
...
@@ -59,60 +59,71 @@
type=
"index"
type=
"index"
align=
"center"
label=
"序号"
width=
"117"
>
align=
"center"
label=
"序号"
width=
"117"
>
</el-table-column>
</el-table-column>
<el-table-column
width=
"1
5
0"
align=
"center"
label=
"类型"
>
<el-table-column
width=
"1
3
0"
align=
"center"
label=
"类型"
>
<template
scope=
"scope"
>
<template
scope=
"scope"
>
<span>
{{
getType
(
scope
.
row
.
type
)
}}
</span>
<span>
{{
getType
(
scope
.
row
.
type
)
}}
</span>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
width=
"1
5
0"
align=
"center"
label=
"应交车"
>
<el-table-column
width=
"1
3
0"
align=
"center"
label=
"应交车"
>
<
template
scope=
"scope"
>
<
template
scope=
"scope"
>
<span>
{{
scope
.
row
.
departureNum
}}
</span>
<span>
{{
scope
.
row
.
departureNum
}}
</span>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
width=
"1
5
0"
align=
"center"
label=
"提前交车"
>
<el-table-column
width=
"1
3
0"
align=
"center"
label=
"提前交车"
>
<
template
scope=
"scope"
>
<
template
scope=
"scope"
>
<span>
{{
scope
.
row
.
beforeDepartureNum
}}
</span>
<span>
{{
scope
.
row
.
beforeDepartureNum
}}
</span>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
width=
"120"
align=
"center"
label=
"正常交车"
>
<el-table-column
width=
"150"
align=
"center"
label=
"正常交车"
>
<
template
scope=
"scope"
>
<
template
scope=
"scope"
>
<span>
{{
scope
.
row
.
actualDepartureNum
}}
</span>
<span>
{{
scope
.
row
.
actualDepartureNum
}}
</span>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
width=
"1
5
0"
align=
"center"
label=
"延后交车"
>
<el-table-column
width=
"1
3
0"
align=
"center"
label=
"延后交车"
>
<
template
scope=
"scope"
>
<
template
scope=
"scope"
>
<span>
{{
scope
.
row
.
afterDepartureNum
}}
</span>
<span>
{{
scope
.
row
.
afterDepartureNum
}}
</span>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
width=
"1
5
0"
align=
"center"
label=
"应收车"
>
<el-table-column
width=
"1
3
0"
align=
"center"
label=
"应收车"
>
<
template
scope=
"scope"
>
<
template
scope=
"scope"
>
<span>
{{
scope
.
row
.
arrivalNum
}}
</span>
<span>
{{
scope
.
row
.
arrivalNum
}}
</span>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
width=
"1
5
0"
align=
"center"
label=
"提前收车"
>
<el-table-column
width=
"1
3
0"
align=
"center"
label=
"提前收车"
>
<
template
scope=
"scope"
>
<
template
scope=
"scope"
>
<span>
{{
scope
.
row
.
beforeArrivalNum
}}
</span>
<span>
{{
scope
.
row
.
beforeArrivalNum
}}
</span>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
width=
"1
5
0"
align=
"center"
label=
"正常收车"
>
<el-table-column
width=
"1
3
0"
align=
"center"
label=
"正常收车"
>
<
template
scope=
"scope"
>
<
template
scope=
"scope"
>
<span>
{{
scope
.
row
.
actualArrivalNum
}}
</span>
<span>
{{
scope
.
row
.
actualArrivalNum
}}
</span>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
width=
"1
5
0"
align=
"center"
label=
"延后收车"
>
<el-table-column
width=
"1
3
0"
align=
"center"
label=
"延后收车"
>
<
template
scope=
"scope"
>
<
template
scope=
"scope"
>
<span>
{{
scope
.
row
.
afterArrivalNum
}}
</span>
<span>
{{
scope
.
row
.
afterArrivalNum
}}
</span>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
width=
"200"
align=
"center"
label=
"日期"
>
<el-table-column
width=
"130"
align=
"center"
label=
"过期未出车"
>
<
template
scope=
"scope"
>
<span>
{{
scope
.
row
.
noUseNum
}}
</span>
</
template
>
</el-table-column>
<el-table-column
width=
"130"
align=
"center"
label=
"已取消"
>
<
template
scope=
"scope"
>
<span>
{{
scope
.
row
.
cancelNum
}}
</span>
</
template
>
</el-table-column>
<el-table-column
width=
"130"
align=
"center"
label=
"日期"
>
<
template
scope=
"scope"
>
<
template
scope=
"scope"
>
<span>
{{
scope
.
row
.
countDate
}}
</span>
<span>
{{
scope
.
row
.
countDate
}}
</span>
</
template
>
</
template
>
...
@@ -145,7 +156,7 @@
...
@@ -145,7 +156,7 @@
{
'id'
:
3
,
"name"
:
"内部用车"
}
{
'id'
:
3
,
"name"
:
"内部用车"
}
],
],
list
:
[],
list
:
[],
header
:
[
'序号'
,
'类型'
,
'应交车'
,
'提前交车'
,
'正常交车'
,
'延期交车'
,
'应还车'
,
'提前还车'
,
'正常还车'
,
'延期还车'
,
'日期'
],
header
:
[
'序号'
,
'类型'
,
'应交车'
,
'提前交车'
,
'正常交车'
,
'延期交车'
,
'应还车'
,
'提前还车'
,
'正常还车'
,
'延期还车'
,
'
过期未出车'
,
'已取消'
,
'
日期'
],
name
:
'export'
name
:
'export'
}
}
},
},
...
@@ -157,8 +168,12 @@
...
@@ -157,8 +168,12 @@
},
},
methods
:
{
methods
:
{
handlerSearch
()
{
handlerSearch
()
{
if
(
this
.
listQuery
.
startTime
)
{
this
.
listQuery
.
startTime
=
getYMD_date
(
new
Date
(
this
.
listQuery
.
startTime
));
this
.
listQuery
.
startTime
=
getYMD_date
(
new
Date
(
this
.
listQuery
.
startTime
));
}
if
(
this
.
listQuery
.
endTime
)
{
this
.
listQuery
.
endTime
=
getYMD_date
(
new
Date
(
this
.
listQuery
.
endTime
));
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
...
@@ -234,6 +249,7 @@
...
@@ -234,6 +249,7 @@
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