bug修改 开放团体类型修改
Showing
4 changed files
with
15 additions
and
4 deletions
| ... | @@ -30,12 +30,14 @@ | ... | @@ -30,12 +30,14 @@ |
| 30 | </el-select> | 30 | </el-select> |
| 31 | </el-form-item> | 31 | </el-form-item> |
| 32 | <el-form-item :label="language==0?'团体类型':'Group type'" prop="type"> | 32 | <el-form-item :label="language==0?'团体类型':'Group type'" prop="type"> |
| 33 | <el-select :disabled="form.type=='4'" v-model="form.type" :placeholder="language==0?'请选择团体类型':''" style="width: 100%;"> | 33 | <el-select v-model="form.type" :placeholder="language==0?'请选择团体类型':''" style="width: 100%;"> |
| 34 | <el-option :label="language==0?'普通院校':'School'" value="0" /> | 34 | <el-option :label="language==0?'普通院校':'School'" value="0" /> |
| 35 | <el-option :label="language==0?'专业舞蹈学校':'Professional dance school'" value="1" /> | 35 | <el-option :label="language==0?'专业舞蹈学校':'Professional dance school'" value="1" /> |
| 36 | <el-option :label="language==0?'培训机构/俱乐部':'Company/Club'" value="2" /> | 36 | <el-option :label="language==0?'培训机构/俱乐部':'Company/Club'" value="2" /> |
| 37 | <el-option :label="language==0?'地方协会':'Local Association'" value="3" /> | 37 | <el-option :label="language==0?'地方协会':'Local Association'" value="3" /> |
| 38 | <el-option :label="language==0?'国家协会':'National Association'" value="4" :disabled="form.type!='4'"/> | 38 | <el-option :label="language==0?'国家协会':'National Association'" value="4" /> |
| 39 | <!-- :disabled="form.type!='4'"--> | ||
| 40 | |||
| 39 | </el-select> | 41 | </el-select> |
| 40 | </el-form-item> | 42 | </el-form-item> |
| 41 | <el-form-item :label="language==0?'联系人姓名':'Contact Person'" required prop="contactPerson"> | 43 | <el-form-item :label="language==0?'联系人姓名':'Contact Person'" required prop="contactPerson"> | ... | ... |
| ... | @@ -226,6 +226,15 @@ watch(show, (value) => { | ... | @@ -226,6 +226,15 @@ watch(show, (value) => { |
| 226 | }) | 226 | }) |
| 227 | 227 | ||
| 228 | function submitForm() { | 228 | function submitForm() { |
| 229 | if (!form.value.wdsfMin) { | ||
| 230 | if(card.value){ | ||
| 231 | ElMessage.warning(language.value == 0 ? '请点击校验WDSF会员号' : 'Please check your WDSF MIN') | ||
| 232 | return | ||
| 233 | } else { | ||
| 234 | ElMessage.warning(language.value == 0 ? '请输入你的WDSF会员号' : 'Please fill in your WDSF MIN') | ||
| 235 | return | ||
| 236 | } | ||
| 237 | } | ||
| 229 | if (!form.value.passportNumber) { | 238 | if (!form.value.passportNumber) { |
| 230 | ElMessage.warning(language.value == 0 ? '请输入你的证件号' : 'Please fill in your passport number') | 239 | ElMessage.warning(language.value == 0 ? '请输入你的证件号' : 'Please fill in your passport number') |
| 231 | return | 240 | return | ... | ... |
| ... | @@ -272,7 +272,7 @@ function goPrev() { | ... | @@ -272,7 +272,7 @@ function goPrev() { |
| 272 | function submitForm() { | 272 | function submitForm() { |
| 273 | proxy.$refs['ruleFormRef'].validate((valid, fields) => { | 273 | proxy.$refs['ruleFormRef'].validate((valid, fields) => { |
| 274 | if (valid) { | 274 | if (valid) { |
| 275 | if(form.value.type!='4'&&(form.value.abreviations=='')){ | 275 | if(form.value.type!='4'&&(form.value.abreviations==''||!form.value.abreviations)){ |
| 276 | ElMessage.warning(language.value==0?`请输入参赛队名称`:`Please complete Name of participating team`) | 276 | ElMessage.warning(language.value==0?`请输入参赛队名称`:`Please complete Name of participating team`) |
| 277 | return | 277 | return |
| 278 | } | 278 | } | ... | ... |
| ... | @@ -71,7 +71,7 @@ export default defineConfig(({ mode, command }) => { | ... | @@ -71,7 +71,7 @@ export default defineConfig(({ mode, command }) => { |
| 71 | }, | 71 | }, |
| 72 | '/dev-api/ztx-match': { | 72 | '/dev-api/ztx-match': { |
| 73 | // target: 'http://192.168.1.118:8083', | 73 | // target: 'http://192.168.1.118:8083', |
| 74 | target: 'https://jijin.wtwuxicenter.com/stage-api', | 74 | target: 'https://wdsfwuxicenter.com/stage-api/', |
| 75 | changeOrigin: true, | 75 | changeOrigin: true, |
| 76 | rewrite: (p) => p.replace(/^\/dev-api\/ztx-match/, '') | 76 | rewrite: (p) => p.replace(/^\/dev-api\/ztx-match/, '') |
| 77 | }, | 77 | }, | ... | ... |
-
Please register or sign in to post a comment