cdb9930d by 李婷婷

票务

1 parent ae1a1f37
......@@ -97,7 +97,7 @@ function getList() {
async function getVehicleByCheckIn() {
loading.value = true
const res = await booking.getVehicleByCheckIn(query.value)
list.value = res.data || []
list.value = res.data.filter(item => item.viewStatus == 1) || []
loading.value = false
}
......
<template>
<el-dialog v-model="show" :close-on-click-modal="false" :title="language === 0 ? '预订查询' : 'Reservation Inquiry'"
align-center append-to-body center class="booking-inquiry-dialog" close-icon="CircleClose" destroy-on-close>
<el-dialog v-model="show" :close-on-click-modal="false" style="max-width: 700px;min-width: 350px;" :title="language === 0 ? '预订查询' : 'Reservation Inquiry'"
align-center center class="booking-inquiry-dialog" close-icon="CircleClose" destroy-on-close>
<!-- 查询区域 -->
<div class="search-container">
<el-input v-model="query" :placeholder="language === 0 ? '输入邮箱号查询' : 'Enter email to Query'" clearable
......@@ -183,18 +183,27 @@ defineExpose({
</script>
<style lang="scss" scoped>
.booking-inquiry-dialog {
min-width: 300px;
max-width: 500px;
padding: 15px;
// 适配移动端
@media (max-width: 768px) {
width: 90% !important;
max-width: none;
::v-deep .el-dialog.booking-inquiry-dialog {
padding: 15px;
min-width: 300px;
@media (min-width: 768px) {
width: 50% !important;
max-width: 1000px !important;
}
}
@media (max-width: 767px) {
--el-dialog-width: 90% !important;
width: 90% !important;
max-width: none !important;
}
}
::v-deep .el-dialog__wrapper {
display: flex !important;
justify-content: center !important;
align-items: center !important;
}
.search-container {
display: flex;
gap: 10px;
......
......@@ -548,7 +548,7 @@ const init = () => {
}
}
matchData.value = maList.value[0]
console.log(matchData.value)
})
getpartners()
}
......
......@@ -156,13 +156,13 @@
</div>
</template>
</el-table-column>
<el-table-column :label="language==0?'操作':'Actions'">
<!-- <el-table-column :label="language==0?'操作':'Actions'">
<template #default="scope">
<a class="text-primary pd10" @click="delperson(scope.row)">
{{ language == 0 ? '删除' : 'Delete' }}
</a>
</template>
</el-table-column>
</el-table-column> -->
</el-table>
</div>
......
......@@ -64,39 +64,39 @@ export default defineConfig(({ mode, command }) => {
proxy: {
// https://cn.vitejs.dev/config/#server-proxy
'/dev-api/ztx-train': {
target: 'http://192.168.1.128:8081',
// target: 'http://192.168.1.128:8081',
// target: 'https://wdsfwuxicenter.com/stage-api',
// target: 'https://jijin.wtwuxicenter.com/stage-api',
target: 'https://jijin.wtwuxicenter.com/stage-api',
changeOrigin: true,
rewrite: (p) => p.replace(/^\/dev-api\/ztx-train/, '')
},
'/dev-api/ztx-match': {
target: 'http://192.168.1.128:8081',
// target: 'https://jijin.wtwuxicenter.com/stage-api',
// target: 'http://192.168.1.128:8081',
target: 'https://jijin.wtwuxicenter.com/stage-api',
// target: 'https://wdsfwuxicenter.com/stage-api',
// target: 'https://wdsfwuxicenter.com/stage-api/',
changeOrigin: true,
rewrite: (p) => p.replace(/^\/dev-api\/ztx-match/, '')
},
'/dev-api/ztx-webSite': {
target: 'http://192.168.1.128:8081',
// target: 'http://192.168.1.128:8081',
// target: 'https://wdsfwuxicenter.com/stage-api',
// target: 'https://jijin.wtwuxicenter.com/stage-api',
target: 'https://jijin.wtwuxicenter.com/stage-api',
changeOrigin: true,
rewrite: (p) => p.replace(/^\/dev-api\/ztx-webSite/, '')
},
'/dev-api': {
target: 'http://192.168.1.128:8081',
// target: 'http://192.168.1.128:8081',
// target: 'http://192.168.1.169:8081',
// target: 'https://jijin.wtwuxicenter.com/stage-api',
target: 'https://jijin.wtwuxicenter.com/stage-api',
// target: 'https://wdsfwuxicenter.com/stage-api/',
// target: 'https://jijin.wtwuxicenter.com/stage-api',
changeOrigin: true,
rewrite: (p) => p.replace(/^\/dev-api/, '')
},
'/ticket': {
// target: 'https://jijin.wtwuxicenter.com/stage-api',
target: 'http://192.168.1.128:8081',
target: 'https://jijin.wtwuxicenter.com/stage-api',
// target: 'http://192.168.1.128:8081',
// target: 'https://wdsfwuxicenter.com/h5/',
// target: 'https://ticketh5.wdsfwuxicenter.com/h5/',
changeOrigin: true,
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!