0de836b9 by zhangmeng

车辆

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