From 510bbb4e5e0bf980e2478813112bd3e80772fb3a Mon Sep 17 00:00:00 2001
From: batman <978517621@qq.com>
Date: 星期四, 09 三月 2023 17:31:32 +0800
Subject: [PATCH] 新修改添加页面

---
 src/views/intellectInspect/inspectIndex2/index.vue |   45 ++++++++++++++++++++++++++++++++++-----------
 1 files changed, 34 insertions(+), 11 deletions(-)

diff --git a/src/views/intellectInspect/inspectIndex2/index.vue b/src/views/intellectInspect/inspectIndex2/index.vue
index 00200da..2ef1411 100644
--- a/src/views/intellectInspect/inspectIndex2/index.vue
+++ b/src/views/intellectInspect/inspectIndex2/index.vue
@@ -78,7 +78,7 @@
                   </div>
                 </div>
                 <div class="chart">
-                  <el-table :data="tableData" stripe border :header-cell-style="isFull==true?{background: none}:{ background: '#fafafa' }">
+                  <el-table :data="tableData" stripe border :header-cell-style="{ background: '#fafafa' }">
                     <el-table-column label="任务信息" align="center">
                       <template #default="scope">
                         <div class="left-info">
@@ -141,7 +141,7 @@
                   </div>
               </div>
               <div class="chart">
-                <el-table :data="unusualData" stripe border :header-cell-style="isFull==true?{background: none}:{ background: '#fafafa' }">
+                <el-table :data="unusualData" stripe border :header-cell-style="{ background: '#fafafa' }">
                   <el-table-column prop="num" label="工单编号" align="center"/>
                   <el-table-column prop="spot" label="异常巡检点" align="center"/>
                   <el-table-column prop="time" label="巡检(发现)时间" align="center"/>
@@ -221,7 +221,7 @@
     groupName: string;
 }
 export default {
-    name: 'workingHours',
+    name: 'inspectIndex',
     components: { inspectRecordDialog, inspectList, unusualList },
     setup() {
         const router = useRouter();
@@ -329,6 +329,13 @@
             initSbtj()
         });
         const toFullscreen =()=>{
+          console.log(state.isFull,'quanp',state.themeColor)
+          const element = document.getElementById('bigScreen')
+          if (!screenfull.isEnabled) {
+            ElMessage.warning('暂不不支持全屏');
+            return false;
+          }
+          screenfull.toggle(element);
           state.isFull = !state.isFull
           if(state.isFull == true){
             state.themeColor = '#11FEEE'
@@ -337,13 +344,6 @@
           }
           initXjLine()
           initSbtj()
-          console.log(state.isFull,'quanp',state.themeColor)
-          const element = document.getElementById('bigScreen')
-          if (!screenfull.isEnabled) {
-            ElMessage.warning('暂不不支持全屏');
-            return false;
-          }
-          screenfull.toggle(element);
         }
         const checkAllRecord =()=>{
           inspectListRef.value.departmentList = state.departmentList
@@ -822,7 +822,6 @@
                     }
                   }
                 }
-
               }
             }
           }
@@ -905,6 +904,14 @@
           background-color: rgba(10,31,92,1);
           border: 1px solid rgba(17,254,238,.4);
           color: #11FEEE;
+          .el-cascader-node{
+            .in-active-path{
+              background: #0049af;
+            }
+            &:hover{
+              background: #0049af;
+            }
+          }
           .el-cascader-node__label{
             color: #11FEEE;
           }
@@ -967,11 +974,19 @@
     .tit{
       color: #11FEEE;
     }
+    .checkAll{
+      cursor: pointer;
+      color: #11feee;
+      &:hover{
+        color: #409eff
+      }
+    }
     .el-table {
       color: #11FEEE !important;
       background-color: rgba(0,0,0,0) !important;
       :deep(thead){
         color: #11FEEE !important;
+        background-color: #092846 !important
       }
       :deep(tr){
         background-color: rgba(0,0,0,0) !important;
@@ -988,6 +1003,14 @@
       background-color: rgba(10,31,92,1);
       border: 1px solid rgba(17,254,238,.4);
       color: #11FEEE;
+      .el-cascader-node{
+        .in-active-path{
+          background: #0049af;
+        }
+        &:hover{
+          background: #0049af;
+        }
+      }
       .el-cascader-node__label{
         color: #11FEEE;
       }

--
Gitblit v1.9.2