cloudroam
2024-11-29 2b98925a0c57e8fa901f51619c641af8c86382f6
fix:1129 修改名称+code参数不传
已修改1个文件
26 ■■■■■ 文件已修改
src/views/area/server-info.vue 26 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
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 || [];