| | |
| | | // 监听 判断按钮是否可点击 |
| | | watch: { |
| | | selectedRowIndex(newVaue) { |
| | | // // 处于表格的最后一条数据 设置‘上一条’按钮不可点 |
| | | // if (newVaue === this.displayData.length - 1) { |
| | | // this.dialog.isPreCantouch = true |
| | | // //用户先点了第一条,pre为true,然后点击最后一条,next为true。此时两个按钮都被封锁 |
| | | // if (this.dialog.isNextCantouch == true) { |
| | | // this.dialog.isNextCantouch = false |
| | | // } |
| | | // } |
| | | // // 处于表格第一条数据 设置‘下一条’按钮不可点 |
| | | // else if (newVaue === 0) { |
| | | // this.dialog.isNextCantouch = true |
| | | // //用户先点了表格最后一条,next为true,然后点击第一条,pre为true。此时两个按钮都被封锁 |
| | | // if (this.dialog.isPreCantouch == true) { |
| | | // this.dialog.isPreCantouch = false |
| | | // } |
| | | // } |
| | | // // 处于表格的中间行 将按钮设置为可点击状态 |
| | | // else { |
| | | // this.dialog.isPreCantouch = false |
| | | // this.dialog.isNextCantouch = false |
| | | // } |
| | | |
| | | // 处于表格的最后一条数据 设置‘上一条’按钮不可点 |
| | | if (newVaue === 0) { |
| | | this.dialog.isPreCantouch = true |
| | |
| | | }) |
| | | }, |
| | | close() { |
| | | // if (this.auditDialog.checkerNotes || this.auditDialog.enterpriseNotes) { |
| | | // ElMessageBox.confirm('这将会,确定要关闭吗', '提示', |
| | | // { |
| | | // confirmButtonText: '确定', |
| | | // cancelButtonText: '取消', |
| | | // type: 'warning', |
| | | // center :'true', |
| | | // icon: markRaw(Delete), |
| | | // draggable: true, |
| | | // }).then(() => { |
| | | // ElMessage({ |
| | | // type: 'success', |
| | | // message: '已关闭', |
| | | // }) |
| | | // this.auditDialog.visible = false |
| | | // }) |
| | | // }else{ |
| | | // this.auditDialog.visible = false |
| | | // } |
| | | |
| | | this.auditDialog.visible = false |
| | | }, |
| | | // 表格行的颜色 |
| | |
| | | <el-col> |
| | | <div class="checknum"> |
| | | <div class="checknum-text"> |
| | | <el-tag>应审核数</el-tag><span>{{ total }} ({{ checkedRate }}%)</span> |
| | | <el-tag>应审核数</el-tag><span >{{ total }} ({{ checkedRate }}%)</span> |
| | | </div> |
| | | |
| | | <div class="checknum-text"> |
| | |
| | | <div><span class="diag-head-text1">站点名称:</span>{{ tableCurrentRowData.name }}</div> |
| | | <div><span class="diag-head-text1">设备编号:</span>{{ tableCurrentRowData.mnCode }}</div> |
| | | <div><span class="diag-head-text1">运维商:</span>{{ tableCurrentRowData.dutyCompany }}</div> |
| | | <!-- <div> |
| | | <span class="diag-head-text1">异常类型:</span> |
| | | <span v-if="tableCurrentRowData.exceptionType == '0'">数据缺失异常</span> |
| | | <span v-else-if="tableCurrentRowData.exceptionType == '1'">数据超低</span> |
| | | <span v-else-if="tableCurrentRowData.exceptionType == '2'">超标</span> |
| | | <span v-else-if="tableCurrentRowData.exceptionType == '3'">数据长时间无波动</span> |
| | | <span v-else-if="tableCurrentRowData.exceptionType == '4'">量级突变异常</span> |
| | | <span v-else-if="tableCurrentRowData.exceptionType == '5'">临近超标异常</span> |
| | | <span v-else-if="tableCurrentRowData.exceptionType == '6'">单日超标次数临界异常</span> |
| | | <span v-else-if="tableCurrentRowData.exceptionType == '7'">滑动平均值异常</span> |
| | | </div> --> |
| | | |
| | | |
| | | <div> |
| | | <span class="diag-head-text1">异常时间段:</span>{{ tableCurrentRowData.beginTime }} ~ |
| | |
| | | </div> |
| | | </div> |
| | | |
| | | <!-- <div class="chart-jump-button"> |
| | | <el-button |
| | | type="danger" |
| | | :loading="loading.preButton" |
| | | :disabled="dialog.isPreCantouch || flag.banTouch" |
| | | @click="getPreviousRowData" |
| | | >上条异常</el-button |
| | | > |
| | | <el-button |
| | | type="danger" |
| | | :loading="loading.afterButton" |
| | | :disabled="dialog.isNextCantouch || flag.banTouch" |
| | | @click="getNextRowData" |
| | | >下条异常</el-button |
| | | > |
| | | </div> --> |
| | | <div class="chart-jump-button"> |
| | | <el-button |
| | | type="danger" |
| | |
| | | fixed |
| | | :index="indexMethod2" |
| | | ></el-table-column> |
| | | <!-- <el-table-column fixed prop="name" label="站点名称" show-overflow-tooltip /> |
| | | <el-table-column prop="mnCode" label="设备编号" align="center" show-overflow-tooltip /> |
| | | <el-table-column prop="dutyCompany" label="运维商" align="center" show-overflow-tooltip /> --> |
| | | |
| | | <el-table-column prop="lst" label="采集时间" align="center" show-overflow-tooltip /> |
| | | <el-table-column |
| | | prop="dustValue" |