f8237179 by zhangmeng

国外不购买保险

1 parent 5f4bdea4
......@@ -171,7 +171,7 @@
{{ language == 0 ? '预览报名信息' : 'Preview Registration Information' }}
</el-button>
<span v-if="insuranceFlag!=0" class="checkbox">
<span v-if="language==0&& insuranceFlag!=0||language==1&&insuranceFlag==1" class="checkbox">
<el-checkbox
v-model="checked"
:label="language==0?'我同意授权赛事方帮忙购买保险':'I agree to authorize the event organizer to purchase insurance on my behalf'"
......@@ -480,7 +480,7 @@ function submitForm(n) {
}
function commit() {
if (insuranceFlag.value == 2 && checked.value == '0') {
if (language.value == 0 && insuranceFlag.value == 2 && checked.value == '0') {
ElMessageBox.confirm(language.value == 0 ? '你是否同意赛事放帮忙购买保险?' : 'Do you agree to have the event organizer help purchase insurance?',
language.value == 0 ? '提示' : 'Tip', {
confirmButtonText: language.value == 0 ? '是' : 'Yes',
......
......@@ -182,7 +182,7 @@
{{ language == 0 ? '预览报名信息' : 'Preview registration information' }}
</el-button>
<span v-if="insuranceFlag!=0" class="checkbox">
<span v-if="language==0&& insuranceFlag!=0||language==1&&insuranceFlag==1" class="checkbox">
<el-checkbox
v-model="checked"
:label="language==0?'我同意授权赛事方帮忙购买保险':'I agree to authorize the event organizer to purchase insurance on my behalf'"
......@@ -436,7 +436,7 @@ function submitForm() {
// cancelButtonText: language.value == 0 ? '否,进入下一步' : 'NO,Go Next',
type: 'warning'
})
} else if (insuranceFlag.value == '2' && checked.value == 0) {
} else if (language.value == 0 && insuranceFlag.value == '2' && checked.value == 0) {
ElMessageBox.confirm(language.value == 0 ? '你是否同意赛事放帮忙购买保险?' : 'Do you agree to have the event organizer help purchase insurance?',
language.value == 0 ? '提示' : 'Tip', {
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!