diff --git a/src/assets/imgs/ic_failed.png b/src/assets/imgs/ic_failed.png new file mode 100644 index 0000000000000000000000000000000000000000..f606ad5f6856268c32d4a963a2689e7fea27a773 Binary files /dev/null and b/src/assets/imgs/ic_failed.png differ diff --git a/src/assets/imgs/ic_operation.gif b/src/assets/imgs/ic_operation.gif new file mode 100644 index 0000000000000000000000000000000000000000..4999e89e64713197bca70407d8521e72501c2e4c Binary files /dev/null and b/src/assets/imgs/ic_operation.gif differ diff --git a/src/assets/imgs/ic_true.png b/src/assets/imgs/ic_true.png new file mode 100644 index 0000000000000000000000000000000000000000..7b0fb73962ad00595f9ecde919272d497fa66dda Binary files /dev/null and b/src/assets/imgs/ic_true.png differ diff --git a/src/assets/imgs/progress_ic_yingyongpz.png b/src/assets/imgs/progress_ic_yingyongpz.png new file mode 100644 index 0000000000000000000000000000000000000000..c821711ab9616205b8d18ae89348783de39e103f Binary files /dev/null and b/src/assets/imgs/progress_ic_yingyongpz.png differ diff --git a/src/pages/workbench/yygl/deployment.vue b/src/pages/workbench/yygl/deployment.vue new file mode 100644 index 0000000000000000000000000000000000000000..ab8ea0ee05767882e24befb9074a78326a73814d --- /dev/null +++ b/src/pages/workbench/yygl/deployment.vue @@ -0,0 +1,200 @@ + + + + + 在线组件工具 + 应用构建(镜像形式) + + + + + + + + + + + + + + + 下一步 + + + + + + + + 上一步 + + + 下一步 + + + + + + + + 前往查看 + + + 重新部署 + + + + + + + + + + + + + + diff --git a/src/pages/workbench/yygl/yyglList.vue b/src/pages/workbench/yygl/yyglList.vue index f5d4556bbae8b1c0489cce9c50ab7572767ffaaf..04327064c896cbb98c66b32a0e5f3425999f3448 100644 --- a/src/pages/workbench/yygl/yyglList.vue +++ b/src/pages/workbench/yygl/yyglList.vue @@ -1149,13 +1149,8 @@ export default { this.$refs.dialog.show(); }, deploymentAction(item) { - setTimeout(() => { - this.$message({ - message: `一键部署${item.app_name}成功.`, - type: "success", - }); - }, 200); - }, // FIXME: 一键部署功能设计中 + this.$router.push(`/yygl/${this.level}/${this.type}/deployment/${item.app_id}`); + }, changePageSize(value) { this.pageSize = value; this.currentPage = 1; diff --git a/src/router/index.js b/src/router/index.js index 2bc859c7b59658d00ec7c0a834b34f8f91fe3b35..c6b76dd6c53110ef697a70f79b57320a594dd433 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -109,6 +109,11 @@ export default new Router({ component: () => import("@/pages/workbench/yygl/approval_app_detail"), }, + { + path: "/yygl/:level/:type/deployment/:app_id", // 一键部署 + name: "appDeployment", + component: () => import("@/pages/workbench/yygl/deployment"), + }, ], }, // 工作台 - 应用管理模块 { @@ -242,27 +247,32 @@ export default new Router({ { path: "/authority/organization", // 组织管理页 name: "organization", - component: () => import("@/pages/authority/organization/organization"), + component: () => + import("@/pages/authority/organization/organization"), }, { path: "/authority/organization/detail/:id", // 组织管理详情 name: "organizationdetail", - component: () => import("@/pages/authority/organization/organizationdetail"), + component: () => + import("@/pages/authority/organization/organizationdetail"), }, { path: "/authority/organization/add", // 组织管理组织新增 name: "organizationadd", - component: () => import("@/pages/authority/organization/organizationedit"), + component: () => + import("@/pages/authority/organization/organizationedit"), }, { path: "/authority/organization/edit/:id", // 组织管理组织编辑 name: "organizationedit", - component: () => import("@/pages/authority/organization/organizationedit"), + component: () => + import("@/pages/authority/organization/organizationedit"), }, { path: "/authority/organization/user/:id", // 组织管理组织用户 name: "organizationuser", - component: () => import("@/pages/authority/user/organizationuser"), + component: () => + import("@/pages/authority/user/organizationuser"), }, { path: "/authority/users", // 用户管理页 @@ -277,12 +287,14 @@ export default new Router({ { path: "/authority/users/add", // 用户管理-新增 name: "usersadd", - component: () => import("@/pages/authority/user/organizationuser"), + component: () => + import("@/pages/authority/user/organizationuser"), }, { path: "/authority/users/detail/:id", // 用户管理-详情 name: "usersdetail", - component: () => import("@/pages/authority/user/organizationuser"), + component: () => + import("@/pages/authority/user/organizationuser"), }, { path: "/authority/users/permission", // 用户管理页 - 权限审批 @@ -331,9 +343,9 @@ export default new Router({ path: "/data_analysis/my_application", // 数据分析中心 name: "myApplicationDataAnalysis", component: () => import("@/pages/data-analysis/my-application"), - } - ] - } + }, + ], + }, ], }, {