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/djjl.vue |   48 +++++++++++++++++++++++++++++++++++-------------
 1 files changed, 35 insertions(+), 13 deletions(-)

diff --git a/src/views/sbgl/djjl.vue b/src/views/sbgl/djjl.vue
index 919da66..9cd03ff 100644
--- a/src/views/sbgl/djjl.vue
+++ b/src/views/sbgl/djjl.vue
@@ -164,8 +164,17 @@
             sortable="custom"
           >
             <template slot-scope="{row}">
-              <div v-if="row.chk_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.chk_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.chk_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.chk_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
@@ -191,7 +200,8 @@
               <!--              </div>-->
               <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>
@@ -251,8 +261,16 @@
             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">
+                <!--                <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.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
@@ -435,7 +453,7 @@
       this.dialogVisible = true
     },
     // 淇敼鎸夐挳
-    async  edit(operation, row) {
+    async edit(operation, row) {
       this.operation = operation
       this.dialogVisible = true
 
@@ -539,16 +557,19 @@
 <!--鍏叡椤甸潰鏍峰紡-->
 <style lang="scss" scoped>
 $main_color: #42b983;
-::v-deep .el-range__icon{
+::v-deep .el-range__icon {
   line-height: 28px !important;
 }
-::v-deep .el-range-separator{
+
+::v-deep .el-range-separator {
   line-height: 28px !important;
 }
-::v-deep .el-range-input{
+
+::v-deep .el-range-input {
   font-size: 14px;
 }
-::v-deep .el-range-separator{
+
+::v-deep .el-range-separator {
   display: flex;
   justify-content: center;
   align-items: center;
@@ -656,11 +677,12 @@
   justify-content: center;
 }
 
-.tableFixed{
-  ::v-deep .el-table__fixed-right{
+.tableFixed {
+  ::v-deep .el-table__fixed-right {
     height: 100% !important;
   }
-  ::v-deep .el-table__fixed{
+
+  ::v-deep .el-table__fixed {
     height: 100% !important;
   }
 }

--
Gitblit v1.9.3