From e667ed6628533659f2af8ebb9924a14c54f959f0 Mon Sep 17 00:00:00 2001
From: shijingjing <1789544664@qq.com>
Date: Fri, 29 Jul 2022 10:34:02 +0800
Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E9=86=92=E6=88=90=E5=91=98=E5=8F=91?=
=?UTF-8?q?=E9=80=81?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../AppCooperationPropaganda/cooperationDetail.vue | 11 +++--------
1 file changed, 3 insertions(+), 8 deletions(-)
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); // 秒