8ee9c688 by 华明祺

no message

1 parent 8ea6b012
<template>
<div style="filter: opacity(1)">
<el-row v-if="language==0" class="btnbox" justify='space-between' :gutter="15">
<el-row v-if="language==0" class="btnbox" justify="space-between" :gutter="15">
<el-col :lg="3" :md="6" :sm="12" :xs="12">
<div class="funcBtn" @click="popRemark(0)">
<img src="@/assets/dance/btn04.png"/>
<img src="@/assets/dance/btn04.png">
<h4>票务预订</h4>
</div>
</el-col>
<el-col :lg="3" :md="6" :sm="12" :xs="12">
<div class="funcBtn" @click="popRemark(1)">
<img src="@/assets/dance/btn01.png"/>
<img src="@/assets/dance/btn01.png">
<h4>酒店预订</h4>
</div>
</el-col>
<el-col :lg="3" :md="6" :sm="12" :xs="11">
<div class="funcBtn" @click="popRemark(8)">
<img src="@/assets/dance/btn08.png"/>
<img src="@/assets/dance/btn08.png">
<h4>旅游服务</h4>
</div>
</el-col>
<el-col :lg="3" :md="6" :sm="12" :xs="11">
<div class="funcBtn" @click="popRemark(2)">
<img src="@/assets/dance/btn02.png"/>
<img src="@/assets/dance/btn02.png">
<h4>车辆预订</h4>
</div>
</el-col>
<el-col :lg="3" :md="6" :sm="12" :xs="11">
<div class="funcBtn" @click="popRemark(6)">
<img src="@/assets/dance/btn07.png"/>
<img src="@/assets/dance/btn07.png">
<h4>预订查询</h4>
</div>
</el-col>
<el-col :lg="3" :md="6" :sm="12" :xs="11">
<div class="funcBtn" @click="popRemark(3)">
<img src="@/assets/dance/btn03.png"/>
<img src="@/assets/dance/btn03.png">
<h4>餐饮预订</h4>
</div>
</el-col>
<el-col :lg="3" :md="6" :sm="12" :xs="11">
<div class="funcBtn" @click="popRemark(4)">
<img src="@/assets/dance/btn05.png"/>
<img src="@/assets/dance/btn05.png">
<h4>化妆预约</h4>
</div>
</el-col>
<el-col :lg="3" :md="6" :sm="12" :xs="11">
<div class="funcBtn" @click="popRemark(5)">
<img src="@/assets/dance/btn06.png"/>
<img src="@/assets/dance/btn06.png">
<h4>拍照预约</h4>
</div>
</el-col>
</el-row>
<el-row v-else class="btnbox enBtnbox" justify='space-between' :gutter="15">
<el-row v-else class="btnbox enBtnbox" justify="space-between" :gutter="15">
<el-col :lg="3" :md="8" :sm="12" :xs="12">
<div class="funcBtn" @click="popRemark(0)">
<img src="@/assets/dance/btn04.png"/>
<img src="@/assets/dance/btn04.png">
<h4>TICKET BOOKING</h4>
</div>
</el-col>
<el-col :lg="3" :md="8" :sm="12" :xs="12">
<div class="funcBtn" @click="popRemark(1)">
<img src="@/assets/dance/btn01.png"/>
<img src="@/assets/dance/btn01.png">
<h4>HOTEL RESERVATION</h4>
</div>
</el-col>
<el-col :lg="3" :md="8" :sm="12" :xs="12">
<div class="funcBtn" @click="popRemark(8)">
<img src="@/assets/dance/btn08.png"/>
<img src="@/assets/dance/btn08.png">
<h4>TRAVEL SERVICE</h4>
</div>
</el-col>
<el-col :lg="3" :md="8" :sm="12" :xs="12">
<div class="funcBtn" @click="popRemark(2)">
<img src="@/assets/dance/btn02.png"/>
<img src="@/assets/dance/btn02.png">
<h4>TRANSPORTATION RESERVATION</h4>
</div>
</el-col>
<el-col :lg="3" :md="8" :sm="12" :xs="12">
<div class="funcBtn" @click="popRemark(6)">
<img src="@/assets/dance/btn07.png"/>
<img src="@/assets/dance/btn07.png">
<h4>RESERVATION SEARCH</h4>
</div>
</el-col>
<el-col :lg="3" :md="8" :sm="12" :xs="12">
<div class="funcBtn" @click="popRemark(3)">
<img src="@/assets/dance/btn03.png"/>
<img src="@/assets/dance/btn03.png">
<h4>DINING RESERVATION</h4>
</div>
</el-col>
<el-col :lg="3" :md="8" :sm="12" :xs="12">
<div class="funcBtn" @click="popRemark(4)">
<img src="@/assets/dance/btn05.png"/>
<img src="@/assets/dance/btn05.png">
<h4>MAKEUP APPOINTMENT</h4>
</div>
</el-col>
<el-col :lg="3" :md="8" :sm="12" :xs="12">
<div class="funcBtn" @click="popRemark(5)">
<img src="@/assets/dance/btn06.png"/>
<img src="@/assets/dance/btn06.png">
<h4>PHOTOGRAPHY APPOINTMENT</h4>
</div>
</el-col>
</el-row>
</div>
<order-remark ref="orderRemarkRef" @submit="goBooking"/>
<order-remark ref="orderRemarkRef" @submit="goBooking" />
<!-- <div class="fixedKP" @click="addInvoice">-->
<!-- <img src="@/assets/img/kp.svg"/>-->
......@@ -112,15 +112,15 @@
</template>
<script setup>
import {ElMessage} from "element-plus";
import {useRouter} from "vue-router";
import {useStorage} from "@vueuse/core/index";
import { ElMessage } from 'element-plus'
import { useRouter } from 'vue-router'
import { useStorage } from '@vueuse/core/index'
import OrderRemark from '@/viewsPc/components/orderRemark'
import {getBaseInfoByActiveId} from "@/apiPc/booking";
import {getCurrentInstance} from "@vue/runtime-core";
import {onMounted} from "vue";
import { getBaseInfoByActiveId } from '@/apiPc/booking'
import { getCurrentInstance } from '@vue/runtime-core'
import { onMounted } from 'vue'
const {proxy} = getCurrentInstance()
const { proxy } = getCurrentInstance()
const router = useRouter()
const language = useStorage('language', 0)
......@@ -148,7 +148,6 @@ onMounted(() => {
function building() {
ElMessage.warning(language.value == 0 ? '感谢您对本次比赛的关注,该服务暂无可预订信息,敬请期待。' : 'Thank you for your attention to this competition. The service is currently unavailable for booking. Please stay tuned.')
}
function popRemark(type) {
......@@ -156,7 +155,7 @@ function popRemark(type) {
return router.push({
path: '/match/list/reservationSearch',
query: {
matchId: props.matchId,
matchId: props.matchId
}
})
}
......@@ -165,13 +164,13 @@ function popRemark(type) {
return
}
if ((form.value.isJdView == 0 && type == '1')
|| (form.value.isCarView == 0 && type == '2')
|| (form.value.isFoodView == 0 && type == '3')
|| (form.value.isMealView == 0 && type == '4')
|| (form.value.isPhotoView == 0 && type == '5')
|| (form.value.isTicket == 0 && type == '0')
|| (form.value.isScenicView == 0 && type == '8')
if ((form.value.isJdView == 0 && type == '1') ||
(form.value.isCarView == 0 && type == '2') ||
(form.value.isFoodView == 0 && type == '3') ||
(form.value.isMealView == 0 && type == '4') ||
(form.value.isPhotoView == 0 && type == '5') ||
(form.value.isTicketView == 0 && type == '0') ||
(form.value.isScenicView == 0 && type == '8')
) {
building()
return
......@@ -184,7 +183,6 @@ function popRemark(type) {
cptName: props.cptName
}
proxy.$refs['orderRemarkRef'].open(params)
}
function goBooking(n) {
......@@ -192,33 +190,33 @@ function goBooking(n) {
case 0:
// 票务
router.push({
path: `/booking/ticket/${props.matchId}`,
path: `/booking/ticket/${props.matchId}`
})
break;
break
case 1:
//酒店
router.push({path: `/booking/hotel/${props.matchId}`})
break;
// 酒店
router.push({ path: `/booking/hotel/${props.matchId}` })
break
case 2:
//车辆
router.push({path: `/booking/car/${props.matchId}`})
break;
// 车辆
router.push({ path: `/booking/car/${props.matchId}` })
break
case 3:
//餐饮
router.push({path: `/booking/dinner/${props.matchId}`})
break;
// 餐饮
router.push({ path: `/booking/dinner/${props.matchId}` })
break
case 4:
//化妆
router.push({path: `/booking/makeup/${props.matchId}`})
break;
// 化妆
router.push({ path: `/booking/makeup/${props.matchId}` })
break
case 5:
//拍照
router.push({path: `/booking/photography/${props.matchId}`})
break;
// 拍照
router.push({ path: `/booking/photography/${props.matchId}` })
break
case 8:
//旅游
router.push({path: `/booking/travel/${props.matchId}`})
break;
// 旅游
router.push({ path: `/booking/travel/${props.matchId}` })
break
}
}
......
......@@ -77,15 +77,15 @@ export default defineConfig(({ mode, command }) => {
rewrite: (p) => p.replace(/^\/dev-api\/ztx-match/, '')
},
'/dev-api/ztx-webSite': {
target: 'http://192.168.1.118:8081',
// target: 'https://jijin.wtwuxicenter.com/stage-api',
// target: 'http://192.168.1.118:8081',
target: 'https://jijin.wtwuxicenter.com/stage-api',
changeOrigin: true,
rewrite: (p) => p.replace(/^\/dev-api\/ztx-webSite/, '')
},
'/dev-api': {
// target: 'http://192.168.1.213:8081/',
target: 'http://192.168.1.118:8081',
// target: 'https://jijin.wtwuxicenter.com/stage-api',
// target: 'http://192.168.1.118:8081',
target: 'https://jijin.wtwuxicenter.com/stage-api',
// target: 'https://wdsfwuxicenter.com/stage-api/',
changeOrigin: true,
rewrite: (p) => p.replace(/^\/dev-api/, '')
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!