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
339f2100
Commit
339f2100
authored
May 29, 2019
by
lixy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
出车记录
parent
e7316078
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
4 deletions
+24
-4
index.vue
src/views/vehicle/vehicleDepartureLog/index.vue
+24
-4
No files found.
src/views/vehicle/vehicleDepartureLog/index.vue
View file @
339f2100
...
...
@@ -49,8 +49,22 @@
</el-col>
</el-row>
</div>
<el-button
class=
"filter-item"
type=
"primary"
:icon=
" showMoreMoreCol ? 'caret-left' : 'caret-right' "
v-waves
@
click=
"showMoreMoreCol=!showMoreMoreCol"
>
更多列
</el-button>
<el-table
:key=
'tableKey'
:data=
"list"
v-loading
.
body=
"listLoading"
border
fit
highlight-current-row
style=
"width: 100%"
>
<el-table-column
type=
"index"
label=
"编号"
width=
"65"
>
</el-table-column>
<!--
<el-table-column
align=
"center"
label=
"编号"
width=
"65"
>
-->
<!--
<template
scope=
"scope"
>
-->
<!--
<span>
{{
scope
.
row
.
id
}}
</span>
-->
<!--
</
template
>
-->
<!--</el-table-column>-->
<el-table-column
align=
"center"
label=
"车牌号"
width=
"120"
>
<
template
scope=
"scope"
>
<span>
{{
scope
.
row
.
numberPlate
}}
</span>
...
...
@@ -76,6 +90,11 @@
<span>
{{
scope
.
row
.
arrivalTime
}}
</span>
</
template
>
</el-table-column>
<el-table-column
width=
"100"
align=
"center"
label=
"还车人"
>
<
template
scope=
"scope"
>
<span>
{{
scope
.
row
.
recycleMan
}}
</span>
</
template
>
</el-table-column>
<el-table-column
width=
"250"
align=
"center"
label=
"还车地点"
>
<
template
scope=
"scope"
>
<span>
{{
scope
.
row
.
arrivalName
}}
</span>
...
...
@@ -102,25 +121,25 @@
</
template
>
</el-table-column>
<el-table-column
width=
"200"
align=
"center"
label=
"使用人电话"
>
<el-table-column
width=
"200"
align=
"center"
label=
"使用人电话"
v-if=
"showMoreMoreCol"
>
<
template
scope=
"scope"
>
<span>
{{
scope
.
row
.
userTel
}}
</span>
</
template
>
</el-table-column>
<el-table-column
width=
"200"
align=
"center"
label=
"验车人电话"
>
<el-table-column
width=
"200"
align=
"center"
label=
"验车人电话"
v-if=
"showMoreMoreCol"
>
<
template
scope=
"scope"
>
<span>
{{
scope
.
row
.
checkManTel
}}
</span>
</
template
>
</el-table-column>
<el-table-column
width=
"100"
align=
"center"
label=
"开始公里数"
>
<el-table-column
width=
"100"
align=
"center"
label=
"开始公里数"
v-if=
"showMoreMoreCol"
>
<
template
scope=
"scope"
>
<span>
{{
scope
.
row
.
mileageStart
}}
</span>
</
template
>
</el-table-column>
<el-table-column
width=
"100"
align=
"center"
label=
"结束公里数"
>
<el-table-column
width=
"100"
align=
"center"
label=
"结束公里数"
v-if=
"showMoreMoreCol"
>
<
template
scope=
"scope"
>
<span>
{{
scope
.
row
.
mileageEnd
}}
</span>
</
template
>
...
...
@@ -172,6 +191,7 @@
name
:
'vehicleDepartureLog'
,
data
()
{
return
{
showMoreMoreCol
:
false
,
form
:
{
id
:
null
,
numberPlate
:
null
,
...
...
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