🆕 调整实例状态展示

This commit is contained in:
chaos-zhu 2024-08-13 12:04:37 +08:00
parent 2869d4f212
commit b8da64f8dd
2 changed files with 3 additions and 3 deletions

View File

Before

Width:  |  Height:  |  Size: 250 KiB

After

Width:  |  Height:  |  Size: 250 KiB

View File

@ -40,7 +40,7 @@
</el-descriptions-item>
</el-descriptions>
<div v-else class="no_client_data">
监控客户端未安装无法获取实时数据<span class="link" @click="handleOnekey(row)">去安装</span>
监控客户端服务未连接无法获取实例监控数据<span class="link" @click="handleOnekey(row)">去安装</span>
</div>
</template>
</el-table-column>
@ -73,8 +73,8 @@
>
<template #default="scope">
<el-tag v-if="typeof(scope.row.monitorData?.connect) !== 'boolean'" type="info">连接中</el-tag>
<el-tag v-else-if="scope.row.monitorData?.connect" type="success">安装</el-tag>
<el-tag v-else type="warning">安装</el-tag>
<el-tag v-else-if="scope.row.monitorData?.connect" type="success">连接</el-tag>
<el-tag v-else type="warning">连接</el-tag>
</template>
</el-table-column>
<!-- <el-table-column property="isConfig" label="登录配置" /> -->