展示证书逐台部署结果并修正密码认证提示
This commit is contained in:
1 parent
e817da8fc1
commit
85fcf91da0
7 files changed
+240
-1
No files matched your search
@@ -8,6 +8,7 @@ import SSHKeyModal from "./SSHKeyModal.vue";
|
||||
import DashboardNavigation from "./DashboardNavigation.vue";
|
||||
import { useDashboardNavigation } from "./DashboardNavigation.js";
|
||||
import { useDashboard } from "./Dashboard.js";
|
||||
import DeploymentResult from "./DeploymentResult.vue";
|
||||
|
||||
const dashboard = useDashboard();
|
||||
const {
|
||||
@@ -128,6 +129,8 @@ const {
|
||||
taskAttempts,
|
||||
taskDetailsLoading,
|
||||
taskDetailsError,
|
||||
deploymentResult,
|
||||
serverAuthLabel,
|
||||
displayLabel,
|
||||
formatDate,
|
||||
daysRemaining,
|
||||
@@ -471,7 +474,8 @@ const { activeSection, activeLabel, sections, selectSection } = useDashboardNavi
|
||||
</div>
|
||||
<div class="domain-meta">
|
||||
<span>{{ item.username }}@{{ item.address }}:{{ item.port }}</span
|
||||
><span>私钥引用已配置</span
|
||||
><span v-if="item.auth_method === 'private_key' && item.private_key_ref">私钥引用已配置</span
|
||||
><span v-else>{{ serverAuthLabel(item) }}</span
|
||||
><span>指纹:{{ item.host_key_fingerprint }}</span>
|
||||
</div>
|
||||
</div>
|
||||
@@ -550,6 +554,12 @@ const { activeSection, activeLabel, sections, selectSection } = useDashboardNavi
|
||||
|
||||
<SSHKeyModal v-if="showSSHKeyForm" :state="dashboard" />
|
||||
|
||||
<DeploymentResult
|
||||
v-if="deploymentResult"
|
||||
:result="deploymentResult"
|
||||
@close="deploymentResult = null"
|
||||
/>
|
||||
|
||||
<div v-if="showTaskDetails" class="modal-backdrop" @click.self="closeTaskDetails">
|
||||
<section class="modal-card task-details-modal" role="dialog" aria-modal="true" aria-label="任务详情">
|
||||
<div class="modal-heading">
|
||||
|
||||
Reference in new issue
Block a user