Browse Source

10月9,80号

yq1 5 months ago
parent
commit
a42f68ea66

+ 76 - 84
src/xt_pages/dialysis/batch_print/batch_print_order_eighty.vue View File

@@ -101,19 +101,10 @@
101 101
             </div>
102 102
           </div>
103 103
           <div class="row">
104
-            
105
-            <div class="inline_block" style="margin-left: 10px">
104
+            <div style="">
106 105
               诊断:
107
-              <div
108
-                class="under_line"
109
-                style="
110
-                  width: 640px;
111
-                  text-align: left;
112
-                  word-break: break-all;
113
-                  word-wrap: break-word;
114
-                  display: inline-block;
115
-                  white-space: unset;
116
-                "
106
+              <div style="border-bottom: 1px solid black;width: 95%;text-align: left;word-break: break-all;
107
+                  word-wrap: break-word;display: inline-block;white-space: unset;"
117 108
               >
118 109
                 {{ record.patient.diagnose }}
119 110
               </div>
@@ -162,9 +153,9 @@
162 153
                       <div class="inline_block" style="flex: 1">
163 154
                         透析机型号:
164 155
                         <div class="under_line" style="width: 60%; text-align: center">
165
-                          {{record.assessment_before_dislysis.machine_type ? 
166
-                            record.assessment_before_dislysis.machine_type : ""
167
-                          }}
156
+                          <span v-if="record.bed_id !=0 && record.bed_id !=''">
157
+                            {{ getnumberlist(record.bed_id) }} 
158
+                          </span>
168 159
                         </div>
169 160
                       </div>
170 161
                       <div class="inline_block" style="flex: 1">
@@ -254,9 +245,9 @@
254 245
                         </div>
255 246
                       </div>
256 247
 
257
-                      <div class="inline_block" style="flex: 2;">
248
+                      <div class="inline_block" style="flex: 1;">
258 249
                         血管通路:
259
-                        <div class="under_line" style="width: 70%;">
250
+                        <div class="under_line" style="width: 68%;white-space: normal;">
260 251
                           <!-- {{ QueryPartById(predialysis.blood_access_part_id) }} -->
261 252
                           {{
262 253
                             record.assessment_before_dislysis &&
@@ -272,7 +263,7 @@
272 263
                         </div>
273 264
                       </div>
274 265
                       
275
-                      <div class="inline_block" style="flex: 2">
266
+                      <div class="inline_block" style="flex: 1">
276 267
                         导管:
277 268
                         <div class="under_line"
278 269
                           style="width: 80%; text-align: center;white-space: normal;"
@@ -1026,12 +1017,9 @@
1026 1017
                         </div>
1027 1018
                         °C
1028 1019
                       </div>
1029
-                      <div class="inline_block"
1030
-                        style="margin-left: 10px; flex: 1"
1031
-                      >
1020
+                      <div class="inline_block" style="flex: 1">
1032 1021
                         P:
1033
-                        <div
1034
-                          class="under_line"
1022
+                        <div class="under_line"
1035 1023
                           style="width: 50px; text-align: center"
1036 1024
                         >
1037 1025
                           {{
@@ -1042,12 +1030,9 @@
1042 1030
                         </div>
1043 1031
                         次/分
1044 1032
                       </div>
1045
-                      <div class="inline_block"
1046
-                        style="margin-left: 10px; flex: 1"
1047
-                      >
1033
+                      <div class="inline_block" style="flex: 1">
1048 1034
                         R:
1049
-                        <div
1050
-                          class="under_line"
1035
+                        <div class="under_line"
1051 1036
                           style="width: 50px; text-align: center"
1052 1037
                         >
1053 1038
                           {{
@@ -1058,9 +1043,7 @@
1058 1043
                         </div>
1059 1044
                         次/分
1060 1045
                       </div>
1061
-                      <div class="inline_block"
1062
-                        style="margin-left: 10px; flex: 1.5"
1063
-                      >
1046
+                      <div class="inline_block" style="flex: 1.5">
1064 1047
                         BP:
1065 1048
                         <div
1066 1049
                           class="under_line"
@@ -1085,35 +1068,13 @@
1085 1068
                         </div>
1086 1069
                         mmHg
1087 1070
                       </div>
1088
-                      <div class="inline_block" style="flex: 1.5">
1089
-                        实际治疗时间:
1090
-                        <div class="under_line"
1091
-                          style="width: 30px; text-align: center"
1092
-                        >
1093
-                          {{
1094
-                            record.assessment_after_dislysis.actual_treatment_hour
1095
-                              ? record.assessment_after_dislysis.actual_treatment_hour
1096
-                              : "/"
1097
-                          }}
1098
-                        </div>
1099
-                        h
1100
-                        <div class="under_line"
1101
-                          style="width: 30px; text-align: center"
1102
-                        >
1103
-                          {{
1104
-                            record.assessment_after_dislysis.actual_treatment_minute
1105
-                              ? record.assessment_after_dislysis.actual_treatment_minute
1106
-                              : 0
1107
-                          }}
1108
-                        </div>
1109
-                        min
1110
-                      </div>
1071
+                      
1111 1072
                     </div>
1112 1073
                     <div class="row" style="padding: 2px 0; line-height: 23px; display: flex">
1113
-                      <div class="inline_block" style="flex: 2.5">
1074
+                      <div class="inline_block" style="flex: 2">
1114 1075
                         透析器凝血:
1115 1076
                         <div class="under_line"
1116
-                          style=" width: 170px; text-align: center; white-space: normal;"
1077
+                          style=" width: 60%; text-align: center; white-space: normal;"
1117 1078
                         >
1118 1079
                           {{ record.assessment_after_dislysis.cruor ? record.assessment_after_dislysis.cruor : "/" }}
1119 1080
                         </div>
@@ -1121,7 +1082,7 @@
1121 1082
                       <div class="inline_block" style="flex: 2">
1122 1083
                         内瘘:
1123 1084
                         <div class="under_line"
1124
-                          style=" width: 170px; text-align: center; white-space: normal;"
1085
+                          style=" width: 75%; text-align: center; white-space: normal;"
1125 1086
                         >
1126 1087
                           {{
1127 1088
                             record.assessment_after_dislysis.internal_fistula
@@ -1130,16 +1091,39 @@
1130 1091
                           }}
1131 1092
                         </div>
1132 1093
                       </div>
1133
-                      <div class="inline_block" style="flex: 4">
1094
+                      <div class="inline_block" style="flex: 2">
1134 1095
                         导管:
1135 1096
                         <div class="under_line"
1136
-                          style="min-width: 120px; text-align: center"
1097
+                          style="min-width: 75%; text-align: center"
1137 1098
                         >
1138 1099
                           {{
1139 1100
                             record.assessment_after_dislysis.catheter ? record.assessment_after_dislysis.catheter : "/"
1140 1101
                           }}
1141 1102
                         </div>
1142 1103
                       </div>
1104
+                      <div class="inline_block" style="flex: 2">
1105
+                        实际治疗时间:
1106
+                        <div class="under_line"
1107
+                          style="width: 30px; text-align: center"
1108
+                        >
1109
+                          {{
1110
+                            record.assessment_after_dislysis.actual_treatment_hour
1111
+                              ? record.assessment_after_dislysis.actual_treatment_hour
1112
+                              : "/"
1113
+                          }}
1114
+                        </div>
1115
+                        h
1116
+                        <div class="under_line"
1117
+                          style="width: 30px; text-align: center"
1118
+                        >
1119
+                          {{
1120
+                            record.assessment_after_dislysis.actual_treatment_minute
1121
+                              ? record.assessment_after_dislysis.actual_treatment_minute
1122
+                              : 0
1123
+                          }}
1124
+                        </div>
1125
+                        min
1126
+                      </div>
1143 1127
                     </div>
1144 1128
                     <div class="row" style="padding: 2px 0; line-height: 23px; display: flex">
1145 1129
                       <div class="inline_block" style="flex: 1">
@@ -1559,6 +1543,7 @@ export default {
1559 1543
         "腹痛",
1560 1544
       ],
1561 1545
       org_id: "",
1546
+      number_list:[],
1562 1547
     };
1563 1548
   },
1564 1549
   created() {
@@ -1634,7 +1619,8 @@ export default {
1634 1619
         var resp = rs.data;
1635 1620
         if (resp.state == 1) {
1636 1621
           this.records = this.records.concat(resp.data.schedules);
1637
-
1622
+          console.log('');
1623
+          this.number_list = resp.data.numberList
1638 1624
           //华池
1639 1625
           if(this.org_id ==10440){
1640 1626
 
@@ -1872,7 +1858,7 @@ export default {
1872 1858
                 }
1873 1859
                 let objInfo = {}
1874 1860
                 this.records[i].his_advices.forEach((item,index)=>{
1875
-                  console.log("itemwowowowowo",item)
1861
+                  // console.log("itemwowowowowo",item)
1876 1862
                   let { new_groupno } = item
1877 1863
                   if(!objInfo[new_groupno]){
1878 1864
                     objInfo[new_groupno] = {
@@ -1922,8 +1908,6 @@ export default {
1922 1908
             }
1923 1909
           }
1924 1910
 
1925
-
1926
-
1927 1911
           console.log("时间我哦我",this.records)
1928 1912
 
1929 1913
           // this.records.forEach(o => {
@@ -2006,6 +1990,15 @@ export default {
2006 1990
         return ''
2007 1991
       }
2008 1992
     },
1993
+    // 透析型号
1994
+    getnumberlist(id){
1995
+      const options = this.number_list
1996
+      for(let i in options){
1997
+        if(id == options[i].id){
1998
+          return options[i].number_type
1999
+        }
2000
+      }
2001
+    },
2009 2002
     getzongliang(id){
2010 2003
       const options = this.anticoagulantsConfit
2011 2004
       if(id != 0){
@@ -2138,7 +2131,6 @@ export default {
2138 2131
         return "";
2139 2132
       }
2140 2133
       if (key[id] in this.operatorMaps) {
2141
-        console.log('key[id]this.operatorMaps1111',key,id,this.operatorMaps[key[id]].es_url);
2142 2134
         return this.operatorMaps[key[id]].es_url;
2143 2135
       } else {
2144 2136
         return "";
@@ -2216,26 +2208,26 @@ export default {
2216 2208
     // },
2217 2209
     getAge: function(val) {
2218 2210
 
2219
-     if (val.id_card_no) {
2220
-       var thisLen = val.id_card_no.length
2221
-
2222
-       var birth = ''
2223
-       if (thisLen == 15) {
2224
-         birth = '19' + val.id_card_no.substr(6, 6)
2225
-       } else {
2226
-         birth = val.id_card_no.substr(6, 8)
2227
-       }
2228
-       var birthtwo =
2229
-         birth.substr(0, 4) +
2230
-         '-' +
2231
-         birth.substr(4, 2) +
2232
-         '-' +
2233
-         birth.substr(6, 2)
2234
-
2235
-       var age = jsGetAge(birthtwo, '-')
2236
-       return age
2237
-     }
2238
-   },
2211
+      if (val.id_card_no) {
2212
+        var thisLen = val.id_card_no.length
2213
+
2214
+        var birth = ''
2215
+        if (thisLen == 15) {
2216
+          birth = '19' + val.id_card_no.substr(6, 6)
2217
+        } else {
2218
+          birth = val.id_card_no.substr(6, 8)
2219
+        }
2220
+        var birthtwo =
2221
+          birth.substr(0, 4) +
2222
+          '-' +
2223
+          birth.substr(4, 2) +
2224
+          '-' +
2225
+          birth.substr(6, 2)
2226
+
2227
+        var age = jsGetAge(birthtwo, '-')
2228
+        return age
2229
+      }
2230
+    },
2239 2231
     newAdviceGroupObject: function () {
2240 2232
       return Object.assign(
2241 2233
         {},

+ 58 - 52
src/xt_pages/dialysis/template/DialysisPrintOrdereighty.vue View File

@@ -88,10 +88,10 @@
88 88
           </div>
89 89
         </div>
90 90
         <div class="row">
91
-          <div class="inline_block" style="">
91
+          <div style="">
92 92
             诊断:
93
-            <div class="under_line"
94
-              style=" width: 640px; text-align: left;word-wrap: break-word;white-space: inherit;"
93
+            <div style="border-bottom: 1px solid black; width: 95%; text-align: left;word-wrap: break-word;
94
+                white-space: inherit;display: inline-block;"
95 95
             >
96 96
               {{ patientInfo.diagnose }}
97 97
             </div>
@@ -133,7 +133,12 @@
133 133
                     <div class="inline_block" style="flex: 1">
134 134
                       透析机型号:
135 135
                       <div class="under_line" style="width: 60%; text-align: center">
136
-                        {{predialysis.machine_type ? predialysis.machine_type : ""}}
136
+                        <span v-if="dialysisOrder && dialysisOrder.bed_id !=0">
137
+                          {{ getnumberlist(dialysisOrder.bed_id) }} 
138
+                        </span>
139
+                        <span v-else>
140
+                          {{ getnumberlist(patientInfo.DialysisSchedule.bed_id) }} 
141
+                        </span>
137 142
                       </div>
138 143
                     </div>
139 144
                     <div class="inline_block" style="flex: 1">
@@ -224,16 +229,16 @@
224 229
                       </div>
225 230
                     </div>
226 231
 
227
-                    <div class="inline_block" style="flex: 2;">
232
+                    <div class="inline_block" style="flex: 1;">
228 233
                       血管通路:
229
-                      <div class="under_line" style="width: 70%;">
234
+                      <div class="under_line" style="width: 68%;white-space: normal;">
230 235
                         <!-- {{ QueryPartById(predialysis.blood_access_part_id) }} -->
231 236
                         {{ predialysis.blood_access_part_id }}
232 237
                         {{ predialysis.blood_access_part_opera_name }}
233 238
                       </div>
234 239
                     </div>
235 240
                     
236
-                    <div class="inline_block" style="flex: 2">
241
+                    <div class="inline_block" style="flex: 1">
237 242
                       导管:
238 243
                       <div class="under_line"
239 244
                         style="width: 80%; text-align: center;white-space: normal;"
@@ -725,9 +730,6 @@
725 730
                            <span v-if="it&& it.remark">{{ it.remark }}</span>&nbsp;&nbsp;&nbsp;
726 731
 
727 732
                          </span>
728
-
729
-
730
-
731 733
                         </td>
732 734
 
733 735
                         <td height="32px">
@@ -873,9 +875,7 @@
873 875
                       </div>
874 876
                       °C
875 877
                     </div>
876
-                    <div class="inline_block"
877
-                      style="margin-left: 10px; flex: 1"
878
-                    >
878
+                    <div class="inline_block" style="flex: 1">
879 879
                       P:
880 880
                       <div
881 881
                         class="under_line"
@@ -889,9 +889,7 @@
889 889
                       </div>
890 890
                       次/分
891 891
                     </div>
892
-                    <div class="inline_block"
893
-                      style="margin-left: 10px; flex: 1"
894
-                    >
892
+                    <div class="inline_block" style="flex: 1">
895 893
                       R:
896 894
                       <div
897 895
                         class="under_line"
@@ -905,9 +903,7 @@
905 903
                       </div>
906 904
                       次/分
907 905
                     </div>
908
-                    <div class="inline_block"
909
-                      style="margin-left: 10px; flex: 1.5"
910
-                    >
906
+                    <div class="inline_block"style="flex: 1.5">
911 907
                       BP:
912 908
                       <div
913 909
                         class="under_line"
@@ -932,38 +928,15 @@
932 928
                       </div>
933 929
                       mmHg
934 930
                     </div>
935
-                    <div class="inline_block" style="flex: 1.5">
936
-                      实际治疗时间:
937
-                      <div class="under_line"
938
-                        style="width: 30px; text-align: center"
939
-                      >
940
-                        {{
941
-                          afterdialysis.actual_treatment_hour
942
-                            ? afterdialysis.actual_treatment_hour
943
-                            : "/"
944
-                        }}
945
-                      </div>
946
-                      h
947
-                      <div class="under_line"
948
-                        style="width: 30px; text-align: center"
949
-                      >
950
-                        {{
951
-                          afterdialysis.actual_treatment_minute
952
-                            ? afterdialysis.actual_treatment_minute
953
-                            : 0
954
-                        }}
955
-                      </div>
956
-                      min
957
-                    </div>
958 931
                   </div>
959 932
 
960 933
                   <div class="row" style="padding: 2px 0; line-height: 23px; display: flex">
961
-                    <div class="inline_block" style="flex: 2.5">
934
+                    <div class="inline_block" style="flex: 2">
962 935
                       透析器凝血:
963 936
                       <div
964 937
                         class="under_line"
965 938
                         style="
966
-                          width: 170px;
939
+                          width: 60%;
967 940
                           text-align: center;
968 941
                           white-space: normal;
969 942
                         "
@@ -976,7 +949,7 @@
976 949
                       <div
977 950
                         class="under_line"
978 951
                         style="
979
-                          width: 170px;
952
+                          width: 75%;
980 953
                           text-align: center;
981 954
                           white-space: normal;
982 955
                         "
@@ -988,17 +961,39 @@
988 961
                         }}
989 962
                       </div>
990 963
                     </div>
991
-                    <div class="inline_block" style="flex: 4">
964
+                    <div class="inline_block" style="flex: 2">
992 965
                       导管:
993
-                      <div
994
-                        class="under_line"
995
-                        style="min-width: 120px; text-align: center"
966
+                      <div class="under_line"
967
+                        style="width: 75%; text-align: center;white-space: normal;"
996 968
                       >
997 969
                         {{
998 970
                           afterdialysis.catheter ? afterdialysis.catheter : "/"
999 971
                         }}
1000 972
                       </div>
1001 973
                     </div>
974
+                    <div class="inline_block" style="flex: 2">
975
+                      实际治疗时间:
976
+                      <div class="under_line"
977
+                        style="width: 30px; text-align: center"
978
+                      >
979
+                        {{
980
+                          afterdialysis.actual_treatment_hour
981
+                            ? afterdialysis.actual_treatment_hour
982
+                            : "/"
983
+                        }}
984
+                      </div>
985
+                      h
986
+                      <div class="under_line"
987
+                        style="width: 30px; text-align: center"
988
+                      >
989
+                        {{
990
+                          afterdialysis.actual_treatment_minute
991
+                            ? afterdialysis.actual_treatment_minute
992
+                            : 0
993
+                        }}
994
+                      </div>
995
+                      min
996
+                    </div>
1002 997
                   </div>
1003 998
 
1004 999
                   <div class="row"
@@ -2300,7 +2295,8 @@ export default {
2300 2295
       org_id: 0,
2301 2296
       projectsOne: [],
2302 2297
       schedule_date_one:"",
2303
-      new_doctor_advice_list:[]
2298
+      new_doctor_advice_list:[],
2299
+      number_list:[],
2304 2300
     };
2305 2301
   },
2306 2302
   methods: {
@@ -2827,6 +2823,7 @@ export default {
2827 2823
         } else {
2828 2824
           this.patientInfo.first_dialysis_date = "";
2829 2825
         }
2826
+        this.number_list = response.data.data.numberList
2830 2827
         this.check = response.data.data.check;
2831 2828
         this.xtdate = response.data.data.xtdate;
2832 2829
         this.predialysis = response.data.data.PredialysisEvaluation;
@@ -3227,12 +3224,12 @@ export default {
3227 3224
                   }
3228 3225
                 }
3229 3226
 
3230
-                console.log("newArrwowoow",newArr)
3227
+                // console.log("newArrwowoow",newArr)
3231 3228
 
3232 3229
               this.new_doctor_advice_list = []
3233 3230
               this.new_doctor_advice_list.push(...newArr)
3234 3231
 
3235
-              console.log("newArrwowoow",this.new_doctor_advice_list)
3232
+              // console.log("newArrwowoow",this.new_doctor_advice_list)
3236 3233
             }
3237 3234
           }
3238 3235
         }
@@ -3444,6 +3441,15 @@ export default {
3444 3441
       }else{
3445 3442
         return ''
3446 3443
       }
3444
+    },
3445
+    // 透析型号
3446
+    getnumberlist(id){
3447
+      const options = this.number_list
3448
+      for(let i in options){
3449
+        if(id == options[i].id){
3450
+          return options[i].number_type
3451
+        }
3452
+      }
3447 3453
     }
3448 3454
 
3449 3455
   },