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
4793c44c
authored
2024-09-03 11:36:33 +0800
by
杨炀
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
bug修改 开放团体类型修改
1 parent
d4261530
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
15 additions
and
4 deletions
src/viewsPc/center/teamInfo.vue
src/viewsPc/match/components/addWdsf.vue
src/viewsPc/match/teamSign.vue
vite.config.js
src/viewsPc/center/teamInfo.vue
View file @
4793c44
...
...
@@ -30,12 +30,14 @@
</el-select>
</el-form-item>
<el-form-item
:label=
"language==0?'团体类型':'Group type'"
prop=
"type"
>
<el-select
:disabled=
"form.type=='4'"
v-model=
"form.type"
:placeholder=
"language==0?'请选择团体类型':''"
style=
"width: 100%;"
>
<el-select
v-model=
"form.type"
:placeholder=
"language==0?'请选择团体类型':''"
style=
"width: 100%;"
>
<el-option
:label=
"language==0?'普通院校':'School'"
value=
"0"
/>
<el-option
:label=
"language==0?'专业舞蹈学校':'Professional dance school'"
value=
"1"
/>
<el-option
:label=
"language==0?'培训机构/俱乐部':'Company/Club'"
value=
"2"
/>
<el-option
:label=
"language==0?'地方协会':'Local Association'"
value=
"3"
/>
<el-option
:label=
"language==0?'国家协会':'National Association'"
value=
"4"
:disabled=
"form.type!='4'"
/>
<el-option
:label=
"language==0?'国家协会':'National Association'"
value=
"4"
/>
<!-- :disabled="form.type!='4'"-->
</el-select>
</el-form-item>
<el-form-item
:label=
"language==0?'联系人姓名':'Contact Person'"
required
prop=
"contactPerson"
>
...
...
src/viewsPc/match/components/addWdsf.vue
View file @
4793c44
...
...
@@ -226,6 +226,15 @@ watch(show, (value) => {
})
function
submitForm
()
{
if
(
!
form
.
value
.
wdsfMin
)
{
if
(
card
.
value
){
ElMessage
.
warning
(
language
.
value
==
0
?
'请点击校验WDSF会员号'
:
'Please check your WDSF MIN'
)
return
}
else
{
ElMessage
.
warning
(
language
.
value
==
0
?
'请输入你的WDSF会员号'
:
'Please fill in your WDSF MIN'
)
return
}
}
if
(
!
form
.
value
.
passportNumber
)
{
ElMessage
.
warning
(
language
.
value
==
0
?
'请输入你的证件号'
:
'Please fill in your passport number'
)
return
...
...
src/viewsPc/match/teamSign.vue
View file @
4793c44
...
...
@@ -272,7 +272,7 @@ function goPrev() {
function
submitForm
()
{
proxy
.
$refs
[
'ruleFormRef'
].
validate
((
valid
,
fields
)
=>
{
if
(
valid
)
{
if
(
form
.
value
.
type
!=
'4'
&&
(
form
.
value
.
abreviations
==
''
)){
if
(
form
.
value
.
type
!=
'4'
&&
(
form
.
value
.
abreviations
==
''
||!
form
.
value
.
abreviations
)){
ElMessage
.
warning
(
language
.
value
==
0
?
`请输入参赛队名称`
:
`Please complete Name of participating team`
)
return
}
...
...
vite.config.js
View file @
4793c44
...
...
@@ -71,7 +71,7 @@ export default defineConfig(({ mode, command }) => {
},
'/dev-api/ztx-match'
:
{
// target: 'http://192.168.1.118:8083',
target
:
'https://
jijin.wtwuxicenter.com/stage-api
'
,
target
:
'https://
wdsfwuxicenter.com/stage-api/
'
,
changeOrigin
:
true
,
rewrite
:
(
p
)
=>
p
.
replace
(
/^
\/
dev-api
\/
ztx-match/
,
''
)
},
...
...
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