From 564d29f372a29830f6a383b74a49805ad8366669 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A5=8F?= <1978476055@qq.com> Date: Tue, 20 Aug 2024 10:02:36 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B7=AF=E7=94=B1=E8=B7=B3=E8=BD=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- admin/src/layout/index.vue | 3 ++- admin/src/views/order/index.vue | 5 +++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/admin/src/layout/index.vue b/admin/src/layout/index.vue index 7a458f5b..c96484a2 100644 --- a/admin/src/layout/index.vue +++ b/admin/src/layout/index.vue @@ -121,9 +121,10 @@ export default { res.data.follow_message + ")个跟进提醒", onClick: () => { + // console.log(res.data.follow_order_id); this.$router.push({ path: "/order/index/", - query: { id: res.data.follow_order_id }, + query: { id: res.data.follow_order_id, refresh: Date.now() }, }); }, }); diff --git a/admin/src/views/order/index.vue b/admin/src/views/order/index.vue index 200f1116..346ac54a 100644 --- a/admin/src/views/order/index.vue +++ b/admin/src/views/order/index.vue @@ -700,6 +700,11 @@ export default { return window.innerHeight - 320 + "px"; }, }, + watch: { + $route(to, from) { + this.onInfo({ id: this.$route.query.id }); + }, + }, methods: { setQuery(key) { if (this.$route.query.hasOwnProperty(key)) {