huangyw 2 years ago
parent
commit
1852433b80

+ 33 - 2
src/xt_pages/Pharmacy/DrugDispensing.vue View File

49
 
49
 
50
           <el-table
50
           <el-table
51
             v-if="state == 1"
51
             v-if="state == 1"
52
-            :height="tableHeight"
52
+            height="60vh"
53
             :data="waiting_drug"
53
             :data="waiting_drug"
54
             border
54
             border
55
             style="width: 100%"
55
             style="width: 100%"
127
           <el-table
127
           <el-table
128
             :height="tableHeight"
128
             :height="tableHeight"
129
             :data="tableData"
129
             :data="tableData"
130
+            :summary-method="getSummaries"
131
+            show-summary
130
             border
132
             border
131
             highlight-current-row
133
             highlight-current-row
132
             style="width: 1328px"
134
             style="width: 1328px"
455
         }
457
         }
456
       });
458
       });
457
     },
459
     },
460
+    getSummaries(param) {
461
+      const { columns, data } = param;
462
+      const sums = [];
463
+      columns.forEach((column, index) => {
464
+        if (index === 0) {
465
+          sums[index] = "合计";
466
+          return;
467
+        }
468
+        console.log(data, "合计data1");
469
+        const values = data.map((item) => Number(item[column.property]));
470
+        
471
+        if (!values.every((value) => isNaN(value))) {
472
+          sums[index] = values.reduce((prev, curr) => {
473
+            const value = Number(curr);
474
+            if (!isNaN(value)) {
475
+              return prev + curr;
476
+            } else {
477
+              return prev;
478
+            }
479
+          }, 0);
480
+          sums[index] += " 元";
481
+        } else {
482
+          sums[index] = "N/A";
483
+        }
484
+      });
485
+
486
+      return sums;
487
+    },
458
     changeTimes() {
488
     changeTimes() {
459
       // alert("aa")
489
       // alert("aa")
460
       // this.getdruglist();
490
       // this.getdruglist();
759
 }
789
 }
760
 
790
 
761
 /deep/ .el-table--scrollable-x .el-table__body-wrapper {
791
 /deep/ .el-table--scrollable-x .el-table__body-wrapper {
762
-  overflow: auto;
792
+  overflow-y: auto;
793
+  overflow-x: hidden;
763
 }
794
 }
764
 /deep/ .gutter {
795
 /deep/ .gutter {
765
   width: 15px !important;
796
   width: 15px !important;

+ 2 - 1
src/xt_pages/Pharmacy/PatientDispensing.vue View File

53
           </div>
53
           </div>
54
 
54
 
55
           <el-table
55
           <el-table
56
-            :height="tableHeight"
56
+            height="60vh"
57
             ref="table01"
57
             ref="table01"
58
             :data="waitmount_data"
58
             :data="waitmount_data"
59
             highlight-current-row
59
             highlight-current-row
612
 
612
 
613
 /deep/ .el-table--scrollable-x .el-table__body-wrapper {
613
 /deep/ .el-table--scrollable-x .el-table__body-wrapper {
614
   overflow: auto;
614
   overflow: auto;
615
+  overflow-x: hidden;
615
 }
616
 }
616
 /deep/ .gutter {
617
 /deep/ .gutter {
617
   width: 15px !important;
618
   width: 15px !important;

+ 23 - 34
src/xt_pages/dialysis/template/DialysisPrintOrderFiftyThree.vue View File

772
                   </td>
772
                   </td>
773
                   <td
773
                   <td
774
                     style="height: 20px"
774
                     style="height: 20px"
775
-                    width="100"
776
-                    v-if="org_id == 10346 || org_id == 9675"
775
+                    width="80"
776
+                    v-if="org_id == 10346 || org_id == 9675 || org_id == 0"
777
                   >
777
                   >
778
                     <p style="height: 20px; line-height: 20px">开嘱医生</p>
778
                     <p style="height: 20px; line-height: 20px">开嘱医生</p>
779
                   </td>
779
                   </td>
780
-                  <td style="height: 20px" width="420">
780
+                  <td style="height: 20px" width="360">
781
                     <p style="height: 20px; line-height: 20px">医嘱执行记录</p>
781
                     <p style="height: 20px; line-height: 20px">医嘱执行记录</p>
782
                   </td>
782
                   </td>
783
                   <td
783
                   <td
784
                     style="height: 20px"
784
                     style="height: 20px"
785
                     width="100"
785
                     width="100"
786
-                    v-if="org_id == 10346 || org_id == 9675"
786
+                    v-if="org_id == 10346 || org_id == 9675 || org_id == 0"
787
                   >
787
                   >
788
                     <p style="height: 20px; line-height: 20px">执行时间</p>
788
                     <p style="height: 20px; line-height: 20px">执行时间</p>
789
                   </td>
789
                   </td>
796
                   <td style="height: 20px" width="145">
796
                   <td style="height: 20px" width="145">
797
                     <p style="height: 20px; line-height: 20px">上次透后体重</p>
797
                     <p style="height: 20px; line-height: 20px">上次透后体重</p>
798
                   </td>
798
                   </td>
799
-                  <td style="height: 20px">
799
+                  <td style="height: 20px" width="60">
800
                     {{
800
                     {{
801
                       patientInfo.total_dialysis +
801
                       patientInfo.total_dialysis +
802
                         patientInfo.user_sys_before_count >
802
                         patientInfo.user_sys_before_count >
822
                   </td>
822
                   </td>
823
                   <td
823
                   <td
824
                     style="line-height: 30px"
824
                     style="line-height: 30px"
825
-                    width="100"
826
-                    v-if="org_id == 10346 || org_id == 9675"
825
+                    width="80"
826
+                    v-if="org_id == 10346 || org_id == 9675 || org_id == 0"
827
                   >
827
                   >
828
                     <span v-if="setAdminUserES(advice.advice_doctor) == ''">
828
                     <span v-if="setAdminUserES(advice.advice_doctor) == ''">
829
                       {{ getAdminUser(advice.advice_doctor) }}
829
                       {{ getAdminUser(advice.advice_doctor) }}
830
                     </span>
830
                     </span>
831
-                    <span
832
-                      v-else
833
-                      style="
834
-                        display: flex;
835
-                        align-items: center;
836
-                        justify-content: space-around;
837
-                        height: 36px;
838
-                      "
839
-                    >
840
-                      <img
841
-                        style="height: 30px"
842
-                        :src="setAdminUserES(advice.advice_doctor)"
843
-                        alt
844
-                        srcset
845
-                      />
846
-                    </span>
831
+                    <img
832
+                      style="height: 30px"
833
+                      :src="setAdminUserES(advice.advice_doctor)"
834
+                      alt=""
835
+                      srcset=""
836
+                    />
847
                   </td>
837
                   </td>
848
-                  <td style="text-align: left; padding-left: 5px" width="415">
838
+                  <td style="text-align: left; padding-left: 5px" width="360">
849
                     <span v-if="advice.parent_id > 0">---></span>
839
                     <span v-if="advice.parent_id > 0">---></span>
850
                     <span>{{ advice.advice_name }}</span>
840
                     <span>{{ advice.advice_name }}</span>
851
                     <span v-if="advice && advice.advice_desc"
841
                     <span v-if="advice && advice.advice_desc"
872
                   <td
862
                   <td
873
                     style="line-height: 30px"
863
                     style="line-height: 30px"
874
                     width="100"
864
                     width="100"
875
-                    v-if="org_id == 10346 || org_id == 9675"
865
+                    v-if="org_id == 10346 || org_id == 9675 || org_id == 0"
876
                   >
866
                   >
877
                     <span v-if="advice.execution_time">{{
867
                     <span v-if="advice.execution_time">{{
878
                       getTime(advice.execution_time, "{h}:{i}")
868
                       getTime(advice.execution_time, "{h}:{i}")
887
                       :src="setAdminUserES(advice.execution_staff)"
877
                       :src="setAdminUserES(advice.execution_staff)"
888
                       alt=""
878
                       alt=""
889
                       srcset=""
879
                       srcset=""
890
-                      v-else
891
                     />
880
                     />
892
                   </td>
881
                   </td>
893
                   <td style="line-height: 30px" width="85">
882
                   <td style="line-height: 30px" width="85">
904
                   </td>
893
                   </td>
905
 
894
 
906
                   <td v-if="advice_index === 0" width="145">透前体重:</td>
895
                   <td v-if="advice_index === 0" width="145">透前体重:</td>
907
-                  <td v-if="advice_index === 0">
896
+                  <td v-if="advice_index === 0" width="60">
908
                     {{
897
                     {{
909
                       patientInfo.total_dialysis +
898
                       patientInfo.total_dialysis +
910
                         patientInfo.user_sys_before_count >
899
                         patientInfo.user_sys_before_count >
914
                     }}kg
903
                     }}kg
915
                   </td>
904
                   </td>
916
                   <td v-if="advice_index === 1" width="145">体重增加量:</td>
905
                   <td v-if="advice_index === 1" width="145">体重增加量:</td>
917
-                  <td v-if="advice_index === 1">
906
+                  <td v-if="advice_index === 1" width="60">
918
                     {{
907
                     {{
919
                       patientInfo.total_dialysis +
908
                       patientInfo.total_dialysis +
920
                         patientInfo.user_sys_before_count >
909
                         patientInfo.user_sys_before_count >
927
                     }}kg
916
                     }}kg
928
                   </td>
917
                   </td>
929
                   <td v-if="advice_index === 2" width="145">干体重(DW):</td>
918
                   <td v-if="advice_index === 2" width="145">干体重(DW):</td>
930
-                  <td v-if="advice_index === 2">
919
+                  <td v-if="advice_index === 2" width="60">
931
                     {{
920
                     {{
932
                       patientInfo.total_dialysis +
921
                       patientInfo.total_dialysis +
933
                         patientInfo.user_sys_before_count >
922
                         patientInfo.user_sys_before_count >
937
                     }}kg
926
                     }}kg
938
                   </td>
927
                   </td>
939
                   <td v-if="advice_index === 3" width="145">较干体重增加量:</td>
928
                   <td v-if="advice_index === 3" width="145">较干体重增加量:</td>
940
-                  <td v-if="advice_index === 3">
929
+                  <td v-if="advice_index === 3" width="60">
941
                     {{
930
                     {{
942
                       patientInfo.total_dialysis +
931
                       patientInfo.total_dialysis +
943
                         patientInfo.user_sys_before_count >
932
                         patientInfo.user_sys_before_count >
949
                     }}kg
938
                     }}kg
950
                   </td>
939
                   </td>
951
                   <td v-if="advice_index === 4" width="145">净脱水量:</td>
940
                   <td v-if="advice_index === 4" width="145">净脱水量:</td>
952
-                  <td v-if="advice_index === 4">
941
+                  <td v-if="advice_index === 4" width="60">
953
                     {{
942
                     {{
954
                       patientInfo.total_dialysis +
943
                       patientInfo.total_dialysis +
955
                         patientInfo.user_sys_before_count >
944
                         patientInfo.user_sys_before_count >
959
                     }}ml
948
                     }}ml
960
                   </td>
949
                   </td>
961
                   <td v-if="advice_index === 5" width="145">透后体重:</td>
950
                   <td v-if="advice_index === 5" width="145">透后体重:</td>
962
-                  <td v-if="advice_index === 5">
951
+                  <td v-if="advice_index === 5" width="60">
963
                     {{
952
                     {{
964
                       patientInfo.total_dialysis +
953
                       patientInfo.total_dialysis +
965
                         patientInfo.user_sys_before_count >
954
                         patientInfo.user_sys_before_count >
971
                   <td v-if="advice_index === 6" width="145">
960
                   <td v-if="advice_index === 6" width="145">
972
                     本次透析体重下降量:
961
                     本次透析体重下降量:
973
                   </td>
962
                   </td>
974
-                  <td v-if="advice_index === 6">
963
+                  <td v-if="advice_index === 6" width="60">
975
                     {{
964
                     {{
976
                       patientInfo.total_dialysis +
965
                       patientInfo.total_dialysis +
977
                         patientInfo.user_sys_before_count >
966
                         patientInfo.user_sys_before_count >
984
                     }}kg
973
                     }}kg
985
                   </td>
974
                   </td>
986
                   <td v-if="advice_index > 6" width="145"></td>
975
                   <td v-if="advice_index > 6" width="145"></td>
987
-                  <td v-if="advice_index > 6"></td>
976
+                  <td v-if="advice_index > 6" width="60"></td>
988
                 </tr>
977
                 </tr>
989
               </table>
978
               </table>
990
             </td>
979
             </td>

+ 2 - 2
src/xt_pages/dialysis/template/DialysisPrintOrderFortyOne.vue View File

628
                   <table class="inside_table">
628
                   <table class="inside_table">
629
                     <tbody>
629
                     <tbody>
630
                       <tr>
630
                       <tr>
631
-                        <td colspan="11" style="letter-spacing:5px;text-align:center;font-weight:520;font-size:16px;padding: 0px 8px;line-height: 30px;">
631
+                        <td colspan="12" style="letter-spacing:5px;text-align:center;font-weight:520;font-size:16px;padding: 0px 8px;line-height: 30px;">
632
                           监测记录
632
                           监测记录
633
                         </td>
633
                         </td>
634
                       </tr>
634
                       </tr>
680
                         </td>
680
                         </td>
681
                       </tr>
681
                       </tr>
682
                       <tr>
682
                       <tr>
683
-                        <td colspan="11" style="line-height:25px;text-align:left;">
683
+                        <td colspan="12" style="line-height:25px;text-align:left;">
684
                           医师记录:{{ summary.special_record ? summary.special_record : '' }}
684
                           医师记录:{{ summary.special_record ? summary.special_record : '' }}
685
                         </td>
685
                         </td>
686
                       </tr>
686
                       </tr>

+ 1 - 0
src/xt_pages/hospitalStation/chargeDetailManagement.vue View File

1776
   height: 36px;
1776
   height: 36px;
1777
   display: flex;
1777
   display: flex;
1778
   align-items: center;
1778
   align-items: center;
1779
+  padding-top: 10px;
1779
 }
1780
 }
1780
 
1781
 
1781
 .fixedCell {
1782
 .fixedCell {

+ 56 - 291
src/xt_pages/outpatientDoctorStation/batch_delete.vue View File

1
 <template>
1
 <template>
2
   <!--批量删除-->
2
   <!--批量删除-->
3
-  <div class="main-contain new-main-contain">
3
+  <div class="main-contain">
4
+    <div class="app-container">
4
     <div class="bannar_list">
5
     <div class="bannar_list">
5
       <div class="banner_left">
6
       <div class="banner_left">
6
         <div>
7
         <div>
76
     </div>
77
     </div>
77
 
78
 
78
     <el-container>
79
     <el-container>
79
-      <div class="mainLeft">
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
         <el-table
81
         <el-table
81
           border
82
           border
83
+          height="70vh"
82
           ref="multipleTable"
84
           ref="multipleTable"
83
           :data="tableData"
85
           :data="tableData"
84
           tooltip-effect="dark"
86
           tooltip-effect="dark"
85
-          style="width: 100%; min-height: 70vh"
87
+          style="width: 100%;"
86
           @selection-change="handleSelectionChange"
88
           @selection-change="handleSelectionChange"
87
           @current-change="test"
89
           @current-change="test"
88
           :row-style="{ color: '#303133' }"
90
           :row-style="{ color: '#303133' }"
97
           </el-table-column>
99
           </el-table-column>
98
         </el-table>
100
         </el-table>
99
       </div>
101
       </div>
100
-      <el-tabs type="border-card" v-if="isshow == 1 && list.length > 0">
102
+
103
+      <el-main>
104
+        <el-tabs type="border-card" v-if="isshow == 1 && list.length > 0" style="min-height: 70vh;">
101
         <el-tab-pane
105
         <el-tab-pane
102
           v-for="(item, index) in list"
106
           v-for="(item, index) in list"
103
           :key="index"
107
           :key="index"
258
           </el-table>
262
           </el-table>
259
         </el-tab-pane>
263
         </el-tab-pane>
260
       </el-tabs>
264
       </el-tabs>
265
+      </el-main>
266
+      
261
     </el-container>
267
     </el-container>
268
+  
269
+  </div>
262
   </div>
270
   </div>
263
 </template>
271
 </template>
264
 <script>
272
 <script>
595
 
603
 
596
 
604
 
597
 <style lang="scss" scoped>
605
 <style lang="scss" scoped>
606
+::v-deep .el-tabs__content {
607
+  padding: 8px;
608
+}
609
+
610
+/deep/ .el-table__fixed {
611
+  bottom: 0px !important;
612
+}
613
+.app-container {
614
+  padding: 10px;
615
+  background: #f6f8f9;
616
+  .el-container {
617
+  }
618
+}
619
+::v-deep .el-table__body-wrapper {
620
+  height: 500px;
621
+  overflow-y: scroll;
622
+}
598
 .bannar_list {
623
 .bannar_list {
599
-  width: 97%;
600
   margin-bottom: 10px;
624
   margin-bottom: 10px;
601
   display: flex;
625
   display: flex;
602
   justify-content: space-between;
626
   justify-content: space-between;
603
   .banner_left {
627
   .banner_left {
604
-    width: 1000px;
628
+    width: 960px;
605
     display: flex;
629
     display: flex;
606
     justify-content: space-around;
630
     justify-content: space-around;
607
     div {
631
     div {
632
+      white-space: nowrap;
608
       font-size: 14px;
633
       font-size: 14px;
609
       color: #606266;
634
       color: #606266;
610
-      white-space: nowrap;
611
     }
635
     }
612
   }
636
   }
613
 }
637
 }
614
-
638
+.frequence {
639
+  text-align: center;
640
+}
641
+/deep/ .el-button--small {
642
+  padding: 9px 6px;
643
+}
615
 .zone {
644
 .zone {
616
   //  margin-left: 30px;
645
   //  margin-left: 30px;
617
   //  text-align: left;
646
   //  text-align: left;
730
 }
759
 }
731
 .el-main {
760
 .el-main {
732
   padding-top: 0px;
761
   padding-top: 0px;
762
+  padding-left: 18px;
763
+  padding-right: 0px;
764
+  .el-tabs{
765
+    .el-tabs__content{
766
+      padding: 12px;
767
+      .el-table .el-table__header-wrapper table{
768
+        width: 100% !important;
769
+      }
770
+      .el-table .el-table__body-wrapper table{
771
+        width: 100% !important;
772
+      }
773
+    }
774
+  }
733
 }
775
 }
776
+
734
 .newMain {
777
 .newMain {
735
   .el-form-item__label {
778
   .el-form-item__label {
736
     width: 104px;
779
     width: 104px;
738
 }
781
 }
739
 .newDisinfectOne {
782
 .newDisinfectOne {
740
   .el-input--prefix .el-input__inner {
783
   .el-input--prefix .el-input__inner {
741
-    padding-left: 15px;
784
+    // padding-left: 15px;
785
+    padding-right: 0px !important;
742
   }
786
   }
743
 }
787
 }
744
 .stoppage {
788
 .stoppage {
767
 }
811
 }
768
 
812
 
769
 .el-table td .cell {
813
 .el-table td .cell {
770
-  padding: 0 10px;
771
-}
772
-</style>
773
-
774
-<style lang="scss" scoped>
775
-.new-main-contain {
776
-  height: 100%;
777
-  display: flex;
778
-  flex-direction: column;
779
-  padding: 10px;
780
-}
781
-
782
-.app-container {
783
-  height: 100%;
784
-}
785
-
786
-.mainCell {
787
-  height: 36px;
788
-  display: flex;
789
-  align-items: center;
790
-}
791
-
792
-.mainLeft {
793
-  width: 211px;
794
-  margin:0 20px;
795
-  /deep/ .el-table__body-wrapper {
796
-    height: 65vh;
797
-    overflow-y: scroll !important;
798
-  }
799
-}
800
-.mainRight {
801
-  margin-left: 10px;
802
-  flex: 1;
803
-  height: 100%;
804
-  display: flex;
805
-  flex-direction: column;
806
-  overflow-y: auto;
807
-  .cellSpan {
808
-    min-width: 80px;
809
-    display: inline-block;
810
-    margin-right: 10px;
811
-  }
812
-  /deep/ .el-table {
813
-    .el-table__header-wrapper {
814
-      .el-table__header {
815
-        width: 100% !important;
816
-      }
817
-    }
818
-
819
-    .el-table__body-wrapper {
820
-      height: auto !important;
821
-      .el-table__body {
822
-        width: 100% !important;
823
-      }
824
-    }
825
-  }
826
-}
827
-
828
-/deep/ .el-table__fixed {
829
-  bottom: 0 !important;
814
+  padding: 0 5px !important;
830
 }
815
 }
831
-.mainCenter {
832
-  display: flex;
833
-  flex: 1;
834
-}
835
-
836
-.centerLeft {
837
-  flex: 1;
838
-  display: flex;
839
-  flex-direction: column;
840
-  position: relative;
841
-
842
-  .el-form-item {
843
-    width: 32%;
844
-    margin-right: 1%;
845
-    float: left;
846
-  }
847
-
848
-  .el-form-item__label {
849
-    text-align: left;
850
-  }
851
-}
852
-.backColor {
853
-  background: #f6f8f9;
854
-  height: 5px;
855
-  margin-bottom: 5px;
856
-}
857
-.el-tabs {
858
-  min-width: 1373px;
859
-  height: 70vh;
860
-}
861
-
862
-.tabsBox {
863
-  position: relative;
864
-  height: 76%;
865
-  overflow-y: auto;
866
-  margin-bottom: 60px;
867
-
868
-  .el-tabs__item {
869
-    padding: 0 10px;
870
-  }
871
-}
872
-.preTabs {
873
-  height: 100%;
874
-  display: flex;
875
-  flex-direction: column;
876
-
877
-  .el-tabs__content {
878
-    flex: 1;
879
-    overflow-y: auto;
880
-  }
881
-}
882
-
883
-.costBox {
884
-  width: 100%;
885
-  height: 60px;
886
-  background: #fff;
887
-  position: absolute;
888
-  bottom: 0;
889
-  display: flex;
890
-  align-items: center;
891
-}
892
-
893
 .addTab {
816
 .addTab {
894
   position: absolute;
817
   position: absolute;
895
-  right: 0;
896
-  top: 14px;
818
+  right: 8px;
819
+  top: 3px;
897
   z-index: 20;
820
   z-index: 20;
898
 }
821
 }
899
-
900
-.centerRight {
901
-  width: 300px;
902
-  margin-left: 10px;
903
-  display: flex;
904
-  flex-direction: column;
905
-  position: relative;
906
-}
907
-
908
-.rightTab {
909
-  height: 40px;
910
-  width: 100%;
911
-  border: 1px solid #d2d2d2;
912
-  box-sizing: border-box;
913
-
914
-  p {
915
-    width: 50%;
916
-    height: 40px;
917
-    line-height: 40px;
918
-    text-align: center;
919
-    background: #eee;
920
-    float: left;
921
-  }
922
-
923
-  > p:last-child {
924
-    border-left: 1px solid #d2d2d2;
925
-    float: right;
926
-  }
927
-
928
-  .activeP {
929
-    background: #409eff;
930
-    color: #fff;
931
-  }
932
-}
933
-.comfirmBox {
934
-  width: 100%;
935
-  height: 60px;
936
-  background: #fff;
937
-  position: absolute;
938
-  bottom: 0;
939
-  display: flex;
940
-  align-items: center;
941
-  justify-content: space-between;
942
-}
943
-
944
-.mainHeader {
945
-  width: 100%;
946
-  background: #fff;
947
-  position: fixed;
948
-  z-index: 100;
949
-  height: 36px;
950
-}
951
-
952
-.titleBox {
953
-  position: fixed;
954
-  z-index: 99;
955
-  background: #fff;
956
-}
957
-
958
-.fixedCell {
959
-  position: fixed;
960
-  z-index: 99;
961
-  right: 30px;
962
-  background: #fff;
963
-  width: 300px;
964
-  display: flex;
965
-  justify-content: space-between;
966
-}
967
-.btn_crumbs {
968
-  .el-button {
969
-    text-align: center;
970
-    font-size: 12px;
971
-    padding: 10px 11px;
972
-  }
973
-}
974
-</style>
975
-
976
-<style lang="scss">
977
-.centerLeft {
978
-  .el-form-item__label {
979
-    text-align: left;
980
-  }
981
-}
982
-.tabsBox {
983
-  .el-tabs__item {
984
-    padding: 0 10px;
985
-  }
986
-
987
-  .el-tabs--bottom
988
-    .el-tabs--left
989
-    > .el-tabs__header
990
-    .el-tabs__item:nth-child(2),
991
-  .el-tabs--bottom
992
-    .el-tabs--right
993
-    > .el-tabs__header
994
-    .el-tabs__item:nth-child(2),
995
-  .el-tabs--bottom.el-tabs--border-card
996
-    > .el-tabs__header
997
-    .el-tabs__item:nth-child(2),
998
-  .el-tabs--bottom.el-tabs--card > .el-tabs__header .el-tabs__item:nth-child(2),
999
-  .el-tabs--top .el-tabs--left > .el-tabs__header .el-tabs__item:nth-child(2),
1000
-  .el-tabs--top .el-tabs--right > .el-tabs__header .el-tabs__item:nth-child(2),
1001
-  .el-tabs--top.el-tabs--border-card
1002
-    > .el-tabs__header
1003
-    .el-tabs__item:nth-child(2),
1004
-  .el-tabs--top.el-tabs--card > .el-tabs__header .el-tabs__item:nth-child(2) {
1005
-    padding: 0 10px;
1006
-  }
1007
-
1008
-  .el-tabs--bottom .el-tabs--left > .el-tabs__header .el-tabs__item:last-child,
1009
-  .el-tabs--bottom .el-tabs--right > .el-tabs__header .el-tabs__item:last-child,
1010
-  .el-tabs--bottom.el-tabs--border-card
1011
-    > .el-tabs__header
1012
-    .el-tabs__item:last-child,
1013
-  .el-tabs--bottom.el-tabs--card > .el-tabs__header .el-tabs__item:last-child,
1014
-  .el-tabs--top .el-tabs--left > .el-tabs__header .el-tabs__item:last-child,
1015
-  .el-tabs--top .el-tabs--right > .el-tabs__header .el-tabs__item:last-child,
1016
-  .el-tabs--top.el-tabs--border-card
1017
-    > .el-tabs__header
1018
-    .el-tabs__item:last-child,
1019
-  .el-tabs--top.el-tabs--card > .el-tabs__header .el-tabs__item:last-child {
1020
-    padding: 0 10px;
1021
-  }
1022
-
1023
-  .el-tabs--card > .el-tabs__header .el-tabs__item.is-active.is-closable {
1024
-    padding: 0 10px;
1025
-  }
1026
-}
1027
-.centerRight {
1028
-  .el-tabs__nav-scroll {
1029
-    display: flex;
1030
-  }
1031
-
1032
-  .el-tabs__nav {
1033
-    margin: 0 auto;
1034
-  }
1035
-
1036
-  .el-table th .cell,
1037
-  .el-table td .cell {
1038
-    padding: 0 2px;
1039
-  }
1040
-}
1041
-.preTabs {
1042
-  .el-tabs__content {
1043
-  }
1044
-}
1045
-.rightTabs {
1046
-  height: 100%;
1047
-
1048
-  .el-tabs__content {
1049
-  }
1050
-}
1051
-.centerDialog {
1052
-  .el-dialog__body {
1053
-    max-height: calc(100vh - 100px) !important;
1054
-    padding: 0 20px;
1055
-  }
1056
-}
1057
 </style>
822
 </style>

+ 2 - 7
src/xt_pages/outpatientDoctorStation/batch_replacement.vue View File

107
         <el-table
107
         <el-table
108
           :data="tableDatas"
108
           :data="tableDatas"
109
           style="width: 100%"
109
           style="width: 100%"
110
-          :height="tableHeight"
111
-          max-height="70vh"
112
           border
110
           border
113
           :row-style="{ color: '#303133' }"
111
           :row-style="{ color: '#303133' }"
114
           :header-cell-style="{
112
           :header-cell-style="{
125
           >
123
           >
126
             <template slot-scope="scope">
124
             <template slot-scope="scope">
127
               <el-select
125
               <el-select
128
-                filterable
129
                 v-model="scope.row.drug_name"
126
                 v-model="scope.row.drug_name"
130
                 placeholder="请选择"
127
                 placeholder="请选择"
131
                 @change="changeid(scope.row, scope.$index)"
128
                 @change="changeid(scope.row, scope.$index)"
240
         <el-table
237
         <el-table
241
           :data="project"
238
           :data="project"
242
           style="width: 100%"
239
           style="width: 100%"
243
-          :height="tableHeight"
244
-          max-height="70vh"
245
           border
240
           border
246
           :row-style="{ color: '#303133' }"
241
           :row-style="{ color: '#303133' }"
247
           :header-cell-style="{
242
           :header-cell-style="{
1080
 .mainRight {
1075
 .mainRight {
1081
   margin-left: 10px;
1076
   margin-left: 10px;
1082
   flex: 1;
1077
   flex: 1;
1083
-  height: 100%;
1078
+  height: 70vh;
1084
   display: flex;
1079
   display: flex;
1085
   flex-direction: column;
1080
   flex-direction: column;
1086
   overflow-y: auto;
1081
   overflow-y: auto;
1106
 }
1101
 }
1107
 
1102
 
1108
 /deep/ .el-table__fixed {
1103
 /deep/ .el-table__fixed {
1109
-  // height: 101px;
1104
+  height: 101px !important;
1110
   bottom: 0 !important;
1105
   bottom: 0 !important;
1111
   .el-table__fixed-body-wrapper {
1106
   .el-table__fixed-body-wrapper {
1112
     top: 45px !important;
1107
     top: 45px !important;