commit
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user