From afd3eab5d9db604134f570586ccd5598d38ce799 Mon Sep 17 00:00:00 2001
From: loulijun2021 <1694218219@qq.com>
Date: 星期五, 30 十二月 2022 15:07:21 +0800
Subject: [PATCH] 1.项目实现更换皮肤功能

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

diff --git a/src/views/sbgl/byjl.vue b/src/views/sbgl/byjl.vue
index ce1c27b..f109864 100644
--- a/src/views/sbgl/byjl.vue
+++ b/src/views/sbgl/byjl.vue
@@ -176,8 +176,16 @@
             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
@@ -195,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>
@@ -255,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