This commit is contained in:
@jyuhsin
2026-03-11 15:39:04 +08:00
parent 58ea3f82ae
commit bdb3fbd13e
5 changed files with 67 additions and 28 deletions
@@ -126,11 +126,16 @@ layout("/layouts/platform_h5.html"){
this.time = this.$moment().diff(this.$moment(row.activitySignUpStartTime), 'milliseconds')
this.infoVisible = true
},
onApply(row) {
if(this.$moment().isBefore(this.$moment(row.activitySignUpStartTime))) {
async onApply(row) {
if (this.$moment().isBefore(this.$moment(row.activitySignUpStartTime))) {
this.onView(row)
return
}
const res = await this.$axios.post('/platform/trainSignUp/apply/validSignCount')
if (res.code !== 0) {
this.$dialog.alert({ title: "温馨提示", message: res.msg })
return
}
this.$pjaxReplace('/platform/trainSignUp/apply/list/h5?id=' + row.id)
},
fetchOne() {