XMLWAN 2 년 전
부모
커밋
bbdfa80a12

+ 1 - 1
src/xt_pages/data/druguseTemplate.vue 파일 보기

@@ -889,7 +889,7 @@
889 889
                             v-for="item in unitsOption"
890 890
                             :key="item.id"
891 891
                             :label="item.name "
892
-                            :value="item.id"
892
+                            :value="item.name"
893 893
                           ></el-option>
894 894
                         </el-select>
895 895
                       </el-col>

+ 33 - 97
src/xt_pages/dialysis/batch_print/batch_print_order_six.vue 파일 보기

@@ -1207,8 +1207,7 @@
1207 1207
                           <td width="60" v-if="org_id == 9836">体温(°C)</td>
1208 1208
                           <td
1209 1209
                             width="50"
1210
-                            v-if="
1211
-                              org_id != 10121 && org_id != 9675 && org_id != 0
1210
+                            v-if=" org_id != 9538 && org_id != 10121 && org_id != 9675 && org_id != 0
1212 1211
                             "
1213 1212
                           >
1214 1213
                             电导度<br />(ms/cm)
@@ -1232,141 +1231,79 @@
1232 1231
                           >
1233 1232
                             置换量<br />(ml)
1234 1233
                           </td>
1234
+
1235 1235
                           <td
1236 1236
                             width="50"
1237
-                            v-if="
1238
-                              org_id == 9919 || org_id == 9538 || org_id == 9675
1239
-                            "
1237
+                            v-if="org_id == 9919 || org_id == 9538 || org_id == 9675 || org_id == 9671 "
1240 1238
                           >
1241 1239
                             KT/V
1242 1240
                           </td>
1243 1241
                           <td
1244 1242
                             width="50"
1245
-                            v-if="org_id == 9538 || org_id == 9675"
1243
+                            v-if="org_id == 9538 || org_id == 9675 || org_id == 9671"
1246 1244
                           >
1247 1245
                             血容量<br />(L)
1248 1246
                           </td>
1247
+
1249 1248
                           <td width="200">病情变化及处理</td>
1250 1249
                         </tr>
1250
+
1251 1251
                         <tr
1252 1252
                           v-for="(monitor_record, j) in record.monitor_records"
1253 1253
                           :key="j"
1254 1254
                         >
1255 1255
                           <td>
1256
-                            {{
1257
-                              getTime(monitor_record.operate_time, "{h}:{i}")
1258
-                            }}
1256
+                            {{getTime(monitor_record.operate_time, "{h}:{i}")}}
1259 1257
                           </td>
1260 1258
                           <td>
1261
-                            {{
1262
-                              monitor_record.systolic_blood_pressure
1263
-                                ? monitor_record.systolic_blood_pressure + "/"
1264
-                                : ""
1265
-                            }}{{
1266
-                              monitor_record.diastolic_blood_pressure
1267
-                                ? monitor_record.diastolic_blood_pressure
1268
-                                : ""
1269
-                            }}
1259
+                            {{ monitor_record.systolic_blood_pressure? monitor_record.systolic_blood_pressure + "/": ""}}
1260
+                            {{ monitor_record.diastolic_blood_pressure? monitor_record.diastolic_blood_pressure: ""}}
1270 1261
                           </td>
1271 1262
                           <td>
1272
-                            {{
1273
-                              monitor_record.pulse_frequency
1274
-                                ? monitor_record.pulse_frequency
1275
-                                : ""
1276
-                            }}
1263
+                            {{monitor_record.pulse_frequency? monitor_record.pulse_frequency: ""}}
1277 1264
                           </td>
1278 1265
                           <td>
1279
-                            {{
1280
-                              monitor_record.breathing_rate
1281
-                                ? monitor_record.breathing_rate
1282
-                                : ""
1283
-                            }}
1266
+                            {{ monitor_record.breathing_rate ? monitor_record.breathing_rate: ""}}
1284 1267
                           </td>
1285 1268
                           <td>
1286
-                            {{
1287
-                              monitor_record.blood_flow_volume
1288
-                                ? monitor_record.blood_flow_volume
1289
-                                : ""
1290
-                            }}
1269
+                            {{monitor_record.blood_flow_volume? monitor_record.blood_flow_volume: ""}}
1291 1270
                           </td>
1292 1271
                           <td>
1293
-                            {{
1294
-                              monitor_record.venous_pressure
1295
-                                ? monitor_record.venous_pressure
1296
-                                : ""
1297
-                            }}
1272
+                            {{monitor_record.venous_pressure? monitor_record.venous_pressure: ""}}
1298 1273
                           </td>
1299 1274
                           <td>
1300
-                            {{
1301
-                              monitor_record.transmembrane_pressure
1302
-                                ? monitor_record.transmembrane_pressure
1303
-                                : ""
1304
-                            }}
1275
+                             {{monitor_record.transmembrane_pressure ? monitor_record.transmembrane_pressure: ""}}
1305 1276
                           </td>
1306 1277
                           <td v-if="org_id != 9836">
1307
-                            {{
1308
-                              monitor_record.dialysate_temperature
1309
-                                ? monitor_record.dialysate_temperature
1310
-                                : ""
1311
-                            }}
1278
+                            {{ monitor_record.dialysate_temperature? monitor_record.dialysate_temperature: ""}}
1312 1279
                           </td>
1313 1280
                           <td v-if="org_id == 9836">
1314
-                            {{
1315
-                              monitor_record.temperature
1316
-                                ? monitor_record.temperature
1317
-                                : ""
1318
-                            }}
1281
+                            {{monitor_record.temperature? monitor_record.temperature: ""}}
1319 1282
                           </td>
1320
-                          <td
1321
-                            v-if="
1322
-                              org_id != 10121 && org_id != 9675 && org_id != 0
1323
-                            "
1324
-                          >
1325
-                            {{
1326
-                              monitor_record.conductivity
1327
-                                ? monitor_record.conductivity
1328
-                                : ""
1329
-                            }}
1330
-                          </td>
1331
-                          <td
1332
-                            v-if="
1333
-                              org_id == 10121 || org_id == 9675 || org_id == 0
1334
-                            "
1335
-                          >
1336
-                            {{
1337
-                              monitor_record.blood_oxygen_saturation
1338
-                                ? monitor_record.blood_oxygen_saturation
1339
-                                : ""
1340
-                            }}
1341
-                          </td>
1342
-                          <td
1343
-                            v-if="
1344
-                              org_id != 9538 &&
1345
-                              org_id != 10121 &&
1346
-                              org_id != 9675 &&
1347
-                              org_id != 0
1348
-                            "
1349
-                          >
1283
+
1284
+                          <!-- <td v-if="org_id != 10121 && org_id != 9675 && org_id != 0">
1285
+                            {{monitor_record.conductivity? monitor_record.conductivity : ""}}
1286
+                          </td> -->
1287
+                         <td v-if=" org_id != 9538 &&org_id != 10121 && org_id != 9675 &&org_id != 0">
1350 1288
                             {{
1351 1289
                               monitor_record.conductivity ? monitor_record.conductivity : ""
1352 1290
                             }}
1353 1291
                           </td>
1354 1292
 
1293
+                          <td v-if="org_id == 10121 || org_id == 9675 || org_id == 0">
1294
+                            {{monitor_record.blood_oxygen_saturation? monitor_record.blood_oxygen_saturation: ""}}
1295
+                          </td>
1296
+
1297
+                        
1298
+
1355 1299
                           <td v-if="org_id == 9538">
1356
-                            {{
1357
-                              monitor_record.sodium_concentration
1358
-                                ? monitor_record.sodium_concentration
1359
-                                : ""
1360
-                            }}
1300
+                            {{ monitor_record.sodium_concentration? monitor_record.sodium_concentration: ""}}
1361 1301
                           </td>
1362 1302
 
1363 1303
                           <td>
1364
-                            <span v-if="monitor_record.operate_time">{{
1365
-                              monitor_record.ultrafiltration_volume
1366
-                                ? monitor_record.ultrafiltration_volume
1367
-                                : ""
1368
-                            }}</span>
1304
+                            <span>{{monitor_record.ultrafiltration_volume? monitor_record.ultrafiltration_volume: ""}}</span>
1369 1305
                           </td>
1306
+
1370 1307
                           <td
1371 1308
                             v-if="
1372 1309
                               record.prescription.mode_id == 2 ||
@@ -1383,18 +1320,17 @@
1383 1320
                           </td>
1384 1321
                           <td
1385 1322
                             width="50"
1386
-                            v-if="
1387
-                              org_id == 9919 || org_id == 9538 || org_id == 9675
1388
-                            "
1323
+                            v-if="org_id == 9919 || org_id == 9538 || org_id == 9675  || org_id == 9671"
1389 1324
                           >
1390 1325
                             {{ monitor_record.ktv }}
1391 1326
                           </td>
1392 1327
                           <td
1393 1328
                             width="50"
1394
-                            v-if="org_id == 9538 || org_id == 9675"
1329
+                            v-if="org_id == 9538 || org_id == 9675 || org_id == 9671"
1395 1330
                           >
1396 1331
                             {{ monitor_record.accumulated_blood_volume }}
1397 1332
                           </td>
1333
+
1398 1334
                           <td style="line-height: 16px; padding: 0px">
1399 1335
                             <div
1400 1336
                               style="

+ 4 - 1
src/xt_pages/dialysis/details/index.vue 파일 보기

@@ -333,7 +333,10 @@
333 333
                 
334 334
                 </div>
335 335
                 <div class="printCell" style="display:flex;justify-content: space-around;">
336
-                  <span style="display: block;width: 50%;">处方脱水量:{{ main_collection.prescription.target_ultrafiltration }}L</span>
336
+                  <span style="display: block;width: 50%;">处方脱水量:{{ main_collection.prescription.target_ultrafiltration }}
337
+                    <span v-if="this.$store.getters.xt_user.org.id == 10278">ml</span> 
338
+                    <span v-else>L</span>
339
+                  </span>
337 340
                   <span style="display: block;width: 50%;">
338 341
                     总量:{{main_collection.dialysissolution.anticoagulant_zongliang}}
339 342
                   <span v-if="main_collection.dialysissolution.anticoagulant == 1">

+ 20 - 13
src/xt_pages/dialysis/template/DialysisPrintOrderFortySeven.vue 파일 보기

@@ -1731,21 +1731,15 @@
1731 1731
                   >
1732 1732
                     <span v-if="advice.parent_id > 0">---></span>
1733 1733
                     <span>{{ advice.advice_name }}</span>
1734
+                    <span v-if="advice.project && advice.project.project_name">{{ advice.project.project_name }}</span>
1734 1735
                     <span v-if="advice && advice.advice_desc"
1735 1736
                       >({{ advice.advice_desc
1736 1737
                       }}{{ advice.drug_spec_unit }})</span
1737 1738
                     >
1738
-                    <span v-if="advice.prescribing_number"
1739
-                      >&nbsp;&nbsp; {{ advice.prescribing_number
1740
-                      }}{{ advice.prescribing_number_unit }}</span
1741
-                    >
1742
-                    <span v-if="advice.single_dose != 0"
1743
-                      >{{ advice.single_dose
1744
-                      }}{{ advice.single_dose_unit }}</span
1745
-                    >
1746
-                    <span v-if="advice.parent_id == 0">{{
1747
-                      advice.delivery_way
1748
-                    }}</span>
1739
+                    <span v-if="advice.prescribing_number" >&nbsp;&nbsp; {{ advice.prescribing_number}}{{ advice.prescribing_number_unit }}</span>
1740
+                    <span v-if="advice.single_dose != 0" >{{ advice.single_dose }}{{ advice.single_dose_unit }}</span>
1741
+                     <span v-if="advice.project && advice.project.unit">{{ advice.project.unit }}</span>
1742
+                    <span v-if="advice.parent_id == 0">{{advice.delivery_way}}</span>
1749 1743
                     <span v-if="advice.parent_id == 0">{{
1750 1744
                       advice.execution_frequency
1751 1745
                     }}</span>
@@ -1771,6 +1765,16 @@
1771 1765
                       srcset=""
1772 1766
                       v-else
1773 1767
                     />
1768
+                    <span v-if="setAdminUserES(advice.doctor) == ''">{{
1769
+                      getAdminUser(advice.doctor)
1770
+                    }}</span>
1771
+                    <img
1772
+                      style="height: 30px"
1773
+                      :src="setAdminUserES(advice.doctor)"
1774
+                      alt=""
1775
+                      srcset=""
1776
+                      v-else
1777
+                    />
1774 1778
                   </td>
1775 1779
                   <!-- <td height="35px">
1776 1780
                   <span v-if="setAdminUserES(advice.checker) == ''">{{getAdminUser(advice.checker)}}</span>
@@ -3099,6 +3103,7 @@ export default {
3099 3103
         this.prescription = response.data.data.dialysisPrescription;
3100 3104
         console.log("透析处方", this.prescription);
3101 3105
         let project_arr = response.data.data.projects
3106
+        console.log("project_Arr2332323232",project_arr)
3102 3107
         project_arr.forEach(o => {
3103 3108
           if(o.project.project_name && o.project.project_name!=""){
3104 3109
             this.project.push(o)
@@ -3251,8 +3256,7 @@ export default {
3251 3256
           this.advices.push(item);
3252 3257
         }
3253 3258
         this.loading = false;
3254
-        this.doctor_advices =
3255
-          response.data.data.advices == null ? [] : response.data.data.advices.concat(this.project);
3259
+        this.doctor_advices = response.data.data.advices == null ? [] : response.data.data.advices.concat(this.project);
3256 3260
           // .concat(this.project)
3257 3261
           console.log( this.doctor_advices,' this.doctor_advices this.doctor_advices')
3258 3262
         for (let index = 0; index < this.doctor_advices.length; index++) {
@@ -3337,6 +3341,7 @@ export default {
3337 3341
         //    this.advice_groups.push(group)
3338 3342
         //   }
3339 3343
         // }
3344
+        console.log("dotoreadvcie233232323223",this.doctor_advices)
3340 3345
         if (this.doctor_advices.length <= 6) {
3341 3346
           var nl = 6;
3342 3347
           this.print_length = 6;
@@ -3354,6 +3359,7 @@ export default {
3354 3359
         }
3355 3360
 
3356 3361
         this.totollength = this.doctor_advices.length + this.monitors.length;
3362
+        console.log(" this.totollength", this.totollength)
3357 3363
         if (this.totollength > 18) {
3358 3364
           var temp_advice_length = 17 - this.monitors.length;
3359 3365
           var doctor_advices_1 = [];
@@ -3370,6 +3376,7 @@ export default {
3370 3376
           this.doctor_advices_2 = doctor_advices_2;
3371 3377
         }
3372 3378
         console.log(this.doctor_advices,'doctor_advices');
3379
+        console.log(" this.doctor_advices_2",this.doctor_advices_2)
3373 3380
       } else {
3374 3381
         this.loading = false;
3375 3382
         this.$message.error("请求数据失败");

+ 4 - 1
src/xt_pages/outpatientDoctorStation/doctorDesk.vue 파일 보기

@@ -437,7 +437,10 @@
437 437
                 
438 438
                 </div>
439 439
                 <div class="printCell" style="display:flex;justify-content: space-around;">
440
-                  <span style="display: block;width: 50%;">处方脱水量:{{ main_collection.prescription.target_ultrafiltration }}L</span>
440
+                  <span style="display: block;width: 50%;">处方脱水量:
441
+                    <span v-if="this.$store.getters.xt_user.org.id == 10278">ml</span> 
442
+                    <span v-else>L</span>
443
+                    </span>
441 444
                   <span style="display: block;width: 50%;">
442 445
                     总量:{{main_collection.dialysissolution.anticoagulant_zongliang}}
443 446
                   <span v-if="main_collection.dialysissolution.anticoagulant == 1">

+ 1 - 1
src/xt_pages/qcd/treatmentControlAnalysis/components/TimePersonal.vue 파일 보기

@@ -563,7 +563,7 @@ export default {
563 563
        console.log("hhh2323323232",this.DialysisData)
564 564
        import('@/vendor/Export2Excel').then(excel => {
565 565
         const tHeader = ['序号','姓名', '年龄', '透析号','HD','HDF','HD+HP','HP','HF','SCUF','IUF','HFHD','HFHD+HP','HFR','HDF+HP','CRRT','腹水回输','IUF+HD','UF','HD+','I-HDF','HD高通','CVVH','CVVHD','CVVHDF','PE','血浆胆红素吸附+HP','HPD','HDP','总数']
566
-        const filterVal = ['index','name', 'age', 'dialysis_no','HD','HDF','HDHP','HP','HF','SCUF','IUF','HFHD','HFHDHP','HFR','HDFHP','CRRT','OTR','IUF+HD','UF','HD+','I-HDF','HD高通','CVVH','CVVHD','CVVHDF','PE','XUEHP','HPD','HDP','total_count']
566
+        const filterVal = ['index','name', 'age', 'dialysis_no','HD','HDF','HDHP','HP','HF','SCUF','IUF','HFHD','HFHDHP','HFR','HDFHP','CRRT','OTR','IUF+HD','UF','HD+','I-HDF','HDGT','CVVH','CVVHD','CVVHDF','PE','XUEHP','HPD','HDP','total_count']
567 567
 
568 568
         const data = this.formatJson(filterVal, this.DialysisData)
569 569
 

+ 25 - 19
src/xt_pages/stock/drugs/query.vue 파일 보기

@@ -708,9 +708,8 @@ export default {
708 708
           this.tableList[i].min_unit,
709 709
           this.tableList[i].min_number
710 710
         );
711
-        if (this.end_time == 0) {
712 711
           this.tableList[i].outCount = this.getWarehouseOutInfo(
713
-            this.tableList[i].drug_warehouse_out,
712
+            this.tableList[i].drug_warehouse_info,
714 713
             this.tableList[i].max_unit,
715 714
             this.tableList[i].min_unit,
716 715
             this.tableList[i].min_number
@@ -721,16 +720,16 @@ export default {
721 720
             this.tableList[i].min_unit,
722 721
             this.tableList[i].min_number
723 722
           );
724
-        }
725
-        if (this.end_time != 0) {
726
-          this.tableList[i].outCount =
727
-            this.getOutCount(this.tableList[i].id) +
728
-            this.getAutoCount(this.tableList[i].id);
729
-          this.tableList[i].overplusCount =
730
-            this.getWarehoseInfo(this.tableList[i].drug_warehouse_info) -
731
-            this.getOutCount(this.tableList[i].id) -
732
-            this.getAutoCount(this.tableList[i].id);
733
-        }
723
+      
724
+        // if (this.end_time != 0) {
725
+        //   this.tableList[i].outCount =
726
+        //     this.getOutCount(this.tableList[i].id) +
727
+        //     this.getAutoCount(this.tableList[i].id);
728
+        //   this.tableList[i].overplusCount =
729
+        //     this.getWarehoseInfo(this.tableList[i].drug_warehouse_info) -
730
+        //     this.getOutCount(this.tableList[i].id) -
731
+        //     this.getAutoCount(this.tableList[i].id);
732
+        // }
734 733
       }
735 734
       import("@/vendor/Export2Excel").then((excel) => {
736 735
         const tHeader = [
@@ -1087,10 +1086,9 @@ export default {
1087 1086
       var max_str = "";
1088 1087
       var min_str = "";
1089 1088
       var total = 0;
1090
-      var newarr = arr;
1091
-      if (newarr.length > 0) {
1092
-        for (let i = 0; i < newarr.length; i++) {
1093
-          total += newarr[i].stock_max_number + newarr[i].stock_min_number;
1089
+      if (arr!=null&&arr.length > 0) {
1090
+        for (let i = 0; i < arr.length; i++) {
1091
+          total += arr[i].stock_max_number + arr[i].stock_min_number;
1094 1092
         }
1095 1093
       }
1096 1094
       if (total < min_number) {
@@ -1113,13 +1111,21 @@ export default {
1113 1111
     getWarehouseOutInfo(arr, max_unit, min_unit, min_number) {
1114 1112
       var min_str = "";
1115 1113
       var max_str = "";
1116
-      var total = 0;
1117
-      if (arr.length > 0) {
1114
+      var total_one = 0;
1115
+      var total_two = 0
1116
+      var total =0 
1117
+      if (arr!=null&&arr.length > 0) {
1118
+        for (let i = 0; i < arr.length; i++) {
1119
+          total_one += parseInt(arr[i].warehousing_count);
1120
+        }
1121
+      }
1122
+      if (arr!=null&&arr.length > 0) {
1118 1123
         for (let i = 0; i < arr.length; i++) {
1119
-          total += parseInt(arr[i].count);
1124
+          total_two += parseInt(arr[i].stock_max_number)+ parseInt(arr[i].stock_min_number);
1120 1125
         }
1121 1126
       }
1122 1127
 
1128
+      total = total_one - total_two
1123 1129
       if (total < min_number) {
1124 1130
         min_str = total + min_unit;
1125 1131
       }

+ 1 - 1
src/xt_pages/user/components/PatientDetail.vue 파일 보기

@@ -1000,7 +1000,7 @@
1000 1000
               <div class="proj">
1001 1001
                 <span class="proj_title">日期:</span>
1002 1002
                 <!-- {{ getTime(patientPrint.created_time) }} -->
1003
-                <span v-if="org_id == 3907 || org_id == 9671|| org_id == 10138|| org_id == 9675">{{
1003
+                <span v-if="org_id == 3907 || org_id == 9671|| org_id == 10138|| org_id == 9675 || org_id == 10394">{{
1004 1004
                   getTime(patientPrint.created_time)
1005 1005
                 }}</span>
1006 1006
                 <span v-else>{{ printDate }}</span>