路由跳转
This commit is contained in:
parent
9b4e02ed76
commit
564d29f372
|
@ -121,9 +121,10 @@ export default {
|
||||||
res.data.follow_message +
|
res.data.follow_message +
|
||||||
")个跟进提醒</strong>",
|
")个跟进提醒</strong>",
|
||||||
onClick: () => {
|
onClick: () => {
|
||||||
|
// console.log(res.data.follow_order_id);
|
||||||
this.$router.push({
|
this.$router.push({
|
||||||
path: "/order/index/",
|
path: "/order/index/",
|
||||||
query: { id: res.data.follow_order_id },
|
query: { id: res.data.follow_order_id, refresh: Date.now() },
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
|
@ -700,6 +700,11 @@ export default {
|
||||||
return window.innerHeight - 320 + "px";
|
return window.innerHeight - 320 + "px";
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
watch: {
|
||||||
|
$route(to, from) {
|
||||||
|
this.onInfo({ id: this.$route.query.id });
|
||||||
|
},
|
||||||
|
},
|
||||||
methods: {
|
methods: {
|
||||||
setQuery(key) {
|
setQuery(key) {
|
||||||
if (this.$route.query.hasOwnProperty(key)) {
|
if (this.$route.query.hasOwnProperty(key)) {
|
||||||
|
|
Loading…
Reference in New Issue