Commit 5d459770 authored by denghr's avatar denghr

预约信息

parent 5a3cf766
...@@ -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
This diff is collapsed.
...@@ -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>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment