9c842441 by 杨炀

Merge branch 'dev' of https://code.itechtop.cn/yangyang/dance-pc into dev

2 parents 348487be 017ca9eb
...@@ -63,7 +63,7 @@ ...@@ -63,7 +63,7 @@
63 <!-- 时间 --> 63 <!-- 时间 -->
64 <div class="select_item_box"> 64 <div class="select_item_box">
65 <div class="label"> 65 <div class="label">
66 {{ triggerLanguage(language, "时间", "Event Date & Time") }} 66 {{ triggerLanguage(language, "场次", "Session") }}
67 </div> 67 </div>
68 <div class="select_item"> 68 <div class="select_item">
69 <div 69 <div
...@@ -118,7 +118,9 @@ ...@@ -118,7 +118,9 @@
118 }} 118 }}
119 </div> 119 </div>
120 <div v-else class="btn forPc" style="margin-left: 40px" @click="toSelectSeat()"> 120 <div v-else class="btn forPc" style="margin-left: 40px" @click="toSelectSeat()">
121 {{ triggerLanguage(language, "添加观影人", "Add Moviegoers") }} 121 {{
122 triggerLanguage(language, "立即购票", "Buy tickets now")
123 }}
122 </div> 124 </div>
123 125
124 </div> 126 </div>
...@@ -235,7 +237,7 @@ function toSelectSeat() { ...@@ -235,7 +237,7 @@ function toSelectSeat() {
235 return 237 return
236 } 238 }
237 checkNonPayment().then(res => { 239 checkNonPayment().then(res => {
238 if (!res.count) { 240 if (res.data) {
239 router.push({ 241 router.push({
240 name: 'confirmOrder', 242 name: 'confirmOrder',
241 params: { 243 params: {
...@@ -245,7 +247,7 @@ function toSelectSeat() { ...@@ -245,7 +247,7 @@ function toSelectSeat() {
245 } 247 }
246 }) 248 })
247 } else { 249 } else {
248 router.push('/center/myInfo') 250 router.push('/center/myReservation')
249 } 251 }
250 252
251 }) 253 })
......
...@@ -121,7 +121,8 @@ ...@@ -121,7 +121,8 @@
121 </div> 121 </div>
122 122
123 <div class="text-right"> 123 <div class="text-right">
124 <el-button v-if="b.orderType == 0&&b.viewStatus!=0" class="mb10" plain round size="small" type="success" 124 <el-button v-if="(b.orderType == 0||b.orderType == 5)&&b.viewStatus!=0" class="mb10" plain round
125 size="small" type="success"
125 @click="Rebook(b)"> 126 @click="Rebook(b)">
126 {{ language == 0 ? '再次预订' : 'Rebook' }} 127 {{ language == 0 ? '再次预订' : 'Rebook' }}
127 </el-button> 128 </el-button>
...@@ -208,16 +209,25 @@ function goDetail(b) { ...@@ -208,16 +209,25 @@ function goDetail(b) {
208 209
209 function Rebook(row) { 210 function Rebook(row) {
210 console.log(row) 211 console.log(row)
211 router.push({ 212 if (row.orderType == 0) {
212 name: 'hotelDetail', 213 router.push({
213 params: { 214 name: 'hotelDetail',
214 cptId: row.activeId, 215 params: {
215 hotelId: row.hotelId 216 cptId: row.activeId,
216 }, 217 hotelId: row.hotelId
217 query: { 218 },
218 id: row.extId 219 query: {
219 } 220 id: row.extId
220 }) 221 }
222 })
223 } else {
224 router.push({
225 name: 'ticket',
226 params: {
227 activeId: row.activeId,
228 }
229 })
230 }
221 } 231 }
222 232
223 const cancel = (row) => { 233 const cancel = (row) => {
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!