Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
jijin
/
dance-pc
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
19522552
authored
2025-05-29 10:45:35 +0800
by
华明祺
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'dev' of
https://code.itechtop.cn/yangyang/dance-pc
into dev
2 parents
6332ec8d
36649f49
Hide whitespace changes
Inline
Side-by-side
Showing
18 changed files
with
617 additions
and
359 deletions
public/img/code.jpg
src/apiPc/match.js
src/plugins/modal.js
src/viewsPc/booking/component/choosePerson.vue
src/viewsPc/booking/pay.vue
src/viewsPc/booking/ticket/confirmOrder.vue
src/viewsPc/booking/ticket/index.vue
src/viewsPc/booking/travelDetail.vue
src/viewsPc/booking/travelOrder.vue
src/viewsPc/center/myReservation.vue
src/viewsPc/components/homeQuick.vue
src/viewsPc/components/querybackNumber.vue
src/viewsPc/index.vue
src/viewsPc/index_en.vue
src/viewsPc/match/components/allSportsmanListForPersonal.vue
src/viewsPc/match/detail_en.vue
src/viewsPc/saiC/index.vue
vite.config.js
public/img/code.jpg
View file @
1952255
159 KB
|
W:
|
H:
75.6 KB
|
W:
|
H:
2-up
Swipe
Onion skin
src/apiPc/match.js
View file @
1952255
...
...
@@ -344,6 +344,15 @@ export function getPerPersonList(query, userId) {
})
}
// 选择队友
export
function
getMate
(
data
)
{
return
request
({
url
:
`/systemj/personInfo/getMate`
,
method
:
'post'
,
data
})
}
// 获取团队报名时已选人员
export
function
getChooseDoneGroupCoachs
(
cptId
,
groupId
)
{
...
...
@@ -789,10 +798,11 @@ export function getZNList(params) {
}
// 团体报名校验
export
function
preCheckForGroup
(
groupId
)
{
export
function
preCheckForGroup
(
groupId
,
type
)
{
return
request
({
url
:
`/systemj/personInfo/preCheckForGroup/
${
groupId
}
`
,
method
:
'get'
method
:
'get'
,
params
:
{
type
}
})
}
...
...
src/plugins/modal.js
View file @
1952255
import
{
ElMessage
,
ElMessageBox
,
ElNotification
,
ElLoading
}
from
'element-plus'
import
{
useStorage
}
from
"@vueuse/core/index"
;
import
{
useStorage
}
from
'@vueuse/core/index'
const
language
=
useStorage
(
'language'
,
0
)
const
language
=
useStorage
(
'language'
,
0
)
let
loadingInstance
export
default
{
...
...
@@ -23,19 +23,19 @@ export default {
},
// 弹出提示
alert
(
content
)
{
return
ElMessageBox
.
alert
(
content
,
language
.
value
==
0
?
language
.
value
==
0
?
'系统提示'
:
'Tips'
:
'Tips'
)
return
ElMessageBox
.
alert
(
content
,
language
.
value
==
0
?
language
.
value
==
0
?
'系统提示'
:
'Tips'
:
'Tips'
)
},
// 错误提示
alertError
(
content
)
{
return
ElMessageBox
.
alert
(
content
,
language
.
value
==
0
?
language
.
value
==
0
?
'系统提示'
:
'Tips'
:
'Tips'
,
{
type
:
'error'
})
return
ElMessageBox
.
alert
(
content
,
language
.
value
==
0
?
language
.
value
==
0
?
'系统提示'
:
'Tips'
:
'Tips'
,
{
type
:
'error'
})
},
// 成功提示
alertSuccess
(
content
)
{
return
ElMessageBox
.
alert
(
content
,
language
.
value
==
0
?
'系统提示'
:
'Tips'
,
{
type
:
'success'
})
return
ElMessageBox
.
alert
(
content
,
language
.
value
==
0
?
'系统提示'
:
'Tips'
,
{
type
:
'success'
})
},
// 警告提示
alertWarning
(
content
)
{
return
ElMessageBox
.
alert
(
content
,
language
.
value
==
0
?
'系统提示'
:
'Tips'
,
{
type
:
'warning'
})
return
ElMessageBox
.
alert
(
content
,
language
.
value
==
0
?
'系统提示'
:
'Tips'
,
{
type
:
'warning'
})
},
// 通知提示
notify
(
content
)
{
...
...
@@ -55,17 +55,17 @@ export default {
},
// 确认窗体
confirm
(
content
)
{
return
ElMessageBox
.
confirm
(
content
,
language
.
value
==
0
?
'系统提示'
:
'Tips'
,
{
confirmButtonText
:
language
.
value
==
0
?
'确定'
:
'OK'
,
cancelButtonText
:
language
.
value
==
0
?
'取消'
:
'Cancel'
,
return
ElMessageBox
.
confirm
(
content
,
language
.
value
==
0
?
'系统提示'
:
'Tips'
,
{
confirmButtonText
:
language
.
value
==
0
?
'确定'
:
'OK'
,
cancelButtonText
:
language
.
value
==
0
?
'取消'
:
'Cancel'
,
type
:
'warning'
})
},
// 提交内容
prompt
(
content
)
{
return
ElMessageBox
.
prompt
(
content
,
language
.
value
==
0
?
'系统提示'
:
'Tips'
,
{
confirmButtonText
:
language
.
value
==
0
?
'确定'
:
'OK'
,
cancelButtonText
:
language
.
value
==
0
?
'取消'
:
'Cancel'
,
return
ElMessageBox
.
prompt
(
content
,
language
.
value
==
0
?
'系统提示'
:
'Tips'
,
{
confirmButtonText
:
language
.
value
==
0
?
'确定'
:
'OK'
,
cancelButtonText
:
language
.
value
==
0
?
'取消'
:
'Cancel'
,
type
:
'warning'
})
},
...
...
src/viewsPc/booking/component/choosePerson.vue
View file @
1952255
<
template
>
<el-dialog
v-model=
"show"
title=
"出行人信息
"
center
append-to-body
>
<el-dialog
v-model=
"show"
width=
"500"
:title=
"languageFormat(language, '出行人信息', 'Travelers')
"
center
append-to-body
>
<el-button
type=
"primary"
plain
@
click=
"addPeopl"
>
{{
languageFormat
(
language
,
"新增"
,
"Add"
)
}}
</el-button>
<el-radio-group
v-model=
"personId"
>
<div
v-for=
"(it, index) in personList"
:key=
"index"
class=
"e_item"
>
<el-radio
border
:value=
"it.id"
:disabled=
"hasPersonIds?.indexOf(it.id)!=-1"
>
<el-form>
<el-form-item
prop=
"message"
>
<div
class=
"p_box"
>
<div
class=
"people"
>
<el-radio-group
v-model=
"personId"
>
<div
v-for=
"(it, index) in personList"
:key=
"index"
class=
"e_item"
>
<el-radio
border
:value=
"it.id"
:disabled=
"hasPersonIds?.indexOf(it.id)!=-1"
>
<div>
{{
it
.
name
}}
{{
it
.
idCard
}}
</div>
</el-radio>
</div>
</el-radio-group>
<div
class=
"name"
>
{{
it
.
name
}}
</div>
<div
class=
"code"
>
<span
v-if=
"it.idcType==0"
>
{{
language
==
0
?
'身份证'
:
'ID number'
}}
</span>
<span
v-if=
"it.idcType==1"
>
{{
language
==
0
?
'护照'
:
'Passport'
}}
</span>
<span
v-if=
"it.idcType==2"
>
{{
language
==
0
?
'其他'
:
'Other'
}}
</span>
{{
it
.
idCard
}}
</div>
</div>
</el-form-item>
</el-form>
</el-radio>
</div>
</el-radio-group>
<template
#
footer
>
<div
class=
"dialog-footer"
>
<el-button
@
click=
"show = false"
>
取 消
</el-button>
<el-button
type=
"primary"
@
click=
"addPerson"
>
完成
</el-button>
<el-button
@
click=
"show = false"
>
{{
languageFormat
(
language
,
"取 消"
,
"Cancel"
)
}}
</el-button>
<el-button
type=
"primary"
@
click=
"addPerson"
>
{{
languageFormat
(
language
,
"完 成"
,
"Ok"
)
}}
</el-button>
</div>
</
template
>
</el-dialog>
...
...
@@ -32,21 +28,21 @@
<el-dialog
v-model=
"showAdd"
title=
"新增出行人"
center
append-to-body
>
<el-form
ref=
"formRef"
:model=
"form"
label-width=
"100px"
size=
"large"
style=
"margin: 80px"
ref=
"formRef"
:model=
"form"
label-width=
"100px"
size=
"large"
style=
"margin: 80px"
>
<el-form-item
:label=
"language==0?'姓名':'name'"
prop=
"name"
required
:show-message=
"false"
>
<el-input
v-model=
"form.name"
:placeholder=
"language==0?'请输入':'Please input'"
/>
<el-input
v-model=
"form.name"
:placeholder=
"language==0?'请输入':'Please input'"
/>
</el-form-item>
<el-form-item
:label=
"language==0?'证件类型':'ID Type'"
prop=
"idcType"
required
:show-message=
"false"
>
<el-select
v-model=
"form.idcType"
:placeholder=
"language==0?'请选择':'Please choose'"
>
<el-option
:label=
"language==0?'身份证':'Identity card'"
value=
"0"
/>
<el-option
:label=
"language==0?'护照':'Passport'"
value=
"1"
/>
<el-option
:label=
"language==0?'其他':'Other'"
value=
"2"
/>
<el-option
:label=
"language==0?'身份证':'Identity card'"
value=
"0"
/>
<el-option
:label=
"language==0?'护照':'Passport'"
value=
"1"
/>
<el-option
:label=
"language==0?'其他':'Other'"
value=
"2"
/>
</el-select>
</el-form-item>
<el-form-item
:label=
"language==0?'证件号':'ID number'"
prop=
"idCard"
required
:show-message=
"false"
>
<el-input
v-model=
"form.idCard"
:placeholder=
"language==0?'请输入证件号':'Please enter the ID after ah'"
/>
<el-input
v-model=
"form.idCard"
:placeholder=
"language==0?'请输入证件号':'Please enter the ID after ah'"
/>
</el-form-item>
</el-form>
...
...
@@ -61,15 +57,15 @@
</template>
<
script
setup
>
import
{
aadSceneCustomer
,
checkSceneCustomer
,
getMyFriends
}
from
'/@/apiPc/booking'
import
{
languageFormat
}
from
'/@/viewsPc/seat/utils/language'
import
{
onMounted
,
ref
}
from
'vue'
import
{
useStorage
}
from
'@vueuse/core/index'
import
{
aadSceneCustomer
,
checkSceneCustomer
,
getMyFriends
}
from
'/@/apiPc/booking'
import
{
languageFormat
}
from
'/@/viewsPc/seat/utils/language'
import
{
onMounted
,
ref
}
from
'vue'
import
{
useStorage
}
from
'@vueuse/core/index'
import
_
from
'lodash'
import
{
getCurrentInstance
}
from
'@vue/runtime-core'
import
{
getCurrentInstance
}
from
'@vue/runtime-core'
const
emit
=
defineEmits
([
'addPerson'
])
const
{
proxy
}
=
getCurrentInstance
()
const
{
proxy
}
=
getCurrentInstance
()
const
show
=
ref
(
false
)
const
showAdd
=
ref
(
false
)
...
...
@@ -104,11 +100,11 @@ const addPerson = () => {
gateType
:
currParams
.
gateType
}).
then
((
res
)
=>
{
if
(
res
.
data
==
201
)
{
proxy
.
$modal
.
msgError
(
'护照只能购买成人票
'
)
proxy
.
$modal
.
msgError
(
language
.
value
==
0
?
'护照只能购买成人票'
:
'Passport can only buy adult tickets
'
)
}
else
if
(
res
.
data
==
202
)
{
proxy
.
$modal
.
msgError
(
'此身份证不能购买老人票
'
)
proxy
.
$modal
.
msgError
(
language
.
value
==
0
?
'此身份证不能购买老人票'
:
'This ID cannot buy senior tickets
'
)
}
else
if
(
res
.
data
==
203
)
{
proxy
.
$modal
.
msgError
(
'此身份证不能购买儿童票
'
)
proxy
.
$modal
.
msgError
(
language
.
value
==
0
?
'此身份证不能购买儿童票'
:
'This ID cannot buy child tickets
'
)
}
else
{
show
.
value
=
false
emit
(
'addPerson'
,
Object
.
assign
(
currParams
,
{
...
...
@@ -155,5 +151,28 @@ defineExpose({
</
script
>
<
style
scoped
lang=
"scss"
>
.e_item
{
margin
:
20px
20px
0
0
;}
.el-radio-group
{
display
:
block
;
}
.e_item
{
margin
:
20px
0
0
0
;
width
:
100%
;
.el-radio
{
width
:
100%
;
height
:
auto
;
padding
:
10px
;
}
.name
{
font-size
:
16px
;
}
.code
{
font-size
:
14px
;
margin
:
4px
0
0
;
color
:
#999
;
}
}
</
style
>
...
...
src/viewsPc/booking/pay.vue
View file @
1952255
...
...
@@ -46,8 +46,8 @@
<el-row>
<el-col
:lg=
"12"
:md=
"12"
:sm=
"12"
:xs=
"24"
>
<div
class=
"mb10"
>
{{
language
==
0
?
'送餐地址'
:
'Delivery Address'
}}
:
{{
form
.
address
||
'-'
}}
form
.
address
||
'-'
}}
</div>
</el-col>
<el-col
:lg=
"12"
:md=
"12"
:sm=
"12"
:xs=
"24"
>
...
...
@@ -68,12 +68,12 @@
<el-col>
{{
language
==
0
?
'套餐'
:
'Package'
}}
:
{{
formInfo
.
mealName
}}
<span
style=
"margin-left: 40px"
>
{{
language
==
0
?
'价格'
:
'Price'
}}
</span><span
>
{{
language
==
0
?
'价格'
:
'Price'
}}
</span><span
class=
"price"
>
{{
language
==
0
?
'¥'
+
formInfo
.
mealPrice
:
'€'
+
formInfo
.
mealPriceEn
}}
</span>
>
{{
language
==
0
?
'¥'
+
formInfo
.
mealPrice
:
'€'
+
formInfo
.
mealPriceEn
}}
</span>
<span
style=
"margin-left: 40px"
>
{{
language
==
0
?
'工作室电话'
:
'Studio phone number'
}}
:
{{
formInfo
.
contact
}}
</span>
language
==
0
?
'工作室电话'
:
'Studio phone number'
}}
:
{{
formInfo
.
contact
}}
</span>
</el-col>
<el-col>
<div
class=
"esp_3 s"
@
click=
"handleView()"
>
...
...
@@ -104,9 +104,9 @@
<el-col>
{{
language
==
0
?
'套餐'
:
'Package'
}}
:
{{
formInfo
.
photoName
}}
<span
style=
"margin-left: 40px"
>
{{
language
==
0
?
'价格'
:
'Price'
}}
</span><span
>
{{
language
==
0
?
'价格'
:
'Price'
}}
</span><span
class=
"price"
>
{{
language
==
0
?
'¥'
+
formInfo
.
photoPrice
:
'€'
+
formInfo
.
photoPriceEn
}}
</span>
>
{{
language
==
0
?
'¥'
+
formInfo
.
photoPrice
:
'€'
+
formInfo
.
photoPriceEn
}}
</span>
</el-col>
<el-col>
{{
language
==
0
?
'套餐说明'
:
'Package Description'
}}
:
{{
formInfo
.
introduction
}}
...
...
@@ -118,19 +118,19 @@
<div
class=
"leftboderTT"
>
{{
language
==
0
?
'购票信息'
:
'Ticket Information'
}}
</div>
<div
class=
"border-info mt20"
>
<h3>
{{
matchForm
.
name
}}
</h3>
<
el-row
>
<el-col>
{{
language
==
0
?
'地址'
:
'Address'
}}
:
{{
matchForm
.
address
}}
</el-col
>
<el-col>
{{
form
?.
extJson
?.
atName
}}
{{
form
?.
extJson
?.
atsName
}}
{{
form
?.
extJson
?.
sessionType
==
'1000'
?
'日间场'
:
'夜间场'
}}
{{
form
?.
extJson
?.
ticketName
}}
{{
form
?.
num
}}{{
language
==
0
?
'张'
:
'Tickets'
}}
</el-col
>
</el-row>
<
p
>
{{
language
==
0
?
'地址'
:
'Address'
}}
:
{{
matchForm
.
address
}}
</p>
<p
>
{{
form
?.
extJson
?.
atName
}}
|
{{
form
?.
extJson
?.
atsName
}}
|
<span
v-if=
"form?.extJson?.sessionType == '1000'"
>
{{
language
==
0
?
'日间场'
:
'Day'
}}
</span>
<span
v-else
>
{{
language
==
0
?
'夜间场'
:
'Night'
}}
</span>
{{
form
?.
extJson
?.
ticketName
}}
|
{{
form
?.
num
}}{{
language
==
0
?
'张'
:
'Tickets'
}}
</p
>
</div>
</div>
<div
v-if=
"type == 'travel'"
>
...
...
@@ -158,10 +158,10 @@
<div>
{{
language
==
0
?
'入住人'
:
'Check-in Person'
}}
:
{{
form
.
rzUsers
}}
</div>
</el-col>
<el-col
:lg=
"8"
:md=
"12"
:sm=
"12"
:xs=
"24"
>
{{
language
==
0
?
'联系方式'
:
'Contact Information'
}}
:
{{
form
.
phone
}}
language
==
0
?
'联系方式'
:
'Contact Information'
}}
:
{{
form
.
phone
}}
</el-col>
<el-col
:lg=
"8"
:md=
"12"
:sm=
"12"
:xs=
"24"
/>
<el-col
:lg=
"8"
:md=
"12"
:sm=
"12"
:xs=
"24"
/>
</el-row>
<el-row
v-if=
"type == 'car'"
>
<el-col
:lg=
"12"
:md=
"12"
:sm=
"12"
:xs=
"24"
>
...
...
@@ -202,16 +202,16 @@
</el-col>
<el-col
:lg=
"12"
:md=
"12"
:sm=
"12"
:xs=
"24"
>
<div
class=
"mb10"
>
{{
language
==
0
?
'订餐周期'
:
'Check-in date'
}}
:
{{
form
.
extJsonObj
?.
dcStart
||
'-'
}}
~
{{
form
.
extJsonObj
?.
dcEnd
||
'-'
}}
language
==
0
?
'订餐周期'
:
'Check-in date'
}}
:
{{
form
.
extJsonObj
?.
dcStart
||
'-'
}}
~
{{
form
.
extJsonObj
?.
dcEnd
||
'-'
}}
</div>
</el-col>
<el-col
:lg=
"8"
:md=
"12"
:sm=
"12"
:xs=
"24"
>
<div
class=
"mb10"
>
{{
language
==
0
?
'联系人'
:
'Contact Person'
}}
:
{{
form
.
contacts
}}
</div>
</el-col>
<el-col
:lg=
"8"
:md=
"12"
:sm=
"12"
:xs=
"24"
>
{{
language
==
0
?
'联系方式'
:
'Contact Phone'
}}
:
{{
form
.
phone
}}
language
==
0
?
'联系方式'
:
'Contact Phone'
}}
:
{{
form
.
phone
}}
</el-col>
<el-col
:span=
"24"
>
{{
language
==
0
?
'备注'
:
'Remarks'
}}
:
{{
form
.
remarks
||
'-'
}}
</el-col>
</el-row>
...
...
@@ -259,40 +259,40 @@
<div
class=
"mb10"
>
{{
language
==
0
?
'联系人'
:
'Contact Person'
}}
:
{{
form
.
contacts
}}
</div>
</el-col>
<el-col
:lg=
"8"
:md=
"12"
:sm=
"12"
:xs=
"24"
>
{{
language
==
0
?
'联系方式'
:
'Contact Phone'
}}
:
{{
form
.
phone
}}
language
==
0
?
'联系方式'
:
'Contact Phone'
}}
:
{{
form
.
phone
}}
</el-col>
<el-col
:span=
"24"
>
{{
language
==
0
?
'备注'
:
'Remarks'
}}
:
{{
form
.
remarks
}}
</el-col>
</el-row>
<el-row
v-if=
"type == 'ticket'"
style=
"width: 100%"
>
<el-col
:lg=
"12"
>
{{
language
==
0
?
'联系人'
:
'Contact'
}}
:
{{
form
.
contacts
}}
</el-col>
<el-col
:lg=
"12"
>
{{
language
==
0
?
'联系方式'
:
'Contact'
}}
:
{{
form
.
phone
}}
</el-col>
<el-row
v-for=
"(v,i) in form.extJson?.orderCustomerList"
:key=
"i"
style=
"width: 100%"
>
<el-col
:lg=
"8"
:md=
"12"
:sm=
"12"
:xs=
"24"
>
<div>
{{
v
.
name
}}
</div>
</el-col>
<el-col
:lg=
"8"
:md=
"12"
:sm=
"12"
:xs=
"24"
>
<div>
{{
v
.
idCard
}}
</div>
<el-col
:lg=
"12"
:md=
"12"
:sm=
"12"
:xs=
"24"
>
{{
v
.
name
}}
-
<span
class=
"text-gray"
>
{{
v
.
idCard
}}
</span>
</el-col>
<el-col
:lg=
"8"
:md=
"12"
:sm=
"12"
:xs=
"24"
>
<div
v-if=
"language == 0 "
>
¥
{{
form
.
price
}}
/张
</div>
<div
v-else
>
€
{{
form
.
priceEn
}}
/Tickets
</div>
<el-col
:lg=
"12"
:md=
"12"
:sm=
"12"
:xs=
"24"
class=
"text-right"
>
<span
class=
"text-primary"
v-if=
"language == 0 "
>
¥
{{
form
.
price
}}
</span>
<span
v-else
>
€
{{
form
.
priceEn
||
0
}}
</span>
</el-col>
</el-row>
<el-row
style=
"width: 100%"
>
<el-col
:lg=
"8"
:md=
"12"
:sm=
"12"
:xs=
"24"
>
<div>
{{
language
==
0
?
'购票数量'
:
'Number of tickets purchased'
}}
:
{{
form
.
num
}}{{
language
==
0
?
'张'
:
'Tickets'
}}
{{
language
==
0
?
'购票数量'
:
'Number of tickets purchased'
}}
:
{{
form
.
num
}}{{
language
==
0
?
'张'
:
'Tickets'
}}
</div>
</el-col>
<el-col
:lg=
"8"
:md=
"12"
:sm=
"12"
:xs=
"24"
>
{{
language
==
0
?
'联系方式'
:
'Contact Information'
}}
:
{{
form
.
phone
}}
</el-col>
<el-col
:lg=
"8"
:md=
"12"
:sm=
"12"
:xs=
"24"
>
<el-col
:lg=
"8"
:md=
"12"
:sm=
"12"
:xs=
"24"
class=
"text-right text-warning"
>
{{
form
.
paymentType
==
'1'
?
'共计'
:
'total'
}}
:
{{
form
.
paymentType
==
'1'
?
'¥'
:
'€'
}}{{
Number
(
totalFee
).
toFixed
(
2
)
}}
...
...
@@ -318,13 +318,13 @@
<el-row
style=
"width: 100%"
>
<el-col
:lg=
"8"
:md=
"12"
:sm=
"12"
:xs=
"24"
>
<div>
{{
language
==
0
?
'购票数量'
:
'Number of tickets purchased'
}}
:
{{
form
.
personArr
?.
length
}}{{
language
==
0
?
'张'
:
'Tickets'
}}
language
==
0
?
'购票数量'
:
'Number of tickets purchased'
}}
:
{{
form
.
personArr
?.
length
}}{{
language
==
0
?
'张'
:
'Tickets'
}}
</div>
</el-col>
<el-col
:lg=
"8"
:md=
"12"
:sm=
"12"
:xs=
"24"
>
{{
language
==
0
?
'联系方式'
:
'Contact Information'
}}
:
{{
form
.
phone
}}
language
==
0
?
'联系方式'
:
'Contact Information'
}}
:
{{
form
.
phone
}}
</el-col>
<el-col
:lg=
"8"
:md=
"12"
:sm=
"12"
:xs=
"24"
>
{{
language
==
0
?
'共计'
:
'total'
}}
:
{{
...
...
@@ -363,16 +363,16 @@
</div>
</el-col>
<el-col
:lg=
"24"
>
<div
class=
"text-center"
/>
<div
class=
"text-center"
/>
</el-col>
</el-row>
</div>
</div>
<div
v-else
class=
"pd20 skeletonBox"
>
<el-skeleton
:rows=
"8"
/>
<el-skeleton
:rows=
"8"
/>
<el-button
:style=
"language == 0 ?'width:200px':'width:400px'"
class=
"btn-lineG"
round
size=
"large"
type=
"primary"
@
click=
"showLogin"
:style=
"language == 0 ?'width:200px':'width:400px'"
class=
"btn-lineG"
round
size=
"large"
type=
"primary"
@
click=
"showLogin"
>
{{
language
==
0
?
'登录后查看明细'
:
'View detailed information after logging in'
}}
</el-button>
...
...
@@ -386,56 +386,56 @@
<el-radio
v-if=
"language==0"
border
value=
"2"
>
<!-- 微信-->
<svg
class=
"icon"
height=
"40"
p-id=
"24747"
t=
"1709002960407"
version=
"1.1"
viewBox=
"0 0 3152 1024"
width=
"94"
xmlns=
"http://www.w3.org/2000/svg"
class=
"icon"
height=
"40"
p-id=
"24747"
t=
"1709002960407"
version=
"1.1"
viewBox=
"0 0 3152 1024"
width=
"94"
xmlns=
"http://www.w3.org/2000/svg"
>
<path
d=
"M381.998922 630.960647c-4.416173 2.208086-8.832345 3.312129-14.352561 3.312129-12.144474 0-22.080863-7.17628-28.1531-17.66469l-2.208086-4.968194-87.771428-204.247978c-1.104043-2.208086-1.104043-4.416173-1.104043-6.624259 0-9.384367 6.624259-16.560647 15.456603-16.560647 3.312129 0 6.624259 1.104043 9.936388 3.312129l103.780054 78.387062c7.728302 4.968194 16.560647 8.280323 26.497035 8.280324 5.520216 0 11.040431-1.104043 16.560647-3.312129l486.330998-230.192992C819.752022 131.381132 676.226415 60.17035 513.380054 60.17035 248.409704 59.618329 32.017251 250.61779 32.017251 486.883019c0 128.069003 64.586523 244.545553 166.15849 322.932614 7.728302 6.072237 13.248518 16.560647 13.248518 27.601079 0 3.312129-1.104043 7.17628-2.208086 10.488409-7.728302 32.017251-20.976819 84.459299-20.97682 86.667386-1.104043 3.312129-2.208086 8.280323-2.208086 13.248517 0 9.384367 6.624259 16.560647 15.456604 16.560647 3.312129 0 6.624259-1.104043 8.832345-3.312129l104.884097-65.138545c7.728302-4.968194 16.560647-8.280323 25.392992-8.280323 4.416173 0 9.936388 1.104043 14.35256 2.208086 49.129919 15.456604 102.676011 23.736927 157.326146 23.736927 265.522372 0 481.362803-191.551482 481.362803-427.816711 0-71.210782-19.872776-139.109434-54.650135-198.175741L385.863073 628.752561l-3.864151 2.208086z"
fill=
"#09BB07"
p-id=
"24748"
d=
"M381.998922 630.960647c-4.416173 2.208086-8.832345 3.312129-14.352561 3.312129-12.144474 0-22.080863-7.17628-28.1531-17.66469l-2.208086-4.968194-87.771428-204.247978c-1.104043-2.208086-1.104043-4.416173-1.104043-6.624259 0-9.384367 6.624259-16.560647 15.456603-16.560647 3.312129 0 6.624259 1.104043 9.936388 3.312129l103.780054 78.387062c7.728302 4.968194 16.560647 8.280323 26.497035 8.280324 5.520216 0 11.040431-1.104043 16.560647-3.312129l486.330998-230.192992C819.752022 131.381132 676.226415 60.17035 513.380054 60.17035 248.409704 59.618329 32.017251 250.61779 32.017251 486.883019c0 128.069003 64.586523 244.545553 166.15849 322.932614 7.728302 6.072237 13.248518 16.560647 13.248518 27.601079 0 3.312129-1.104043 7.17628-2.208086 10.488409-7.728302 32.017251-20.976819 84.459299-20.97682 86.667386-1.104043 3.312129-2.208086 8.280323-2.208086 13.248517 0 9.384367 6.624259 16.560647 15.456604 16.560647 3.312129 0 6.624259-1.104043 8.832345-3.312129l104.884097-65.138545c7.728302-4.968194 16.560647-8.280323 25.392992-8.280323 4.416173 0 9.936388 1.104043 14.35256 2.208086 49.129919 15.456604 102.676011 23.736927 157.326146 23.736927 265.522372 0 481.362803-191.551482 481.362803-427.816711 0-71.210782-19.872776-139.109434-54.650135-198.175741L385.863073 628.752561l-3.864151 2.208086z"
fill=
"#09BB07"
p-id=
"24748"
/>
<path
d=
"M1398.822642 381.998922c-9.384367 19.320755-20.424798 38.641509-32.017251 57.962264v263.866307h-31.465229V485.226954c-13.248518 18.216712-27.049057 34.225337-40.297574 48.025876-3.864151-7.17628-14.352561-23.736927-20.424798-30.361186 34.777358-33.673315 71.210782-82.803235 93.843666-131.933153l30.361186 11.040431z m-8.280324-91.63558c-22.632884 36.985445-59.066307 78.939084-91.635579 105.98814-4.416173-7.17628-13.248518-19.320755-19.320755-25.945013 29.809164-23.736927 62.378437-61.274394 78.939083-92.187601l32.017251 12.144474z m181.615094 289.811321c1.656065 7.728302 6.072237 19.320755 8.832345 24.84097-55.754178 37.537466-66.242588 46.369811-72.866846 54.650135-1.656065-7.728302-8.280323-22.080863-12.696496-28.705121 4.968194-3.312129 12.696496-10.48841 12.696496-28.705121v-54.098114h-60.17035v27.049057c0 38.641509-7.728302 91.083558-42.505661 128.069003-4.416173-7.17628-16.560647-19.320755-22.632884-23.184906 29.809164-31.465229 34.225337-72.866846 34.225337-105.436119v-54.098113h118.684636v82.251213l36.433423-22.632884z m123.100809-176.094879c-9.384367 73.970889-23.184906 136.349326-48.025876 187.687332 16.560647 36.433423 39.193531 66.242588 67.346631 83.355256-7.17628 6.072237-17.112668 18.216712-22.632884 27.049057-25.945013-18.216712-46.369811-45.265768-62.930459-78.939084-20.424798 32.017251-45.81779 59.066307-78.939083 81.699191-3.864151-6.624259-13.248518-19.872776-19.872776-25.392992 36.985445-22.632884 64.034501-52.99407 83.907277-89.979514-12.696496-34.777358-22.080863-73.418868-28.705121-115.372507-4.968194 11.040431-10.48841 22.632884-16.560647 31.465229-3.864151-4.416173-10.48841-13.248518-17.112668-20.424798v5.520216h-154.014017v-29.809165h154.014017v9.384367c24.84097-49.129919 37.537466-118.684636 44.713746-191.551483l31.465229 4.968195c-3.864151 31.465229-8.280323 61.274394-13.800539 90.531536h96.051752v29.809164h-14.904582z m-142.973585 22.632884h-145.181671v-110.404312h24.84097v82.251213h35.32938V278.770889h26.497035v119.78868h33.673316V316.308356h25.392992v110.404312z m55.202156-22.632884c-1.656065 6.624259-3.312129 12.696496-4.416172 18.768734 6.072237 46.369811 14.904582 91.083558 28.1531 130.277088 16.560647-43.057682 26.497035-91.63558 32.569272-149.045822h-56.3062zM1882.393531 289.259299c-10.48841 31.465229-24.288949 62.378437-39.193531 91.63558v324.036657h-32.017251V437.201078c-13.800539 22.632884-29.257143 42.50566-44.161725 60.170351-3.312129-7.728302-13.248518-24.288949-19.320754-32.017251 41.953639-45.265768 80.043127-114.820485 103.780053-184.927224l30.913208 8.832345z m288.707278 65.690566v29.257143h-294.779515v-29.257143h294.779515z m-267.730459 199.831806h235.713208v147.941779h-30.913208v-16.560647h-174.438814v18.216712h-30.361186v-149.597844z m231.297035-104.332075H1909.994609v-28.1531h224.672776v28.1531zM1909.994609 486.883019h224.672776v28.1531H1909.994609v-28.1531z m23.736927 96.603773V656.90566h174.438814v-73.418868h-174.438814z m81.699192-231.297035c-6.072237-16.560647-20.424798-43.057682-32.017251-61.826415l29.257143-12.144474c13.248518 19.320755 27.601078 44.161725 34.225337 60.722372l-31.465229 13.248517zM2586.221024 468.114286c-26.497035 63.48248-69.002695 111.508356-122.548787 147.941779 50.785984 25.945013 110.956334 43.609704 180.511051 52.442048-7.728302 8.280323-16.560647 23.184906-21.528841 33.673316-75.074933-11.592453-139.661456-32.569272-192.655525-64.034502-57.962264 32.017251-125.308895 52.99407-195.415634 66.794609-3.312129-9.384367-12.696496-25.392992-19.320754-33.121293 66.242588-10.48841 129.173046-28.1531 183.271159-55.202157-44.161725-32.017251-78.939084-72.866846-103.780054-123.65283l10.48841-3.864151h-49.12992v-34.225337h155.670081V383.654987h-176.6469v-34.225337h176.6469V278.770889h35.32938v70.658761h177.750944v34.225337h-177.750944v71.210781H2555.859838l7.176281-1.656064 23.184905 14.904582z m-255.033962 20.976819c23.184906 43.609704 56.858221 80.043127 100.467925 108.748248 44.161725-28.1531 80.043127-63.48248 104.332075-108.748248h-204.8zM2834.630728 292.571429c-13.800539 34.777358-30.361186 69.554717-49.129919 101.571967v308.580054h-34.225337V447.689488c-14.904582 20.976819-31.465229 40.297574-46.921833 56.306199-4.416173-7.728302-14.904582-25.945013-21.528841-34.225337 47.473854-45.265768 91.63558-115.924528 118.132614-188.239353l33.673316 11.040432z m270.490566 123.65283h-58.514286v240.12938c0 25.945013-7.728302 36.985445-24.84097 41.953639-18.216712 5.520216-49.129919 6.072237-99.915903 5.520215-1.656065-8.832345-8.280323-24.84097-13.248518-34.225337 39.193531 1.656065 77.283019 1.656065 88.32345 1.104043 10.48841-1.104043 14.352561-3.864151 14.352561-14.35256V416.224259h-187.687332v-34.225337h187.687332V283.739084h34.777359v97.707816h58.514285v34.777359z m-184.375202 178.854986c-13.800539-28.705121-43.609704-78.939084-67.346631-115.924528l29.809164-13.800539c24.288949 35.881402 55.202156 84.459299 70.106739 112.612399l-32.569272 17.112668z"
fill=
"#595757"
p-id=
"24749"
d=
"M1398.822642 381.998922c-9.384367 19.320755-20.424798 38.641509-32.017251 57.962264v263.866307h-31.465229V485.226954c-13.248518 18.216712-27.049057 34.225337-40.297574 48.025876-3.864151-7.17628-14.352561-23.736927-20.424798-30.361186 34.777358-33.673315 71.210782-82.803235 93.843666-131.933153l30.361186 11.040431z m-8.280324-91.63558c-22.632884 36.985445-59.066307 78.939084-91.635579 105.98814-4.416173-7.17628-13.248518-19.320755-19.320755-25.945013 29.809164-23.736927 62.378437-61.274394 78.939083-92.187601l32.017251 12.144474z m181.615094 289.811321c1.656065 7.728302 6.072237 19.320755 8.832345 24.84097-55.754178 37.537466-66.242588 46.369811-72.866846 54.650135-1.656065-7.728302-8.280323-22.080863-12.696496-28.705121 4.968194-3.312129 12.696496-10.48841 12.696496-28.705121v-54.098114h-60.17035v27.049057c0 38.641509-7.728302 91.083558-42.505661 128.069003-4.416173-7.17628-16.560647-19.320755-22.632884-23.184906 29.809164-31.465229 34.225337-72.866846 34.225337-105.436119v-54.098113h118.684636v82.251213l36.433423-22.632884z m123.100809-176.094879c-9.384367 73.970889-23.184906 136.349326-48.025876 187.687332 16.560647 36.433423 39.193531 66.242588 67.346631 83.355256-7.17628 6.072237-17.112668 18.216712-22.632884 27.049057-25.945013-18.216712-46.369811-45.265768-62.930459-78.939084-20.424798 32.017251-45.81779 59.066307-78.939083 81.699191-3.864151-6.624259-13.248518-19.872776-19.872776-25.392992 36.985445-22.632884 64.034501-52.99407 83.907277-89.979514-12.696496-34.777358-22.080863-73.418868-28.705121-115.372507-4.968194 11.040431-10.48841 22.632884-16.560647 31.465229-3.864151-4.416173-10.48841-13.248518-17.112668-20.424798v5.520216h-154.014017v-29.809165h154.014017v9.384367c24.84097-49.129919 37.537466-118.684636 44.713746-191.551483l31.465229 4.968195c-3.864151 31.465229-8.280323 61.274394-13.800539 90.531536h96.051752v29.809164h-14.904582z m-142.973585 22.632884h-145.181671v-110.404312h24.84097v82.251213h35.32938V278.770889h26.497035v119.78868h33.673316V316.308356h25.392992v110.404312z m55.202156-22.632884c-1.656065 6.624259-3.312129 12.696496-4.416172 18.768734 6.072237 46.369811 14.904582 91.083558 28.1531 130.277088 16.560647-43.057682 26.497035-91.63558 32.569272-149.045822h-56.3062zM1882.393531 289.259299c-10.48841 31.465229-24.288949 62.378437-39.193531 91.63558v324.036657h-32.017251V437.201078c-13.800539 22.632884-29.257143 42.50566-44.161725 60.170351-3.312129-7.728302-13.248518-24.288949-19.320754-32.017251 41.953639-45.265768 80.043127-114.820485 103.780053-184.927224l30.913208 8.832345z m288.707278 65.690566v29.257143h-294.779515v-29.257143h294.779515z m-267.730459 199.831806h235.713208v147.941779h-30.913208v-16.560647h-174.438814v18.216712h-30.361186v-149.597844z m231.297035-104.332075H1909.994609v-28.1531h224.672776v28.1531zM1909.994609 486.883019h224.672776v28.1531H1909.994609v-28.1531z m23.736927 96.603773V656.90566h174.438814v-73.418868h-174.438814z m81.699192-231.297035c-6.072237-16.560647-20.424798-43.057682-32.017251-61.826415l29.257143-12.144474c13.248518 19.320755 27.601078 44.161725 34.225337 60.722372l-31.465229 13.248517zM2586.221024 468.114286c-26.497035 63.48248-69.002695 111.508356-122.548787 147.941779 50.785984 25.945013 110.956334 43.609704 180.511051 52.442048-7.728302 8.280323-16.560647 23.184906-21.528841 33.673316-75.074933-11.592453-139.661456-32.569272-192.655525-64.034502-57.962264 32.017251-125.308895 52.99407-195.415634 66.794609-3.312129-9.384367-12.696496-25.392992-19.320754-33.121293 66.242588-10.48841 129.173046-28.1531 183.271159-55.202157-44.161725-32.017251-78.939084-72.866846-103.780054-123.65283l10.48841-3.864151h-49.12992v-34.225337h155.670081V383.654987h-176.6469v-34.225337h176.6469V278.770889h35.32938v70.658761h177.750944v34.225337h-177.750944v71.210781H2555.859838l7.176281-1.656064 23.184905 14.904582z m-255.033962 20.976819c23.184906 43.609704 56.858221 80.043127 100.467925 108.748248 44.161725-28.1531 80.043127-63.48248 104.332075-108.748248h-204.8zM2834.630728 292.571429c-13.800539 34.777358-30.361186 69.554717-49.129919 101.571967v308.580054h-34.225337V447.689488c-14.904582 20.976819-31.465229 40.297574-46.921833 56.306199-4.416173-7.728302-14.904582-25.945013-21.528841-34.225337 47.473854-45.265768 91.63558-115.924528 118.132614-188.239353l33.673316 11.040432z m270.490566 123.65283h-58.514286v240.12938c0 25.945013-7.728302 36.985445-24.84097 41.953639-18.216712 5.520216-49.129919 6.072237-99.915903 5.520215-1.656065-8.832345-8.280323-24.84097-13.248518-34.225337 39.193531 1.656065 77.283019 1.656065 88.32345 1.104043 10.48841-1.104043 14.352561-3.864151 14.352561-14.35256V416.224259h-187.687332v-34.225337h187.687332V283.739084h34.777359v97.707816h58.514285v34.777359z m-184.375202 178.854986c-13.800539-28.705121-43.609704-78.939084-67.346631-115.924528l29.809164-13.800539c24.288949 35.881402 55.202156 84.459299 70.106739 112.612399l-32.569272 17.112668z"
fill=
"#595757"
p-id=
"24749"
/>
</svg>
</el-radio>
<el-radio
v-if=
"language==1"
border
value=
"3"
>
<!--paypal-->
<svg
class=
"icon"
height=
"40"
p-id=
"22654"
t=
"1709002828937"
version=
"1.1"
viewBox=
"0 0 4220 1024"
width=
"94"
xmlns=
"http://www.w3.org/2000/svg"
class=
"icon"
height=
"40"
p-id=
"22654"
t=
"1709002828937"
version=
"1.1"
viewBox=
"0 0 4220 1024"
width=
"94"
xmlns=
"http://www.w3.org/2000/svg"
>
<path
d=
"M3249.722604 229.409369h-232.537679c-15.641548 0-29.197556 11.470468-32.325865 27.112016l-93.849287 595.421589c-2.08554 11.470468 7.299389 21.898167 18.769857 21.898167h118.875764c11.470468 0 20.855397-8.342159 21.898167-18.769858l27.112016-168.928717c2.08554-15.641548 15.641548-27.112016 32.325866-27.112016h72.99389c153.287169 0 240.879837-74.03666 263.820774-221.06721 10.427699-63.608961 0-114.704684-29.197556-150.158859-31.283096-38.582485-89.678208-58.395112-167.885947-58.395112z m27.112016 216.89613c-12.513238 83.421589-76.1222 83.421589-137.645621 83.421589h-35.454175l25.026476-155.372709c1.04277-9.384929 9.384929-16.684318 18.769858-16.684318h15.641547c41.710794 0 81.336049 0 102.191447 23.983707 12.513238 14.598778 15.641548 35.454175 11.470468 64.651731z"
fill=
"#009CDE"
p-id=
"22655"
d=
"M3249.722604 229.409369h-232.537679c-15.641548 0-29.197556 11.470468-32.325865 27.112016l-93.849287 595.421589c-2.08554 11.470468 7.299389 21.898167 18.769857 21.898167h118.875764c11.470468 0 20.855397-8.342159 21.898167-18.769858l27.112016-168.928717c2.08554-15.641548 15.641548-27.112016 32.325866-27.112016h72.99389c153.287169 0 240.879837-74.03666 263.820774-221.06721 10.427699-63.608961 0-114.704684-29.197556-150.158859-31.283096-38.582485-89.678208-58.395112-167.885947-58.395112z m27.112016 216.89613c-12.513238 83.421589-76.1222 83.421589-137.645621 83.421589h-35.454175l25.026476-155.372709c1.04277-9.384929 9.384929-16.684318 18.769858-16.684318h15.641547c41.710794 0 81.336049 0 102.191447 23.983707 12.513238 14.598778 15.641548 35.454175 11.470468 64.651731z"
fill=
"#009CDE"
p-id=
"22655"
/>
<path
d=
"M1594.84684 229.409369h-232.537678c-15.641548 0-29.197556 11.470468-32.325866 27.112016l-93.849287 595.421589c-2.08554 11.470468 7.299389 21.898167 18.769857 21.898167h110.533605c15.641548 0 29.197556-11.470468 32.325866-27.112017l25.026476-160.586558c2.08554-15.641548 15.641548-27.112016 32.325866-27.112016h72.99389c153.287169 0 240.879837-74.03666 263.820774-221.06721 10.427699-63.608961 0-114.704684-29.197556-150.158859-31.283096-38.582485-89.678208-58.395112-167.885947-58.395112z m27.112016 216.89613c-12.513238 83.421589-76.1222 83.421589-137.645621 83.421589h-35.454175l25.026476-155.372709c1.04277-9.384929 9.384929-16.684318 18.769858-16.684318h15.641548c41.710794 0 81.336049 0 102.191446 23.983707 12.513238 14.598778 15.641548 35.454175 11.470468 64.651731zM2288.288795 443.177189h-111.576375c-9.384929 0-17.727088 7.299389-18.769857 16.684318l-5.213849 31.283096-7.299389-11.470469c-23.983707-34.411405-77.164969-46.924644-131.389002-46.924643-123.046843 0-227.323829 92.806517-248.179226 223.152749-10.427699 64.651731 4.171079 127.217923 41.710794 171.014257 34.411405 39.625255 82.378819 56.309572 139.731161 56.309572 99.063136 0 153.287169-63.608961 153.287169-63.608961l-5.21385 31.283096c-2.08554 11.470468 7.299389 21.898167 18.769858 21.898167h100.105906c15.641548 0 29.197556-11.470468 32.325866-27.112017l60.480652-380.610998c2.08554-10.427699-6.256619-21.898167-18.769858-21.898167z m-154.329939 216.896131c-10.427699 63.608961-61.523422 106.362525-125.132383 106.362525-32.325866 0-58.395112-10.427699-75.079429-30.240326-16.684318-19.812627-22.940937-46.924644-17.727088-78.207739 10.427699-62.566191 61.523422-107.405295 124.089613-107.405295 31.283096 0 57.352342 10.427699 74.03666 30.240326 17.727088 20.855397 25.026477 47.967413 19.812627 79.250509z"
fill=
"#003087"
p-id=
"22656"
d=
"M1594.84684 229.409369h-232.537678c-15.641548 0-29.197556 11.470468-32.325866 27.112016l-93.849287 595.421589c-2.08554 11.470468 7.299389 21.898167 18.769857 21.898167h110.533605c15.641548 0 29.197556-11.470468 32.325866-27.112017l25.026476-160.586558c2.08554-15.641548 15.641548-27.112016 32.325866-27.112016h72.99389c153.287169 0 240.879837-74.03666 263.820774-221.06721 10.427699-63.608961 0-114.704684-29.197556-150.158859-31.283096-38.582485-89.678208-58.395112-167.885947-58.395112z m27.112016 216.89613c-12.513238 83.421589-76.1222 83.421589-137.645621 83.421589h-35.454175l25.026476-155.372709c1.04277-9.384929 9.384929-16.684318 18.769858-16.684318h15.641548c41.710794 0 81.336049 0 102.191446 23.983707 12.513238 14.598778 15.641548 35.454175 11.470468 64.651731zM2288.288795 443.177189h-111.576375c-9.384929 0-17.727088 7.299389-18.769857 16.684318l-5.213849 31.283096-7.299389-11.470469c-23.983707-34.411405-77.164969-46.924644-131.389002-46.924643-123.046843 0-227.323829 92.806517-248.179226 223.152749-10.427699 64.651731 4.171079 127.217923 41.710794 171.014257 34.411405 39.625255 82.378819 56.309572 139.731161 56.309572 99.063136 0 153.287169-63.608961 153.287169-63.608961l-5.21385 31.283096c-2.08554 11.470468 7.299389 21.898167 18.769858 21.898167h100.105906c15.641548 0 29.197556-11.470468 32.325866-27.112017l60.480652-380.610998c2.08554-10.427699-6.256619-21.898167-18.769858-21.898167z m-154.329939 216.896131c-10.427699 63.608961-61.523422 106.362525-125.132383 106.362525-32.325866 0-58.395112-10.427699-75.079429-30.240326-16.684318-19.812627-22.940937-46.924644-17.727088-78.207739 10.427699-62.566191 61.523422-107.405295 124.089613-107.405295 31.283096 0 57.352342 10.427699 74.03666 30.240326 17.727088 20.855397 25.026477 47.967413 19.812627 79.250509z"
fill=
"#003087"
p-id=
"22656"
/>
<path
d=
"M3943.164559 443.177189h-111.576375c-9.384929 0-17.727088 7.299389-18.769857 16.684318l-5.21385 31.283096-7.299389-11.470469c-23.983707-34.411405-77.164969-46.924644-131.389002-46.924643-123.046843 0-227.323829 92.806517-248.179226 223.152749-10.427699 64.651731 4.171079 127.217923 41.710795 171.014257 34.411405 39.625255 82.378819 56.309572 139.73116 56.309572 99.063136 0 153.287169-63.608961 153.28717-63.608961l-5.21385 31.283096c-2.08554 11.470468 7.299389 21.898167 18.769858 21.898167h100.105906c15.641548 0 29.197556-11.470468 32.325866-27.112017l60.480651-380.610998c2.08554-10.427699-6.256619-21.898167-18.769857-21.898167z m-154.329939 216.896131c-10.427699 63.608961-61.523422 106.362525-125.132383 106.362525-32.325866 0-58.395112-10.427699-75.07943-30.240326-16.684318-19.812627-22.940937-46.924644-17.727087-78.207739 10.427699-62.566191 61.523422-107.405295 124.089613-107.405295 31.283096 0 57.352342 10.427699 74.03666 30.240326 17.727088 20.855397 25.026477 47.967413 19.812627 79.250509z"
fill=
"#009CDE"
p-id=
"22657"
d=
"M3943.164559 443.177189h-111.576375c-9.384929 0-17.727088 7.299389-18.769857 16.684318l-5.21385 31.283096-7.299389-11.470469c-23.983707-34.411405-77.164969-46.924644-131.389002-46.924643-123.046843 0-227.323829 92.806517-248.179226 223.152749-10.427699 64.651731 4.171079 127.217923 41.710795 171.014257 34.411405 39.625255 82.378819 56.309572 139.73116 56.309572 99.063136 0 153.287169-63.608961 153.28717-63.608961l-5.21385 31.283096c-2.08554 11.470468 7.299389 21.898167 18.769858 21.898167h100.105906c15.641548 0 29.197556-11.470468 32.325866-27.112017l60.480651-380.610998c2.08554-10.427699-6.256619-21.898167-18.769857-21.898167z m-154.329939 216.896131c-10.427699 63.608961-61.523422 106.362525-125.132383 106.362525-32.325866 0-58.395112-10.427699-75.07943-30.240326-16.684318-19.812627-22.940937-46.924644-17.727087-78.207739 10.427699-62.566191 61.523422-107.405295 124.089613-107.405295 31.283096 0 57.352342 10.427699 74.03666 30.240326 17.727088 20.855397 25.026477 47.967413 19.812627 79.250509z"
fill=
"#009CDE"
p-id=
"22657"
/>
<path
d=
"M2880.582074 443.177189h-111.576375c-10.427699 0-20.855397 5.213849-27.112016 14.598778l-154.329939 227.323829-65.694501-217.9389c-4.171079-13.556008-16.684318-22.940937-31.283096-22.940937h-109.490835c-13.556008 0-22.940937 13.556008-18.769857 26.069247l123.046843 360.79837-115.747454 162.672098c-9.384929 12.513238 0 30.240326 15.641548 30.240326h111.576375c10.427699 0 20.855397-5.213849 26.069246-13.556008l371.226069-535.983707c11.470468-13.556008 2.08554-31.283096-13.556008-31.283096z"
fill=
"#003087"
p-id=
"22658"
d=
"M2880.582074 443.177189h-111.576375c-10.427699 0-20.855397 5.213849-27.112016 14.598778l-154.329939 227.323829-65.694501-217.9389c-4.171079-13.556008-16.684318-22.940937-31.283096-22.940937h-109.490835c-13.556008 0-22.940937 13.556008-18.769857 26.069247l123.046843 360.79837-115.747454 162.672098c-9.384929 12.513238 0 30.240326 15.641548 30.240326h111.576375c10.427699 0 20.855397-5.213849 26.069246-13.556008l371.226069-535.983707c11.470468-13.556008 2.08554-31.283096-13.556008-31.283096z"
fill=
"#003087"
p-id=
"22658"
/>
<path
d=
"M4074.553561 245.050916l-94.892057 605.849288c-2.08554 11.470468 7.299389 21.898167 18.769857 21.898167h95.934827c15.641548 0 29.197556-11.470468 32.325866-27.112017l93.849287-595.421588c2.08554-11.470468-7.299389-21.898167-18.769857-21.898167h-107.405296c-10.427699 1.04277-18.769857 7.299389-19.812627 16.684317z"
fill=
"#009CDE"
p-id=
"22659"
d=
"M4074.553561 245.050916l-94.892057 605.849288c-2.08554 11.470468 7.299389 21.898167 18.769857 21.898167h95.934827c15.641548 0 29.197556-11.470468 32.325866-27.112017l93.849287-595.421588c2.08554-11.470468-7.299389-21.898167-18.769857-21.898167h-107.405296c-10.427699 1.04277-18.769857 7.299389-19.812627 16.684317z"
fill=
"#009CDE"
p-id=
"22659"
/>
<path
d=
"M782.529121 259.649695c12.513238-79.250509 0-133.474542-42.753564-182.484726C691.808143 22.940937 606.301015 0 496.81018 0H178.765374c-21.898167 0-41.710794 16.684318-44.839104 38.582485L0.451728 879.05499c-3.12831 16.684318 10.427699 31.283096 27.112016 31.283096h196.040733l-13.556008 85.507128c-2.08554 14.598778 9.384929 27.112016 23.983707 27.112016h165.800407c19.812627 0 36.496945-14.598778 39.625255-33.368635l2.08554-8.342159 31.283095-198.126273 2.08554-10.427699c3.12831-19.812627 19.812627-33.368635 39.625255-33.368635h25.026476c160.586558 0 285.718941-64.651731 322.215886-253.393075 15.641548-79.250509 7.299389-144.94501-33.368635-190.826884-12.513238-13.556008-28.154786-26.069246-45.881874-35.454175"
fill=
"#009CDE"
p-id=
"22660"
d=
"M782.529121 259.649695c12.513238-79.250509 0-133.474542-42.753564-182.484726C691.808143 22.940937 606.301015 0 496.81018 0H178.765374c-21.898167 0-41.710794 16.684318-44.839104 38.582485L0.451728 879.05499c-3.12831 16.684318 10.427699 31.283096 27.112016 31.283096h196.040733l-13.556008 85.507128c-2.08554 14.598778 9.384929 27.112016 23.983707 27.112016h165.800407c19.812627 0 36.496945-14.598778 39.625255-33.368635l2.08554-8.342159 31.283095-198.126273 2.08554-10.427699c3.12831-19.812627 19.812627-33.368635 39.625255-33.368635h25.026476c160.586558 0 285.718941-64.651731 322.215886-253.393075 15.641548-79.250509 7.299389-144.94501-33.368635-190.826884-12.513238-13.556008-28.154786-26.069246-45.881874-35.454175"
fill=
"#009CDE"
p-id=
"22660"
/>
<path
d=
"M782.529121 259.649695c12.513238-79.250509 0-133.474542-42.753564-182.484726C691.808143 22.940937 606.301015 0 496.81018 0H178.765374c-21.898167 0-41.710794 16.684318-44.839104 38.582485L0.451728 879.05499c-3.12831 16.684318 10.427699 31.283096 27.112016 31.283096h196.040733l49.010184-312.830958-1.04277 9.384929c3.12831-21.898167 21.898167-38.582485 44.839104-38.582485h93.849287c183.527495 0 327.429735-74.03666 369.140529-289.89002l3.12831-18.769857"
fill=
"#012169"
p-id=
"22661"
d=
"M782.529121 259.649695c12.513238-79.250509 0-133.474542-42.753564-182.484726C691.808143 22.940937 606.301015 0 496.81018 0H178.765374c-21.898167 0-41.710794 16.684318-44.839104 38.582485L0.451728 879.05499c-3.12831 16.684318 10.427699 31.283096 27.112016 31.283096h196.040733l49.010184-312.830958-1.04277 9.384929c3.12831-21.898167 21.898167-38.582485 44.839104-38.582485h93.849287c183.527495 0 327.429735-74.03666 369.140529-289.89002l3.12831-18.769857"
fill=
"#012169"
p-id=
"22661"
/>
<path
d=
"M326.838693 260.692464c2.08554-13.556008 10.427699-23.983707 21.898167-30.240326 5.213849-2.08554 11.470468-4.171079 16.684318-4.171079h250.264766c29.197556 0 57.352342 2.08554 82.378819 6.256619 7.299389 1.04277 14.598778 2.08554 20.855397 4.17108 7.299389 1.04277 13.556008 3.12831 19.812627 5.213849l9.384929 3.128309c12.513238 4.171079 23.983707 9.384929 34.411405 14.598779 12.513238-79.250509 0-133.474542-42.753564-182.484726C691.808143 22.940937 606.301015 0 496.81018 0H178.765374c-21.898167 0-41.710794 16.684318-44.839104 38.582485L0.451728 879.05499c-3.12831 16.684318 10.427699 31.283096 27.112016 31.283096h196.040733l49.010184-312.830958L326.838693 260.692464z"
fill=
"#003087"
p-id=
"22662"
d=
"M326.838693 260.692464c2.08554-13.556008 10.427699-23.983707 21.898167-30.240326 5.213849-2.08554 11.470468-4.171079 16.684318-4.171079h250.264766c29.197556 0 57.352342 2.08554 82.378819 6.256619 7.299389 1.04277 14.598778 2.08554 20.855397 4.17108 7.299389 1.04277 13.556008 3.12831 19.812627 5.213849l9.384929 3.128309c12.513238 4.171079 23.983707 9.384929 34.411405 14.598779 12.513238-79.250509 0-133.474542-42.753564-182.484726C691.808143 22.940937 606.301015 0 496.81018 0H178.765374c-21.898167 0-41.710794 16.684318-44.839104 38.582485L0.451728 879.05499c-3.12831 16.684318 10.427699 31.283096 27.112016 31.283096h196.040733l49.010184-312.830958L326.838693 260.692464z"
fill=
"#003087"
p-id=
"22662"
/>
</svg>
</el-radio>
...
...
@@ -466,8 +466,8 @@
<el-row
align=
"middle"
class=
"mt20 mb60"
justify=
"center"
>
<el-col
:span=
"24"
class=
"text-center"
>
<el-button
v-if=
"!hideconfirmbtn&&form.viewStatus == '0'"
class=
"btn-lineG w200px"
round
type=
"primary"
@
click=
"goPay"
v-if=
"!hideconfirmbtn&&form.viewStatus == '0'"
class=
"btn-lineG w200px"
round
type=
"primary"
@
click=
"goPay"
>
{{
language
==
0
?
'确定'
:
'Submit'
}}
</el-button>
...
...
@@ -483,7 +483,7 @@
<div
v-if=
"form.payDate&&form.viewStatus=='1'"
>
<div
class=
"text-center"
>
<el-icon
color=
"#32B16C"
size=
"80"
>
<SuccessFilled
/>
<SuccessFilled/>
</el-icon>
<p
class=
"text-success"
>
{{
language
==
0
?
'支付成功'
:
'successful!'
}}
</p>
<h3
class=
"wePrice"
>
{{
language
==
0
?
'¥'
:
'€'
}}{{
totalFee
||
0
}}
</h3>
...
...
@@ -494,9 +494,9 @@
<div
v-if=
"errorBox"
class=
"box"
>
<el-result
:sub-title=
"language==0?'请确认订单号是否正确':'Please confirm if the order number is correct'"
:title=
"language==0?'未找到对应订单':'No corresponding order found'"
icon=
"error"
:sub-title=
"language==0?'请确认订单号是否正确':'Please confirm if the order number is correct'"
:title=
"language==0?'未找到对应订单':'No corresponding order found'"
icon=
"error"
>
<template
#
extra
>
<el-button
class=
"btn-lineG w200px"
round
type=
"primary"
@
click=
"goHome"
>
...
...
@@ -505,16 +505,16 @@
</
template
>
</el-result>
</div>
<Dialog
ref=
"DialogRef"
/>
<Dialog
ref=
"DialogRef"
/>
<el-dialog
v-model=
"showSJDialog"
:close-on-click-modal=
"false"
:close-on-press-escape=
"false"
:title=
"language==0?'开收据':'Issue a receipt'"
width=
"460px"
v-model=
"showSJDialog"
:close-on-click-modal=
"false"
:close-on-press-escape=
"false"
:title=
"language==0?'开收据':'Issue a receipt'"
width=
"460px"
>
<div
class=
"flex"
>
<el-form-item
:label=
"language==0?'开票人':'Name'"
>
<div
class=
"flex"
>
<el-input
v-model=
"lpName"
:placeholder=
"language==0?'请输入开票人':'Please enter your name'"
/>
<el-input
v-model=
"lpName"
:placeholder=
"language==0?'请输入开票人':'Please enter your name'"
/>
<el-button
type=
"primary"
@
click=
"submitSJ"
>
{{ language == 0 ? '提交并下载' : 'Submit' }}
</el-button>
</div>
</el-form-item>
...
...
@@ -530,22 +530,22 @@
</template>
<
script
setup
>
import
{
getCurrentInstance
,
ref
}
from
'vue'
import
{
onMounted
}
from
'@vue/runtime-core'
import
{
useRoute
,
useRouter
}
from
'vue-router'
import
{
getCurrentInstance
,
ref
}
from
'vue'
import
{
onMounted
}
from
'@vue/runtime-core'
import
{
useRoute
,
useRouter
}
from
'vue-router'
import
*
as
booking
from
'@/apiPc/booking'
import
Dialog
from
'@/viewsPc/booking/component/dailog.vue'
const
{
proxy
}
=
getCurrentInstance
()
const
{
proxy
}
=
getCurrentInstance
()
const
route
=
useRoute
()
const
router
=
useRouter
()
const
payType
=
ref
(
'2'
)
const
orderId
=
ref
(
route
.
query
.
orderId
)
const
matchId
=
ref
()
import
useUserStore
from
'@/store/modules/user'
import
{
useStorage
}
from
'@vueuse/core/index'
import
{
ElMessage
,
ElMessageBox
}
from
'element-plus'
import
{
useStorage
}
from
'@vueuse/core/index'
import
{
ElMessage
,
ElMessageBox
}
from
'element-plus'
import
{
cancelOrder
,
cancelOrder2
,
...
...
@@ -618,7 +618,7 @@ function getData() {
form
.
value
=
{
pickUpBo
:
{}
}
return
booking
.
getCarBilldetailbyId
({
orderId
:
orderId
.
value
}).
then
(
res
=>
{
return
booking
.
getCarBilldetailbyId
({
orderId
:
orderId
.
value
}).
then
(
res
=>
{
form
.
value
=
res
.
data
if
(
language
.
value
==
0
)
{
totalFee
.
value
=
res
.
data
.
total
...
...
@@ -631,7 +631,7 @@ function getData() {
})
}
if
(
type
.
value
==
'food'
)
{
return
booking
.
getFoodBilldetailbyId
({
orderId
:
orderId
.
value
}).
then
(
res
=>
{
return
booking
.
getFoodBilldetailbyId
({
orderId
:
orderId
.
value
}).
then
(
res
=>
{
if
(
language
.
value
==
0
)
{
totalFee
.
value
=
res
.
data
.
total
}
else
{
...
...
@@ -644,7 +644,7 @@ function getData() {
})
}
if
(
type
.
value
==
'hotel'
)
{
return
booking
.
getRoomBilldetailbyId
({
orderId
:
orderId
.
value
}).
then
(
res
=>
{
return
booking
.
getRoomBilldetailbyId
({
orderId
:
orderId
.
value
}).
then
(
res
=>
{
if
(
language
.
value
==
0
)
{
totalFee
.
value
=
res
.
data
.
total
}
else
{
...
...
@@ -677,7 +677,7 @@ function getData() {
// 旅游订单详情
const
getTravelOrderInfo
=
()
=>
{
return
booking
.
getScenicOrderInfo
({
orderId
:
orderId
.
value
}).
then
(
res
=>
{
return
booking
.
getScenicOrderInfo
({
orderId
:
orderId
.
value
}).
then
(
res
=>
{
form
.
value
=
res
.
data
totalFee
.
value
=
language
.
value
==
0
?
form
.
value
.
total
:
form
.
value
.
totalEn
matchId
.
value
=
form
.
value
.
activeId
...
...
@@ -692,7 +692,7 @@ const getTravelOrderInfo = () => {
// 票务订单详情
async
function
getTicketOrderInfoFN
()
{
const
res
=
await
getTicketOrderInfo
({
orderId
:
orderId
.
value
})
const
res
=
await
getTicketOrderInfo
({
orderId
:
orderId
.
value
})
form
.
value
=
res
.
data
form
.
value
.
extJson
=
JSON
.
parse
(
form
.
value
.
extJson
)
try
{
...
...
@@ -708,7 +708,7 @@ async function getTicketOrderInfoFN() {
}
async
function
getDetail
(
activeId
)
{
const
res
=
await
getTicketInfoByActivityId
({
activityId
:
activeId
})
const
res
=
await
getTicketInfoByActivityId
({
activityId
:
activeId
})
matchForm
.
value
=
res
.
data
console
.
log
(
matchForm
.
value
)
}
...
...
@@ -720,14 +720,14 @@ function goHome() {
function
goPay
()
{
if
(
payType
.
value
==
'2'
)
{
booking
.
createWePay
({
orderId
:
orderId
.
value
}).
then
(
res
=>
{
booking
.
createWePay
({
orderId
:
orderId
.
value
}).
then
(
res
=>
{
wePayCodeUrl
.
value
=
res
.
data
hideconfirmbtn
.
value
=
true
startforGetData
()
})
}
if
(
payType
.
value
==
'3'
)
{
booking
.
createPalPay
({
orderId
:
orderId
.
value
}).
then
(
res
=>
{
booking
.
createPalPay
({
orderId
:
orderId
.
value
}).
then
(
res
=>
{
if
(
res
.
data
)
{
location
.
href
=
res
.
data
}
...
...
@@ -772,6 +772,15 @@ function startforGetData() {
startforGetData
()
}
})
}
else
if
(
type
.
value
==
'travel'
)
{
getTravelOrderInfo
().
then
(
res
=>
{
if
(
form
.
value
.
payDate
)
{
if
(
handle
)
{
clearTimeout
(
handle
)
handle
=
null
}
}
})
}
else
{
getData
().
then
(
res
=>
{
if
(
form
.
value
.
payDate
)
{
...
...
@@ -793,7 +802,7 @@ function showLogin() {
function
MakeUpOrder
()
{
return
booking
.
getMealOrderInfo
({
orderId
:
orderId
.
value
}).
then
(
res
=>
{
return
booking
.
getMealOrderInfo
({
orderId
:
orderId
.
value
}).
then
(
res
=>
{
form
.
value
=
res
.
data
totalFee
.
value
=
language
.
value
==
0
?
form
.
value
.
total
:
form
.
value
.
totalEn
matchId
.
value
=
form
.
value
.
activeId
...
...
@@ -806,18 +815,18 @@ function MakeUpOrder() {
}
function
MakeUpIno
()
{
booking
.
getMealOrderInfoByLogex
({
asmId
:
form
.
value
.
asmId
}).
then
(
res
=>
{
booking
.
getMealOrderInfoByLogex
({
asmId
:
form
.
value
.
asmId
}).
then
(
res
=>
{
formInfo
.
value
=
res
.
data
console
.
log
(
res
)
})
.
catch
((
e
)
=>
{
console
.
log
(
e
)
errorBox
.
value
=
true
})
.
catch
((
e
)
=>
{
console
.
log
(
e
)
errorBox
.
value
=
true
})
}
function
ScenicInfo
()
{
booking
.
getLogexScenicVoById
({
id
:
form
.
value
.
asId
}).
then
(
res
=>
{
booking
.
getLogexScenicVoById
({
id
:
form
.
value
.
asId
}).
then
(
res
=>
{
formInfo
.
value
=
res
.
data
console
.
log
(
res
)
}).
catch
((
e
)
=>
{
...
...
@@ -828,7 +837,7 @@ function ScenicInfo() {
function
photographyOrder
()
{
return
booking
.
getPhotoOrderInfo
({
orderId
:
orderId
.
value
}).
then
(
res
=>
{
return
booking
.
getPhotoOrderInfo
({
orderId
:
orderId
.
value
}).
then
(
res
=>
{
form
.
value
=
res
.
data
totalFee
.
value
=
language
.
value
==
0
?
form
.
value
.
total
:
form
.
value
.
totalEn
photographyInfo
()
...
...
@@ -839,7 +848,7 @@ function photographyOrder() {
}
function
photographyInfo
()
{
booking
.
getPhotoOrderInfoByLogex
({
aspId
:
form
.
value
.
aspId
}).
then
(
res
=>
{
booking
.
getPhotoOrderInfoByLogex
({
aspId
:
form
.
value
.
aspId
}).
then
(
res
=>
{
formInfo
.
value
=
res
.
data
})
// .catch((e) => {
...
...
src/viewsPc/booking/ticket/confirmOrder.vue
View file @
1952255
...
...
@@ -14,63 +14,80 @@
<div
class=
"info"
>
<div
class=
"name"
>
{{
TickForm2
.
ticketTypeName
}}
</div>
<div
class=
"address"
>
{{
TickForm2
.
stadiumName
}}
</div>
<div
class=
"address"
>
{{
TickForm2
.
sessionType
==
'1000'
?
'日间场'
:
'夜间场'
}}
</div>
<div
class=
"address"
>
{{
TickForm2
.
ticketName
}}
</div>
<div
class=
"address"
>
{{
TickForm2
.
stadiumName
}}
|
<span
v-if=
"TickForm2.sessionType=='1000'"
>
{{
language
==
0
?
'日间场'
:
'Day'
}}
</span>
<span
v-else
>
{{
language
==
0
?
'夜间场'
:
'Night'
}}
</span>
|
{{
TickForm2
.
ticketName
}}
</div>
<div
v-if=
"TickForm2.ticketType=='0'"
class=
"address"
>
剩余数量
:
{{
leftCount
}}
</div>
<div
v-if=
"TickForm2.ticketType=='0'"
class=
"address"
>
{{
language
==
0
?
'剩余数量'
:
'Remaining Quantity'
}}
:
{{
leftCount
}}
</div>
</div>
<div
class=
"ticket_info mb20"
>
<div
class=
"tit_box"
>
<div
class=
"line"
/>
<div
class=
"line"
/>
<div
class=
"txt"
>
{{
languageFormat
(
language
,
"订票信息"
,
"Ticket Info"
)
}}
</div>
</div>
<div
class=
"form"
>
<el-form
ref=
"formRef"
:model=
"orderForm"
:rules=
"rules"
label-width=
"1
2
0px"
>
<el-form
ref=
"formRef"
:model=
"orderForm"
:rules=
"rules"
label-width=
"1
4
0px"
>
<div
v-if=
"TickForm2.ticketType == '1'"
>
<el-form-item
:label=
"language == 0 ? '桌号' : 'zuohao'"
>
<el-form-item
:label=
"language == 0 ? '桌号' : 'Table'"
>
<el-popover
placement=
"right"
:width=
"400"
trigger=
"hover"
>
<template
#
reference
>
<div
class=
"text-primary underline pointer"
@
click=
"showImg"
>
{{
language
==
0
?
'查看区域布局'
:
' View Area Layout'
}}
</div>
</
template
>
<el-image
:src=
"fillImgUrl(tickImg)"
style=
"width: 100%;"
:preview-src-list=
"[fillImgUrl(tickImg)]"
/>
</el-popover>
<el-radio-group
v-model=
"currDesk"
>
<el-radio-button
v-for=
"(it, index) in deskList"
:key=
"index"
:label=
"it.deskNo"
:value=
"it"
:disabled=
"it.status!=0"
/>
<el-radio-button
v-for=
"(it, index) in deskList"
:key=
"index"
:label=
"it.deskNo"
:value=
"it"
:disabled=
"it.status!=0"
/>
</el-radio-group>
</el-form-item>
<el-form-item
:label=
"language == 0 ? '座位号' : '
zuoweihao
'"
>
<el-form-item
:label=
"language == 0 ? '座位号' : '
Seat
'"
>
<el-checkbox-group
v-model=
"currSeat"
>
<el-checkbox-button
v-for=
"(it, index) in currDesk?.seatList"
:key=
"index"
:label=
"it.seatNo"
:value=
"it"
:disabled=
"it.status!=0"
/>
<el-checkbox-button
v-for=
"(it, index) in currDesk?.seatList"
:key=
"index"
:label=
"it.seatNo"
:value=
"it"
:disabled=
"it.status!=0"
/>
</el-checkbox-group>
</el-form-item>
<el-form-item
label=
"已选座位号"
>
<el-tag
v-for=
"s in currSeat"
:key=
"s.id"
>
{{
s
.
deskNo
}}
-
{{
s
.
seatNo
}}
</el-tag>
<el-form-item
:label=
"language == 0 ?'已选座位号':'Selected Seat'"
>
<el-tag
class=
"mr10"
v-for=
"(s,index) in currSeat"
:key=
"s.id"
closable
@
close=
"delSeat(s,index)"
>
{{ s.deskNo }} - {{ s.seatNo }}
</el-tag>
</el-form-item>
</div>
<el-form-item
:label=
"language == 0 ? '联系人' : 'contact person'"
prop=
"contacts"
:label=
"language == 0 ? '联系人' : 'contact person'"
prop=
"contacts"
>
<el-input
v-model=
"orderForm.contacts"
:placeholder=
" language == 0 ? '请输入联系人' : 'Please enter the contact person'"
style=
"width: 320px"
v-model=
"orderForm.contacts"
:placeholder=
" language == 0 ? '请输入联系人' : 'Please enter the contact person'"
style=
"width: 320px"
/>
</el-form-item>
<el-form-item
:label=
"language == 0 ? '联系电话' : 'contact phone'"
prop=
"phone"
:label=
"language == 0 ? '联系电话' : 'contact phone'"
prop=
"phone"
>
<el-input
v-model=
"orderForm.phone"
:placeholder=
" language == 0 ? '请输入联系电话' : 'Please enter the contact phone number'"
style=
"width: 320px"
v-model=
"orderForm.phone"
:placeholder=
" language == 0 ? '请输入联系电话' : 'Please enter the contact phone number'"
style=
"width: 320px"
/>
</el-form-item>
<el-form-item
:label=
"language == 0 ? '观看人' : 'Viewer'"
prop=
"customerIds"
>
<div
class=
"p_box"
>
<div
class=
"people"
>
<el-checkbox-group
v-model=
"orderForm.customerIds"
@
change=
"changeGroup"
>
<div
v-for=
"(it, index) in personnelList"
:key=
"index"
class=
"prople_item"
>
<div
v-for=
"(it, index) in personnelList"
:key=
"index"
class=
"prople_item"
>
<div>
<div
class=
"name"
>
{{ it.name }}
<!-- <span v-if="it.discount" class="tag_t p-right">{{-->
...
...
@@ -79,10 +96,7 @@
</div>
<div
class=
"idcard"
>
{{ it.idCard }}
</div>
</div>
<el-checkbox
:value=
"it.id"
:disabled=
"!!it.disabled"
/>
<el-checkbox
:value=
"it.id"
:disabled=
"!!it.disabled"
/>
</div>
</el-checkbox-group>
</div>
...
...
@@ -98,7 +112,7 @@
<el-col
:lg=
"8"
class=
"right"
>
<div
class=
"tit_box"
>
<div
class=
"line"
/>
<div
class=
"line"
/>
<div
class=
"txt"
>
{{ languageFormat(language, "订单明细", "Order summary") }}
</div>
...
...
@@ -109,7 +123,7 @@
<div
class=
"time"
>
{{ language == 0 ? '票价' : 'Cost Ticket' }}
</div>
<p
/>
<p/>
<div
class=
"ticket"
>
{{ language == 0 ? TickForm2.price : TickForm2.priceEn }}
<span>
{{ language == 0 ? '元' : 'Euro' }}
</span>
...
...
@@ -123,7 +137,9 @@
</div>
<div
class=
"price_num"
>
<span>
{{ language == 0 ? "¥" : "€" }}
</span>
{{
((
language
==
0
?
TickForm2
.
price
:
TickForm2
.
priceEn
)
*
orderForm
.
customerIds
.
length
).
toFixed
(
2
)
}}
{{
((language == 0 ? TickForm2.price : TickForm2.priceEn) * orderForm.customerIds.length).toFixed(2)
}}
</div>
</div>
</div>
...
...
@@ -137,7 +153,7 @@
</span>
<span
class=
"value"
>
<span>
{{ language == 0 ? "¥" : "€" }}
</span>
{{
((
language
==
0
?
TickForm2
.
price
:
TickForm2
.
priceEn
)
*
orderForm
.
customerIds
.
length
).
toFixed
(
2
)
}}
{{ ((language == 0 ?
TickForm2.price :
TickForm2.priceEn) * orderForm.customerIds.length).toFixed(2) }}
</span>
</div>
<div
class=
"pay"
@
click=
"paymentHandle"
>
...
...
@@ -150,7 +166,7 @@
</template>
<
script
setup
>
import
{
ref
,
computed
,
onMounted
}
from
'vue'
import
{
ref
,
computed
,
onMounted
}
from
'vue'
import
{
customerListApi
,
submitOrderTicket
,
...
...
@@ -160,12 +176,12 @@ import {
checkPurchasedCustomers
,
getDeskInfo
}
from
'@/apiPc/booking'
import
{
ElMessage
,
ElMessageBox
}
from
'element-plus'
import
{
languageFormat
}
from
'@/viewsPc/seat/utils/language.js'
import
{
ElMessage
,
ElMessageBox
}
from
'element-plus'
import
{
languageFormat
}
from
'@/viewsPc/seat/utils/language.js'
import
useUserStore
from
'/@/store/modules/user'
import
{
useStorage
}
from
'@vueuse/core/index'
import
{
useStorage
}
from
'@vueuse/core/index'
import
_
from
'lodash'
import
{
useRoute
,
useRouter
}
from
'vue-router'
import
{
useRoute
,
useRouter
}
from
'vue-router'
const
useStore
=
useUserStore
()
...
...
@@ -211,8 +227,9 @@ const leftCount = ref({})
const
deskList
=
ref
([])
const
currDesk
=
ref
(
null
)
const
currSeat
=
ref
([])
const
tickImg
=
ref
()
onMounted
(()
=>
{
tickImg
.
value
=
route
.
query
.
tickImg
customerList
()
getDetail
()
...
...
@@ -241,6 +258,10 @@ onMounted(() => {
})
})
function
delSeat
(
item
,
index
)
{
currSeat
.
value
.
splice
(
index
,
1
)
}
function
changeGroup
(
e
)
{
if
(
e
.
length
>
0
)
{
checkPurchasedCustomers
({
...
...
@@ -300,7 +321,7 @@ async function paymentHandle() {
confirmButtonText
:
language
.
value
==
0
?
'确定'
:
'Confirm'
,
cancelButtonText
:
language
.
value
==
0
?
'取消'
:
'Cancel'
,
type
:
'warning'
}).
then
(
async
()
=>
{
}).
then
(
async
()
=>
{
try
{
const
orderCustomerList
=
[]
_
.
each
(
orderForm
.
value
.
customerIds
,
(
id
,
index
)
=>
{
...
...
@@ -369,7 +390,7 @@ async function paymentHandle() {
}
async
function
getDetail
()
{
const
res
=
await
getTicketInfoByActivityId
({
activityId
:
orderForm
.
value
.
activeId
})
const
res
=
await
getTicketInfoByActivityId
({
activityId
:
orderForm
.
value
.
activeId
})
TickForm
.
value
=
res
.
data
}
...
...
@@ -379,6 +400,10 @@ function addPeopl() {
path
:
'/booking/ticket/peopleManage'
})
}
const
showImg
=
()
=>
{
}
</
script
>
...
...
@@ -503,7 +528,7 @@ div {
.name
{
font-size
:
16px
;
color
:
#929aa0
;
//
color
:
#929aa0
;
margin-bottom
:
20px
;
.tag_t
{
...
...
src/viewsPc/booking/ticket/index.vue
View file @
1952255
...
...
@@ -221,8 +221,8 @@
<div
class=
"container bottom"
>
<div
style=
"display: flex"
>
<div
:class=
"{'bg':active==1}"
class=
"buBg"
@
click=
"active=1"
>
购票说明
</div>
<div
:class=
"{'bg' :active==2}"
class=
"buBg"
@
click=
"active=2"
>
购票须知
</div>
<div
:class=
"{'bg':active==1}"
class=
"buBg"
@
click=
"active=1"
>
{{ language==0?'购票说明':'Notice' }}
</div>
<div
:class=
"{'bg' :active==2}"
class=
"buBg"
@
click=
"active=2"
>
{{ language==0?'购票须知':'Instructions' }}
</div>
</div>
<div
v-show=
"active==1"
class=
"rich_content"
v-html=
"matchForm.ticketDes"
/>
<div
v-show=
"active==2"
class=
"rich_content"
v-html=
"matchForm.ticketNotice"
/>
...
...
@@ -394,6 +394,9 @@ function toSelectSeat() {
params
:
{
activeId
:
activeId
.
value
,
latstId
:
selectForm
.
value
.
latstId
},
query
:
{
tickImg
:
currTick
.
value
.
images
}
})
}
else
{
...
...
src/viewsPc/booking/travelDetail.vue
View file @
1952255
...
...
@@ -126,10 +126,11 @@
<div
class=
"text-center mt30"
>
<el-button
style=
"color: #fff"
:disabled=
"btnDisable"
size=
"large"
style=
"color: #fff"
size=
"large"
class=
"w200px btn-lineG"
:class=
"{'forbid':!(!hotTime[0])}"
round
@
click=
"goOrder"
>
{{ language==0?'立即预订':'BOOK NOW' }}
<span
v-if=
"btnDisable"
>
{{ language==0?'不在预定时间内':'OUT OF ORDER TIME' }}
</span>
<span
v-else
>
{{ language==0?'立即预订':'BOOK NOW' }}
</span>
</el-button>
</div>
</el-card>
...
...
@@ -191,6 +192,7 @@ function dateChange() {
}
function
selectDate
(
date
)
{
query
.
value
.
currentDate
=
date
currentDate1
.
value
=
currentDate
.
value
=
dayjs
(
date
).
toDate
()
console
.
log
(
date
)
}
...
...
@@ -209,7 +211,10 @@ const btnDisable = computed(() => {
})
function
goOrder
(
room
)
{
function
goOrder
()
{
if
(
btnDisable
.
value
){
return
}
ElMessageBox
.
confirm
(
language
.
value
==
0
?
`你当前选择的出行日期为
${
dayjs
(
currentDate
.
value
).
format
(
'YYYY-MM-DD'
)}
是否确定?`
:
`Your current check-in time is
${
dayjs
(
currentDate
.
value
).
format
(
'YYYY-MM-DD'
)}
Are you sure?`
,
{
type
:
'warning'
}).
then
({}).
then
(()
=>
{
checkOrderPay
(
6
).
then
(
res
=>
{
if
(
res
.
data
==
-
100
)
{
...
...
src/viewsPc/booking/travelOrder.vue
View file @
1952255
...
...
@@ -58,22 +58,25 @@
<!-- :picker-options="pickerOptions"-->
</el-form-item>
<el-form-item
v-for=
"(n,i) in gateList"
:key=
"i"
:label=
"language==0? n.name:
'Rooms'
"
prop=
"count"
>
<el-form-item
v-for=
"(n,i) in gateList"
:key=
"i"
:label=
"language==0? n.name:
n.name
"
prop=
"count"
>
<el-input-number
v-model=
"n.count"
:min=
"0"
:max=
"n.leftNum"
@
change=
"changeNum(n)"
/>
<div
class=
"red ml20"
>
<span
v-if=
"language == 0"
>
单价:
{{
n
.
price
}}
</span>
<span
v-else
>
{{
n
.
priceEn
}}
</span>
<span
v-if=
"language == 0"
>
单价:
¥
{{
n
.
price
}}
</span>
<span
v-else
>
€
{{
n
.
priceEn
}}
/ Ticket
</span>
</div>
<div
class=
"red ml20"
>
<span
v-if=
"language == 0"
>
剩余票数:
{{
n
.
leftNum
}}
</span>
<span
v-else
>
{{
n
.
leftNum
}}
Remaining rooms
</span>
<span
v-else
>
{{
n
.
leftNum
}}
sheet remaining
</span>
</div>
</el-form-item>
<div
v-if=
"needPersonNum>0"
class=
"fakeFormItem"
>
<label>
需填写
{{
needPersonNum
}}
位游客
</label>
<label
v-if=
"language == 0"
>
需填写
{{
needPersonNum
}}
位游客
</label>
<label
v-else
>
Need
{{
needPersonNum
}}
visitors
</label>
<div>
<label
class=
"text-warning"
v-show=
"needPersonNum > hasPersonNum"
>
还需填写
{{
needPersonNum
-
hasPersonNum
}}
位游客
</label>
<label
class=
"text-warning"
v-show=
"needPersonNum > hasPersonNum && language==0"
>
还需填写
{{
needPersonNum
-
hasPersonNum
}}
位游客
</label>
</div>
</div>
<div
v-for=
"(n,i) in gateList"
:key=
"i"
>
...
...
@@ -84,9 +87,12 @@
</label>
<div
v-if=
"p.name"
class=
"mation"
>
<div>
{{
p
.
name
}}
</div>
身份证:
{{
p
.
idCard
}}
<span
v-if=
"p.idcType==0"
>
{{
language
==
0
?
'身份证'
:
'ID number'
}}
</span>
<span
v-if=
"p.idcType==1"
>
{{
language
==
0
?
'护照'
:
'Passport'
}}
</span>
<span
v-if=
"p.idcType==2"
>
{{
language
==
0
?
'其他'
:
'Other'
}}
</span>
:
{{
p
.
idCard
}}
</div>
<el-icon
@
click=
"showAddPerson(n, j,p)"
><Edit
/></el-icon>
<el-icon
@
click=
"showAddPerson(n, j,p)"
color=
"#453DEA"
><Edit
/></el-icon>
</div>
</div>
...
...
@@ -107,13 +113,13 @@
<div
v-for=
"(c, index) in gateList"
v-show=
"c.count>0"
:key=
"index"
class=
"ccitem"
>
{{
c
.
name
}}
<span
v-if=
"language==0"
>
{{
c
.
count
}}
*
{{
'¥'
}}{{
c
.
price
}}
</span>
<span
v-else
>
{{
c
.
count
}}
*
{{
'€'
}}
{{
c
.
priceEn
}}
</span>
<span
v-if=
"language==0"
>
{{
c
.
count
}}
*
{{
'¥'
}}{{
c
.
price
}}
</span>
<span
v-else
>
{{
c
.
count
}}
*
{{
'€'
}}
{{
c
.
priceEn
}}
</span>
</div>
<label>
{{
language
==
0
?
'共计'
:
'Total'
}}
<span
class=
"fr bigMoney"
>
{{
language
==
0
?
'¥'
:
'€'
}}{{
money
}}
</span></label>
>
{{
language
==
0
?
'¥'
:
'€'
}}
{{
money
}}
</span></label>
</div>
</el-col>
...
...
@@ -457,7 +463,7 @@ function submit() {
line-height
:
32px
;
flex
:
0
0
auto
;
display
:
inline-flex
;
justify-content
:
flex-end
;
align-items
:
center
;
gap
:
10px
;}
align-items
:
center
;
gap
:
10px
;
white-space
:
nowrap
;
}
}
.tip
{
font-size
:
14px
;
color
:
#666
;
padding
:
0
10px
;}
.personIt
{
display
:
flex
;
align-items
:
center
;
...
...
src/viewsPc/center/myReservation.vue
View file @
1952255
...
...
@@ -8,17 +8,17 @@
<!--
<el-button
class=
"fr"
type=
"primary"
plain
@
click=
"toInvoice"
>
{{
language
==
0
?
'发票开具'
:
'Invoice'
}}
</el-button>
-->
<!--
<el-button
class=
"fr"
type=
"primary"
plain
@
click=
"toInvoice"
>
{{
language
==
0
?
'我的发票'
:
'My Invoice'
}}
</el-button>
-->
</div>
<el-empty
v-if=
"list?.length == 0"
:image=
"`/img/order_no.png`"
:image-size=
"228"
/>
<el-empty
v-if=
"list?.length == 0"
:image=
"`/img/order_no.png`"
:image-size=
"228"
/>
<div
class=
"pd20"
>
<div
v-for=
"b in list"
class=
"item"
>
<div
class=
"title"
>
<label
v-if=
"b.orderType == 0"
class=
"blueTag"
>
{{
language
==
0
?
'酒店'
:
'HOTEL'
}}
</label>
<label
v-if=
"b.orderType == 1"
class=
"purpleTag"
>
{{
language
==
0
?
'车辆'
:
'TRANSPORTATION'
}}
</label>
<label
v-if=
"b.orderType == 2"
class=
"
orang
eTag"
>
{{
language
==
0
?
'餐饮'
:
'DINING'
}}
</label>
<label
v-if=
"b.orderType == 3"
class=
"
orang
eTag"
>
{{
language
==
0
?
'化妆'
:
'MakeUp'
}}
</label>
<label
v-if=
"b.orderType == 2"
class=
"
blu
eTag"
>
{{
language
==
0
?
'餐饮'
:
'DINING'
}}
</label>
<label
v-if=
"b.orderType == 3"
class=
"
purpl
eTag"
>
{{
language
==
0
?
'化妆'
:
'MakeUp'
}}
</label>
<label
v-if=
"b.orderType == 4"
class=
"orangeTag"
>
{{
language
==
0
?
'拍摄'
:
'Shooting '
}}
</label>
<label
v-if=
"b.orderType == 5"
class=
"
orange
Tag"
>
{{
language
==
0
?
'票务'
:
'TICKETING '
}}
</label>
<label
v-if=
"b.orderType == 5"
class=
"
green
Tag"
>
{{
language
==
0
?
'票务'
:
'TICKETING '
}}
</label>
<label
v-if=
"b.orderType == 6"
class=
"orangeTag"
>
{{
language
==
0
?
'旅游'
:
'Travel '
}}
</label>
<span>
{{
language
==
0
?
'订单编号:'
:
'No.'
}}
{{
b
.
id
}}
</span>
...
...
@@ -28,20 +28,17 @@
<span
v-if=
"b.status == '0'&&b.surplus!='0,0'&&b.surplus!='0'"
class=
"bg-warning"
>
{{
language
==
0
?
'待支付'
:
'Unpaid'
}}
</span>
<span
v-if=
"b.status == '0'&&(b.surplus=='0,0'||b.surplus=='0')"
class=
"bg-warning"
>
{{
language
==
0
?
'已取消'
:
'Canceled'
}}
</span>
<span
v-if=
"b.status == '0'&&(b.surplus=='0,0'||b.surplus=='0')"
class=
"bg-warning"
>
{{
language
==
0
?
'已取消'
:
'Canceled'
}}
</span>
<span
v-if=
"b.status == '1'"
class=
"bg-blue"
>
{{
language
==
0
?
'支付成功'
:
'successful'
}}
</span>
<span
v-if=
"b.status == '2'"
class=
"bg-warning"
>
{{
language
==
0
?
'已取消'
:
'Canceled'
}}
</span>
<span
v-if=
"b.status == '3'||b.status == '4'"
class=
"bg-danger"
>
{{
language
==
0
?
'已退订'
:
'Refunded'
}}
</span>
language
==
0
?
'已退订'
:
'Refunded'
}}
</span>
<span
v-if=
"b.status == '7'"
class=
"bg-danger"
>
{{
language
==
0
?
'退款审核中'
:
'Refund in review'
}}
</span>
<span
v-if=
"b.status == '-1'"
class=
"bg-blue"
>
{{
language
==
0
?
'已核销'
:
'Completed'
}}
</span>
language
==
0
?
'退款审核中'
:
'Refund in review'
}}
</span>
<span
v-if=
"b.status == '-1'"
class=
"bg-blue"
>
{{
language
==
0
?
'已核销'
:
'Completed'
}}
</span>
</div>
<el-row
align=
"middle"
class=
"pd20 mt10"
justify=
"space-between"
>
...
...
@@ -56,7 +53,7 @@
<div
v-if=
"b.orderType == 1"
>
<h3
class=
"name"
>
{{
b
.
name
}}
</h3>
<div>
<p>
{{
b
.
extJsonObj
.
pickUpBo
.
count
}}
人
</p>
<p>
{{
b
.
extJsonObj
.
pickUpBo
.
count
}}
{{
language
==
0
?
'人'
:
'people'
}}
</p>
<p>
{{
b
.
extJsonObj
.
pickUpBo
.
revTime
}}
</p>
</div>
<!--
<p>
{{
b
.
messageObj
}}
</p>
-->
...
...
@@ -84,16 +81,18 @@
<div
v-if=
"b.orderType==5"
>
<h3
class=
"name"
>
{{
b
.
name
}}
</h3>
<p>
<!--
{{
-->
<!--
dayjs
(
b
.
deliveryTime
).
format
(
'YYYY-MM-DD'
)
+
' '
+
b
.
extJsonObj
.
timePeriod
?.
split
(
'-'
)[
0
]
+
'-'
+
dayjs
(
b
.
deliveryTime
).
format
(
'YYYY-MM-DD'
)
+
' '
+
b
.
extJsonObj
.
timePeriod
?.
split
(
'-'
)[
1
]
-->
<!--
}}
-->
<p
v-if=
"b.extJsonObj.ticketDate.name"
>
{{
b
.
extJsonObj
.
ticketDate
.
name
}}
</p>
<p>
{{
b
.
extJsonObj
.
atName
}}
|
{{
b
.
extJsonObj
.
atsName
}}
|
{{
b
.
extJsonObj
.
atstName
}}
</p>
<p
v-for=
"p in b.extJsonObj?.orderCustomerList"
>
<el-tag
class=
"mr10"
v-if=
"p.deskNo"
>
{{
p
.
deskNo
}}
-
{{
p
.
seatNo
}}
</el-tag>
{{
p
.
name
}}
-
{{
p
.
paymentType
==
'3'
?
'€'
:
'¥'
}}{{
b
.
extJsonObj
.
price
}}
</p>
</div>
<div
v-if=
"b.orderType == 6"
>
<h3
class=
"name"
>
{{
b
.
name
}}
</h3>
<p>
出行时间
:
{{
b
.
extJsonObj
.
dcStart
}}
</p>
<p>
{{
language
==
0
?
'出行时间'
:
'Travel Time'
}}
:
{{
b
.
extJsonObj
.
dcStart
}}
</p>
<p
v-for=
"t in b.extJsonObj.touristList"
>
{{
t
.
gateName
}}
:
{{
t
.
name
}}
</p>
</div>
</el-col>
...
...
@@ -102,8 +101,8 @@
<p>
{{
b
.
messageObj
?.
roomName
}}
</p>
<p>
{{
b
.
messageObj
?.
roomInfo
}}
</p>
</div>
<div
v-if=
"b.orderType == 1"
/>
<div
v-if=
"b.orderType == 2"
/>
<div
v-if=
"b.orderType == 1"
/>
<div
v-if=
"b.orderType == 2"
/>
<div
v-if=
"b.orderType == 3||b.orderType == 4"
>
<p>
{{
b
.
extJsonObj
.
packageName
}}
</p>
</div>
...
...
@@ -119,44 +118,44 @@
<el-col
:lg=
"6"
:md=
"16"
:sm=
"16"
:xs=
"16"
>
<div
class=
"text-right mb20 text-danger"
>
<el-countdown
v-if=
"b.status == '0'&&(b.surplus!='0,0'&&b.surplus!='0')"
:value=
"b.countdown"
format=
"mm:ss"
value-style=
"color:#E60012;font-size:16px;"
@
finish=
"finish(b)"
v-if=
"b.status == '0'&&(b.surplus!='0,0'&&b.surplus!='0')"
:value=
"b.countdown"
format=
"mm:ss"
value-style=
"color:#E60012;font-size:16px;"
@
finish=
"finish(b)"
/>
</div>
<div
class=
"text-right"
>
<el-button
v-if=
"(b.orderType == 0||b.orderType == 5)&&b.viewStatus!=0"
class=
"mb10"
plain
round
size=
"small"
type=
"success"
@
click=
"Rebook(b)"
v-if=
"(b.orderType == 0||b.orderType == 5)&&b.viewStatus!=0"
class=
"mb10"
plain
round
size=
"small"
type=
"success"
@
click=
"Rebook(b)"
>
{{
language
==
0
?
'再次预订'
:
'Rebook'
}}
</el-button>
<el-button
class=
"mb10"
plain
round
size=
"small"
type=
"primary"
@
click=
"goDetail(b)"
class=
"mb10"
plain
round
size=
"small"
type=
"primary"
@
click=
"goDetail(b)"
>
{{
language
==
0
?
'详情'
:
'Detail'
}}
</el-button>
<el-button
v-if=
"b.status == '0'&&(b.surplus!='0,0'&&b.surplus!='0')"
class=
"mb10"
plain
round
size=
"small"
type=
"primary"
@
click=
"goDetail(b)"
v-if=
"b.status == '0'&&(b.surplus!='0,0'&&b.surplus!='0')"
class=
"mb10"
plain
round
size=
"small"
type=
"primary"
@
click=
"goDetail(b)"
>
{{
language
==
0
?
'支付'
:
'Pay'
}}
</el-button>
<el-button
v-if=
"b.viewStatus==0"
class=
"mb10"
plain
round
size=
"small"
type=
"warning"
@
click=
"cancel(b)"
v-if=
"b.viewStatus==0"
class=
"mb10"
plain
round
size=
"small"
type=
"warning"
@
click=
"cancel(b)"
>
{{
language
==
0
?
'取消订单'
:
'Cancel Order'
}}
</el-button>
<el-button
v-if=
"b.viewStatus==5"
class=
"mb10"
plain
round
size=
"small"
type=
""
@
click=
"unsubscribe(b)"
v-if=
"b.viewStatus==5"
class=
"mb10"
plain
round
size=
"small"
type=
""
@
click=
"unsubscribe(b)"
>
{{
language
==
0
?
'退订'
:
'Unsubscribe'
}}
</el-button>
...
...
@@ -167,26 +166,26 @@
</div>
</div>
</el-card>
<div
class=
"pd20"
/>
<div
class=
"pd20"
/>
</div>
</
template
>
<
script
setup
>
import
{
onMounted
,
getCurrentInstance
}
from
'@vue/runtime-core'
import
{
useStorage
}
from
'@vueuse/core/index'
import
{
newbilllist
}
from
'@/apiPc/common'
import
{
onMounted
,
getCurrentInstance
}
from
'@vue/runtime-core'
import
{
useStorage
}
from
'@vueuse/core/index'
import
{
newbilllist
}
from
'@/apiPc/common'
import
useUserStore
from
'@/store/modules/user'
import
dayjs
from
'dayjs'
import
{
cancelOrder2
,
cancelOrder
}
from
'/@/apiPc/booking'
import
{
cancelOrder2
,
cancelOrder
}
from
'/@/apiPc/booking'
import
{
ElMessage
}
from
'element-plus'
import
{
ElMessage
}
from
'element-plus'
const
router
=
useRouter
()
const
language
=
useStorage
(
'language'
,
0
)
const
list
=
ref
([])
const
user
=
useUserStore
().
user
const
{
proxy
}
=
getCurrentInstance
()
const
{
proxy
}
=
getCurrentInstance
()
onMounted
(()
=>
{
getList
()
...
...
@@ -198,7 +197,7 @@ function finish(bill) {
}
function
getList
()
{
newbilllist
({
createById
:
user
.
userId
}).
then
(
res
=>
{
newbilllist
({
createById
:
user
.
userId
}).
then
(
res
=>
{
list
.
value
=
res
.
rows
||
[]
for
(
const
b
of
list
.
value
)
{
b
.
messageObj
=
JSON
.
parse
(
b
.
message
)
||
{}
...
...
@@ -386,6 +385,10 @@ function toInvoice() {
}
.blueTag
{
background-color
:
#1e62c8
;
}
.greenTag
{
background-color
:
#1EC886
;
}
...
...
src/viewsPc/components/homeQuick.vue
View file @
1952255
...
...
@@ -36,9 +36,14 @@
<p>
TRANSPORTATION RESERVATION
</p>
</div>
</el-col>
<!--
<el-col
:sm=
"12"
:lg=
"8"
:xs=
"12"
>
-->
<!--
<div
class=
"item_en"
@
click=
"popRemark(3)"
><img
src=
"@/assets/dance/btn03.png"
>
-->
<!--
<p>
DINING RESERVATION
</p>
-->
<!--
</div>
-->
<!--
</el-col>
-->
<el-col
:sm=
"12"
:lg=
"8"
:xs=
"12"
>
<div
class=
"item_en"
@
click=
"popRemark(
3)"
><img
src=
"@/assets/dance/btn03
.png"
>
<p>
DINING RESERVATION
</p>
<div
class=
"item_en"
@
click=
"popRemark(
8)"
><img
src=
"@/assets/dance/btn08
.png"
>
<p>
TRAVEL SERVICE
</p>
</div>
</el-col>
<el-col
:sm=
"12"
:lg=
"8"
:xs=
"12"
>
...
...
src/viewsPc/components/querybackNumber.vue
View file @
1952255
...
...
@@ -8,13 +8,14 @@
<div
style=
"min-height: 300px"
v-loading=
"loading"
>
<div
v-if=
"!type||type==''"
>
<div
@
click=
"type='0'"
class=
"rItem"
>
{{
language
==
0
?
'个人查询'
:
'Personal Query'
}}
</div>
<div
@
click=
"type='1'"
class=
"rItem"
>
{{
language
==
0
?
'团队查询'
:
'Team Query'
}}
</div>
<div
@
click=
"type='0'"
class=
"rItem"
>
{{
language
==
0
?
'个人查询'
:
'Personal Query'
}}
</div>
<div
@
click=
"type='1'"
class=
"rItem"
>
{{
language
==
0
?
'团队查询'
:
'Team Query'
}}
</div>
</div>
<div
v-if=
"type=='0'"
>
<div
class=
"flex mt30"
>
<el-input
:placeholder=
"language==0?'输入会员号 / 姓名查询':'Enter WDSF MIN / Name to Query'"
v-model=
"query"
clearable
<el-input
:placeholder=
"language==0?'输入会员号 / 姓名查询':'Enter WDSF MIN / Name to Query'"
v-model=
"query"
clearable
@
enter=
"search"
@
blur=
"search"
@
empty=
"search"
/>
<el-button
@
click=
"search"
class=
"btn-lineG"
style=
"color: #fff"
>
{{
language
==
0
?
'查询'
:
'Search'
...
...
@@ -29,19 +30,19 @@
<span
class=
"text-primary"
>
{{
form
.
number
}}
</span>
</div>
<div>
<label>
{{
language
==
0
?
'选手1'
:
'Name1'
}}
:
</label>
{{
form
.
maleName
}}
<label>
{{
language
==
0
?
'选手1'
:
'Name1'
}}
:
</label>
{{
form
.
maleName
}}
<span
v-if=
"form.maleWdsf"
>
-
{{
form
.
maleWdsf
}}
</span>
</div>
<div>
<label>
{{
language
==
0
?
'选手2'
:
'Name2'
}}
:
</label>
{{
form
.
femaleName
}}
<label>
{{
language
==
0
?
'选手2'
:
'Name2'
}}
:
</label>
{{
form
.
femaleName
}}
<span
v-if=
"form.femaleWdsf"
>
-
{{
form
.
femaleWdsf
}}
</span>
</div>
<div>
<label>
{{
language
==
0
?
'代表队'
:
'Represent'
}}
:
</label>
<label>
{{
language
==
0
?
'代表队'
:
'Represent'
}}
:
</label>
{{
form
.
groupName
}}
</div>
<div
v-if=
"form.zuInfo"
>
<label>
{{
language
==
0
?
'组别'
:
'Event'
}}
:
</label>
{{
form
.
zuInfo
}}
<label>
{{
language
==
0
?
'组别'
:
'Event'
}}
:
</label>
{{
form
.
zuInfo
}}
</div>
</div>
</div>
...
...
@@ -52,19 +53,24 @@
</div>
<div
v-if=
"type=='1'"
>
<div
class=
"flex mt20"
>
<el-input
:placeholder=
"language==0?'请输入代表队名称至少两字符':'Enter the representing team name,At least two characters'"
v-model=
"query2"
clearable
@
enter=
"searchTeam"
@
blur=
"searchTeam"
@
empty=
"searchTeam"
/>
<el-input
:placeholder=
"language==0?'请输入代表队名称至少两字符':'Enter the representing team name,At least two characters'"
v-model=
"query2"
clearable
@
enter=
"searchTeam"
@
blur=
"searchTeam"
@
empty=
"searchTeam"
/>
<el-button
@
click=
"searchTeam"
class=
"btn-lineG"
style=
"color: #fff"
>
{{
language
==
0
?
'查询'
:
'Search'
}}
{{
language
==
0
?
'查询'
:
'Search'
}}
</el-button>
</div>
<span
class=
"tip"
>
*
{{
language
==
0
?
'模糊查询'
:
'Fuzzy query'
}}
</span>
<div
class=
"text-danger text-center"
v-if=
"showGroupList"
>
{{
language
==
0
?
'找到多个团体'
:
'Found multiple teams'
}}
</div>
<span
class=
"tip"
>
*
{{
language
==
0
?
'模糊查询'
:
'Fuzzy query'
}}
</span>
<div
class=
"text-danger text-center"
v-if=
"showGroupList"
>
{{
language
==
0
?
'找到多个团体'
:
'Found multiple teams'
}}
</div>
<div
class=
"groupList"
v-if=
"showGroupList"
>
<ul>
<li
v-for=
"(item, index) in groupList"
@
click=
"showDetail(item)"
:key=
"index"
>
{{
item
}}
<el-icon
class=
"fr"
><ArrowRight
/></el-icon>
<li
v-for=
"(item, index) in groupList"
@
click=
"showDetail(item)"
:key=
"index"
>
{{
item
}}
<el-icon
class=
"fr"
>
<ArrowRight/>
</el-icon>
</li>
</ul>
</div>
...
...
@@ -72,11 +78,11 @@
<el-collapse
v-model=
"activeNames"
accordion
>
<el-collapse-item
:name=
"index"
:title=
"team[0][0].groupName"
v-for=
"(team,index) in teamlist"
:key=
"index"
>
<div
class=
"nowteamItem"
v-for=
"(p,jndex) in team"
:key=
"jndex"
>
<div
class=
"fontSize14 text-bold"
>
{{
p
[
0
].
zuInfo
}}
</div>
<div
class=
"fontSize14 text-bold"
>
{{
p
[
0
].
zuInfo
}}
</div>
<div
v-for=
"f in p"
:key=
"f.id"
>
<span
class=
"nowName text-primary"
>
{{
f
.
number
}}
</span>
<span
class=
"mr10"
>
{{
language
==
0
?
'选手1'
:
'Name1'
}}
:
{{
f
.
maleName
}}
</span>
<span>
{{
language
==
0
?
'选手2'
:
'Name2'
}}
:
{{
f
.
femaleName
}}
</span>
<span
class=
"nowName text-primary"
>
{{
f
.
number
}}
</span>
<span
class=
"mr10"
>
{{
language
==
0
?
'选手1'
:
'Name1'
}}
:
{{
f
.
maleName
}}
</span>
<span>
{{
language
==
0
?
'选手2'
:
'Name2'
}}
:
{{
f
.
femaleName
}}
</span>
</div>
</div>
</el-collapse-item>
...
...
@@ -111,7 +117,7 @@ const search = () => {
return
}
getBackNumber
({
query
:
query
.
value
}).
then
(
res
=>
{
if
(
!
res
.
data
||
res
.
data
.
length
==
0
)
{
if
(
!
res
.
data
||
res
.
data
.
length
==
0
)
{
list
.
value
=
[]
//提示 '未找到结果,请重新查询'
ElMessage
.
warning
(
language
.
value
==
0
?
'未找到结果,请重新查询'
:
'No result'
)
...
...
@@ -123,24 +129,24 @@ const search = () => {
}
const
searchTeam
=
()
=>
{
teamlist
.
value
=
[]
if
(
!
query2
.
value
||
query2
.
value
.
length
<
2
)
{
if
(
!
query2
.
value
||
query2
.
value
.
length
<
2
)
{
ElMessage
.
warning
(
language
.
value
==
0
?
'请输入代表队名称至少两字符'
:
'Enter the representing team name,At least two characters'
)
return
}
loading
.
value
=
true
getTeamBackNumberPre
({
query
:
query2
.
value
}).
then
(
res
=>
{
loading
.
value
=
false
if
(
!
res
.
data
||
res
.
data
.
length
==
0
)
{
if
(
!
res
.
data
||
res
.
data
.
length
==
0
)
{
groupList
.
value
=
[]
//提示 '未找到结果,请重新查询'
ElMessage
.
warning
(
language
.
value
==
0
?
'未找到结果,请重新查询'
:
'No result'
)
return
}
groupList
.
value
=
res
.
data
if
(
groupList
.
value
.
length
==
1
)
{
if
(
groupList
.
value
.
length
==
1
)
{
showDetail
(
groupList
.
value
[
0
])
}
if
(
groupList
.
value
.
length
>
1
)
{
if
(
groupList
.
value
.
length
>
1
)
{
showGroupList
.
value
=
true
}
...
...
@@ -157,6 +163,7 @@ const open = (param) => {
defineExpose
({
open
})
function
showDetail
(
name
)
{
query2
.
value
=
name
showGroupList
.
value
=
false
...
...
@@ -169,21 +176,40 @@ function showDetail(name) {
</
script
>
<
style
scoped
lang=
"scss"
>
.tip
{
font-size
:
12px
;
margin
:
4px
0
0
;
display
:
inline-block
;}
.rItem
{
.tip
{
font-size
:
12px
;
margin
:
4px
0
0
;
display
:
inline-block
;
}
.rItem
{
height
:
130px
;
cursor
:
pointer
;
border
:
1px
solid
#e1e1e1
;
border-radius
:
4px
;
width
:
350px
;
text-align
:
center
;
line-height
:
130px
;
padding
:
1px
;
font-size
:
30px
;
color
:
#fff
;
margin
:
20px
auto
;
background
:
linear-gradient
(
90deg
,
#8623FC
,
#453DEA
);
&:hover{
background
:
linear-gradient
(
90deg
,
#453DEA
,
#8623FC
);
box-shadow
:
0
4px
10px
#453DEA
;
border
:
none
;
cursor
:
pointer
;
border
:
1px
solid
#e1e1e1
;
border-radius
:
4px
;
width
:
350px
;
text-align
:
center
;
line-height
:
130px
;
padding
:
1px
;
font-size
:
30px
;
color
:
#fff
;
margin
:
20px
auto
;
background
:
linear-gradient
(
90deg
,
#8623FC
,
#453DEA
);
&:hover
{
background
:
linear-gradient
(
90deg
,
#453DEA
,
#8623FC
);
box-shadow
:
0
4px
10px
#453DEA
;
border
:
none
;
}
}
.nowteamItem
{
width
:
100%
;
border
:
1px
solid
#c8c5ff
;
margin-top
:
20px
;
position
:
relative
;
border-radius
:
4px
;
padding
:
0
0
20px
;
width
:
100%
;
border
:
1px
solid
#c8c5ff
;
margin-top
:
20px
;
position
:
relative
;
border-radius
:
4px
;
padding
:
0
0
20px
;
background
:
#FFFFFF
;
box-sizing
:
border-box
;
...
...
@@ -210,14 +236,38 @@ function showDetail(name) {
}
}
}
.temell
{
.nowteamItem{
padding
:
10px
;
margin
:
0
0
10px
;
.nowName{
font-size
:
15px
;
font-weight
:
bold
;
margin-right
:
10px
}
.text-bold
{
font-weight
:
bold
;}
.fontsize14
{
font-size
:
14px
;}
.nowteamItem
{
padding
:
10px
;
margin
:
0
0
10px
;
.nowName
{
font-size
:
15px
;
font-weight
:
bold
;
margin-right
:
10px
}
.text-bold
{
font-weight
:
bold
;
}
.fontsize14
{
font-size
:
14px
;
}
}
}
.groupList
{
max-height
:
70vh
;
overflow
:
auto
;
border
:
1px
solid
#e1e1e1
;
margin-top
:
10px
;
li{
padding
:
10px
;
border-bottom
:
1px
solid
#e1e1e1
;
cursor
:
pointer
;}
.groupList
{
max-height
:
70vh
;
overflow
:
auto
;
border
:
1px
solid
#e1e1e1
;
margin-top
:
10px
;
li
{
padding
:
10px
;
border-bottom
:
1px
solid
#e1e1e1
;
cursor
:
pointer
;
}
}
</
style
>
...
...
src/viewsPc/index.vue
View file @
1952255
...
...
@@ -412,6 +412,14 @@
</el-col>
</el-row>
</div>
<!-- 邀请函-->
<div
v-if=
"matchData.leagueId==0"
class=
"fixed_gg_l yaoQing"
@
click=
"applyInvitation"
>
<img
v-if=
"language==0"
src=
"@/assets/logo/Invitation_c.png"
>
<img
v-else
src=
"@/assets/logo/Invitation_e.png"
>
</div>
<affix-invitation
ref=
"dialogInvitationRef"
/>
</div>
</template>
<
script
setup
>
...
...
@@ -430,6 +438,11 @@ import { dayjs } from 'element-plus'
import
*
as
match
from
'@/apiPc/match'
import
{
getAboutUs
,
getppInfo
,
getZNList
}
from
'@/apiPc/match'
import
AffixInvitation
from
'/@/viewsPc/match/components/affix-invitation.vue'
import
{
useStorage
}
from
'@vueuse/core/index'
const
language
=
useStorage
(
'language'
,
0
)
const
modules
=
[
Autoplay
,
Navigation
]
const
navigationPic
=
ref
({
nextEl
:
'.picnext'
,
...
...
@@ -605,6 +618,15 @@ const handlePickup = () => {
emit
(
'pickup'
,
params
)
}
function
applyInvitation
()
{
var
obj
=
{
title
:
language
.
value
==
0
?
'邀请函申请'
:
'Visa Invitation Letter '
,
cptId
:
matchData
.
value
.
id
}
console
.
log
(
matchData
.
value
.
id
)
proxy
.
$refs
[
'dialogInvitationRef'
].
open
(
obj
)
}
</
script
>
<
style
lang=
"scss"
scoped
>
...
...
@@ -1195,4 +1217,11 @@ const handlePickup = () => {
width
:
192px
;
text-align
:
center
;
}
.yaoQing
{
width
:
160px
;
left
:
5px
;
top
:
40%
;
}
</
style
>
...
...
src/viewsPc/index_en.vue
View file @
1952255
...
...
@@ -391,8 +391,14 @@
</el-col>
</el-row>
</div>
<!-- 邀请函-->
<div
v-if=
"matchData.leagueId==0"
class=
"fixed_gg_l yaoQing"
@
click=
"applyInvitation"
>
<img
v-if=
"language==0"
src=
"@/assets/logo/Invitation_c.png"
>
<img
v-else
src=
"@/assets/logo/Invitation_e.png"
>
</div>
<affix-invitation
ref=
"dialogInvitationRef"
/>
</div>
</template>
<
script
setup
>
...
...
@@ -409,7 +415,10 @@ import 'swiper/css'
import
{
dayjs
,
ElMessage
}
from
'element-plus'
import
*
as
match
from
'@/apiPc/match'
import
{
rankList
}
from
'@/assets/js/data'
import
AffixInvitation
from
'/@/viewsPc/match/components/affix-invitation.vue'
import
{
useStorage
}
from
'@vueuse/core/index'
const
language
=
useStorage
(
'language'
,
0
)
const
modules
=
[
Autoplay
,
Navigation
]
const
navigationPic
=
ref
({
nextEl
:
'.picnext'
,
...
...
@@ -580,6 +589,15 @@ const handlePickup = () => {
}
emit
(
'pickup'
,
params
)
}
function
applyInvitation
()
{
var
obj
=
{
title
:
language
.
value
==
0
?
'邀请函申请'
:
'Visa Invitation Letter '
,
cptId
:
matchData
.
value
.
id
}
console
.
log
(
matchData
.
value
.
id
)
proxy
.
$refs
[
'dialogInvitationRef'
].
open
(
obj
)
}
</
script
>
<
style
lang=
"scss"
scoped
>
...
...
@@ -1321,4 +1339,11 @@ const handlePickup = () => {
height
:
60px
;
}
}
.yaoQing
{
width
:
160px
;
left
:
5px
;
top
:
40%
;
}
</
style
>
...
...
src/viewsPc/match/components/allSportsmanListForPersonal.vue
View file @
1952255
...
...
@@ -144,11 +144,12 @@ import AddCoach from '../components/addCoach'
import
AddWdsf
from
'../components/addWdsf'
import
Import
from
'../components/import'
import
{
useStorage
}
from
'@vueuse/core/index'
import
{
delPersonForPersonal
,
getPerPersonList
}
from
'@/apiPc/match'
import
{
delPersonForPersonal
,
getPerPersonList
,
getMate
}
from
'@/apiPc/match'
import
useUserStore
from
'@/store/modules/user'
import
{
ElMessage
,
ElMessageBox
}
from
'element-plus'
import
_
from
'lodash'
const
dancing
=
ref
(
null
)
// 舞伴
const
language
=
useStorage
(
'language'
,
0
)
const
user
=
useUserStore
().
user
const
{
proxy
}
=
getCurrentInstance
()
...
...
@@ -194,6 +195,7 @@ const open = (params) => {
show
.
value
=
true
isNational
.
value
=
params
.
isNational
choosedList
=
params
.
choosedList
tableData
.
value
=
[]
getList
()
}
defineExpose
({
...
...
@@ -225,6 +227,7 @@ const selectable = (row) => {
}
}
const
getList
=
()
=>
{
console
.
log
(
user
.
userId
)
loading
.
value
=
true
getPerPersonList
(
query
.
value
,
user
.
userId
).
then
(
res
=>
{
total
.
value
=
res
.
total
...
...
@@ -245,6 +248,10 @@ function handleSelectionChange(val) {
for
(
const
p
of
val
)
{
choosedIds
.
push
(
p
.
id
)
}
if
(
val
.
length
==
1
)
{
handelTeammate
(
val
[
0
].
id
)
}
if
(
val
.
length
==
0
)
getList
()
// 判断是否队友
if
(
val
.
length
==
2
)
{
if
(
val
[
0
].
sex
!=
val
[
1
].
sex
)
{
...
...
@@ -266,6 +273,27 @@ function handleSelectionChange(val) {
}
}
async
function
handelTeammate
(
id
)
{
const
res
=
await
getMate
({
type
:
'1'
,
id
})
dancing
.
value
=
res
.
data
const
arr
=
[]
for
(
const
v
of
tableData
.
value
)
{
if
(
v
.
id
==
id
||
v
.
id
==
dancing
.
value
)
{
arr
.
push
(
v
)
}
}
tableData
.
value
=
arr
nextTick
(()
=>
{
reSetChoosed
()
})
console
.
log
(
res
)
console
.
log
(
tableData
.
value
)
}
function
checkTwo
(
a
,
b
)
{
match
.
checkMate
({
per1Id
:
a
.
id
,
per2Id
:
b
.
id
,
cptId
:
matchId
}).
then
(
res
=>
{
if
(
!
res
.
data
)
{
...
...
src/viewsPc/match/detail_en.vue
View file @
1952255
...
...
@@ -588,16 +588,19 @@ function goTeamSign() {
)
return
}
router
.
push
({
path
:
`
${
route
.
params
.
id
}
/teamSignCn`
,
query
:
{
matchId
:
matchId
.
value
,
groupId
:
groupId
.
value
,
signType
:
matchData
.
value
.
signType
,
languageSource
:
matchData
.
value
.
languageSource
,
isNational
:
false
}
})
handelPreCheckForGroup
(
router
.
push
({
path
:
`
${
route
.
params
.
id
}
/teamSignCn`
,
query
:
{
matchId
:
matchId
.
value
,
groupId
:
groupId
.
value
,
signType
:
matchData
.
value
.
signType
,
languageSource
:
matchData
.
value
.
languageSource
,
isNational
:
false
}
})
)
}
else
{
// 国际赛
if
(
group
?.
type
!=
'4'
&&
matchData
.
value
.
countryLimit
==
'1'
)
{
...
...
@@ -612,16 +615,18 @@ function goTeamSign() {
)
return
}
router
.
push
({
path
:
`
${
route
.
params
.
id
}
/teamSign`
,
query
:
{
matchId
:
matchId
.
value
,
groupId
:
groupId
.
value
,
signType
:
matchData
.
value
.
signType
,
isNational
:
true
,
languageSource
:
matchData
.
value
.
languageSource
}
})
handelPreCheckForGroup
(
router
.
push
({
path
:
`
${
route
.
params
.
id
}
/teamSign`
,
query
:
{
matchId
:
matchId
.
value
,
groupId
:
groupId
.
value
,
signType
:
matchData
.
value
.
signType
,
isNational
:
true
,
languageSource
:
matchData
.
value
.
languageSource
}
})
)
}
}
...
...
@@ -754,17 +759,7 @@ function switchSignType() {
switch
(
matchData
.
value
.
signType
)
{
case
'0'
:
// 个人
if
(
user
.
utype
==
'1'
)
{
match
.
preCheckForPerson
().
then
(
res
=>
{
if
(
res
.
data
==
1
)
{
goPersonalSign
()
}
else
{
return
proxy
.
$modal
.
msgError
(
language
.
value
==
0
?
'您绑定的WDSF会员号已过期,请先到WDSF官网激活您的会员号。'
:
'Your bound WDSF Number has expired. Please activate your WDSF Number on the WDSF official website first.'
)
}
})
handelGeRenNext
()
}
if
(
user
.
utype
==
'2'
)
{
ElMessageBox
.
confirm
(
...
...
@@ -796,7 +791,9 @@ function switchSignType() {
)
}
if
(
user
.
utype
==
'2'
)
{
match
.
preCheckForGroup
(
groupId
.
value
).
then
(
goTeamSign
)
// match.preCheckForGroup(groupId.value).then(goTeamSign)
// handelPreCheckForGroup(goTeamSign)
goTeamSign
()
}
if
(
user
.
utype
==
'3'
)
{
// 团队活动 且 游客
...
...
@@ -805,12 +802,14 @@ function switchSignType() {
break
case
'2'
:
// 团体队伍
if
(
user
.
utype
==
'1'
)
{
match
.
preCheckForGroup
(
groupId
.
value
).
then
(
goPersonalSign
)
//
match.preCheckForGroup(groupId.value).then(goPersonalSign)
// goPersonalSign()
handelPreCheckForGroup
(
goPersonalSign
)
}
if
(
user
.
utype
==
'2'
)
{
match
.
preCheckForGroup
(
groupId
.
value
).
then
(
goTeamSign
)
// goTeamSign()
// handelPreCheckForGroup(goTeamSign)
// match.preCheckForGroup(groupId.value).then(goTeamSign)
goTeamSign
()
}
if
(
user
.
utype
==
'3'
)
{
// 游客
...
...
@@ -820,8 +819,35 @@ function switchSignType() {
}
}
async
function
handelGeRenNext
()
{
const
res
=
await
match
.
preCheckForPerson
({
type
:
'1'
})
// 不给报名
if
(
res
.
data
==
0
)
{
await
proxy
.
$modal
.
confirm
(
language
.
value
==
0
?
'您绑定的WDSF会员号已过期,请先到WDSF官网激活您的会员号。'
:
'Your bound WDSF Number has expired. Please activate your WDSF Number on the WDSF official website first.'
)
return
}
// 正常报名
if
(
res
.
data
==
1
)
{
goPersonalSign
()
}
// 提示
if
(
res
.
data
==
2
)
{
await
proxy
.
$modal
.
confirm
(
language
.
value
==
0
?
'运动员的WDSF会员号已变更,是否更新?'
:
'The athlete`s WDSF membership number has been changed. Should it be updated?'
)
await
match
.
preCheckForPerson
({
type
:
'2'
})
await
goPersonalSign
()
}
}
function
applyInvitation
()
{
var
obj
=
{
const
obj
=
{
title
:
language
.
value
==
0
?
'邀请函申请'
:
'Visa Invitation Letter '
,
cptId
:
matchId
.
value
}
...
...
@@ -835,6 +861,21 @@ const openPickup = () => {
}
proxy
.
$refs
[
'pickupRef'
].
open
(
obj
)
}
async
function
handelPreCheckForGroup
(
fn
)
{
const
res
=
await
match
.
preCheckForGroup
(
groupId
.
value
,
'1'
)
if
(
res
.
data
==
1
||
res
.
data
==
0
)
{
await
fn
()
}
if
(
res
.
data
==
2
)
{
await
proxy
.
$modal
.
confirm
(
language
.
value
==
0
?
'运动员的WDSF会员号已变更,是否更新?'
:
'The athlete`s WDSF membership number has been changed. Should it be updated?'
)
await
match
.
preCheckForGroup
(
groupId
.
value
,
'2'
)
await
fn
()
}
}
</
script
>
<
style
lang=
"scss"
scoped
>
...
...
src/viewsPc/saiC/index.vue
View file @
1952255
...
...
@@ -38,7 +38,7 @@
</el-card>
<el-card
class=
"mt20 mb20"
>
<el-table
:data=
"rank"
stripe
>
<el-table-column
align=
"center"
label=
"名次
"
type=
"index"
width=
"100"
>
<el-table-column
align=
"center"
:label=
"language==0?'名次':'Rank'
"
type=
"index"
width=
"100"
>
<
template
#
default=
"scope"
>
<span
v-if=
"scope.row.mingCi == 1"
style=
"color:#F8A617"
>
{{
scope
.
row
.
mingCi
}}
</span>
<span
v-else-if=
"scope.row.mingCi == 2"
style=
"color:#778B92"
>
{{
scope
.
row
.
mingCi
}}
</span>
...
...
@@ -47,15 +47,15 @@
</
template
>
</el-table-column>
<el-table-column
label=
"国家
"
prop=
"name"
>
<el-table-column
:label=
"language==0?'国家':'Country'
"
prop=
"name"
>
<
template
#
default=
"scope"
>
<div>
<span
:class=
"`flag-icon flag-icon-$
{scope.row.code}`" />
{{
scope
.
row
.
country
Name
}}
{{
language
==
0
?
scope
.
row
.
countryName
:
scope
.
row
.
countryShort
Name
}}
</div>
</
template
>
</el-table-column>
<el-table-column
align=
"center"
label=
"组合
"
>
<el-table-column
align=
"center"
:label=
"language==0?'组合':'Couple'"
min-width=
"200
"
>
<
template
#
default=
"scope"
>
<div
class=
"text-primary esp"
>
{{
scope
.
row
.
zuHe
}}
</div>
</
template
>
...
...
vite.config.js
View file @
1952255
...
...
@@ -64,32 +64,32 @@ export default defineConfig(({ mode, command }) => {
proxy
:
{
// https://cn.vitejs.dev/config/#server-proxy
'/dev-api/ztx-train'
:
{
target
:
'http://192.168.1.24
3
:1896/stage-api'
,
target
:
'http://192.168.1.24
2
:1896/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.24
3
:8081'
,
target
:
'http://192.168.1.24
2
:8081'
,
// 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.24
3
:8081'
,
target
:
'http://192.168.1.24
2
:8081'
,
changeOrigin
:
true
,
rewrite
:
(
p
)
=>
p
.
replace
(
/^
\/
dev-api
\/
ztx-webSite/
,
''
)
},
'/dev-api'
:
{
target
:
'http://192.168.1.118:8081/'
,
// target: 'http://192.168.1.24
3
:8081',
// target: 'http://192.168.1.24
2
:8081',
// target: 'https://jijin.wtwuxicenter.com/stage-api',
// target: 'https://wdsfwuxicenter.com/stage-api/',
changeOrigin
:
true
,
rewrite
:
(
p
)
=>
p
.
replace
(
/^
\/
dev-api/
,
''
)
},
'/ticket'
:
{
target
:
'http://192.168.1.24
3
:8081/'
,
target
:
'http://192.168.1.24
2
:8081/'
,
// target: 'https://jijin.wtwuxicenter.com/h5/',
// target: 'https://ticketh5.wdsfwuxicenter.com/h5/',
changeOrigin
:
true
,
...
...
Write
Preview
Styling with
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment