commit
This commit is contained in:
@@ -213,16 +213,22 @@ layout("/layouts/platform.html"){
|
|||||||
this.$message.warning('请输入通知内容')
|
this.$message.warning('请输入通知内容')
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
const resp = await this.$axios.post(loc() + "/sendNotify", {
|
this.$confirm("确认发送通知给所有报名人员吗?", "提示", {
|
||||||
activityId: this.notifyActivityId,
|
confirmButtonText: "确定",
|
||||||
content: this.notifyContent
|
cancelButtonText: "取消",
|
||||||
})
|
type: "warning"
|
||||||
if (resp.code === 0) {
|
}).then(async () => {
|
||||||
this.$message.success(resp.msg)
|
const resp = await this.$axios.post(loc() + "/sendNotify", {
|
||||||
this.notifyDialogVisible = false
|
activityId: this.notifyActivityId,
|
||||||
} else {
|
content: this.notifyContent
|
||||||
this.$message.warning(resp.msg)
|
})
|
||||||
}
|
if (resp.code === 0) {
|
||||||
|
this.$message.success(resp.msg)
|
||||||
|
this.notifyDialogVisible = false
|
||||||
|
} else {
|
||||||
|
this.$message.warning(resp.msg)
|
||||||
|
}
|
||||||
|
}).catch(() => {})
|
||||||
},
|
},
|
||||||
async activityStatusChange(notice, val, id) {
|
async activityStatusChange(notice, val, id) {
|
||||||
const resp = await this.$axios.post(loc() + "/activityStatusChange", { notice: notice, isDisabled: val, id })
|
const resp = await this.$axios.post(loc() + "/activityStatusChange", { notice: notice, isDisabled: val, id })
|
||||||
|
|||||||
@@ -213,16 +213,22 @@ layout("/layouts/platform.html"){
|
|||||||
this.$message.warning('请输入通知内容')
|
this.$message.warning('请输入通知内容')
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
const resp = await this.$axios.post(loc() + "/sendNotify", {
|
this.$confirm("确认发送通知给所有报名人员吗?", "提示", {
|
||||||
activityId: this.notifyActivityId,
|
confirmButtonText: "确定",
|
||||||
content: this.notifyContent
|
cancelButtonText: "取消",
|
||||||
})
|
type: "warning"
|
||||||
if (resp.code === 0) {
|
}).then(async () => {
|
||||||
this.$message.success(resp.msg)
|
const resp = await this.$axios.post(loc() + "/sendNotify", {
|
||||||
this.notifyDialogVisible = false
|
activityId: this.notifyActivityId,
|
||||||
} else {
|
content: this.notifyContent
|
||||||
this.$message.warning(resp.msg)
|
})
|
||||||
}
|
if (resp.code === 0) {
|
||||||
|
this.$message.success(resp.msg)
|
||||||
|
this.notifyDialogVisible = false
|
||||||
|
} else {
|
||||||
|
this.$message.warning(resp.msg)
|
||||||
|
}
|
||||||
|
}).catch(() => {})
|
||||||
},
|
},
|
||||||
async activityStatusChange(notice, val, id) {
|
async activityStatusChange(notice, val, id) {
|
||||||
const resp = await this.$axios.post(loc() + "/activityStatusChange", { notice: notice, isDisabled: val, id })
|
const resp = await this.$axios.post(loc() + "/activityStatusChange", { notice: notice, isDisabled: val, id })
|
||||||
|
|||||||
Reference in New Issue
Block a user