zxl
8 天以前 e0fa52615c6e284abee8cfec93908a6095eaf006
src/views/system/check/demeritRecord/index.vue
@@ -51,18 +51,18 @@
          {{ formatDemerit(scope.row.demerit) }}
        </template>
      </el-table-column>
      <el-table-column prop="videoOnlineRate" label="在线率" align="center" min-width="200">
        <template slot-scope="scope">
          {{ formatDemeritRate(scope.row.videoOnlineRate) }}
        </template>
      </el-table-column>
      <el-table-column prop="recordTime" label="日期" align="center" min-width="200">
        <template slot-scope="scope">
          <!-- recordTime格式为 "yyyy-MM-dd HH:mm:ss",通过split截取日期部分 -->
          {{ scope.row.recordTime ? scope.row.recordTime.split(' ')[0] : '-' }}
        </template>
      </el-table-column>
      <el-table-column prop="videoOnlineRate" label="在线率" align="center" min-width="200">
        <template slot-scope="scope">
          {{ formatDemeritRate(scope.row.videoOnlineRate) }}
        </template>
      </el-table-column>
      <el-table-column prop="action" label="操作" align="=center">
        <template slot-scope="scope">
          <el-button type="primary" size="mini" @click="exportInfo(scope.row)">导出详情</el-button>
@@ -180,8 +180,8 @@
        this.queryParams.monthDate = null;
        if (this.queryParams.dayDate && this.queryParams.dayDate.length === 2) {
          this.queryParams.dayStart = this.queryParams.dayDate[0];
          this.queryParams.dayEnd = this.queryParams.dayDate[1];
          this.queryParams.dayStart = this.queryParams.dayDate[0] +" 00:00:00";
          this.queryParams.dayEnd = this.queryParams.dayDate[1]+" 23:59:59";
        }
        from = {
          searchType: this.queryParams.searchType,