huangyw 2 years ago
parent
commit
71fbfd0214

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

77
     </div>
77
     </div>
78
 
78
 
79
     <el-container>
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
         <el-table
81
         <el-table
82
           border
82
           border
83
           height="70vh"
83
           height="70vh"
613
 .app-container {
613
 .app-container {
614
   padding: 10px;
614
   padding: 10px;
615
   background: #f6f8f9;
615
   background: #f6f8f9;
616
-  .el-container {
617
-  }
618
 }
616
 }
619
 ::v-deep .el-table__body-wrapper {
617
 ::v-deep .el-table__body-wrapper {
620
   height: 500px;
618
   height: 500px;
621
   overflow-y: scroll;
619
   overflow-y: scroll;
620
+
622
 }
621
 }
623
 .bannar_list {
622
 .bannar_list {
624
   margin-bottom: 10px;
623
   margin-bottom: 10px;
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
 .frequence {
644
 .frequence {
639
   text-align: center;
645
   text-align: center;
640
 }
646
 }

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

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

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

7
         <el-button type="primary" @click="batchAdds">批量新增</el-button>
7
         <el-button type="primary" @click="batchAdds">批量新增</el-button>
8
         <el-button type="primary" @click="batchReplace">批量替换</el-button>
8
         <el-button type="primary" @click="batchReplace">批量替换</el-button>
9
         <el-button type="danger" @click="batchDeletes">批量删除</el-button>
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
       </div>
11
       </div>
12
     </div>
12
     </div>
13
 
13