zhangzengfei
2020-10-13 c5a508ae17799a8f6687f2aea82536fa57f435b9
修复轮询周期计算
1个文件已修改
33 ■■■■■ 已修改文件
src/pages/analysisPower/index/App.vue 33 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/pages/analysisPower/index/App.vue
@@ -228,7 +228,13 @@
        }
      })
      return sumPollingCamera * this.PollData.Config.poll_period
      // 所有轮询的摄像机总数 * 轮询时间 / 轮询算力 - 1
      let ret = (sumPollingCamera * this.PollData.Config.poll_period) / this.PollData.PollValidCount - 1
      if (String(ret).indexOf(".") > 0) {
        ret = ret.toFixed(1)
      }
      return ret
    }
  },
  data() {
@@ -484,8 +490,8 @@
      }
      // console.log("this.formData.polling:"+this.formData.polling)
    },
    cellStyle(obj){
      if(obj.column.label=='摄像机名称'||obj.column.label=='摄像机地址'){
    cellStyle(obj) {
      if (obj.column.label == '摄像机名称' || obj.column.label == '摄像机地址') {
        return 'text-align:left;padding-left:8px;'
      }
    }
@@ -504,7 +510,7 @@
    height: 190px;
    min-width: 1609px;
    display: flex;
    .sysinfo-box .eCharts-box{
    .sysinfo-box .eCharts-box {
      width: 36%;
    }
    .progressBar {
@@ -516,7 +522,6 @@
      //float: left;
      padding-left: 30px;
      box-sizing: border-box;
    }
    .barGraph {
      width: 16%;
@@ -578,12 +583,12 @@
  // margin-top: 150px;
  font-family: PingFangSC-Medium;
  font-size: 14px;
  &:focus{
  &:focus {
    outline: none;
  }
  .el-dialog__close{
    &:focus{
      outline: none!important;
  .el-dialog__close {
    &:focus {
      outline: none !important;
    }
  }
  .dawer_details {
@@ -604,16 +609,16 @@
      margin-left: 20px;
    }
  }
  .el-drawer__header {
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
    font-size: 16px;
    margin-bottom: 0px;
    span{
      border: none!important;
      border-image-width: 0!important;
      &:focus{
    span {
      border: none !important;
      border-image-width: 0 !important;
      &:focus {
        outline: none;
      }
    }