| | |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <div class="itm-container container-alert" style="cursor: pointer;margin-top: 3rem" @click="showSwitchInfoTable=true"> |
| | | <div class="itm-container container-alert" style="cursor: pointer;margin-top: 3rem" @click="showSwitchBoardInfoTable=true"> |
| | | <div class="flex1"> |
| | | <div class="reg-num flex"> |
| | | <span class="div1">{{ switchInfo.switchInfo && switchInfo.switchInfo.length || 0 }}</span> |
| | | <span class="div2">个</span> |
| | | </div> |
| | | <div class="reg-desc"> |
| | | 新增交换机 |
| | | 交换机清单 |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <el-dialog :visible.sync="showSwitchInfoTable" title="新增交换机" append-to-body> |
| | | <div class="itm-container container-alert" style="cursor: pointer;margin-top: 3rem" @click="showSwitchBoard"> |
| | | <div class="flex1"> |
| | | <div class="reg-desc"> |
| | | 交换机机柜 |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <el-dialog :visible.sync="showSwitchBoardInfoTable" title="交换机清单" append-to-body> |
| | | <el-table |
| | | :data="switchInfo.lackSwitchInfo||[]" |
| | | border |
| | |
| | | }, |
| | | data() { |
| | | return { |
| | | showSwitchInfoTable: false, |
| | | showSwitchBoardInfoTable: false, |
| | | } |
| | | }, |
| | | methods: { |
| | | closeself() { |
| | | this.$emit("show", false); |
| | | }, |
| | | showSwitchBoard(){ |
| | | this.$router.push({path: "/switch-board"}); |
| | | // this.$router.push({path: "/area", query: {code: '01'}}); |
| | | } |
| | | }, |
| | | }; |
| | | </script> |
| | |
| | | border-radius: 0.83rem; |
| | | padding: 2.5rem; |
| | | margin-top: 2rem; |
| | | height: 53.5rem; |
| | | height: 58.5rem; |
| | | padding-top: 1rem; |
| | | } |
| | | |