This commit is contained in:
@jyuhsin
2025-05-30 16:13:21 +08:00
parent d828525b30
commit 1db8707d7f
12 changed files with 127 additions and 143 deletions
@@ -45,10 +45,6 @@ layout("/mobile/platform.html"){
height: 30px;
}
.backTop {
display: none !important;
}
.footer {
background-color: white;
position: fixed;
@@ -247,7 +243,11 @@ layout("/mobile/platform.html"){
.pdf_div {
padding-bottom: 12px;
height: 800px;
height: calc(100vh - 46px - 60px - 151px - 50px);
overflow-y: auto;
}
.backTop {
display: none !important;
}
</style>
@@ -579,7 +579,8 @@ layout("/mobile/platform.html"){
methods: {
playDayConfirm(val) {
this.formData.playDay = val.value
this.lotValue = val.value === 2.5 ? 3 : val.value
this.lotValue = val.value == 2.5 ? 3 : val.value
this.formData.specificTime = ''
this.playDayVisible = false
},
specificTimeClick() {
@@ -592,7 +593,7 @@ layout("/mobile/platform.html"){
pageBack() {
window.removeEventListener('scroll', this.scrollToTop)
document.removeEventListener('click', this.handleClick)
if(['find', 'editDo'].includes(this.fromUrlByMy)) {
if(['find', 'edit'].includes(this.fromUrlByMy)) {
pjaxReplace('/platform/mobile/theRapyRecuperation/myRecuperation')
} else {
pjaxReplace('/platform/mobile/theRapyRecuperation/mobileLineListPage')
@@ -695,17 +696,16 @@ layout("/mobile/platform.html"){
const resp = await $.post('/platform/theRapyRecuperation/line/enroll/doSignUpForBaseManagement', {
enroll: JSON.stringify(cloneData),
})
toast.close()
if (resp.code === 0) {
setTimeout(() => {
toast.clear()
vant.Dialog.alert({
title: '温馨提示',
message: this.enrollId ? '修改成功,请务必联系并告知旅行社' : resp.msg,
}).then(() => {
pjaxReplace('/platform/mobile/theRapyRecuperation/myRecuperation?index=' + this.index)
message: resp.msg,
})
} else {
vant.Toast(resp.msg)
}
if (resp.code === 0) {
pjaxReplace('/platform/mobile/theRapyRecuperation/myRecuperation?index=' + this.index)
}
}, 1000)
},
addCompanion() {
this.formData.companionList.push({userName: '', loginName: '', sex: '', relation: '', bedInfo: {}})
@@ -963,7 +963,7 @@ layout("/mobile/platform.html"){
})
},
mounted() {
window.addEventListener('scroll', this.scrollToTop)
//window.addEventListener('scroll', this.scrollToTop)
},
destroyed() {