Bladeren bron

hah阿凡达

28169 23 uur geleden
bovenliggende
commit
0b4fb165cf

+ 10 - 1
src/store/modules/globalConfig.js Bestand weergeven

@@ -70939,7 +70939,16 @@ const global_config = {
70939 70939
       name: '低血压'
70940 70940
     }
70941 70941
     ],
70942
-    arterial_tube: [{
70942
+    arterial_tube: [
70943
+      {
70944
+        id: -1,
70945
+        name: '有'
70946
+      },
70947
+      {
70948
+        id: -2,
70949
+        name: '无'
70950
+      },
70951
+      {
70943 70952
       id: 1,
70944 70953
       name: '动脉管道0'
70945 70954
     },

+ 2 - 0
src/xt_pages/dialysis/details/dialog/MultiSelectBox/index.vue Bestand weergeven

@@ -14,6 +14,7 @@
14 14
         :key="index"
15 15
       ></el-checkbox>
16 16
     </el-checkbox-group>
17
+
17 18
     <el-input
18 19
       v-show="propsForm.isShowTextArea"
19 20
       v-model="customData"
@@ -60,6 +61,7 @@ export default {
60 61
     },
61 62
 
62 63
     getValue: function() {
64
+     
63 65
       var returnData = [];
64 66
       for (var index in this.checkedData) {
65 67
         returnData.push(this.checkedData[index]);

+ 111 - 5
src/xt_pages/dialysis/details/dialog/dialysisPrescriptionDialog.vue Bestand weergeven

@@ -815,7 +815,7 @@
815 815
                         </el-form-item>
816 816
                     </el-col>
817 817
 
818
-                    <el-col :span="8" v-if="isShows('透析器')">
818
+                    <el-col :span="8" v-if="isShows('透析器') && this.$store.getters.xt_user.template_info.org_id != 10727">
819 819
                         <el-form-item label="透析器:" prop="dialysis_dialyszers" :rules="isCheckmust('透析器')">
820 820
                             <el-input v-model="dialysisPrescription.dialysis_dialyszers"
821 821
                                       @focus="showInnerDialog('7')"></el-input>
@@ -823,13 +823,30 @@
823 823
                     </el-col>
824 824
 
825 825
 
826
-                    <el-col :span="8" v-if="isShows('灌流器')">
826
+                    <el-col :span="8" v-if="isShows('透析器') && this.$store.getters.xt_user.template_info.org_id == 10727"  >
827
+                        <el-form-item label="透析器:" prop="dialysis_dialyszers" :rules="isCheckmust('透析器')">
828
+                            <el-input v-model="dialysisPrescription.dialysis_dialyszers"
829
+                                      @focus="showInnerDialog('20')"></el-input>
830
+                        </el-form-item>
831
+                    </el-col>
832
+
833
+                
834
+
835
+
836
+                    <el-col :span="8" v-if="isShows('灌流器')" && this.$store.getters.xt_user.template_info.org_id != 10727>
827 837
                         <el-form-item label="灌流器:" prop="dialysis_irrigation" :rules="isCheckmust('灌流器')">
828 838
                             <el-input v-model="dialysisPrescription.dialysis_irrigation"
829 839
                                       @focus="showInnerDialog('8')"></el-input>
830 840
                         </el-form-item>
831 841
                     </el-col>
832 842
 
843
+                    <el-col :span="8">
844
+                        <el-form-item label="灌流器:" prop="dialysis_irrigation" :rules="isCheckmust('灌流器')">
845
+                            <el-input v-model="dialysisPrescription.dialysis_irrigation"
846
+                                      @focus="showInnerDialog('21')"></el-input>
847
+                        </el-form-item>
848
+                    </el-col>
849
+
833 850
                      <el-col :span="8" v-if="isShows('滤过器')">
834 851
                         <el-form-item label="滤过器:" prop="dialysis_strainer" :rules="isCheckmust('滤过器')">
835 852
                             <el-input v-model="dialysisPrescription.dialysis_strainer"
@@ -1437,6 +1454,13 @@
1437 1454
                 v-on:dialog-cancle="innerDialogCancle"
1438 1455
         ></multi-select-box>
1439 1456
 
1457
+        <radio-select-box
1458
+         :propsForm="InnerDialogPropsOne"
1459
+         v-on:dialog-comfirm="innerDialogComfirmOne"
1460
+         v-on:dialog-cancle="innerDialogCancleOne">
1461
+
1462
+        </radio-select-box>
1463
+
1440 1464
 
1441 1465
      <el-dialog
1442 1466
       title="提示"
@@ -1482,10 +1506,11 @@
1482 1506
   import MsgTip from './MsgTip'
1483 1507
   import request from '@/utils/request'
1484 1508
   import multiSelectBox from './MultiSelectBox'
1509
+  import radioSelectBox from './RadioSelectBox'
1485 1510
   const moment = require('moment')
1486 1511
   export default {
1487 1512
     name: 'dialysisPrescriptionDialog',
1488
-    components: { MsgTip, multiSelectBox },
1513
+    components: { MsgTip, multiSelectBox,radioSelectBox },
1489 1514
     props: {
1490 1515
       mode_id: {
1491 1516
         type: Number
@@ -1720,6 +1745,14 @@
1720 1745
           titles: '',
1721 1746
           type: '' // 不同弹框类型,用来匹配数据
1722 1747
         },
1748
+        InnerDialogPropsOne:{
1749
+          values: [],
1750
+          visibility: false,
1751
+          isShowTextArea: true,
1752
+          customContent: '',
1753
+          titles: '',
1754
+          type: '' // 不同弹框类型,用来匹配数据
1755
+        },
1723 1756
         advice_start_time: '',
1724 1757
         showTxt: '',
1725 1758
         start_time: '',
@@ -1949,8 +1982,14 @@
1949 1982
 
1950 1983
       },
1951 1984
       showInnerDialog: function(val) {
1985
+        console.log("处方=======================",val)
1986
+        
1987
+        if(val == 20 || val == 21){
1988
+          this.InnerDialogPropsOne.visibility = true
1989
+        }else{
1990
+          this.InnerDialogProps.visibility = true
1991
+        }
1952 1992
 
1953
-        this.InnerDialogProps.visibility = true
1954 1993
         switch (val) {
1955 1994
           case '5': // 透析器/灌流器
1956 1995
 
@@ -1975,12 +2014,14 @@
1975 2014
             for (let i = 0; i < this.dialyzers.length; i++) {
1976 2015
               this.dialyzers[i].name = this.dialyzers[i].specification_name
1977 2016
             }
2017
+            
1978 2018
             this.InnerDialogProps.values = this.dialyzers
1979 2019
             this.InnerDialogProps.titles = '透析器'
1980 2020
             this.InnerDialogProps.type = 'dialyzers'
1981 2021
             this.InnerDialogProps.selected = this.dialysisPrescription.dialysis_dialyszers
1982 2022
             this.InnerDialogProps.isShowTextArea = false
1983 2023
             break
2024
+          
1984 2025
           case '8':
1985 2026
             for (let i = 0; i < this.irrigations.length; i++) {
1986 2027
               this.irrigations[i].name = this.irrigations[i].specification_name
@@ -2035,10 +2076,32 @@ mu
2035 2076
             this.InnerDialogProps.isShowTextArea = false
2036 2077
 
2037 2078
             break
2079
+            case '20': // 透析器
2080
+             
2081
+              for (let i = 0; i < this.dialyzers.length; i++) {
2082
+                this.dialyzers[i].name = this.dialyzers[i].specification_name
2083
+              }
2084
+              this.InnerDialogPropsOne.values = this.dialyzers
2085
+              this.InnerDialogPropsOne.titles = '透析器'
2086
+              this.InnerDialogPropsOne.type = 'dialyzers'
2087
+              this.InnerDialogPropsOne.selected = this.dialysisPrescription.dialysis_dialyszers
2088
+              this.InnerDialogPropsOne.isShowTextArea = false
2089
+              break
2090
+           case '21':
2091
+            for (let i = 0; i < this.irrigations.length; i++) {
2092
+              this.irrigations[i].name = this.irrigations[i].specification_name
2093
+            }
2094
+            this.InnerDialogPropsOne.values = this.irrigations
2095
+            this.InnerDialogPropsOne.titles = '灌流器'
2096
+            this.InnerDialogPropsOne.type = 'irrigations'
2097
+            this.InnerDialogPropsOne.selected = this.dialysisPrescription.dialysis_irrigation
2098
+            this.InnerDialogPropsOne.isShowTextArea = false
2099
+            break
2038 2100
         }
2039 2101
       },
2040 2102
       innerDialogComfirm: function(val) {
2041
-
2103
+          
2104
+       
2042 2105
 
2043 2106
         this.InnerDialogProps.visibility = false
2044 2107
         switch (val.type) {
@@ -2124,6 +2187,49 @@ mu
2124 2187
         this.InnerDialogProps.visibility = false
2125 2188
       },
2126 2189
 
2190
+
2191
+      innerDialogComfirmOne: function(val) {
2192
+       
2193
+          this.InnerDialogPropsOne.visibility = false
2194
+          switch (val.type) {
2195
+            case 'dialyzers':
2196
+              var newArr = []
2197
+              if(this.dialyzers!=null && this.dialyzers.length >0){
2198
+                for(let i=0;i<this.dialyzers.length;i++){
2199
+                  if(this.dialyzers[i].specification_name == val.value){
2200
+                    newArr.push(val.value)
2201
+                  }
2202
+                }
2203
+              }
2204
+              if(newArr!=null && newArr.length >0){
2205
+               this.dialysisPrescription.dialysis_dialyszers = newArr.join(',')
2206
+              }else{
2207
+                this.dialysisPrescription.dialysis_dialyszers = ""
2208
+              }
2209
+  
2210
+              break
2211
+            case 'irrigations':
2212
+              var newArr = []
2213
+              console.log("irrigations0000000000000000",this.irrigations)
2214
+              if(this.irrigations!=null && this.irrigations.length >0){
2215
+                for(let i=0;i<this.irrigations.length;i++){
2216
+                  if(this.irrigations[i].specification_name == val.value){
2217
+                    newArr.push(val.value)
2218
+                  }
2219
+                }
2220
+              }
2221
+              if(newArr!=null && newArr.length>0){
2222
+               this.dialysisPrescription.dialysis_irrigation = newArr.join(',')
2223
+              }else{
2224
+                this.dialysisPrescription.dialysis_irrigation = ""
2225
+              }
2226
+              break
2227
+           
2228
+          }
2229
+        },
2230
+      innerDialogCancleOne: function() {
2231
+       this.InnerDialogPropsOne.visibility = false
2232
+      },
2127 2233
       getDryWeight() {
2128 2234
         if (this.dry_weight != null && this.dry_weight.id > 0) {
2129 2235
           return this.dry_weight.dry_weight

+ 61 - 20
src/xt_pages/dialysis/template/DialysisPrintOrdereightytwo.vue Bestand weergeven

@@ -114,9 +114,9 @@
114 114
         <div class="row">
115 115
           抗凝药物&nbsp;&nbsp;
116 116
           <div class="inline_block under_line" style="width:90%;text-align: left;">
117
-            {{ prescription.anticoagulant_name ? prescription.anticoagulant_name : '/' }}
117
+            {{ prescription.anticoagulant ? prescription.anticoagulant : '/' }}
118 118
             <div class="inline_block">&nbsp;&nbsp;&nbsp;
119
-              剂量:首
119
+              剂量:首
120 120
               <div class="inline_block" style="width:50px;text-align:center">
121 121
                   {{ prescription.anticoagulant_shouji ? prescription.anticoagulant_shouji : "/" }}
122 122
               </div>
@@ -339,6 +339,7 @@
339 339
           <tbody>
340 340
               <tr style="line-height:20px;">
341 341
                 <td width="60">时间</td>
342
+                <td width="30">据测血压</td>
342 343
                 <td width="60">BP<br/>mmHg</td>
343 344
                 <td width="40">脉搏<br/>次/分</td>
344 345
                 <td width="40">血流速<br/>ml/min</td>
@@ -355,9 +356,13 @@
355 356
                 <td style="height:35px;line-height:35px">&nbsp;
356 357
                   {{getTime(monitor.operate_time,'{h}:{i}')}}
357 358
                 </td>
359
+                <td>
360
+                  {{monitor.is_pressure}}
361
+                </td>
358 362
                 <td>&nbsp;{{monitor.systolic_blood_pressure?monitor.systolic_blood_pressure:''}} <span v-if="monitor.systolic_blood_pressure||monitor.diastolic_blood_pressure">/</span>
359 363
                   {{monitor.diastolic_blood_pressure?monitor.diastolic_blood_pressure:''}}
360 364
                 </td>
365
+               
361 366
                 <td>&nbsp;{{monitor.pulse_frequency?monitor.pulse_frequency:''}}</td>
362 367
                 <td>&nbsp;{{monitor.blood_flow_volume?monitor.blood_flow_volume:''}}</td>
363 368
                 <td>&nbsp;{{monitor.venous_pressure?monitor.venous_pressure:''}}
@@ -633,6 +638,16 @@
633 638
             </div>
634 639
             mmol/L
635 640
           </div>
641
+          <div class="inline_block" style="margin-left: 10px">
642
+            葡萄糖:
643
+            <div
644
+              class="under_line"
645
+              style="width: 50px; text-align: center"
646
+            >
647
+              {{ prescription.amylaceum ? prescription.amylaceum : "/" }}
648
+            </div>
649
+            mmol/L
650
+          </div>
636 651
       </div>
637 652
     </div>
638 653
   </div>
@@ -1306,12 +1321,51 @@ export default {
1306 1321
           this.doctorForm.url = doctorname.url
1307 1322
           var prescription = response.data.data.dialysisPrescription
1308 1323
           console.log('透析处方', prescription)
1324
+          if (prescription.anticoagulant === 1) {
1325
+            prescription.anticoagulant = '无肝素'
1326
+          }
1327
+          if (prescription.anticoagulant === 2) {
1328
+            prescription.anticoagulant = '普通肝素'
1329
+          }
1330
+          if (prescription.anticoagulant === 3) {
1331
+            prescription.anticoagulant = '低分子肝素'
1332
+          }
1333
+          if (prescription.anticoagulant === 4) {
1334
+            prescription.anticoagulant = '阿加曲班'
1335
+          }
1336
+          if (prescription.anticoagulant === 5) {
1337
+            prescription.anticoagulant = '枸橼酸钠'
1338
+          }
1309 1339
           if (prescription.anticoagulant == 6) {
1310 1340
             prescription.anticoagulant = '低分子肝素钙'
1311 1341
           }
1312 1342
           if (prescription.anticoagulant == 7) {
1313 1343
             prescription.anticoagulant = '低分子肝素钠'
1314 1344
           }
1345
+          if (prescription.anticoagulant == 8) {
1346
+            prescription.anticoagulant = '依诺肝素'
1347
+          }
1348
+          if (prescription.anticoagulant == 9) {
1349
+            prescription.anticoagulant = '达肝素'
1350
+          }
1351
+          if (prescription.anticoagulant == 10) {
1352
+            prescription.anticoagulant = '体外抗凝'
1353
+          }
1354
+          if (prescription.anticoagulant == 11) {
1355
+            prescription.anticoagulant = '那屈肝素'
1356
+          }
1357
+          if (prescription.anticoagulant == 12) {
1358
+            prescription.anticoagulant = '无抗凝剂'
1359
+          }
1360
+          if (prescription.anticoagulant == 13) {
1361
+            prescription.anticoagulant = '那屈肝素钙'
1362
+          }
1363
+          if (prescription.anticoagulant == 14) {
1364
+            prescription.anticoagulant = '肝素钙注射液'
1365
+          }
1366
+          if (prescription.anticoagulant == 15) {
1367
+            prescription.anticoagulant = '甲磺酸萘莫司他'
1368
+          }
1315 1369
           if (prescription.blood_access === 1) {
1316 1370
             prescription.blood_access = '正常'
1317 1371
           }
@@ -1348,21 +1402,7 @@ export default {
1348 1402
           if (prescription.replacement_way === 4) {
1349 1403
             prescription.replacement_way = '混合置换'
1350 1404
           }
1351
-          if (prescription.anticoagulant === 1) {
1352
-            prescription.anticoagulant = '无肝素'
1353
-          }
1354
-          if (prescription.anticoagulant === 2) {
1355
-            prescription.anticoagulant = '普通肝素'
1356
-          }
1357
-          if (prescription.anticoagulant === 3) {
1358
-            prescription.anticoagulant = '低分子肝素'
1359
-          }
1360
-          if (prescription.anticoagulant === 4) {
1361
-            prescription.anticoagulant = '阿加曲班'
1362
-          }
1363
-          if (prescription.anticoagulant === 5) {
1364
-            prescription.anticoagulant = '枸橼酸钠'
1365
-          }
1405
+     
1366 1406
           this.prescription = prescription
1367 1407
           var receiverTreatmentAccess =
1368 1408
             response.data.data.receiverTreatmentAccess
@@ -1732,10 +1772,11 @@ export default {
1732 1772
       const options = this.anticoagulantsConfit
1733 1773
       if(val != ''){
1734 1774
         for(let i in options){
1735
-          if(val == options[i].id){
1775
+          if(val == options[i].name){
1736 1776
             return options[i].shouji_unit
1737 1777
           }
1738 1778
         }
1779
+       
1739 1780
       }else{
1740 1781
         return ''
1741 1782
       }
@@ -1744,7 +1785,7 @@ export default {
1744 1785
       const options = this.anticoagulantsConfit
1745 1786
       if(val != ''){
1746 1787
         for(let i in options){
1747
-          if(val == options[i].id){
1788
+          if(val == options[i].name){
1748 1789
             return options[i].weichi_unit
1749 1790
           }
1750 1791
         }
@@ -1756,7 +1797,7 @@ export default {
1756 1797
       const options = this.anticoagulantsConfit
1757 1798
       if(val != ''){
1758 1799
         for(let i in options){
1759
-          if(val == options[i].id){
1800
+          if(val == options[i].name){
1760 1801
             return options[i].zongliang_unit
1761 1802
           }
1762 1803
         }