Merge branch 'dev' of http://git.sinoecare.com/sinoecare/digital_village_v2/dvcp_v2_wxcp_app into dev
This commit is contained in:
@@ -59,8 +59,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<!-- v-if="detail.status == 4" -->
|
<div v-if="detail.status == 4" class="btn" @click="remindSend">提醒成员发送</div>
|
||||||
<div class="btn" @click="remindSend">提醒成员发送</div>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -216,13 +215,9 @@ export default {
|
|||||||
// 提醒发送
|
// 提醒发送
|
||||||
remindSend() {
|
remindSend() {
|
||||||
this.firstClickTime = new Date(this.detail.remindTime).getTime() || "";
|
this.firstClickTime = new Date(this.detail.remindTime).getTime() || "";
|
||||||
console.log(this.firstClickTime);
|
|
||||||
this.currentClickTime = +new Date();
|
this.currentClickTime = +new Date();
|
||||||
console.log(this.currentClickTime);
|
|
||||||
let time = this.currentClickTime - this.firstClickTime;
|
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
|
this.$http
|
||||||
.post("/app/appmasssendingtask/remindSend", null, {
|
.post("/app/appmasssendingtask/remindSend", null, {
|
||||||
params: {
|
params: {
|
||||||
@@ -233,11 +228,11 @@ export default {
|
|||||||
if (res?.code == 0) {
|
if (res?.code == 0) {
|
||||||
this.$u.toast("已提醒成员发送");
|
this.$u.toast("已提醒成员发送");
|
||||||
this.flag = false;
|
this.flag = false;
|
||||||
|
this.getDetail()
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
.catch(() => {});
|
.catch(() => {});
|
||||||
} else {
|
} else {
|
||||||
console.log(111);
|
|
||||||
time = 60 * 60 * 1000 - time;
|
time = 60 * 60 * 1000 - time;
|
||||||
const min = Math.floor(time / 1000 / 60); // 分钟
|
const min = Math.floor(time / 1000 / 60); // 分钟
|
||||||
let second = Math.floor(time / 1000); // 秒
|
let second = Math.floor(time / 1000); // 秒
|
||||||
|
|||||||
Reference in New Issue
Block a user