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
0a0f0a1a
authored
2024-04-15 15:32:51 +0800
by
杨炀
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
团体报名-参赛队名称-提示
1 parent
f2921394
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletions
src/viewsPc/match/teamSign.vue
src/viewsPc/match/teamSign.vue
View file @
0a0f0a1
...
...
@@ -29,7 +29,7 @@
<el-option
v-for=
"item in countryList"
:key=
"item.id"
:label=
"item.noc||item.enName"
:value=
"item.id"
/>
</el-select>
</el-form-item>
<el-form-item
v-if=
"form.type!='4'"
:label=
"language==0?'参赛队名称':'Name of participating team'"
required
prop=
"abreviations"
>
<el-form-item
v-if=
"form.type!='4'"
:label=
"language==0?'参赛队名称':'Name of participating team'"
required
>
<el-input
type=
"text"
v-model=
"form.abreviations"
:placeholder=
"language==0?'请输入内容':''"
/>
</el-form-item>
<!--
<el-form-item
v-if=
"form.type!='4'"
:label=
"language==0?'团体名称':'Team Name'"
prop=
"name"
required
>
-->
...
...
@@ -270,6 +270,10 @@ function goPrev() {
function
submitForm
()
{
proxy
.
$refs
[
'ruleFormRef'
].
validate
((
valid
,
fields
)
=>
{
if
(
valid
)
{
if
(
form
.
value
.
type
!=
'4'
&&
(
form
.
value
.
abreviations
==
''
)){
ElMessage
.
warning
(
language
.
value
==
0
?
`请输入参赛队名称`
:
`Please complete Name of participating team`
)
return
}
console
.
log
(
form
.
value
)
for
(
const
n
of
participantsInfoArr
.
value
)
{
if
(
n
.
status
==
0
&&
(
!
n
.
value
&&
(
!
n
.
fixWxFile
||
n
.
fixWxFile
.
length
==
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