see999 преди 3 години
родител
ревизия
0ee977889f

+ 1 - 1
src/xt_pages/dialysis/template/DialysisPrintOrderThirtyOne.vue Целия файл

@@ -139,7 +139,7 @@
139 139
           (<label-box :isChecked="predialysis.blood_access_part_opera_name.indexOf('内瘘-左') > -1 ? true : false" showValue="左"></label-box>
140 140
               <label-box :isChecked="predialysis.blood_access_part_opera_name.indexOf('内瘘-右') > -1 ? true : false" showValue="右"></label-box>)
141 141
           &nbsp;
142
-          <label-box :isChecked="predialysis.blood_access_part_opera_name.indexOf('中心静脉置管-左-颈内') > -1 ? true : predialysis.blood_access_part_opera_name.indexOf('中心静脉置管-左-锁骨下') > -1 ? true : predialysis.blood_access_part_opera_name.indexOf('中心静脉置管-左-股') > -1 ? true : predialysis.blood_access_part_opera_name.indexOf('中心静脉置管-右-颈内') > -1 ? true : predialysis.blood_access_part_opera_name.indexOf('中心静脉置管-右-锁骨下') > -1 ? true : predialysis.blood_access_part_opera_name.indexOf('中心静脉置管-右-股') > -1 ? true : false" showValue="中心静脉置管"></label-box>
142
+          <label-box :isChecked="predialysis.blood_access_part_opera_name.indexOf('中心静脉置管-左-颈内') > -1 ? true : predialysis.blood_access_part_opera_name.indexOf('中心静脉置管-左-锁骨下') > -1 ? true : predialysis.blood_access_part_opera_name.indexOf('中心静脉置管-左-股') > -1 ? true : predialysis.blood_access_part_opera_name.indexOf('中心静脉置管-右-颈内') > -1 ? true : predialysis.blood_access_part_opera_name.indexOf('中心静脉置管-右-锁骨下') > -1 ? true : predialysis.blood_access_part_opera_name.indexOf('中心静脉置管-右-股') > -1 ? true : predialysis.blood_access_part_opera_name.indexOf('中心静脉置管-右') > -1 ? true : predialysis.blood_access_part_opera_name.indexOf('中心静脉置管-左') > -1 ? true : false" showValue="中心静脉置管"></label-box>
143 143
           (<label-box :isChecked="predialysis.blood_access_part_opera_name.indexOf('中心静脉置管-左-颈内') > -1 ? true : predialysis.blood_access_part_opera_name.indexOf('中心静脉置管-左-锁骨下') > -1 ? true : predialysis.blood_access_part_opera_name.indexOf('中心静脉置管-左-股') > -1 ? true : false" showValue="左"></label-box>
144 144
               <label-box :isChecked="predialysis.blood_access_part_opera_name.indexOf('中心静脉置管-右-颈内') > -1 ? true : predialysis.blood_access_part_opera_name.indexOf('中心静脉置管-右-锁骨下') > -1 ? true : predialysis.blood_access_part_opera_name.indexOf('中心静脉置管-右-股') > -1 ? true : false" showValue="右"></label-box>)部位
145 145
           &nbsp;

+ 12 - 31
src/xt_pages/outpatientDoctorStation/components/deskPrescription.vue Целия файл

@@ -540,6 +540,9 @@
540 540
           {value: 18, label: "预防接种"},
541 541
           {value: 19, label: "门诊输血"},
542 542
           {value: 91, label: "新冠肺炎门诊"},
543
+          {value: 1111, label: "精一"},
544
+          {value: 1112, label: "精二"},
545
+
543 546
         ],
544 547
 
545 548
         isLastOrNextVisible: false,
@@ -1951,36 +1954,11 @@
1951 1954
               this.doctorValue = info.doctor_id
1952 1955
               this.departmentValue = info.departments
1953 1956
             } else {
1954
-              if (hisPatientInfo.doctor != 0 && hisPatientInfo.department != 0) {
1955
-                this.doctorValue = hisPatientInfo.doctor
1956
-                this.departmentValue = hisPatientInfo.department
1957
-              } else {
1958
-                if (admin_info.user_type == 2) {
1959
-                  this.doctorValue = admin_info.admin_user_id
1960
-                  if (admin_info.department_id == 0) {
1961
-                    if (this.department.length > 0) {
1962
-                      if (department && department.length > 0) {
1963
-                        this.departmentValue = department[0].id
1964
-
1965
-                      } else {
1966
-
1967
-                        this.departmentValue = ''
1957
+              this.doctorValue = this.doctors[0].id
1958
+              this.departmentValue = this.department[0].id
1968 1959
 
1969
-                      }
1970
-                    } else {
1971
-                      this.departmentValue = ''
1972
-                    }
1973
-                  } else {
1974
-                    this.departmentValue = admin_info.department_id
1975
-                  }
1976
-                } else {
1977
-                  this.doctorValue = doctors[0].admin_user_id
1978
-                }
1979
-                if (this.doctorValue == 0) {
1980
-                  this.doctorValue = ''
1981
-                }
1982
-              }
1983 1960
             }
1961
+
1984 1962
             if (info.register_type == 0) {
1985 1963
               for (let i = 0; i < this.register.length; i++) {
1986 1964
                 this.register_type = this.register[0].value
@@ -1990,7 +1968,6 @@
1990 1968
             }
1991 1969
             this.diagnose = []
1992 1970
 
1993
-
1994 1971
             if(info.id == 0){
1995 1972
               if(last_info.diagnosis.length == 0){
1996 1973
                 this.diagnose = []
@@ -2008,7 +1985,6 @@
2008 1985
                   this.diagnose.push(parseInt(info.diagnosis.split(",")[i]))
2009 1986
 
2010 1987
                 }
2011
-                // this.diagnose = info.diagnosis.split(",")
2012 1988
 
2013 1989
               }
2014 1990
 
@@ -2827,12 +2803,16 @@
2827 2803
         })
2828 2804
       },
2829 2805
       selectTeam(row) {
2806
+        console.log(row)
2830 2807
         var arr = []
2831 2808
         for (let i = 0; i < row.length; i++) {
2832 2809
           arr.push(row[i].item_id)
2833 2810
         }
2811
+        console.log(arr)
2834 2812
         var ids = arr.join(',')
2813
+        console.log(ids)
2835 2814
         var strArr = ids.split(',')
2815
+        console.log(strArr)
2836 2816
         var res = []//接收不重复的数据
2837 2817
 
2838 2818
         for (var i = 0; i < strArr.length; i++) {
@@ -2848,6 +2828,7 @@
2848 2828
             res.push(strArr[i])
2849 2829
           }
2850 2830
         }
2831
+        console.log(res)
2851 2832
         var idstr = res.join(',')
2852 2833
         const params = {
2853 2834
           project_id: idstr
@@ -3266,4 +3247,4 @@
3266 3247
         height: 15px;
3267 3248
     }
3268 3249
 
3269
-</style>
3250
+</style>

+ 7 - 7
src/xt_pages/outpatientDoctorStation/components/prescriptionTable.vue Целия файл

@@ -117,13 +117,13 @@
117 117
       </el-table-column>
118 118
       <el-table-column align="center" prop="execution_frequency" width="80" label="频率">
119 119
         <template slot-scope="scope">
120
-          <el-input v-model="scope.row.execution_frequency" placeholder=""></el-input>
120
+          <el-input v-model="scope.row.execution_frequency" @input="getProjectSingleDose(scope)" placeholder=""></el-input>
121 121
         </template>
122 122
       </el-table-column>
123 123
       <el-table-column align="center" prop="number_days" width="70" label="天数">
124 124
         <template slot-scope="scope">
125 125
           <div style="display:flex;align-items:center;">
126
-            <el-input v-model="scope.row.number_days" @input="getProjectDay(scope)" placeholder=""></el-input>
126
+            <el-input v-model="scope.row.number_days" @input="getProjectSingleDose(scope)" placeholder=""></el-input>
127 127
             <div>{{'天'}}</div>
128 128
           </div>
129 129
         </template>
@@ -399,18 +399,18 @@
399 399
         if(scope.row.drug.min_unit == scope.row.single_dose_unit){
400 400
           if(scope.row.prescribing_number_unit == scope.row.drug.min_unit){
401 401
             console.log(1)
402
-            scope.row.prescribing_number = scope.row.single_dose * this.getNum(scope.row.execution_frequency) * scope.row.day
402
+            scope.row.prescribing_number = scope.row.single_dose * (scope.row.execution_frequency ? this.getNum(scope.row.execution_frequency) : 1) * (scope.row.day ? scope.row.day : 1)
403 403
           }else{
404 404
             console.log(12)
405
-            scope.row.prescribing_number = Math.ceil((scope.row.single_dose * this.getNum(scope.row.execution_frequency)) * scope.row.day / scope.row.drug.min_number) 
405
+            scope.row.prescribing_number = Math.ceil((scope.row.single_dose * (scope.row.execution_frequency ? this.getNum(scope.row.execution_frequency) : 1)) * (scope.row.day ? scope.row.day : 1) / scope.row.drug.min_number) 
406 406
           }
407 407
         }else{
408 408
           if(scope.row.prescribing_number_unit == scope.row.drug.min_unit){
409 409
             console.log(123)
410
-            scope.row.prescribing_number = Math.ceil((scope.row.single_dose * this.getNum(scope.row.execution_frequency) * scope.row.day) / scope.row.drug.dose) 
410
+            scope.row.prescribing_number = Math.ceil((scope.row.single_dose * (scope.row.execution_frequency ? this.getNum(scope.row.execution_frequency) : 1) * (scope.row.day ? scope.row.day : 1)) / scope.row.drug.dose) 
411 411
           }else{
412 412
             console.log(1234)
413
-            scope.row.prescribing_number = Math.ceil((scope.row.single_dose * this.getNum(scope.row.execution_frequency) * scope.row.day) / scope.row.drug.dose / scope.row.drug.min_number)
413
+            scope.row.prescribing_number = Math.ceil((scope.row.single_dose * (scope.row.execution_frequency ? this.getNum(scope.row.execution_frequency) : 1) * (scope.row.day ? scope.row.day : 1)) / scope.row.drug.dose / scope.row.drug.min_number)
414 414
           }
415 415
         }
416 416
         if(scope.row.prescribing_number == 0){
@@ -472,7 +472,7 @@
472 472
         }
473 473
       },
474 474
       getProjectSingleDose(scope){
475
-        this.prescription.project[scope.$index].total = scope.row.single_dose * scope.row.number_days
475
+        this.prescription.project[scope.$index].total = scope.row.single_dose * (scope.row.execution_frequency ? this.getNum(scope.row.execution_frequency) : 1) * (scope.row.number_days ? scope.row.number_days : 1)
476 476
         if(this.prescription.project[scope.$index].total == 0){
477 477
           this.prescription.project[scope.$index].total = 1
478 478
         }

+ 6 - 1
src/xt_pages/outpatientDoctorStation/recordTemplate/printOne.vue Целия файл

@@ -78,7 +78,12 @@
78 78
         </div>
79 79
         <div class="otherInfo">
80 80
             <div class="otherName">体格检查:</div>
81
-            <div style="flex:1;">无</div>
81
+            <div style="flex:1;">
82
+                <span>体温:{{ history.temperature ? history.temperature + '℃' : '/' }}</span>
83
+                <span>脉搏:{{ history.pulse ? history.pulse + '次/分' : '/' }}</span>
84
+                <span>呼吸:{{ history.breathing ? history.breathing + '次/分' : '/' }}</span>
85
+                <span>血压:{{ history.sbp }}/{{ history.dbp }}mmHg</span>
86
+            </div>
82 87
         </div>
83 88
         <div class="otherInfo">
84 89
             <div class="otherName">门诊诊断:</div>