Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
杨炀
/
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
c8d99923
authored
2024-06-04 10:16:53 +0800
by
杨炀
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Revert "no message"
This reverts commit
d9d99119
.
1 parent
d9d99119
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
9 deletions
src/viewsPc/match/chooseSportsman.vue
src/viewsPc/match/components/addCoach.vue
src/viewsPc/match/components/allSportsmanList.vue
src/viewsPc/match/components/allSportsmanListForPersonal.vue
src/viewsPc/match/chooseSportsman.vue
View file @
c8d9992
...
...
@@ -290,7 +290,7 @@ function getAthletesList() {
athletesList
.
value
=
res
.
rows
if
(
!
isNational
.
value
){
for
(
let
ath
of
athletesList
.
value
){
if
(
!
ath
.
phone
){
if
(
!
ath
.
p
icUrl
||!
ath
.
p
hone
){
ath
.
disabled
=
true
}
else
{
ath
.
disabled
=
false
...
...
src/viewsPc/match/components/addCoach.vue
View file @
c8d9992
...
...
@@ -7,8 +7,8 @@
<el-form
ref=
"dialogRef"
:model=
"form"
:rules=
"language==0?rules:rules_cn"
label-width=
"150px"
inline
>
<el-row
:gutter=
"30"
class=
"mt30"
>
<el-col
:lg=
"12"
class=
"touxiang"
>
<!-- :required="form.labelArr.indexOf('0')>-1"-->
<el-form-item
prop=
"picUrl"
:label=
"language==0?'个人照片':'photo'"
>
<el-form-item
prop=
"picUrl"
:label=
"language==0?'个人照片':'photo'"
:required=
"form.labelArr.indexOf('0')>-1"
>
<ImageUpload2
v-model=
"form.picUrl"
:crop-height=
"280"
:crop-width=
"200"
class=
"threeFour"
:limit=
"1"
:is-show-tip=
"false"
...
...
@@ -304,10 +304,10 @@ function giveBirthDay() {
function
submitForm
()
{
proxy
.
$refs
[
'dialogRef'
].
validate
((
valid
)
=>
{
if
(
valid
)
{
//
if(!form.value.picUrl&&form.value.labelArr.indexOf('0')>-1){
//
ElMessage.warning(language.value == 0 ? '请上传个人照片' :'Please upload your photo')
//
return
//
}
if
(
!
form
.
value
.
picUrl
&&
form
.
value
.
labelArr
.
indexOf
(
'0'
)
>-
1
){
ElMessage
.
warning
(
language
.
value
==
0
?
'请上传个人照片'
:
'Please upload your photo'
)
return
}
// 验证身份证号
if
(
form
.
value
.
idcType
==
0
&&
!
(
/
(
^
\d{15}
$
)
|
(
^
\d{17}([
0-9
]
|X
)
$
)
/
.
test
(
form
.
value
.
idcCode
)))
{
ElMessage
.
warning
(
'请输入正确的身份证号码'
)
...
...
src/viewsPc/match/components/allSportsmanList.vue
View file @
c8d9992
...
...
@@ -72,7 +72,7 @@
<!-- </el-table-column>-->
<el-table-column
:label=
"language==0?'操作':'Actions'"
width=
"180"
fixed=
"right"
align=
"center"
>
<
template
#
default=
"scope"
>
<el-button
link
v-if=
"!isNational&&(!scope.row.phone)"
type=
"danger"
@
click=
"editPerson(scope.row)"
>
<el-button
link
v-if=
"!isNational&&(!scope.row.p
icUrl||!scope.row.p
hone)"
type=
"danger"
@
click=
"editPerson(scope.row)"
>
{{
language
==
0
?
'完善信息'
:
'Complete'
}}
</el-button>
<el-button
link
v-else
type=
"primary"
@
click=
"editPerson(scope.row)"
>
...
...
src/viewsPc/match/components/allSportsmanListForPersonal.vue
View file @
c8d9992
...
...
@@ -278,7 +278,6 @@ function editPerson(row) {
function
addMember
()
{
console
.
log
(
isNational
.
value
)
const
params
=
{
title
:
language
.
value
==
0
?
'添加人员'
:
'Add'
,
id
:
0
,
...
...
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