Просмотр исходного кода

试剂每日质控子表组件宽度调整

cyy 1 неделя назад
Родитель
Сommit
b7e5c172c5
1 измененных файлов с 15 добавлено и 11 удалено
  1. 15 11
      src/views/component/qualityControl/qualityControlChildTabTwo.vue

+ 15 - 11
src/views/component/qualityControl/qualityControlChildTabTwo.vue

@@ -20,7 +20,7 @@
               v-if="field.name === 'component_1qyrt3i'"
               label="凝聚胺法"
               prop="fangFa"
-              width="130"
+              width="150"
               align="center"
             />
             <el-table-column
@@ -28,7 +28,7 @@
                 field.name === 'component_1qyrt3i' ? '供者编号' : '质控编号'
               "
               prop="bianHao"
-              width="130"
+              :width="field.name === 'component_1qyrt3i' ? 150 : 100"
               align="center"
             />
             <el-table-column
@@ -42,7 +42,7 @@
                 :prop="item.val[i]"
                 :label="it"
                 :key="'child1' + i"
-                width="120"
+                :width="field.name === 'component_1qyrt3i' ? 113.2143 : 85"
                 align="center"
               >
                 <template slot-scope="{ row }">
@@ -77,7 +77,7 @@
             <div
               slot="append"
               :style="{
-                width: field.name === 'component_1qyrt3i' ? '1940px' : '2650px'
+                width: '1885px'
               }"
             >
               <el-row
@@ -95,7 +95,7 @@
                     <el-table-column
                       label="质控编号"
                       prop="bianHao"
-                      width="130"
+                      width="100"
                       align="center"
                     />
                     <el-table-column
@@ -109,7 +109,7 @@
                         :prop="item.val[i]"
                         :label="it"
                         :key="'child2' + i"
-                        width="120"
+                        width="85"
                         align="center"
                       >
                         <template slot-scope="{ row }">
@@ -142,7 +142,7 @@
                   class="labelSty"
                   :style="{
                     width:
-                      field.name === 'component_1qyrt3i' ? '260px' : '130px'
+                      field.name === 'component_1qyrt3i' ? '300px' : '100px'
                   }"
                   >结果符合预期:</div
                 >
@@ -151,7 +151,9 @@
                   class="chooseSty"
                   :style="{
                     width:
-                      field.name === 'component_1qyrt3i' ? '220px' : '340px'
+                      field.name === 'component_1qyrt3i'
+                        ? '206.4286px'
+                        : '235px'
                   }"
                 >
                   <el-radio-group
@@ -181,7 +183,7 @@
                   class="labelSty"
                   :style="{
                     width:
-                      field.name === 'component_1qyrt3i' ? '260px' : '130px'
+                      field.name === 'component_1qyrt3i' ? '300px' : '100px'
                   }"
                   >操作人:</div
                 >
@@ -190,7 +192,9 @@
                   class="chooseSty"
                   :style="{
                     width:
-                      field.name === 'component_1qyrt3i' ? '220px' : '340px'
+                      field.name === 'component_1qyrt3i'
+                        ? '206.4286px'
+                        : '235px'
                   }"
                 >
                   <ibps-user-selector
@@ -535,7 +539,7 @@ export default {
         padding: 0 10px;
       }
       .el-table__body-wrapper.is-scrolling-none {
-        width: 2650px;
+        width: 1885px;
       }
     }
   }