@@ -56,7 +56,7 @@ export default {
},
methods: {
async getDetail() {
- const data = await getProductPlanDetail(this.$route.params.id);
+ const data = await getProductPlanDetail(this.$route.query.id);
this.infoData = data;
}
@@ -775,7 +775,8 @@
goDetail({ id }) {
this.$router.push({
- path: '/productionPlan/detail/' + id
+ path: '/productionPlan/detail',
+ query: { id }
});