From 2b98925a0c57e8fa901f51619c641af8c86382f6 Mon Sep 17 00:00:00 2001 From: cloudroam <cloudroam> Date: 星期五, 29 十一月 2024 12:23:06 +0800 Subject: [PATCH] fix:1129 修改名称+code参数不传 --- src/views/area/server-info.vue | 26 +++++++++++++++----------- 1 files changed, 15 insertions(+), 11 deletions(-) diff --git a/src/views/area/server-info.vue b/src/views/area/server-info.vue index c6a1b6c..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 || []; @@ -237,7 +239,9 @@ // 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 || []; -- Gitblit v1.9.3