From e29b3836be79cfaabe69066fcdf73f35a2b3466b Mon Sep 17 00:00:00 2001 From: xuyiming Date: Tue, 30 Jun 2020 09:53:42 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=80=E9=94=AE=E9=83=A8=E7=BD=B2-=E5=BA=94?= =?UTF-8?q?=E7=94=A8=E9=83=A8=E7=BD=B2=E7=BB=84=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/deployment-info.vue | 31 ++++++++++-- src/pages/workbench/yygl/deployment.vue | 66 +++++++++++++++++++++++-- 2 files changed, 88 insertions(+), 9 deletions(-) diff --git a/src/components/deployment-info.vue b/src/components/deployment-info.vue index 343fcb8..89a05ae 100644 --- a/src/components/deployment-info.vue +++ b/src/components/deployment-info.vue @@ -24,10 +24,12 @@
-

+
+

+ + +

+
@@ -84,7 +86,6 @@ export default { return; } - console.log(state); this.selectedState = state; }, }, @@ -134,10 +135,30 @@ export default { .state_detail { height: 500px; flex-grow: 1; + padding: 25px 40px; border-radius: 7px; background-color: #f8f9fd; overflow: hidden; } +.state_message { + height: 100%; + overflow: auto; +} +.state_message > p { + white-space: nowrap; + padding: 10px 0; +} +.state_message > p > span { + display: inline-block; + vertical-align: middle; + font-size: 14px; + line-height: 22px; + color: #242c43; +} +.state_message > p > span:first-child { + width: 65px; + color: #8890a7; +} .icon_and_text > * { display: inline-block; vertical-align: middle; diff --git a/src/pages/workbench/yygl/deployment.vue b/src/pages/workbench/yygl/deployment.vue index 7e6e3a4..f33f814 100644 --- a/src/pages/workbench/yygl/deployment.vue +++ b/src/pages/workbench/yygl/deployment.vue @@ -323,25 +323,83 @@ export default { { name: "获取部署参数", value: "values", - content: "获取部署参数", + content: [ + "======================================", + "host: mapvideo.wodcloud.com", + "repository: hub.wodcloud.com/apaas/apaas-mapvideos", + "tag: 1.0.0", + "", + "======================================", + ], state: 1, }, { name: "拉取部署文件", value: "pull-chart", - content: "拉取部署文件", + content: [ + "======================================", + "host: mapvideo.wodcloud.com", + "repository: hub.wodcloud.com/apaas/apaas-mapvideos", + "tag: 2.0.0", + "", + "======================================", + ], state: 1, }, { name: "开始部署", value: "install", - content: "开始部署", + content: [ + "======================================", + "host: mapvideo.wodcloud.com", + "repository: hub.wodcloud.com/apaas/apaas-mapvideos", + "tag: 3.0.0", + "", + "======================================", + ], state: 1, }, { name: "部署状态", value: "deploy-status", - content: "部署状态", + content: [ + "======================================", + "host: mapvideo.wodcloud.com", + "repository: hub.wodcloud.com/apaas/apaas-mapvideos", + "tag: 4.0.0", + "", + "======================================", + "host: mapvideo.wodcloud.com", + "repository: hub.wodcloud.com/apaas/apaas-mapvideos", + "tag: 4.0.0", + "", + "======================================", + "host: mapvideo.wodcloud.com", + "repository: hub.wodcloud.com/apaas/apaas-mapvideos", + "tag: 4.0.0", + "", + "======================================", + "host: mapvideo.wodcloud.com", + "repository: hub.wodcloud.com/apaas/apaas-mapvideos", + "tag: 4.0.0", + "", + "======================================", + "host: mapvideo.wodcloud.com", + "repository: hub.wodcloud.com/apaas/apaas-mapvideos", + "tag: 4.0.0", + "", + "======================================", + "host: mapvideo.wodcloud.com", + "repository: hub.wodcloud.com/apaas/apaas-mapvideos", + "tag: 4.0.0", + "", + "======================================", + "host: mapvideo.wodcloud.com", + "repository: hub.wodcloud.com/apaas/apaas-mapvideos", + "tag: 4.0.0", + "", + "======================================", + ], state: 2, }, ], -- 2.26.0