diff --git a/src/project/saas/AppCooperationPropaganda/cooperationDetail.vue b/src/project/saas/AppCooperationPropaganda/cooperationDetail.vue index 21d4a28d..e730756d 100644 --- a/src/project/saas/AppCooperationPropaganda/cooperationDetail.vue +++ b/src/project/saas/AppCooperationPropaganda/cooperationDetail.vue @@ -59,8 +59,7 @@ - -
提醒成员发送
+
提醒成员发送
@@ -216,13 +215,9 @@ export default { // 提醒发送 remindSend() { this.firstClickTime = new Date(this.detail.remindTime).getTime() || ""; - console.log(this.firstClickTime); this.currentClickTime = +new Date(); - console.log(this.currentClickTime); let time = this.currentClickTime - this.firstClickTime; - console.log(time); - - if (time >= 60 * 60 * 1000 || this.flag) { + if (time >= 60 * 60 * 1000 && this.flag) { this.$http .post("/app/appmasssendingtask/remindSend", null, { params: { @@ -233,11 +228,11 @@ export default { if (res?.code == 0) { this.$u.toast("已提醒成员发送"); this.flag = false; + this.getDetail() } }) .catch(() => {}); } else { - console.log(111); time = 60 * 60 * 1000 - time; const min = Math.floor(time / 1000 / 60); // 分钟 let second = Math.floor(time / 1000); // 秒