跟进提醒

This commit is contained in:
jianghanbo 2024-08-19 19:02:39 +08:00
parent fc07f7f524
commit 195a076a37
1 changed files with 27 additions and 1 deletions

View File

@ -92,14 +92,40 @@ export default {
message: '<strong>你有('+res.data.order_write_off+')个核销订单</strong>'
});
}
if(res && res.data.follow_message > 0) {
this.$notify({
// res.data.follow_order_id
title: '跟进提醒',
duration: 50000,
dangerouslyUseHTMLString: true,
message: '<strong>你有('+res.data.follow_message+')个跟进提醒</strong>',
onClick: this.followDetail(res.orderId)
});
}
}).catch(err=>{
console.log(err)
})
},30000);
},3000);
},
methods: {
handleClickOutside() {
this.$store.dispatch('app/closeSideBar', { withoutAnimation: false })
},
followDetail(orderId) {
},onInfo(item) {
this.value = null;
this.next_follow = null;
this.$set(item, "next_follow", null);
this.item = item;
this.active = "follow";
this.$axios
.get("/admin/order/info", { params: { id: item.id } })
.then((res) => {
this.item = res.data;
this.dialogVisible = true;
})
.catch((err) => {});
}
}
}