From 3c6bdb6f439ff7af04765259fd6a91b6d201d095 Mon Sep 17 00:00:00 2001 From: zxl <763096477@qq.com> Date: 星期四, 19 六月 2025 17:12:25 +0800 Subject: [PATCH] 工单,数据中心用户查看数据的权限,合同考核每日,以及导出每日和按月 --- src/views/screen/components/screen-table/index.vue | 53 ++++++++++++++--------------------------------------- 1 files changed, 14 insertions(+), 39 deletions(-) diff --git a/src/views/screen/components/screen-table/index.vue b/src/views/screen/components/screen-table/index.vue index 4400918..c3d8812 100644 --- a/src/views/screen/components/screen-table/index.vue +++ b/src/views/screen/components/screen-table/index.vue @@ -6,13 +6,7 @@ ></wrapper-title> --> <div class="table-content" ref="tabContent"> <div class="table-wrapper"> - <el-table - :data="tableData" - border - :height="tableHeight" - :max-height="tableHeight" - class="rank-table" - > + <el-table :data="tableData" border :height="tableHeight" :max-height="tableHeight" class="rank-table"> <el-table-column prop="area" label="鍦板尯" align="center" width="100"> </el-table-column> @@ -21,25 +15,20 @@ <el-tooltip placement="top"> <div slot="content"> <div class="tip-item"> - <div class="tip-label">璁惧姝e父鏁�:</div> + <div class="tip-label">姝e父鏁�:</div> <div class="tip-info tip-success"> {{ scope.row.faceNormalNum }} </div> </div> <div class="tip-item"> - <div class="tip-label">璁惧寮傚父鏁�:</div> + <div class="tip-label">寮傚父鏁�:</div> <div class="tip-info tip-danger"> {{ scope.row.faceErrorNum }} </div> </div> </div> <div class="tip-num"> - {{ - scope.row.faceRate?( - (scope.row.faceNormalNum / scope.row.faceRate) * - 100 - ).toFixed(0)+'%':'--' - }} + {{ scope.row.faceRate ? scope.row.faceRate + '%' : '--' }} </div> </el-tooltip> </template> @@ -50,25 +39,20 @@ <el-tooltip placement="top"> <div slot="content"> <div class="tip-item"> - <div class="tip-label">璁惧姝e父鏁�:</div> + <div class="tip-label">姝e父鏁�:</div> <div class="tip-info tip-success"> {{ scope.row.carNormalNum }} </div> </div> <div class="tip-item"> - <div class="tip-label">璁惧寮傚父鏁�:</div> + <div class="tip-label">寮傚父鏁�:</div> <div class="tip-info tip-danger"> - {{ scope.row.carNormalNum }} + {{ scope.row.carErrorNum }} </div> </div> </div> <div class="tip-num"> - {{ - scope.row.carRate?( - (scope.row.carNormalNum / scope.row.carRate) * - 100 - ).toFixed(0)+'%':'--' - }} + {{ scope.row.carRate ? scope.row.carRate + '%' : '--' }} </div> </el-tooltip> </template> @@ -79,25 +63,20 @@ <el-tooltip placement="top"> <div slot="content"> <div class="tip-item"> - <div class="tip-label">璁惧姝e父鏁�:</div> + <div class="tip-label">姝e父鏁�:</div> <div class="tip-info tip-success"> {{ scope.row.videoNormalNum }} </div> </div> <div class="tip-item"> - <div class="tip-label">璁惧寮傚父鏁�:</div> + <div class="tip-label">寮傚父鏁�:</div> <div class="tip-info tip-danger"> - {{ scope.row.videoNormalNum }} + {{ scope.row.videoErrorNum }} </div> </div> </div> <div class="tip-num"> - {{ - scope.row.videoRate?( - (scope.row.videoNormalNum / scope.row.videoRate) * - 100 - ).toFixed(0)+'%':'--' - }} + {{ scope.row.videoRate ? scope.row.videoRate + '%' : '--' }} </div> </el-tooltip> </template> @@ -239,7 +218,7 @@ border-color: #56739e99 !important; } -::v-deep .el-table th.el-table__cell > .cell { +::v-deep .el-table th.el-table__cell>.cell { color: #447ed6; } @@ -253,11 +232,7 @@ background-color: transparent !important; } -::v-deep - .el-table--enable-row-hover - .el-table__body - tr:hover - > td.el-table__cell { +::v-deep .el-table--enable-row-hover .el-table__body tr:hover>td.el-table__cell { background-color: #447ed648; } -- Gitblit v1.8.0