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
25d2a9a4
authored
2024-08-15 13:34:23 +0800
by
杨炀
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
no message
1 parent
9c842441
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
9 deletions
package.json
src/viewsPc/booking/ticketSearch.vue
package.json
View file @
25d2a9a
...
...
@@ -31,10 +31,12 @@
"katex"
:
"^0.16.6"
,
"lodash"
:
"^4.17.21"
,
"md5js"
:
"^1.0.7"
,
"mysql"
:
"^2.18.1"
,
"nprogress"
:
"0.2.0"
,
"pinia"
:
"2.0.35"
,
"qrcode"
:
"^1.5.3"
,
"quill-image-resize-module"
:
"^3.0.0"
,
"require"
:
"^2.4.20"
,
"swiper"
:
"^8.4.7"
,
"vant"
:
"^4.0.9"
,
"video.js"
:
"^8.5.2"
,
...
...
src/viewsPc/booking/ticketSearch.vue
View file @
25d2a9a
...
...
@@ -3,7 +3,7 @@
<div
class=
"pd20"
>
<el-form>
<el-form-item>
<el-input
type=
"text"
size=
"large"
placeholder=
"请输入证件号查询
"
<el-input
type=
"text"
size=
"large"
:placeholder=
"language==0?'请输入证件号查询':'Query ID Card'
"
v-model=
"query.idCard"
clearable
@
keyup
.
enter=
"search"
@
clear=
"search"
/>
...
...
@@ -11,11 +11,11 @@
</el-form>
<div
class=
"list"
>
<div
class=
"nowteamItem "
v-for=
"(n,i) in list"
:key=
"i"
>
<div
class=
"p9 f12"
>
订单编号
:
{{
n
.
id
}}
</div>
<div
class=
"p9 f12"
>
{{
language
==
0
?
'订单编号'
:
'Order Number'
}}
:
{{
n
.
id
}}
</div>
<div>
{{
n
.
ticketName
}}
</div>
<div>
场次
:
{{
n
.
ticketTypeName
}}
</div>
<div>
票型
:
{{
language
==
0
?
n
.
typeName
:
n
.
typeNameEn
}}
<el-tag
v-if=
"n.discount == 1"
>
优惠
</el-tag>
<div>
{{
language
==
0
?
'场次'
:
'Session'
}}
:
{{
n
.
ticketTypeName
}}
</div>
<div>
{{
language
==
0
?
'票型'
:
'Ticket Type'
}}
:
{{
language
==
0
?
n
.
typeName
:
n
.
typeNameEn
}}
<el-tag
v-if=
"n.discount == 1"
>
{{
language
==
0
?
'优惠'
:
'DISCOUNT'
}}
</el-tag>
</div>
<div>
<!-- 观看人:-->
...
...
@@ -28,9 +28,9 @@
<span
class=
"fr fwb text-warning"
v-if=
"language==1&&n.discount == 1"
>
€
{{
n
.
rebatePriceEn
}}
</span>
</div>
<p>
<label
v-if=
"n.idcType == 0"
>
身份证
:
</label>
<label
v-if=
"n.idcType == 1"
>
护照
:
</label>
<label
v-if=
"n.idcType == 2"
>
其他
:
</label>
<label
v-if=
"n.idcType == 0"
>
{{
language
==
0
?
'身份证'
:
'ID Card'
}}
:
</label>
<label
v-if=
"n.idcType == 1"
>
{{
language
==
0
?
'护照'
:
'Passport'
}}
:
</label>
<label
v-if=
"n.idcType == 2"
>
{{
language
==
0
?
'其他'
:
'Other'
}}
:
</label>
<span
v-html=
"n.idCard"
></span>
</p>
</div>
...
...
@@ -44,12 +44,15 @@
</div>
<div
class=
"fixed-bottom"
>
<el-button
@
click=
"search"
v-loading=
"loading"
round
type=
"primary"
class=
"btn-lineG"
>
查询
</el-button>
<el-button
@
click=
"search"
v-loading=
"loading"
round
type=
"primary"
class=
"btn-lineG"
>
{{
language
==
0
?
'查询'
:
'Search'
}}
</el-button>
</div>
</div>
</
template
>
<
script
setup
>
import
{
ref
,
computed
,
onMounted
}
from
'vue'
import
{
queryTicket
}
from
"@/apiPc/common"
;
import
{
ElMessage
}
from
"element-plus"
;
import
{
useStorage
}
from
"@vueuse/core/index"
;
...
...
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