疗休养
This commit is contained in:
@@ -399,7 +399,7 @@ layout("/mobile/platform.html"){
|
|||||||
<van-action-sheet v-model="readVisible" title="定点自由行申请表">
|
<van-action-sheet v-model="readVisible" title="定点自由行申请表">
|
||||||
<van-divider :style="{ color: 'orange', fontSize: '12px' }">上下滑动翻页,单击查看,再单击返回</van-divider>
|
<van-divider :style="{ color: 'orange', fontSize: '12px' }">上下滑动翻页,单击查看,再单击返回</van-divider>
|
||||||
<div id="basePdf" style="height: 530px; overflow-y: auto"></div>
|
<div id="basePdf" style="height: 530px; overflow-y: auto"></div>
|
||||||
<div class="submitButton">
|
<div class="submitButton" style="margin-bottom: 7vh">
|
||||||
<van-button @click="onRead" class="join join_submit" style="margin: 10px 0">我已阅读确认</van-button>
|
<van-button @click="onRead" class="join join_submit" style="margin: 10px 0">我已阅读确认</van-button>
|
||||||
</div>
|
</div>
|
||||||
</van-action-sheet>
|
</van-action-sheet>
|
||||||
|
|||||||
@@ -584,7 +584,7 @@ layout("/mobile/platform.html"){
|
|||||||
<van-action-sheet v-model="readVisible" title="安全告知书">
|
<van-action-sheet v-model="readVisible" title="安全告知书">
|
||||||
<van-divider :style="{ color: 'orange', fontSize: '12px' }">上下滑动翻页,单击查看,再单击返回</van-divider>
|
<van-divider :style="{ color: 'orange', fontSize: '12px' }">上下滑动翻页,单击查看,再单击返回</van-divider>
|
||||||
<div id="readFile" style="height: 530px; overflow-y: auto"></div>
|
<div id="readFile" style="height: 530px; overflow-y: auto"></div>
|
||||||
<div class="submitButton">
|
<div class="submitButton" style="margin-bottom: 7vh">
|
||||||
<van-button @click="onRead" class="join join_submit" style="margin: 10px 0">我已阅读确认</van-button>
|
<van-button @click="onRead" class="join join_submit" style="margin: 10px 0">我已阅读确认</van-button>
|
||||||
</div>
|
</div>
|
||||||
</van-action-sheet>
|
</van-action-sheet>
|
||||||
@@ -769,19 +769,28 @@ layout("/mobile/platform.html"){
|
|||||||
const companion = cloneData.companionList[i];
|
const companion = cloneData.companionList[i];
|
||||||
// 检查每个字段是否为空
|
// 检查每个字段是否为空
|
||||||
if (!companion.userName || !companion.idCard || !companion.mobile) {
|
if (!companion.userName || !companion.idCard || !companion.mobile) {
|
||||||
this.$toast('请填写完整随行人信息')
|
vant.Dialog.alert({
|
||||||
|
title: '提示',
|
||||||
|
message: '请填写完整随行人信息',
|
||||||
|
});
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
// 填了身份证,校验是否正确
|
// 填了身份证,校验是否正确
|
||||||
if (companion.idCard) {
|
if (companion.idCard) {
|
||||||
if (!this.validateIdCard(companion.idCard)) {
|
if (!this.validateIdCard(companion.idCard)) {
|
||||||
this.$toast('随行人'+ (i+1) +'的身份证不正确')
|
vant.Dialog.alert({
|
||||||
|
title: '提示',
|
||||||
|
message: '【随行人'+ (i+1) +'】的身份证不正确',
|
||||||
|
});
|
||||||
return
|
return
|
||||||
} else {
|
} else {
|
||||||
// 判断companion.age,是不是在1到70岁之间,不是就提示
|
// 判断companion.age,是不是在1到70岁之间,不是就提示
|
||||||
if (companion.age < 1 || companion.age > 70) {
|
if (companion.age < 1 || companion.age > 70) {
|
||||||
this.$toast('随行人'+ (i+1) +'的年龄超出限制,请添加其他联系人')
|
vant.Dialog.alert({
|
||||||
|
title: '提示',
|
||||||
|
message: '【随行人'+ (i+1) +'】的年龄超出限制,请添加其他联系人',
|
||||||
|
});
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -254,11 +254,11 @@ layout("/mobile/platform.html"){
|
|||||||
|
|
||||||
<van-divider></van-divider>
|
<van-divider></van-divider>
|
||||||
|
|
||||||
<div class="footer">
|
<!--<div class="footer">
|
||||||
<van-button @click="pageForm.signUpStateId = 1; getData()" :class="pageForm.signUpStateId == 1 ? 'active' : 'no_active'">已报名</van-button>
|
<van-button @click="pageForm.signUpStateId = 1; getData()" :class="pageForm.signUpStateId == 1 ? 'active' : 'no_active'">已报名</van-button>
|
||||||
<van-button @click="pageForm.signUpStateId = 2; getData()" :class="pageForm.signUpStateId == 2 ? 'active' : 'no_active'">已参加</van-button>
|
<van-button @click="pageForm.signUpStateId = 2; getData()" :class="pageForm.signUpStateId == 2 ? 'active' : 'no_active'">已参加</van-button>
|
||||||
<van-button @click="pageForm.signUpStateId = 3; getData()" :class="pageForm.signUpStateId == 3 ? 'active' : 'no_active'">未参加</van-button>
|
<van-button @click="pageForm.signUpStateId = 3; getData()" :class="pageForm.signUpStateId == 3 ? 'active' : 'no_active'">未参加</van-button>
|
||||||
</div>
|
</div>-->
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<van-list
|
<van-list
|
||||||
@@ -489,7 +489,7 @@ layout("/mobile/platform.html"){
|
|||||||
chooseButton: [],
|
chooseButton: [],
|
||||||
pageForm: {
|
pageForm: {
|
||||||
theRapyRecuperationType: null,
|
theRapyRecuperationType: null,
|
||||||
signUpStateId: 1,
|
// signUpStateId: 1,
|
||||||
year: new Date().getFullYear(),
|
year: new Date().getFullYear(),
|
||||||
},
|
},
|
||||||
loading: false,
|
loading: false,
|
||||||
|
|||||||
Reference in New Issue
Block a user