cdb9930d by 李婷婷

票务

1 parent ae1a1f37
...@@ -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.data || [] 100 list.value = res.data.filter(item => item.viewStatus == 1) || []
101 loading.value = false 101 loading.value = false
102 } 102 }
103 103
......
1 <template> 1 <template>
2 <el-dialog v-model="show" :close-on-click-modal="false" :title="language === 0 ? '预订查询' : 'Reservation Inquiry'" 2 <el-dialog v-model="show" :close-on-click-modal="false" style="max-width: 700px;min-width: 350px;" :title="language === 0 ? '预订查询' : 'Reservation Inquiry'"
3 align-center append-to-body center class="booking-inquiry-dialog" close-icon="CircleClose" destroy-on-close> 3 align-center center class="booking-inquiry-dialog" close-icon="CircleClose" destroy-on-close>
4 <!-- 查询区域 --> 4 <!-- 查询区域 -->
5 <div class="search-container"> 5 <div class="search-container">
6 <el-input v-model="query" :placeholder="language === 0 ? '输入邮箱号查询' : 'Enter email to Query'" clearable 6 <el-input v-model="query" :placeholder="language === 0 ? '输入邮箱号查询' : 'Enter email to Query'" clearable
...@@ -183,18 +183,27 @@ defineExpose({ ...@@ -183,18 +183,27 @@ defineExpose({
183 </script> 183 </script>
184 184
185 <style lang="scss" scoped> 185 <style lang="scss" scoped>
186 .booking-inquiry-dialog { 186 ::v-deep .el-dialog.booking-inquiry-dialog {
187 min-width: 300px; 187
188 max-width: 500px; 188 padding: 15px;
189 padding: 15px; 189 min-width: 300px;
190 190
191 // 适配移动端 191 @media (min-width: 768px) {
192 @media (max-width: 768px) { 192 width: 50% !important;
193 width: 90% !important; 193 max-width: 1000px !important;
194 max-width: none;
195 } 194 }
196 }
197 195
196 @media (max-width: 767px) {
197 --el-dialog-width: 90% !important;
198 width: 90% !important;
199 max-width: none !important;
200 }
201 }
202 ::v-deep .el-dialog__wrapper {
203 display: flex !important;
204 justify-content: center !important;
205 align-items: center !important;
206 }
198 .search-container { 207 .search-container {
199 display: flex; 208 display: flex;
200 gap: 10px; 209 gap: 10px;
......
...@@ -548,7 +548,7 @@ const init = () => { ...@@ -548,7 +548,7 @@ const init = () => {
548 } 548 }
549 } 549 }
550 matchData.value = maList.value[0] 550 matchData.value = maList.value[0]
551 console.log(matchData.value) 551
552 }) 552 })
553 getpartners() 553 getpartners()
554 } 554 }
......
...@@ -156,13 +156,13 @@ ...@@ -156,13 +156,13 @@
156 </div> 156 </div>
157 </template> 157 </template>
158 </el-table-column> 158 </el-table-column>
159 <el-table-column :label="language==0?'操作':'Actions'"> 159 <!-- <el-table-column :label="language==0?'操作':'Actions'">
160 <template #default="scope"> 160 <template #default="scope">
161 <a class="text-primary pd10" @click="delperson(scope.row)"> 161 <a class="text-primary pd10" @click="delperson(scope.row)">
162 {{ language == 0 ? '删除' : 'Delete' }} 162 {{ language == 0 ? '删除' : 'Delete' }}
163 </a> 163 </a>
164 </template> 164 </template>
165 </el-table-column> 165 </el-table-column> -->
166 </el-table> 166 </el-table>
167 </div> 167 </div>
168 168
......
...@@ -64,39 +64,39 @@ export default defineConfig(({ mode, command }) => { ...@@ -64,39 +64,39 @@ export default defineConfig(({ mode, command }) => {
64 proxy: { 64 proxy: {
65 // https://cn.vitejs.dev/config/#server-proxy 65 // https://cn.vitejs.dev/config/#server-proxy
66 '/dev-api/ztx-train': { 66 '/dev-api/ztx-train': {
67 target: 'http://192.168.1.128:8081', 67 // target: 'http://192.168.1.128:8081',
68 // target: 'https://wdsfwuxicenter.com/stage-api', 68 // target: 'https://wdsfwuxicenter.com/stage-api',
69 // target: 'https://jijin.wtwuxicenter.com/stage-api', 69 target: 'https://jijin.wtwuxicenter.com/stage-api',
70 changeOrigin: true, 70 changeOrigin: true,
71 rewrite: (p) => p.replace(/^\/dev-api\/ztx-train/, '') 71 rewrite: (p) => p.replace(/^\/dev-api\/ztx-train/, '')
72 }, 72 },
73 '/dev-api/ztx-match': { 73 '/dev-api/ztx-match': {
74 target: 'http://192.168.1.128:8081', 74 // target: 'http://192.168.1.128:8081',
75 // target: 'https://jijin.wtwuxicenter.com/stage-api', 75 target: 'https://jijin.wtwuxicenter.com/stage-api',
76 // target: 'https://wdsfwuxicenter.com/stage-api', 76 // target: 'https://wdsfwuxicenter.com/stage-api',
77 // target: 'https://wdsfwuxicenter.com/stage-api/', 77 // target: 'https://wdsfwuxicenter.com/stage-api/',
78 changeOrigin: true, 78 changeOrigin: true,
79 rewrite: (p) => p.replace(/^\/dev-api\/ztx-match/, '') 79 rewrite: (p) => p.replace(/^\/dev-api\/ztx-match/, '')
80 }, 80 },
81 '/dev-api/ztx-webSite': { 81 '/dev-api/ztx-webSite': {
82 target: 'http://192.168.1.128:8081', 82 // target: 'http://192.168.1.128:8081',
83 // target: 'https://wdsfwuxicenter.com/stage-api', 83 // target: 'https://wdsfwuxicenter.com/stage-api',
84 // target: 'https://jijin.wtwuxicenter.com/stage-api', 84 target: 'https://jijin.wtwuxicenter.com/stage-api',
85 changeOrigin: true, 85 changeOrigin: true,
86 rewrite: (p) => p.replace(/^\/dev-api\/ztx-webSite/, '') 86 rewrite: (p) => p.replace(/^\/dev-api\/ztx-webSite/, '')
87 }, 87 },
88 '/dev-api': { 88 '/dev-api': {
89 target: 'http://192.168.1.128:8081', 89 // target: 'http://192.168.1.128:8081',
90 // target: 'http://192.168.1.169:8081', 90 // target: 'http://192.168.1.169:8081',
91 // target: 'https://jijin.wtwuxicenter.com/stage-api', 91 target: 'https://jijin.wtwuxicenter.com/stage-api',
92 // target: 'https://wdsfwuxicenter.com/stage-api/', 92 // target: 'https://wdsfwuxicenter.com/stage-api/',
93 // target: 'https://jijin.wtwuxicenter.com/stage-api', 93 // target: 'https://jijin.wtwuxicenter.com/stage-api',
94 changeOrigin: true, 94 changeOrigin: true,
95 rewrite: (p) => p.replace(/^\/dev-api/, '') 95 rewrite: (p) => p.replace(/^\/dev-api/, '')
96 }, 96 },
97 '/ticket': { 97 '/ticket': {
98 // target: 'https://jijin.wtwuxicenter.com/stage-api', 98 target: 'https://jijin.wtwuxicenter.com/stage-api',
99 target: 'http://192.168.1.128:8081', 99 // target: 'http://192.168.1.128:8081',
100 // target: 'https://wdsfwuxicenter.com/h5/', 100 // target: 'https://wdsfwuxicenter.com/h5/',
101 // target: 'https://ticketh5.wdsfwuxicenter.com/h5/', 101 // target: 'https://ticketh5.wdsfwuxicenter.com/h5/',
102 changeOrigin: true, 102 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!