From b012ab3a1e5495be068c543eb8f0482124db13b5 Mon Sep 17 00:00:00 2001
From: loulijun2021 <1694218219@qq.com>
Date: 星期六, 31 十二月 2022 16:48:22 +0800
Subject: [PATCH] 1.登录页文字跟随系统变化

---
 src/views/sbgl/byjl.vue |   32 +++++++++++++++++++++++++++-----
 1 files changed, 27 insertions(+), 5 deletions(-)

diff --git a/src/views/sbgl/byjl.vue b/src/views/sbgl/byjl.vue
index 9e51ecb..f109864 100644
--- a/src/views/sbgl/byjl.vue
+++ b/src/views/sbgl/byjl.vue
@@ -109,17 +109,20 @@
           <el-table-column
             prop="bywo"
             width="160"
+            show-tooltip-when-overflow
             label="淇濆吇鍗曞彿"
             sortable="custom"
           />
           <el-table-column
             prop="org_name"
             label="鐢熶骇杞﹂棿"
+            show-tooltip-when-overflow
             sortable="custom"
           />
           <el-table-column
             prop="eqp_code"
             label="璁惧缂栧彿"
+            show-tooltip-when-overflow
             sortable="custom"
           />
           <el-table-column
@@ -132,18 +135,21 @@
             prop="stanedcode"
             label="淇濆吇鏍囧噯缂栫爜"
             width="160"
+            show-tooltip-when-overflow
             sortable="custom"
           />
           <el-table-column
             prop="stanedname"
             label="淇濆吇鏍囧噯鍚嶇О"
             width="160"
+            show-tooltip-when-overflow
             sortable="custom"
           />
           <el-table-column
             prop="maint_cyc"
             label="淇濆吇鍛ㄦ湡"
             width="110"
+            show-tooltip-when-overflow
             sortable="custom"
           >
             <template slot-scope="{row}">
@@ -154,6 +160,7 @@
             prop="maint_user"
             label="淇濆吇浜哄憳"
             width="160"
+            show-tooltip-when-overflow
             sortable="custom"
           >
             <template slot-scope="{row}">
@@ -165,16 +172,26 @@
             prop="maint_result"
             label="淇濆吇缁撴灉"
             width="160"
+            show-tooltip-when-overflow
             sortable="custom"
           >
             <template slot-scope="{row}">
-              <div v-if="row.maint_result==='OK'" style="display: flex;align-items: center"><div style="margin-right: 5px;width:10px;height: 10px;border-radius: 50%;background-color: #42b983" />姝e父</div>
-              <div v-if="row.maint_result==='NG'" style="display: flex;align-items: center"><div style="margin-right: 5px;width:10px;height: 10px;border-radius: 50%;background-color: red" />寮傚父</div>
+              <div v-if="row.maint_result==='OK'" style="display: flex;align-items: center">
+                <!--                <div style="margin-right: 5px;width:10px;height: 10px;border-radius: 50%;background-color: #42b983" />-->
+                <i class="el-icon-success" :style="{color:$store.state.settings.theme}" style="margin-right: 2px" />
+                姝e父
+              </div>
+              <div v-if="row.maint_result==='NG'" style="display: flex;align-items: center">
+                <!--                <div style="margin-right: 5px;width:10px;height: 10px;border-radius: 50%;background-color: red" />-->
+                <i class="el-icon-info" style="margin-right: 2px" />
+                寮傚父
+              </div>
             </template>
           </el-table-column>
           <el-table-column
             prop="maint_date"
             label="淇濆吇鏃堕棿"
+            show-tooltip-when-overflow
             width="160"
             sortable="custom"
           />
@@ -186,7 +203,8 @@
             <template slot-scope="{row}">
               <i
                 class="el-icon-tickets"
-                style="cursor: pointer;color: #42b983;margin-right: 15px"
+                :style="{color:$store.state.settings.theme}"
+                style="cursor: pointer;margin-right: 15px"
                 @click="edit('edit',row)"
               />
             </template>
@@ -246,8 +264,12 @@
             label="鐐规缁撴灉"
           >
             <template slot-scope="{row}">
-              <div v-if="row.result==='OK'" style="display: flex;align-items: center"><div style="margin-right: 5px;width:10px;height: 10px;border-radius: 50%;background-color: #42b983" />姝e父</div>
-              <div v-if="row.result==='NG'" style="display: flex;align-items: center"><div style="margin-right: 5px;width:10px;height: 10px;border-radius: 50%;background-color: red" />寮傚父</div>
+              <div v-if="row.result==='OK'" style="display: flex;align-items: center">
+                <i class="el-icon-success" :style="{color:$store.state.settings.theme}" style="margin-right: 2px" />
+                姝e父</div>
+              <div v-if="row.result==='NG'" style="display: flex;align-items: center">
+                <i class="el-icon-info" style="margin-right: 2px" />
+                寮傚父</div>
             </template>
           </el-table-column>
           <el-table-column

--
Gitblit v1.9.3