فهرست منبع

1.“确定”按钮样式改成长方形的

wanger 1 ماه پیش
والد
کامیت
406876a1cd
1فایلهای تغییر یافته به همراه15 افزوده شده و 9 حذف شده
  1. 15 9
      website/src/views/ghfxpj/Cyfx.vue

+ 15 - 9
website/src/views/ghfxpj/Cyfx.vue

@@ -45,15 +45,17 @@
                 ></el-option>
               </el-select>
             </el-form-item>
-            <el-form-item>
-              <el-button round @click="subMit">确定</el-button>
+            <el-form-item style="margin-left: 80px">
+              <el-button type="primary" @click="subMit">确定</el-button>
             </el-form-item>
           </el-form>
         </div>
       </div>
     </div>
     <div class="max-width flex-box column padding-10 box-sizing">
-      <div class="block-title margin-top-5">差异分析结果</div>
+      <div class="block-title margin-top-5" v-if="cyjgList.length > 0">
+        差异分析结果
+      </div>
       <div class="cyContent">
         <div v-for="(item, i) in cyjgList" :key="i" style="margin-bottom: 5px">
           <div class="cyList">
@@ -126,8 +128,8 @@
     </div>
   </div>
 </template>
-  
-  <script>
+
+<script>
 import { reactive, toRefs } from "@vue/reactivity";
 import {
   getCurrentInstance,
@@ -247,7 +249,7 @@ export default {
                 fxsz.spanArr[fieldIndex].push(
                   j === 0
                     ? { rowspan: count, colspan: 1 }
-                    : { rowspan: 0, colspan: 0 }
+                    : { rowspan: 0, colspan: 0 },
                 );
               }
               count = 1; // 重置计数器
@@ -272,8 +274,13 @@ export default {
   },
 };
 </script>
-  
-  <style lang="less" scoped>
+
+<style lang="less" scoped>
+.el-table .cell.el-tooltip {
+  word-break: break-all !important;
+  white-space: break-spaces !important;
+  min-width: 50px;
+}
 .fxsz {
   .act_xzq,
   .act_yz,
@@ -369,4 +376,3 @@ export default {
   }
 }
 </style>
-