This commit is contained in:
bwcx_jzy 2023-03-29 15:39:06 +08:00
parent dd94cb67e3
commit 4a90a0eced
No known key found for this signature in database
GPG Key ID: 5E48E9372088B9E5
3 changed files with 8 additions and 8 deletions

View File

@ -141,7 +141,7 @@
</a-col>
</template>
<a-col v-else :span="24">
<a-empty description="没有任何节点" />
<a-empty description="没有任何构建" />
</a-col>
</a-row>
</a-row>

View File

@ -252,15 +252,15 @@ export default {
columns: [
{ title: "名称", dataIndex: "name", sorter: true, width: 100, ellipsis: true, scopedSlots: { customRender: "tooltip" } },
{ title: "Host", dataIndex: "machineSsh.host", width: 100, sorter: true, ellipsis: true, scopedSlots: { customRender: "host" } },
{ title: "Host", dataIndex: "machineSsh.host", width: 100, ellipsis: true, scopedSlots: { customRender: "host" } },
// { title: "Port", dataIndex: "machineSsh.port", sorter: true, width: 80, ellipsis: true, scopedSlots: { customRender: "tooltip" } },
{ title: "用户名", dataIndex: "machineSsh.user", sorter: true, width: "100px", ellipsis: true, scopedSlots: { customRender: "tooltip" } },
{ title: "用户名", dataIndex: "machineSsh.user", width: "100px", ellipsis: true, scopedSlots: { customRender: "tooltip" } },
{ title: "系统名", dataIndex: "machineSsh.osName", width: 80, sorter: true, ellipsis: true, scopedSlots: { customRender: "osName" } },
{ title: "系统名", dataIndex: "machineSsh.osName", width: 80, ellipsis: true, scopedSlots: { customRender: "osName" } },
// { title: "", dataIndex: "machineSsh.osVersion", sorter: true, ellipsis: true, scopedSlots: { customRender: "tooltip" } },
{ title: "CPU", dataIndex: "machineSsh.osOccupyCpu", width: 80, sorter: true, ellipsis: true, scopedSlots: { customRender: "osOccupyCpu" } },
{ title: "内存", dataIndex: "machineSsh.osOccupyMemory", width: 80, sorter: true, ellipsis: true, scopedSlots: { customRender: "osOccupyMemory" } },
{ title: "硬盘", dataIndex: "machineSsh.osMaxOccupyDisk", width: 80, sorter: true, ellipsis: true, scopedSlots: { customRender: "osMaxOccupyDisk" } },
{ title: "CPU", dataIndex: "machineSsh.osOccupyCpu", width: 80, ellipsis: true, scopedSlots: { customRender: "osOccupyCpu" } },
{ title: "内存", dataIndex: "machineSsh.osOccupyMemory", width: 80, ellipsis: true, scopedSlots: { customRender: "osOccupyMemory" } },
{ title: "硬盘", dataIndex: "machineSsh.osMaxOccupyDisk", width: 80, ellipsis: true, scopedSlots: { customRender: "osMaxOccupyDisk" } },
// { title: "", dataIndex: "charset", sorter: true, width: 120, ellipsis: true, scopedSlots: { customRender: "tooltip" } },
{ title: "连接状态", dataIndex: "machineSsh.status", ellipsis: true, align: "center", width: "90px", scopedSlots: { customRender: "status" } },
// { title: "", dataIndex: "machineSsh.charset", sorter: true, width: 120, ellipsis: true, scopedSlots: { customRender: "tooltip" } },

View File

@ -8,7 +8,7 @@
<a-space>
<a-input class="search-input-item" @pressEnter="loadData" v-model="listQuery['%name%']" placeholder="ssh名称" />
<a-input class="search-input-item" @pressEnter="loadData" v-model="listQuery['%host%']" placeholder="host" />
<a-select show-search option-filter-prop="children" v-model="listQuery.group" allowClear placeholder="分组" class="search-input-item">
<a-select show-search option-filter-prop="children" v-model="listQuery.groupName" allowClear placeholder="分组" class="search-input-item">
<a-select-option v-for="item in groupList" :key="item">{{ item }}</a-select-option>
</a-select>