0de836b9 by zhangmeng

车辆

1 parent edeececc
......@@ -237,6 +237,15 @@ export function getBaseInfoByActiveId(id) {
})
}
export function vehicleConfigList(params) {
return request({
url: `/ota/vehicleConfig/list`,
method: 'get',
params
})
}
export function checkRoomPayByUserId(id) {
return request({
url: `/ota/norder/checkRoomPayByUserId`,
......
......@@ -7,7 +7,7 @@
<div class="box">
<div class="searchBar">
<el-input v-model="query.name" :placeholder="language==0?'请输入关键字搜索':'Search'" class="no-border" />
<el-button class="btn-lineG" icon="search" size="large" type="primary" @click="getList">
<el-button class="btn-lineG" icon="search" size="large" type="primary" @click="getVehicleByCheckIn">
{{ language == 0 ? '搜索' : 'Search' }}
</el-button>
</div>
......@@ -97,7 +97,7 @@ function getList() {
async function getVehicleByCheckIn() {
loading.value = true
const res = await booking.getVehicleByCheckIn(query.value)
list.value = res.rows
list.value = res.data || []
loading.value = false
}
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!