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
ffb67970
authored
2024-07-25 16:37:27 +0800
by
杨炀
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
no message
1 parent
91ac4d3f
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
25 additions
and
9 deletions
src/viewsPc/booking/addInvoice.vue
src/viewsPc/center/myMatch.vue
src/viewsPc/match/components/addCoach.vue
src/viewsPc/match/components/addCoach_en.vue
src/viewsPc/booking/addInvoice.vue
View file @
ffb6797
...
...
@@ -135,9 +135,7 @@
<div
class=
"tip"
v-if=
"remark"
>
<label>
{{
language
==
0
?
'开票须知'
:
'Invoice Notice'
}}
:
</label>
<div>
{{
remark
}}
</div>
<div
v-html=
"remark"
></div>
</div>
</div>
</el-col>
...
...
@@ -358,7 +356,8 @@ function goEditAddress(id) {
function
getRemark
()
{
getBaseInfoByActiveId
(
cptId
).
then
(
res
=>
{
if
(
res
.
data
){
remark
.
value
=
res
.
data
.
remarks
// remark.value = res.data.remarks
remark
.
value
=
res
.
data
.
remarks
.
replace
(
/
\n
/g
,
'<br>'
)
}
})
}
...
...
src/viewsPc/center/myMatch.vue
View file @
ffb6797
...
...
@@ -76,6 +76,7 @@ import useUserStore from "@/store/modules/user";
import
cache
from
"@/plugins/cache"
;
import
{
useStorage
}
from
"@vueuse/core/index"
;
import
{
refundApply
}
from
"@/apiPc/match"
;
import
dayjs
from
"dayjs"
;
const
language
=
useStorage
(
'language'
,
0
)
const
router
=
useRouter
()
const
{
proxy
}
=
getCurrentInstance
()
...
...
@@ -146,6 +147,13 @@ function continueSign(n){
})
return
}
if
(
n
.
signEndTime
<=
dayjs
().
format
(
'YYYY-MM-DD HH:mm:ss'
)){
ElMessage
({
message
:
language
.
value
==
0
?
'赛事报名已结束无法继续报名'
:
'The event registration has ended.'
,
type
:
'warning'
})
return
}
if
(
user
.
utype
==
'1'
)
{
// 个人报名
router
.
push
({
...
...
src/viewsPc/match/components/addCoach.vue
View file @
ffb6797
...
...
@@ -46,11 +46,12 @@
</el-form-item>
</el-col>
<el-col
:lg=
"12"
>
<el-form-item
:label=
"language==0?'出生日期':'Date of Birth'"
prop=
"birth"
required
>
<el-form-item
:label=
"language==0?'出生日期
1
':'Date of Birth'"
prop=
"birth"
required
>
<el-date-picker
v-model=
"form.birth"
:disabled=
"editgay&&form.labelArr.indexOf('0')>-1"
style=
"width: 100%;"
type=
"date"
format=
"YYYY-MM-DD"
value-format=
"YYYY-MM-DD"
:disabled-date=
"disabledBirth"
/>
</el-form-item>
<el-form-item
:label=
"language==0?'主要会员角色':'roles'"
prop=
"labelArr"
>
...
...
@@ -106,7 +107,7 @@
import
{
reactive
,
ref
,
toRefs
,
watch
}
from
'vue'
import
{
getCurrentInstance
,
nextTick
,
onMounted
}
from
'@vue/runtime-core'
import
*
as
match
from
'@/apiPc/match'
import
{
ElMessage
}
from
'element-plus'
import
{
dayjs
,
ElMessage
}
from
'element-plus'
import
_
from
'lodash'
import
{
useStorage
}
from
"@vueuse/core/index"
;
const
language
=
useStorage
(
'language'
,
0
)
...
...
@@ -249,6 +250,10 @@ function reset(){
})
}
}
function
disabledBirth
(
date
)
{
const
today
=
dayjs
().
format
(
'YYYY-MM-DD'
)
return
(
date
.
getTime
()
>=
dayjs
(
today
).
valueOf
())
}
function
getCountryList
()
{
match
.
countryList
().
then
(
res
=>
{
countryList
.
value
=
res
.
data
...
...
src/viewsPc/match/components/addCoach_en.vue
View file @
ffb6797
...
...
@@ -90,8 +90,9 @@
:required=
"!form.wdsfMin&&form.labelArr.indexOf('0')>-1"
>
<el-input
v-model=
"form.idcCode"
:disabled=
"editgay"
@
blur=
"giveBirthDay"
/>
</el-form-item>
<el-form-item
:label=
"language==0?'出生日期':'Date of Birth'"
prop=
"birth"
:required=
"!form.wdsfMin&&form.labelArr.indexOf('0')>-1"
>
<el-form-item
:label=
"language==0?'2出生日期':'Date of Birth'"
prop=
"birth"
:required=
"!form.wdsfMin&&form.labelArr.indexOf('0')>-1"
:disabled-date=
"disabledBirth"
>
<el-date-picker
v-model=
"form.birth"
:disabled=
"form.idcType=='0'"
style=
"width: 100%;"
...
...
@@ -137,7 +138,7 @@
import
{
reactive
,
ref
,
toRefs
,
watch
}
from
'vue'
import
{
getCurrentInstance
,
nextTick
,
onMounted
}
from
'@vue/runtime-core'
import
*
as
match
from
'@/apiPc/match'
import
{
ElMessage
}
from
'element-plus'
import
{
dayjs
,
ElMessage
}
from
'element-plus'
import
_
from
'lodash'
import
{
useStorage
}
from
"@vueuse/core/index"
;
import
{
checkWdsf
,
getCaptchaSms
}
from
"@/apiPc/match"
;
...
...
@@ -284,6 +285,9 @@ watch(show, (value) => {
// proxy.$refs['dialogRef'].clearValidate()
})
})
function
disabledBirth
(
time
)
{
return
time
.
getTime
()
>
new
Date
().
getTime
()
}
function
resetCode
()
{
isCodeTrue
.
value
=
false
}
...
...
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