| | |
| | | <el-menu-item-group class="item-group desc-info"> |
| | | <el-row :gutter="gutter"> |
| | | <el-col :span="12" class="flex-box"> |
| | | <div class="xiangqin-label">ID</div> |
| | | <div class="xiangqin-label">设备ID</div> |
| | | <div class="xiangqing-info">{{sysinfo.server_id}}</div> |
| | | </el-col> |
| | | <el-col :span="12" class="flex-box"> |
| | | <!-- <el-col :span="12" class="flex-box"> |
| | | <div class="xiangqin-label">设备编号</div> |
| | | <div class="xiangqing-info">{{sysinfo.deviceNum}}</div> |
| | | </el-col> |
| | | </el-col>--> |
| | | <el-col :span="12" class="flex-box"> |
| | | <div class="xiangqin-label">设备型号</div> |
| | | <div class="xiangqing-info">{{sysinfo.deviceType}}</div> |
| | | </el-col> |
| | | <el-col :span="12" class="flex-box"> |
| | | <div class="xiangqin-label">设备序列号</div> |
| | | <div class="xiangqing-info">{{sysinfo.deviceSerialNum}}</div> |
| | | <div class="xiangqin-label">设备类型</div> |
| | | <div class="xiangqing-info">{{sysinfo.deviceModel}}</div> |
| | | </el-col> |
| | | <el-col :span="12" class="flex-box"> |
| | | <div class="xiangqin-label">通道个数</div> |
| | | <div class="xiangqing-info">{{sysinfo.channelCount}}</div> |
| | | </el-col> |
| | | <el-col :span="12" class="flex-box"> |
| | | <div class="xiangqin-label">主控版本</div> |
| | |
| | | <el-col :span="12" class="flex-box"> |
| | | <div class="xiangqin-label">web版本</div> |
| | | <div class="xiangqing-info">{{sysinfo.webVersion}}</div> |
| | | </el-col> |
| | | <el-col :span="12" class="flex-box"> |
| | | <div class="xiangqin-label">通道个数</div> |
| | | <div class="xiangqing-info">{{sysinfo.channelCount}}</div> |
| | | </el-col> |
| | | <el-col :span="12" class="flex-box"> |
| | | <div class="xiangqin-label">硬盘个数</div> |
| | | <div class="xiangqing-info">{{sysinfo.diskCount}}</div> |
| | | </el-col> |
| | | <el-col :span="12" class="flex-box"> |
| | | <div class="xiangqin-label">硬盘信息</div> |
| | |
| | | import ClusterManagement from "./ClusterManagement"; |
| | | import AuthorityManagement from "./AuthorityManagement"; |
| | | import RadioSet from "./RadioSet"; |
| | | import config from '../../../../package.json' |
| | | |
| | | export default { |
| | | name: "BasicSettings", |
| | |
| | | let devInfo = this.sysinfo.deviceInfo; |
| | | |
| | | this.sysinfo.cpuInfo = devInfo.cpu[0].modelName; |
| | | this.sysinfo.disks = devInfo.disk; |
| | | this.sysinfo.disks = "( " + devInfo.disk + ") "; |
| | | this.sysinfo.mem = (devInfo.mem.total / 1024 / 1024 / 1024).toFixed(2) + "GB"; |
| | | // this.sysinfo.arch = devInfo.host.kernelArch; |
| | | this.sysinfo.uptime = this.secondsFormat(devInfo.host.uptime); |
| | |
| | | } |
| | | |
| | | this.webPort = this.sysinfo.server_port; |
| | | |
| | | this.sysinfo.webVersion = config.version; |
| | | } |
| | | |
| | | this.loading = false; |