From 0ae255185f422781f8a5cc4c52ad56ee0d3a1e6e Mon Sep 17 00:00:00 2001 From: 陶杰 <1378534974@qq.com> Date: 星期五, 29 十一月 2024 19:07:15 +0800 Subject: [PATCH] 1.首页可拖拽 2.没有名字去掉悬浮层 3.增加了背景 --- src/views/area/server-info.vue | 28 +++++++++++++++------------- 1 files changed, 15 insertions(+), 13 deletions(-) diff --git a/src/views/area/server-info.vue b/src/views/area/server-info.vue index 3f61aea..45acbf0 100644 --- a/src/views/area/server-info.vue +++ b/src/views/area/server-info.vue @@ -89,30 +89,30 @@ :data="switchAllDetialInfos" border style="width: 100%;max-height: 650px;overflow-y: scroll;"> - <el-table-column - prop="deviceName" - label="device name"> - </el-table-column> +<!-- <el-table-column--> +<!-- prop="deviceName"--> +<!-- label="device name">--> +<!-- </el-table-column>--> <el-table-column prop="deviceNameDNS" - label="DNS"> + label="Device Name"> </el-table-column> <el-table-column prop="ipAddress" - label="ip address"> + label="Ip Address"> </el-table-column> <el-table-column width="180" prop="macAddress" - label="mac address"> + label="Mac Address"> </el-table-column> <el-table-column prop="nasPort" - label="nas port"> + label="Nas Port"> </el-table-column> <el-table-column prop="switchType" - label="switch type"> + label="Switch Type"> </el-table-column> <el-table-column prop="areaCode" @@ -203,7 +203,9 @@ //弹出框展示全部端口,并且每个端口的情况 //获取一下信息 this.$modal.loading("加载中"); - const res = await getDeviceList(this.code, info.cabinetName); + // const res = await getDeviceList(this.code, info.cabinetName); + //2024-11-29 改成传空处理 + const res = await getDeviceList("", info.cabinetName); this.$modal.closeLoading(); console.log("serveinfo", res); // this.activateSwitchPorts = res.switchDetialInfos || []; @@ -234,11 +236,12 @@ this.cabinetName = info.cabinetName; }, async update_server_info(code,name) { - debugger; // name 是交换机 console.log("info",code,name); this.$modal.loading("加载中"); - const res = await getDeviceList(code, name); + //2024-11-29 改成传空处理 + //const res = await getDeviceList(code, name); + const res = await getDeviceList("", name); this.$modal.closeLoading(); console.log("serveinfo", res); // this.activateSwitchPorts = res.switchDetialInfos || []; @@ -264,7 +267,6 @@ }); } // console.log("this.activateSwitchPorts", this.activateSwitchPorts); - debugger; this.dialog_activateSwitchPorts = true; this.cabinetName = name; }, -- Gitblit v1.9.3