|
|
@@ -10,6 +10,7 @@
|
|
|
<div>
|
|
|
<b-radio v-model="radio" :native-value="`b${item.id}`"> </b-radio>
|
|
|
<strong>构建ID: #</strong> {{ item.id }}
|
|
|
+ <b-tag type="is-success">success</b-tag>
|
|
|
<span style="padding-left: 10px">
|
|
|
<strong>镜像ID: #</strong> {{ item.mirrorId }}
|
|
|
</span>
|
|
|
@@ -22,7 +23,8 @@
|
|
|
>
|
|
|
<div>
|
|
|
<b-radio v-model="radio" :native-value="`d${item.id}`"> </b-radio>
|
|
|
- <strong>构建ID: #</strong> {{ item.id }}
|
|
|
+ <strong>部署ID: #</strong> {{ item.id }}
|
|
|
+ <b-tag type="is-success">success</b-tag>
|
|
|
<span style="padding-left: 10px">
|
|
|
<strong>镜像ID: #</strong> {{ item.mirrorId }}
|
|
|
</span>
|
|
|
@@ -51,6 +53,7 @@
|
|
|
{{ isRunning ? "当前部署情况" : "上次部署结果" }}
|
|
|
</div>
|
|
|
<div class="deploy-item">本次部署ID: #{{ deployInfo.id }}</div>
|
|
|
+ <div class="deploy-item">本次部署镜像ID: #{{ deployInfo.mirrorId }}</div>
|
|
|
<div class="deploy-item">
|
|
|
本次部署创建时间: {{ handleTime(deployInfo.createdAt) }}
|
|
|
</div>
|
|
|
@@ -188,8 +191,10 @@ export default {
|
|
|
message: "开始部署",
|
|
|
type: "is-success"
|
|
|
});
|
|
|
-
|
|
|
this.isRunning = true;
|
|
|
+ setTimeout(() => {
|
|
|
+ this.getLatestDeployInfo(this.projectDetail.latestDeploy.id);
|
|
|
+ }, 1000);
|
|
|
})
|
|
|
.then(e => {
|
|
|
this.$toast.open({
|
|
|
@@ -320,6 +325,7 @@ export default {
|
|
|
.code-section {
|
|
|
background-color: #2d3044;
|
|
|
padding: 20px 20px 20px 20px;
|
|
|
+ white-space: pre-line;
|
|
|
.code-content {
|
|
|
color: #cacff1;
|
|
|
}
|