diff --git a/src/pages/workbench/yygl/deploy_app_detail.vue b/src/pages/workbench/yygl/deploy_app_detail.vue index baa784810b07245a5177a383c9442860a8fae514..596d45e30ae463b06fbc7b19aee13fee74719be2 100644 --- a/src/pages/workbench/yygl/deploy_app_detail.vue +++ b/src/pages/workbench/yygl/deploy_app_detail.vue @@ -646,7 +646,7 @@ export default { this.$api.workbench .getAppIntroduction({ deploy_id: this.$route.params.deploy_id, - app_id: this.$route.params.app_id + app_id: this.$route.query.app_id }) .then(response => { let data = response.data.data; @@ -656,7 +656,7 @@ export default { }); this.$api.workbench .getAppParams({ - app_id: this.$route.params.app_id + app_id: this.$route.query.app_id }) .then(response => { let data = response.data.data; diff --git a/src/pages/workbench/yygl/yyglList.vue b/src/pages/workbench/yygl/yyglList.vue index f9022ce0c2a219472389a52db16579379751b9c4..ed36f1d1b37a8c00bf4e9b0f38a9d4dd41d36fd7 100644 --- a/src/pages/workbench/yygl/yyglList.vue +++ b/src/pages/workbench/yygl/yyglList.vue @@ -1169,7 +1169,7 @@ export default { ); }, detailItemDeploy(item) { - this.$router.push(`${this.detailsUrl}${item.app_id}/${item.deploy_id}`); + this.$router.push(`${this.detailsUrl}${item.deploy_id}?app_id=${item.app_id}`); }, soldUpItem(item) { this.dialogInfo.title = "提示"; diff --git a/src/router/index.js b/src/router/index.js index 5a7a49eaed5ca7f909afe5522061e72928c6044e..8e83af7cd97d1c34b9123ad82741bf97133c420a 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -92,7 +92,7 @@ export default new Router({ component: () => import("@/pages/workbench/yygl/app_edit"), }, { - path: "/yygl/:level/:type/deploydetail/:app_id/:deploy_id", // 我部署的应用详情 + path: "/yygl/:level/:type/deploydetail/:deploy_id", // 我部署的应用详情 name: "deploy_app_detail", component: () => import("@/pages/workbench/yygl/deploy_app_detail"),