From 017886be8a6c07ccaaf6300b8c7652ddbd41d734 Mon Sep 17 00:00:00 2001
From: qushaowei <qushaowei@163.com>
Date: 星期一, 15 一月 2024 16:50:08 +0800
Subject: [PATCH] Merge branch 'master' of http://117.34.109.166:18448/r/vue_mdc_430 into develop

---
 src/views/mdc/base/modules/efficiencyReport/EfficiencyList.vue |  136 +++++++++++++++------------------------------
 1 files changed, 45 insertions(+), 91 deletions(-)

diff --git a/src/views/mdc/base/modules/efficiencyReport/EfficiencyList.vue b/src/views/mdc/base/modules/efficiencyReport/EfficiencyList.vue
index d062e27..7f2f038 100644
--- a/src/views/mdc/base/modules/efficiencyReport/EfficiencyList.vue
+++ b/src/views/mdc/base/modules/efficiencyReport/EfficiencyList.vue
@@ -22,12 +22,24 @@
                                   v-model="dates"/>
                 </a-form-item>
               </a-col>
-              <a-col :md="14" :sm="14">
+              <a-col :md="14" :sm="14" style="display: flex;align-items: flex-start;-webkit-align-items: flex-start;justify-content: space-between;">
                 <a-space>
                   <a-button type="primary" @click="searchQuery" icon="search">鏌ヨ</a-button>
                   <a-button type="primary" @click="searchReset" icon="reload">閲嶇疆</a-button>
                   <a-button type="primary" @click="exportExcel" icon="download">瀵煎嚭</a-button>
                 </a-space>
+                <table cellpadding="5" cellspacing="1" style="border: 1px solid darkgray;margin-left: 24px">
+                  <tr>
+                    <td v-for="(item, index) in identifying">{{item.title}}</td>
+                  </tr>
+                  <tr>
+                    <td style="text-align:center;" v-for="(item, index) in identifying">
+                      <div class="identifyingclass" :style="{background: item.color}"></div>
+                    </td>
+                    <!--<td style="text-align:center;"><div style="width: 55px;height: 15px;background-color: #e8ff37;display:inline-block"></div></td>-->
+                    <!--<td style="text-align:center;"><div style="width: 55px;height: 15px;background-color: #99ff4e;display:inline-block"></div></td>-->
+                  </tr>
+                </table>
               </a-col>
             </a-row>
             <a-row :gutter="24">
@@ -38,20 +50,20 @@
             </a-row>
           </a-form>
         </div>
-        <div style="width: 530px;position: absolute;top: 0; right: 1.5%;">
-          <table cellpadding="5" cellspacing="1" style="border: 1px solid darkgray;">
-            <tr>
-              <td v-for="(item, index) in identifying">{{item.title}}</td>
-            </tr>
-            <tr>
-              <td style="text-align:center;" v-for="(item, index) in identifying">
-                <div class="identifyingclass" :style="{background: item.color}"></div>
-              </td>
-              <!--<td style="text-align:center;"><div style="width: 55px;height: 15px;background-color: #e8ff37;display:inline-block"></div></td>-->
-              <!--<td style="text-align:center;"><div style="width: 55px;height: 15px;background-color: #99ff4e;display:inline-block"></div></td>-->
-            </tr>
-          </table>
-        </div>
+        <!--<div style="width: 530px;position: absolute;top: 0; right: 1.5%;">-->
+          <!--<table cellpadding="5" cellspacing="1" style="border: 1px solid darkgray;">-->
+            <!--<tr>-->
+              <!--<td v-for="(item, index) in identifying">{{item.title}}</td>-->
+            <!--</tr>-->
+            <!--<tr>-->
+              <!--<td style="text-align:center;" v-for="(item, index) in identifying">-->
+                <!--<div class="identifyingclass" :style="{background: item.color}"></div>-->
+              <!--</td>-->
+              <!--&lt;!&ndash;<td style="text-align:center;"><div style="width: 55px;height: 15px;background-color: #e8ff37;display:inline-block"></div></td>&ndash;&gt;-->
+              <!--&lt;!&ndash;<td style="text-align:center;"><div style="width: 55px;height: 15px;background-color: #99ff4e;display:inline-block"></div></td>&ndash;&gt;-->
+            <!--</tr>-->
+          <!--</table>-->
+        <!--</div>-->
       </div>
 
       <a-spin :spinning="spinning">
@@ -91,14 +103,23 @@
 
               <tr class="mathData" v-for="(item, index) in dataList">
                 <template v-if="item.level1!=='鍚堣'&&item.level1!=='骞冲潎鍊�'">
-                  <td class="tdgu kaitou wenzi" :rowspan="item.level1span"
-                      :class="{hidden: item.level1dis,noExl:item.level1dis}" v-show="!item.level1dis">{{item.level1}}
+                  <td class="tdgu kaitou" :rowspan="item.level1span"
+                      :class="{hidden: item.level1dis,noExl:item.level1dis}" v-show="!item.level1dis">
+                    <div class="wenzi">
+                      {{item.level1}}
+                    </div>
                   </td>
-                  <td class="tdgu1 kaitou wenzi" :rowspan="item.level2span"
-                      :class="{hidden: item.level2dis,noExl:item.level2dis}" v-show="!item.level2dis">{{item.level2}}
+                  <td class="tdgu1 kaitou" :rowspan="item.level2span"
+                      :class="{hidden: item.level2dis,noExl:item.level2dis}" v-show="!item.level2dis">
+                    <div class="wenzi">
+                      {{item.level2}}
+                    </div>
                   </td>
                   <td class="tdgu2 kaitou wenzi" :rowspan="item.level3span"
-                      :class="{hidden: item.level3dis,noExl:item.level3dis}" v-show="!item.level3dis">{{item.level3}}
+                      :class="{hidden: item.level3dis,noExl:item.level3dis}" v-show="!item.level3dis">
+                    <div class="wenzi">
+                      {{item.level3}}
+                    </div>
                   </td>
                   <td class="tdgu3  kaitou">{{item.equipmentId}}</td>
                   <td class="tdgu4 kaitou" style="min-width: 162px; max-width: 162px;width: 162px;">{{item.equipmentName}}</td>
@@ -587,7 +608,6 @@
   .table2 thead .equipname .dong1 {
     z-index: 4;
     left: 0;
-    /*border: 1px solid #000;*/
   }
 
   .table2 thead .equipname .dong2 {
@@ -615,50 +635,38 @@
     left: 412px;
   }
 
+  #Efficiency{
+    overflow: hidden;
+  }
+
   @media screen and (min-width: 1920px) {
     #Efficiency {
       height: 687px !important;
-      overflow: scroll;
     }
   }
 
   @media screen and (min-width: 1680px) and (max-width: 1920px) {
     #Efficiency {
       height: 687px !important;
-      overflow: scroll;
     }
   }
 
   @media screen and (min-width: 1400px) and (max-width: 1680px) {
     #Efficiency {
       height: 540px !important;
-      overflow: scroll;
     }
   }
 
   @media screen and (min-width: 1280px) and (max-width: 1400px) {
     #Efficiency {
       height: 440px !important;
-      overflow: scroll;
     }
   }
 
   @media screen and (max-width: 1280px) {
     #Efficiency {
       height: 440px !important;
-      overflow: scroll;
     }
-  }
-
-  #Efficiency .table_guding1 {
-    position: absolute;
-    overflow: hidden;
-    width: 500px;
-  }
-
-  #Efficiency .table_guding2 {
-    overflow-x: scroll;
-    width: 500px;
   }
 
   .identifyingclass {
@@ -683,10 +691,6 @@
     text-align: center;
   }
 
-  /*.dataContent .fixed th {*/
-  /*width: 50px;*/
-  /*}*/
-
   .dataContent .thead th {
     background-color: #fafafa;
     text-align: center;
@@ -694,61 +698,11 @@
     padding: 5px;
   }
 
-  .dataContent .notfixed th {
-    /*width: auto;*/
-  }
-
-  /*.dataContent tr td {*/
-  /*height: 35px;*/
-  /*}*/
-
   .dataContent .mathData td {
-    padding: 10px;
-    /*display: none;*/
-  }
-
-  .dataContent .mathData .td {
-    /*background-color: #ff9bd2;*/
-    display: inline-block;
     padding: 10px;
   }
 
   td {
     vertical-align: middle;
   }
-
-  .pink {
-    background-color: #ff9bd2;
-  }
-
-  .yellow {
-    background-color: #e8ff37;
-  }
-
-  .green {
-    background-color: #99ff4e;
-  }
-
-  .vertical-text {
-    writing-mode: vertical-rl;
-  }
-
-  /*/deep/ .ant-table-body .ant-table-row td {*/
-  /*padding-top: 10px;*/
-  /*padding-bottom: 10px;*/
-  /*}*/
-
-  /deep/ .ant-table-body .ant-table-row td.data {
-    min-width: 150px;
-    max-width: 150px;
-  }
-
-  /deep/ .ant-table-tbody > tr.ant-table-row:hover > td {
-    background: none !important;
-  }
-
-  /deep/ .ant-table-thead th {
-    text-align: center;
-  }
-
 </style>
\ No newline at end of file

--
Gitblit v1.9.3