f8237179 by zhangmeng

国外不购买保险

1 parent 5f4bdea4
...@@ -171,7 +171,7 @@ ...@@ -171,7 +171,7 @@
171 {{ language == 0 ? '预览报名信息' : 'Preview Registration Information' }} 171 {{ language == 0 ? '预览报名信息' : 'Preview Registration Information' }}
172 </el-button> 172 </el-button>
173 173
174 <span v-if="insuranceFlag!=0" class="checkbox"> 174 <span v-if="language==0&& insuranceFlag!=0||language==1&&insuranceFlag==1" class="checkbox">
175 <el-checkbox 175 <el-checkbox
176 v-model="checked" 176 v-model="checked"
177 :label="language==0?'我同意授权赛事方帮忙购买保险':'I agree to authorize the event organizer to purchase insurance on my behalf'" 177 :label="language==0?'我同意授权赛事方帮忙购买保险':'I agree to authorize the event organizer to purchase insurance on my behalf'"
...@@ -480,7 +480,7 @@ function submitForm(n) { ...@@ -480,7 +480,7 @@ function submitForm(n) {
480 } 480 }
481 481
482 function commit() { 482 function commit() {
483 if (insuranceFlag.value == 2 && checked.value == '0') { 483 if (language.value == 0 && insuranceFlag.value == 2 && checked.value == '0') {
484 ElMessageBox.confirm(language.value == 0 ? '你是否同意赛事放帮忙购买保险?' : 'Do you agree to have the event organizer help purchase insurance?', 484 ElMessageBox.confirm(language.value == 0 ? '你是否同意赛事放帮忙购买保险?' : 'Do you agree to have the event organizer help purchase insurance?',
485 language.value == 0 ? '提示' : 'Tip', { 485 language.value == 0 ? '提示' : 'Tip', {
486 confirmButtonText: language.value == 0 ? '是' : 'Yes', 486 confirmButtonText: language.value == 0 ? '是' : 'Yes',
......
...@@ -182,7 +182,7 @@ ...@@ -182,7 +182,7 @@
182 {{ language == 0 ? '预览报名信息' : 'Preview registration information' }} 182 {{ language == 0 ? '预览报名信息' : 'Preview registration information' }}
183 </el-button> 183 </el-button>
184 184
185 <span v-if="insuranceFlag!=0" class="checkbox"> 185 <span v-if="language==0&& insuranceFlag!=0||language==1&&insuranceFlag==1" class="checkbox">
186 <el-checkbox 186 <el-checkbox
187 v-model="checked" 187 v-model="checked"
188 :label="language==0?'我同意授权赛事方帮忙购买保险':'I agree to authorize the event organizer to purchase insurance on my behalf'" 188 :label="language==0?'我同意授权赛事方帮忙购买保险':'I agree to authorize the event organizer to purchase insurance on my behalf'"
...@@ -436,7 +436,7 @@ function submitForm() { ...@@ -436,7 +436,7 @@ function submitForm() {
436 // cancelButtonText: language.value == 0 ? '否,进入下一步' : 'NO,Go Next', 436 // cancelButtonText: language.value == 0 ? '否,进入下一步' : 'NO,Go Next',
437 type: 'warning' 437 type: 'warning'
438 }) 438 })
439 } else if (insuranceFlag.value == '2' && checked.value == 0) { 439 } else if (language.value == 0 && insuranceFlag.value == '2' && checked.value == 0) {
440 ElMessageBox.confirm(language.value == 0 ? '你是否同意赛事放帮忙购买保险?' : 'Do you agree to have the event organizer help purchase insurance?', 440 ElMessageBox.confirm(language.value == 0 ? '你是否同意赛事放帮忙购买保险?' : 'Do you agree to have the event organizer help purchase insurance?',
441 language.value == 0 ? '提示' : 'Tip', { 441 language.value == 0 ? '提示' : 'Tip', {
442 confirmButtonText: language.value == 0 ? '是' : 'Yes', 442 confirmButtonText: language.value == 0 ? '是' : 'Yes',
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!