diff --git a/admin/src/layout/index.vue b/admin/src/layout/index.vue
index 8b5b0c37..aa2725a5 100644
--- a/admin/src/layout/index.vue
+++ b/admin/src/layout/index.vue
@@ -92,14 +92,40 @@ export default {
message: '你有('+res.data.order_write_off+')个核销订单'
});
}
+ if(res && res.data.follow_message > 0) {
+ this.$notify({
+ // res.data.follow_order_id
+ title: '跟进提醒',
+ duration: 50000,
+ dangerouslyUseHTMLString: true,
+ message: '你有('+res.data.follow_message+')个跟进提醒',
+ 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) => {});
}
}
}