| | |
| | | ]"></My-bread> |
| | | <el-divider /> |
| | | <div class="content_Box"> |
| | | <div class="cloumn_Box"> |
| | | <div class="flex_Box"> |
| | | <div style="width: 100%; height: 20px"> |
| | | <div class="image1"></div> |
| | | <div class="imageTitle"> |
| | | {{ $t('operatManage.systemMonitoringObj.memoryMonitoring') }} |
| | | </div> |
| | | </div> |
| | | <div class="top_Box1"> |
| | | <div class="top_box_left"> |
| | | <div class="left_title"> |
| | | <div class="height_title"> |
| | | <label> |
| | | {{ |
| | | $t('operatManage.systemMonitoringObj.haveBeenUsed') |
| | | }}</label> |
| | | <p>{{ memInfo.use }}</p> |
| | | </div> |
| | | <div class="height_title"> |
| | | <label> |
| | | {{ |
| | | $t('operatManage.systemMonitoringObj.usageRate') |
| | | }}</label> |
| | | <p>{{ memInfo.usage }}</p> |
| | | </div> |
| | | </div> |
| | | <div class="left_title"> |
| | | <div class="height_title"> |
| | | <label> |
| | | {{ |
| | | $t('operatManage.systemMonitoringObj.totalMemory') |
| | | }}</label> |
| | | <p>{{ memInfo.totalMem }}</p> |
| | | </div> |
| | | <div class="height_title"> |
| | | <label> |
| | | {{ |
| | | $t('operatManage.systemMonitoringObj.remainingMemory') |
| | | }}</label> |
| | | <p>{{ memInfo.remainMem }}</p> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <div |
| | | id="fathershuiWen" |
| | | class="top_box_right" |
| | | > |
| | | <div id="shuiwen"></div> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <div class="flex_Box"> |
| | | <div> |
| | | <div class="image2"></div> |
| | | <div |
| | | style="line-height: 32px" |
| | | class="imageTitle" |
| | | > |
| | | {{ $t('operatManage.systemMonitoringObj.cpuMonitoring') }} |
| | | </div> |
| | | </div> |
| | | <div |
| | | id="Sys_cpu_chart" |
| | | style="width: 100%; height: 86%; margin-top: 8%" |
| | | ></div> |
| | | </div> |
| | | <div class="flex_Box"> |
| | | <div style="width: 100%; height: 34px"> |
| | | <div class="image3"></div> |
| | | <div |
| | | style="line-height: 32px" |
| | | class="imageTitle" |
| | | > |
| | | {{ $t('operatManage.systemMonitoringObj.heteroconstant') }} |
| | | </div> |
| | | </div> |
| | | <div class="ycContent"> |
| | | <div class="ycsBox"> |
| | | <div style="width:100%;height:100%"> |
| | | <div class="ycTltle">{{ resInfoCount }}</div> |
| | | <div class="heteroTitle"> |
| | | {{ $t('operatManage.systemMonitoringObj.numberOfExceptions') }} |
| | | </div> |
| | | </div> |
| | | |
| | | </div> |
| | | </div> |
| | | |
| | | </div> |
| | | </div> |
| | | <div class="cloumn_Box1"> |
| | | <div class="flex_Box1"> |
| | | <div class="cloumn_Box1"> |
| | | <div class="flex_Box1 subpage_Div"> |
| | | <el-tabs |
| | | v-model="activeName" |
| | | @tab-click="handleClick" |
| | |
| | | > |
| | | <div |
| | | id="userLoginChart" |
| | | style="width:101vh; height: 30vh; " |
| | | style="width:101vh; height: 30vh; " |
| | | ></div> |
| | | </el-tab-pane> |
| | | <el-tab-pane |
| | |
| | | > |
| | | <div |
| | | id="operateCountChart" |
| | | style="width:101vh; height: 30vh; " |
| | | style="width:101vh; height: 30vh; " |
| | | ></div> |
| | | </el-tab-pane> |
| | | </el-tabs> |
| | | </div> |
| | | <div class="flex_Box"> |
| | | <div class="flex_Box subpage_Div"> |
| | | <div> |
| | | <div |
| | | style="line-height: 32px" |
| | |
| | | </el-table> |
| | | </div> |
| | | </div> |
| | | <div class="cloumn_Box"> |
| | | <div class="flex_Box subpage_Div"> |
| | | <div style="width: 100%; height: 20px"> |
| | | <div class="image1"></div> |
| | | <div class="imageTitle"> |
| | | {{ $t('operatManage.systemMonitoringObj.memoryMonitoring') }} |
| | | </div> |
| | | </div> |
| | | <div class="top_Box1"> |
| | | <div class="top_box_left"> |
| | | <div class="left_title"> |
| | | <div class="height_title"> |
| | | <label> |
| | | {{ |
| | | $t('operatManage.systemMonitoringObj.haveBeenUsed') |
| | | }}</label> |
| | | <p>{{ memInfo.use }}</p> |
| | | </div> |
| | | <div class="height_title"> |
| | | <label> |
| | | {{ |
| | | $t('operatManage.systemMonitoringObj.usageRate') |
| | | }}</label> |
| | | <p>{{ memInfo.usage }}</p> |
| | | </div> |
| | | </div> |
| | | <div class="left_title"> |
| | | <div class="height_title"> |
| | | <label> |
| | | {{ |
| | | $t('operatManage.systemMonitoringObj.totalMemory') |
| | | }}</label> |
| | | <p>{{ memInfo.totalMem }}</p> |
| | | </div> |
| | | <div class="height_title"> |
| | | <label> |
| | | {{ |
| | | $t('operatManage.systemMonitoringObj.remainingMemory') |
| | | }}</label> |
| | | <p>{{ memInfo.remainMem }}</p> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <div |
| | | id="fathershuiWen" |
| | | class="top_box_right" |
| | | > |
| | | <div id="shuiwen"></div> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <div class="flex_Box subpage_Div"> |
| | | <div> |
| | | <div class="image2"></div> |
| | | <div |
| | | style="line-height: 32px" |
| | | class="imageTitle" |
| | | > |
| | | {{ $t('operatManage.systemMonitoringObj.cpuMonitoring') }} |
| | | </div> |
| | | </div> |
| | | <div |
| | | id="Sys_cpu_chart" |
| | | style="width: 100%; height: 86%; margin-top: 8%" |
| | | ></div> |
| | | </div> |
| | | <div class="flex_Box subpage_Div"> |
| | | <div style="width: 100%; height: 34px"> |
| | | <div class="image3"></div> |
| | | <div |
| | | style="line-height: 32px" |
| | | class="imageTitle" |
| | | > |
| | | {{ $t('operatManage.systemMonitoringObj.heteroconstant') }} |
| | | </div> |
| | | </div> |
| | | <div class="ycContent"> |
| | | <div class="ycsBox"> |
| | | <div style="width:100%;height:100%"> |
| | | <div class="ycTltle">{{ resInfoCount }}</div> |
| | | <div class="heteroTitle"> |
| | | {{ $t('operatManage.systemMonitoringObj.numberOfExceptions') }} |
| | | </div> |
| | | </div> |
| | | |
| | | </div> |
| | | </div> |
| | | |
| | | </div> |
| | | </div> |
| | | |
| | | </div> |
| | | <!-- <div class="inform_box"> |
| | | <div class="content_box"> |
| | |
| | | @size-change="handleSizeChange" |
| | | @current-change="handleCurrentChange" |
| | | :current-page="currentPage4" |
| | | :page-sizes="[10, 20, 30, 40]" |
| | | :page-sizes="[10, 20, 50, 100]" |
| | | :page-size="10" |
| | | layout="total, sizes, prev, pager, next, jumper" |
| | | :total="4" |
| | |
| | | @size-change="handleSizeChange" |
| | | @current-change="handleCurrentChange" |
| | | :current-page="currentPage4" |
| | | :page-sizes="[10, 20, 30, 40]" |
| | | :page-sizes="[10, 20, 50, 100]" |
| | | :page-size="10" |
| | | layout="total, sizes, prev, pager, next, jumper" |
| | | :total="4" |
| | |
| | | seriesIndex: 0, |
| | | }, |
| | | ], |
| | | toolbox: { |
| | | show: true, |
| | | feature: { |
| | | |
| | | saveAsImage: { show: true } |
| | | } |
| | | }, |
| | | title: [], |
| | | tooltip: { |
| | | trigger: 'axis', |
| | |
| | | tooltip: { |
| | | trigger: 'item', |
| | | }, |
| | | toolbox: { |
| | | show: true, |
| | | feature: { |
| | | saveAsImage: { show: true } |
| | | } |
| | | }, |
| | | legend: { |
| | | top: '5%', |
| | | left: 'center', |
| | | textStyle: { |
| | | fontSize: 18, //字体大小 |
| | | color: '#ffffff', //字体颜色 |
| | | |
| | | }, |
| | | }, |
| | | series: [ |
| | |
| | | type: 'shadow', |
| | | }, |
| | | }, |
| | | toolbox: { |
| | | show: true, |
| | | feature: { |
| | | |
| | | saveAsImage: { show: true } |
| | | } |
| | | }, |
| | | grid: { |
| | | left: '3%', |
| | | right: '4%', |
| | |
| | | var height = (mysright * 1.5) + "px" |
| | | $("#shuiwen").width(width); |
| | | $("#shuiwen").height(height); |
| | | |
| | | |
| | | |
| | | |
| | | |
| | |
| | | height: 98%; |
| | | width: 98%; |
| | | padding: 1%; |
| | | position: absolute; |
| | | |
| | | .content_Box { |
| | | width: 97%; |
| | | height: 85%; |
| | | position: absolute; |
| | | width: 100%; |
| | | height: 90%; |
| | | |
| | | display: flex; |
| | | flex-direction: column; |
| | | justify-content: space-around; |
| | |
| | | .flex_Box { |
| | | width: 30.5%; |
| | | height: 88%; |
| | | border: 1px solid rgb(202, 201, 204); |
| | | |
| | | border-radius: 5px; |
| | | padding: 1%; |
| | | background: rgb(21, 20, 20); |
| | | |
| | | |
| | | .image1 { |
| | | width: 46px; |
| | |
| | | } |
| | | .imageTitle { |
| | | float: left; |
| | | color: white; |
| | | |
| | | margin-left: 10px; |
| | | } |
| | | .ycTltle { |
| | |
| | | .height_title { |
| | | width: 100%; |
| | | height: 48%; |
| | | label { |
| | | color: white; |
| | | } |
| | | |
| | | p { |
| | | color: white; |
| | | |
| | | margin-top: 3%; |
| | | font-size: 24px; |
| | | } |
| | |
| | | width: 64%; |
| | | height: 92%; |
| | | padding: 1%; |
| | | border: 1px solid rgb(202, 201, 204); |
| | | |
| | | border-radius: 5px; |
| | | background: rgb(21, 20, 20); |
| | | |
| | | } |
| | | .flex_Box { |
| | | width: 30.5%; |
| | | height: 92%; |
| | | border: 1px solid rgb(202, 201, 204); |
| | | |
| | | border-radius: 5px; |
| | | padding: 1%; |
| | | background: rgb(21, 20, 20); |
| | | |
| | | } |
| | | } |
| | | } |
| | | /deep/.el-tabs__item { |
| | | color: white; |
| | | } |
| | | /deep/.el-tabs__item.is-active { |
| | | color: #009cff; |
| | | } |
| | | /*修改table 表体的背景颜色和文字颜色*/ |
| | | /deep/ .el-table { |
| | | background-color: transparent; |
| | | |
| | | th, |
| | | td { |
| | | background-color: transparent; |
| | | } |
| | | .el-table__expanded-cell { |
| | | background-color: transparent !important; |
| | | } |
| | | |
| | | // 表头背景色 |
| | | th.el-table__cell { |
| | | background-color: #303030; |
| | | color: #fff; |
| | | } |
| | | tr > td { |
| | | background-color: #303030; |
| | | color: #fff; |
| | | } |
| | | |
| | | // hover效果 |
| | | tr:hover > td { |
| | | background-color: rgba(255, 255, 255, 0.3) !important; |
| | | } |
| | | |
| | | tbody tr:hover { |
| | | background-color: rgba(255, 255, 255, 0.3) !important; |
| | | // text-align: center; |
| | | } |
| | | |
| | | // 滚动条宽高 |
| | | .el-table__body-wrapper::-webkit-scrollbar { |
| | | width: 5px; |
| | | height: 5px; |
| | | } |
| | | |
| | | .el-table__body-wrapper::-webkit-scrollbar { |
| | | width: 5px; |
| | | /*滚动条宽度*/ |
| | | height: 10px; |
| | | /*滚动条高度*/ |
| | | } |
| | | /*定义滚动条轨道 内阴影+圆角*/ |
| | | .el-table__body-wrapper::-webkit-scrollbar-track { |
| | | box-shadow: 0px 1px 3px #216fe6 inset; |
| | | /*滚动条的背景区域的内阴影*/ |
| | | border-radius: 10px; |
| | | } |
| | | |
| | | /*定义滑块 内阴影+圆角*/ |
| | | .el-table__body-wrapper::-webkit-scrollbar-thumb { |
| | | box-shadow: 0px 1px 3px #216fe6 inset; |
| | | border-radius: 6px; |
| | | background-color: #216fe6; |
| | | } |
| | | } |
| | | |
| | | |
| | | } |
| | | </style> |