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
5d459770
Commit
5d459770
authored
Aug 03, 2019
by
denghr
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
预约信息
parent
5a3cf766
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
399 additions
and
154 deletions
+399
-154
index.js
src/api/vehicle/bookRecord/index.js
+18
-0
index.vue
src/views/vehicle/bookRecord/index.vue
+376
-149
index.vue
src/views/vehicle/vehicleInfo/index.vue
+5
-5
No files found.
src/api/vehicle/bookRecord/index.js
View file @
5d459770
...
@@ -79,4 +79,22 @@ export function saveOrderViolation(params) {
...
@@ -79,4 +79,22 @@ export function saveOrderViolation(params) {
method
:
'post'
,
method
:
'post'
,
data
:
params
data
:
params
});
});
}
//出车
export
function
departureVehicle
(
param
)
{
return
fetch
({
url
:
'/vehicle/active/small/departure'
,
method
:
'post'
,
data
:
param
});
}
//收车
export
function
arrivalVehicle
(
param
)
{
return
fetch
({
url
:
'/vehicle/active/small/arrival'
,
method
:
'post'
,
data
:
param
});
}
}
\ No newline at end of file
src/views/vehicle/bookRecord/index.vue
View file @
5d459770
This diff is collapsed.
Click to expand it.
src/views/vehicle/vehicleInfo/index.vue
View file @
5d459770
...
@@ -322,10 +322,10 @@
...
@@ -322,10 +322,10 @@
<
template
scope=
"scope"
>
<
template
scope=
"scope"
>
<el-button
size=
"small"
class=
"el-button el-button--text el-button--small"
@
click=
"handleUpdate(scope.row)"
>
{{
vehicleInfo_btn_edit
?
"编辑"
:
"查看"
}}
<el-button
size=
"small"
class=
"el-button el-button--text el-button--small"
@
click=
"handleUpdate(scope.row)"
>
{{
vehicleInfo_btn_edit
?
"编辑"
:
"查看"
}}
</el-button>
</el-button>
<el-button
v-if=
"scope.row.status == 1&&vehicleInfo_btn_ride"
size=
"small"
class=
"el-button el-button--text el-button--small"
@
click=
"departureHandler(scope.row)"
>
出车
<
!--
<
el-button
v-if=
"scope.row.status == 1&&vehicleInfo_btn_ride"
size=
"small"
class=
"el-button el-button--text el-button--small"
@
click=
"departureHandler(scope.row)"
>
出车
</el-button>
</el-button>
-->
<el-button
v-if=
"scope.row.status == 4"
size=
"small"
class=
"el-button el-button--text el-button--small"
@
click=
"arrivalHandler(scope.row)"
>
收车
<
!--
<
el-button
v-if=
"scope.row.status == 4"
size=
"small"
class=
"el-button el-button--text el-button--small"
@
click=
"arrivalHandler(scope.row)"
>
收车
</el-button>
</el-button>
-->
<el-button
v-if=
"scope.row.status == 1"
size=
"small"
class=
"el-button el-button--text el-button--small"
@
click=
"upkeepHandler(scope.row)"
>
保养
<el-button
v-if=
"scope.row.status == 1"
size=
"small"
class=
"el-button el-button--text el-button--small"
@
click=
"upkeepHandler(scope.row)"
>
保养
</el-button>
</el-button>
...
@@ -338,7 +338,7 @@
...
@@ -338,7 +338,7 @@
</el-button>
</el-button>
<el-button
size=
"small"
class=
"el-button el-button--text el-button--small"
@
click=
"handleBookInfo(scope.row)"
>
预订信息
</el-button>
<el-button
size=
"small"
class=
"el-button el-button--text el-button--small"
@
click=
"handleBookInfo(scope.row)"
>
预订信息
</el-button>
<el-button
size=
"small"
class=
"el-button el-button--text el-button--small"
@
click=
"handleDepartureLog(scope.row)"
>
出车记录
</el-button>
<el-button
size=
"small"
class=
"el-button el-button--text el-button--small"
@
click=
"handleDepartureLog(scope.row)"
>
出车记录
</el-button>
<el-button
type=
"danger"
size=
"small"
@
click=
"deleteHandler(scope.row)"
v-if=
"vehicleInfo_btn_ret"
>
删除
</el-button>
<el-button
type=
"danger"
size=
"small"
@
click=
"deleteHandler(scope.row)"
style=
"margin-left:0px"
v-if=
"vehicleInfo_btn_ret"
>
删除
</el-button>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
...
...
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