1
0
mirror of https://github.com/PanJiaChen/vue-element-admin.git synced 2025-04-06 03:57:53 +08:00
This commit is contained in:
handsomewu 2024-11-14 16:38:46 +08:00
parent b5bc579adc
commit 32c3587042
2 changed files with 13 additions and 13 deletions

View File

@ -2,15 +2,15 @@
<div v-loading="loading" class="dashboard-editor-container"> <div v-loading="loading" class="dashboard-editor-container">
<el-button class="edit-yaml-button" type="primary" @click="openYamlEditorDialog">编辑 YAML</el-button> <el-button class="edit-yaml-button" type="primary" @click="openYamlEditorDialog">编辑 YAML</el-button>
<el-table :data="tableData" border style="width: 100%" height="800"> <el-table :data="tableData" border style="width: 100%" height="800">
<el-table-column prop="cluster" label="Cluster" /> <el-table-column prop="cluster" label="集群" />
<el-table-column prop="namespace" label="Namespace" /> <el-table-column prop="namespace" label="Namespace" />
<el-table-column prop="name" label="Name" /> <el-table-column prop="name" label="名称" />
<el-table-column prop="status" label="Status" /> <el-table-column prop="status" label="状态" />
<el-table-column prop="ip" label="IP" /> <el-table-column prop="ip" label="IP" />
<el-table-column prop="node" label="Node" /> <el-table-column prop="node" label="Node" />
<el-table-column prop="ready" label="Ready" /> <el-table-column prop="ready" label="就绪" />
<el-table-column prop="restarts" label="Restarts" /> <el-table-column prop="restarts" label="重启" />
<el-table-column prop="age" label="Age" /> <el-table-column prop="age" label="寿命" />
</el-table> </el-table>
<!-- YAML 编辑器弹框 --> <!-- YAML 编辑器弹框 -->
<el-dialog title="编辑 YAML" :visible.sync="yamlEditorVisible" width="50%" @close="closeYamlEditorDialog"> <el-dialog title="编辑 YAML" :visible.sync="yamlEditorVisible" width="50%" @close="closeYamlEditorDialog">

View File

@ -5,14 +5,14 @@
<!-- 表格展示 --> <!-- 表格展示 -->
<el-table :data="tableData" border style="width: 100%" :fit="true"> <el-table :data="tableData" border style="width: 100%" :fit="true">
<el-table-column prop="cluster" label="Cluster" /> <el-table-column prop="cluster" label="集群" />
<el-table-column prop="namespace" label="Namespace" /> <el-table-column prop="namespace" label="Namespace" />
<el-table-column prop="name" label="Name" /> <el-table-column prop="name" label="名称" />
<el-table-column prop="type" label="Type" /> <el-table-column prop="type" label="类型" />
<el-table-column prop="clusterIp" label="Cluster IP" /> <el-table-column prop="clusterIp" label="集群 IP" />
<el-table-column prop="externalIp" label="External IP" /> <el-table-column prop="externalIp" label="外部 IP" />
<el-table-column prop="ports" label="Ports" /> <el-table-column prop="ports" label="端口" />
<el-table-column prop="age" label="Age" /> <el-table-column prop="age" label="寿命" />
</el-table> </el-table>
<!-- YAML 编辑器弹框 --> <!-- YAML 编辑器弹框 -->