From b5c6e17f2e9cb10ed323c1adfa2e449bab307134 Mon Sep 17 00:00:00 2001
From: fuliqi <fuliqi@qq.com>
Date: 星期五, 17 一月 2025 15:15:12 +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