huangyw 2 years ago
parent
commit
71fbfd0214

+ 9 - 3
src/xt_pages/outpatientDoctorStation/batch_delete.vue View File

@@ -77,7 +77,7 @@
77 77
     </div>
78 78
 
79 79
     <el-container>
80
-      <div style="width: 211px;height: 70vh;border: 1px solid #DCDFE6;box-shadow: 0 2px 4px 0 rgb(0 0 0 / 12%), 0 0 6px 0 rgb(0 0 0 / 4%);">
80
+      <div class="left_table" style="width: 211px;height: 70vh;border: 1px solid #DCDFE6;box-shadow: 0 2px 4px 0 rgb(0 0 0 / 12%), 0 0 6px 0 rgb(0 0 0 / 4%);">
81 81
         <el-table
82 82
           border
83 83
           height="70vh"
@@ -613,12 +613,11 @@ export default {
613 613
 .app-container {
614 614
   padding: 10px;
615 615
   background: #f6f8f9;
616
-  .el-container {
617
-  }
618 616
 }
619 617
 ::v-deep .el-table__body-wrapper {
620 618
   height: 500px;
621 619
   overflow-y: scroll;
620
+
622 621
 }
623 622
 .bannar_list {
624 623
   margin-bottom: 10px;
@@ -635,6 +634,13 @@ export default {
635 634
     }
636 635
   }
637 636
 }
637
+.left_table{
638
+  /deep/ .el-table{
639
+    .el-table__body-wrapper{
640
+      overflow-x: hidden;
641
+    }
642
+  }
643
+}
638 644
 .frequence {
639 645
   text-align: center;
640 646
 }

+ 11 - 6
src/xt_pages/outpatientDoctorStation/batch_replacement.vue View File

@@ -3,7 +3,9 @@
3 3
   <div class="main-contain new-main-contain">
4 4
     <div class="bannar_list">
5 5
       <div class="banner_left">
6
-        <div style="width: 1000px; display: flex; justify-content: space-between;">
6
+        <div
7
+          style="width: 1000px; display: flex; justify-content: space-evenly;"
8
+        >
7 9
           <div>
8 10
             透析模式:
9 11
             <el-select
@@ -85,6 +87,7 @@
85 87
         <div>
86 88
           <el-table
87 89
             border
90
+            height="70vh"
88 91
             ref="multipleTable"
89 92
             :data="tableData"
90 93
             tooltip-effect="dark"
@@ -96,7 +99,8 @@
96 99
               color: '#606266',
97 100
             }"
98 101
           >
99
-            <el-table-column type="selection" width="55" align="center"> </el-table-column>
102
+            <el-table-column type="selection" width="55" align="center">
103
+            </el-table-column>
100 104
             <el-table-column label="患者姓名" width="184" align="center">
101 105
               <template slot-scope="scope">{{ scope.row.name }}</template>
102 106
             </el-table-column>
@@ -863,7 +867,7 @@ export default {
863 867
 }
864 868
 ::v-deep .el-table__body-wrapper {
865 869
   // height: 500px;
866
-  overflow-y: scroll;
870
+  // overflow-y: scroll;
867 871
 }
868 872
 .right_contain {
869 873
   -webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.27),
@@ -871,11 +875,11 @@ export default {
871 875
 }
872 876
 .bannar_list {
873 877
   width: 99%;
874
-  margin-top: 10px;
878
+  margin-top: 20px;
875 879
   display: flex;
876 880
   justify-content: space-between;
877 881
   .banner_left {
878
-    width: 96%;
882
+    width: 100%;
879 883
     margin: 0 auto;
880 884
     display: flex;
881 885
     justify-content: space-between;
@@ -1092,7 +1096,8 @@ export default {
1092 1096
     }
1093 1097
 
1094 1098
     .el-table__body-wrapper {
1095
-      height: auto !important;
1099
+      max-height: 70vh;
1100
+      // overflow-y: scroll;
1096 1101
       .el-table__body {
1097 1102
         width: 100% !important;
1098 1103
       }

+ 1 - 1
src/xt_pages/outpatientDoctorStation/prescriptionTemplate.vue View File

@@ -7,7 +7,7 @@
7 7
         <el-button type="primary" @click="batchAdds">批量新增</el-button>
8 8
         <el-button type="primary" @click="batchReplace">批量替换</el-button>
9 9
         <el-button type="danger" @click="batchDeletes">批量删除</el-button>
10
-        <el-button type="primary" @click="add">新增</el-button>
10
+        <el-button type="primary" @click="add" style="width:70px;">新增</el-button>
11 11
       </div>
12 12
     </div>
13 13