Bläddra i källkod

Merge branch '20201109_pc_vue_new_branch' of http://git.shengws.com/csx/Vue_New into 20201109_pc_vue_new_branch

XMLWAN 3 år sedan
förälder
incheckning
26898d8d2f

+ 91 - 73
src/xt_pages/dialysis/template/DialysisPrintOrderFortySeven.vue Visa fil

@@ -113,6 +113,13 @@
113 113
             >
114 114
               {{ item.name }}
115 115
             </div>
116
+            <div
117
+              class="under_line"
118
+              style="width: 100px; text-align: center"
119
+              v-if="!receiverTreatmentAccess.way"
120
+            >
121
+              /
122
+            </div>
116 123
           </div>
117 124
 
118 125
           <div class="inline_block">
@@ -126,6 +133,13 @@
126 133
             >
127 134
               {{ item.name }}
128 135
             </div>
136
+            <div
137
+              class="under_line"
138
+              style="width: 100px; text-align: center"
139
+              v-if="!receiverTreatmentAccess.consciousness"
140
+            >
141
+              /
142
+            </div>
129 143
           </div>
130 144
 
131 145
           <div class="inline_block" style="margin-left: 10px">
@@ -334,7 +348,7 @@
334 348
                       <div
335 349
                         class="under_line"
336 350
                         style="
337
-                          width: 180px;
351
+                          width: 250px;
338 352
                           text-align: center;
339 353
                           white-space: normal;
340 354
                         "
@@ -354,7 +368,7 @@
354 368
                       导管:
355 369
                       <div
356 370
                         class="under_line"
357
-                        style="width: 150px; text-align: center"
371
+                        style="width: 270px; text-align: center"
358 372
                       >
359 373
                         {{ predialysis.catheter ? predialysis.catheter : "/" }}
360 374
                       </div>
@@ -747,11 +761,11 @@
747 761
                         }}
748 762
                       </div>
749 763
                     </div>
750
-                    <div class="inline_block" style="flex: 1">
764
+                    <div class="inline_block" style="padding-right: 15px">
751 765
                       灌流器:
752 766
                       <div
753 767
                         class="under_line"
754
-                        style="width: 70px; text-align: center"
768
+                        style="width: 130px; text-align: center"
755 769
                       >
756 770
                         {{
757 771
                           prescription.dialysis_irrigation
@@ -763,30 +777,30 @@
763 777
 
764 778
                     <div class="inline_block" style="flex: 1">
765 779
                       穿刺方式:
766
-                        <div
767
-                          class="under_line"
768
-                          style="width: 100px; text-align: center">
769
-                         {{
770
-                            predialysis.puncture_way
771
-                              ? predialysis.puncture_way
772
-                              : "/"
773
-                          }}
774
-                        </div>
775
-
780
+                      <div
781
+                        class="under_line"
782
+                        style="width: 170px; text-align: center"
783
+                      >
784
+                        {{
785
+                          predialysis.puncture_way
786
+                            ? predialysis.puncture_way
787
+                            : "/"
788
+                        }}
789
+                      </div>
776 790
                     </div>
777 791
 
778 792
                     <div class="inline_block" style="flex: 1">
779 793
                       穿刺针:
780
-                         <div
781
-                          class="under_line"
782
-                          style="width: 100px; text-align: center"
783
-                        >
784
-                          {{
785
-                            predialysis.puncture_needle
786
-                              ? predialysis.puncture_needle
787
-                              : "/"
788
-                          }}
789
-                        </div>
794
+                      <div
795
+                        class="under_line"
796
+                        style="width: 170px; text-align: center"
797
+                      >
798
+                        {{
799
+                          predialysis.puncture_needle
800
+                            ? predialysis.puncture_needle
801
+                            : "/"
802
+                        }}
803
+                      </div>
790 804
                     </div>
791 805
                   </div>
792 806
 
@@ -1162,7 +1176,6 @@
1162 1176
                         >
1163 1177
                           置换量<br />(ml)
1164 1178
                         </td>
1165
-                        <td width="200" v-if="org_id == 9919">ktv</td>
1166 1179
                         <td width="200">病情变化及处理</td>
1167 1180
 
1168 1181
                         <!-- <td width="100">时间</td>
@@ -1183,6 +1196,7 @@
1183 1196
                         :key="monindex"
1184 1197
                       >
1185 1198
                         <td>{{ getTime(monitor.operate_time, "{h}:{i}") }}</td>
1199
+                        <!-- 血压 -->
1186 1200
                         <td>
1187 1201
                           {{
1188 1202
                             monitor.systolic_blood_pressure
@@ -1195,6 +1209,7 @@
1195 1209
                               : ""
1196 1210
                           }}
1197 1211
                         </td>
1212
+                        <!-- 脉搏 -->
1198 1213
                         <td>
1199 1214
                           {{
1200 1215
                             monitor.pulse_frequency
@@ -1202,11 +1217,13 @@
1202 1217
                               : ""
1203 1218
                           }}
1204 1219
                         </td>
1220
+                        <!-- 呼吸 -->
1205 1221
                         <td>
1206 1222
                           {{
1207 1223
                             monitor.breathing_rate ? monitor.breathing_rate : ""
1208 1224
                           }}
1209 1225
                         </td>
1226
+                        <!-- 血流量 -->
1210 1227
                         <td>
1211 1228
                           {{
1212 1229
                             monitor.blood_flow_volume
@@ -1214,6 +1231,7 @@
1214 1231
                               : ""
1215 1232
                           }}
1216 1233
                         </td>
1234
+                        <!-- 静脉压 -->
1217 1235
                         <td>
1218 1236
                           {{
1219 1237
                             monitor.venous_pressure
@@ -1221,27 +1239,27 @@
1221 1239
                               : ""
1222 1240
                           }}
1223 1241
                         </td>
1242
+                        <!-- 跨膜压 -->
1224 1243
                         <td>
1225
-                          {{ monitor.transmembrane_pressure ? monitor.transmembrane_pressure : "" }}
1244
+                          {{
1245
+                            monitor.transmembrane_pressure
1246
+                              ? monitor.transmembrane_pressure
1247
+                              : ""
1248
+                          }}
1226 1249
                         </td>
1227
-                        <td v-if="org_id != 9836">
1250
+                        <!-- 透析液温度 -->
1251
+                        <td>
1228 1252
                           {{
1229 1253
                             monitor.dialysate_temperature
1230 1254
                               ? monitor.dialysate_temperature
1231 1255
                               : ""
1232 1256
                           }}
1233 1257
                         </td>
1258
+                        <!-- 电导度 -->
1234 1259
                         <td>
1235 1260
                           {{ monitor.conductivity ? monitor.conductivity : "" }}
1236 1261
                         </td>
1237
-
1238
-                        <td v-if="org_id == 9538">
1239
-                          {{
1240
-                            monitor.sodium_concentration
1241
-                              ? monitor.sodium_concentration
1242
-                              : ""
1243
-                          }}
1244
-                        </td>
1262
+                        <!-- 超滤量 -->
1245 1263
                         <td>
1246 1264
                           {{
1247 1265
                             monitor.ultrafiltration_volume
@@ -1249,28 +1267,6 @@
1249 1267
                               : ""
1250 1268
                           }}
1251 1269
                         </td>
1252
-                        <td
1253
-                          v-if="
1254
-                            dialysisOrder &&
1255
-                            monitor.operate_time <= dialysisOrder.end_time &&
1256
-                            dialysisOrder &&
1257
-                            monitor.operate_time >= dialysisOrder.start_time
1258
-                          "
1259
-                        >
1260
-                          {{
1261
-                            monitor.ultrafiltration_volume
1262
-                              ? monitor.ultrafiltration_volume
1263
-                              : "0"
1264
-                          }}
1265
-                        </td>
1266
-                        <!-- <td style="width:50px">
1267
-                          <span v-if="(prescription.mode_id == 2 || prescription.mode_id == 5 || prescription.mode_id == 12) && ((dialysisOrder && monitor.operate_time <= dialysisOrder.end_time) && (dialysisOrder && monitor.operate_time >= dialysisOrder.start_time))">
1268
-                            {{ monitor.displacement_quantity ? monitor.displacement_quantity : 0 }}
1269
-                          </span>
1270
-                          <span v-if="(prescription.mode_id == 2 || prescription.mode_id == 5 || prescription.mode_id == 12) && ((dialysisOrder && monitor.operate_time > dialysisOrder.end_time) || (dialysisOrder && monitor.operate_time < dialysisOrder.start_time))">
1271
-                            {{ monitor.displacement_quantity ? monitor.displacement_quantity : "" }}
1272
-                          </span>
1273
-                        </td> -->
1274 1270
                         <td
1275 1271
                           v-if="
1276 1272
                             prescription.mode_id == 2 ||
@@ -1287,9 +1283,20 @@
1287 1283
                             }}
1288 1284
                           </span>
1289 1285
                         </td>
1290
-                        <td width="200" v-if="org_id == 9919">
1291
-                          {{ monitor.ktv }}
1292
-                        </td>
1286
+                        <!-- <td
1287
+                          v-if="
1288
+                            dialysisOrder &&
1289
+                            monitor.operate_time <= dialysisOrder.end_time &&
1290
+                            dialysisOrder &&
1291
+                            monitor.operate_time >= dialysisOrder.start_time
1292
+                          "
1293
+                        >
1294
+                          {{
1295
+                            monitor.ultrafiltration_volume
1296
+                              ? monitor.ultrafiltration_volume
1297
+                              : "0"
1298
+                          }}
1299
+                        </td> -->
1293 1300
                         <td style="line-height: 16px; padding: 0px">
1294 1301
                           <div
1295 1302
                             style="
@@ -1317,9 +1324,11 @@
1317 1324
                                     dialysisOrder.start_time
1318 1325
                                 "
1319 1326
                                 >【开始透析】
1320
-                                </template>
1321
-                              
1322
-                              {{ monitor.end }} {{ monitor.symptom }} &nbsp;{{monitor.dispose}}
1327
+                              </template>
1328
+
1329
+                              {{ monitor.end }} {{ monitor.symptom }} &nbsp;{{
1330
+                                monitor.dispose
1331
+                              }}
1323 1332
                               &nbsp;{{ monitor.result }}
1324 1333
                             </span>
1325 1334
                           </div>
@@ -1603,6 +1612,13 @@
1603 1612
               >
1604 1613
                 {{ item.name }}
1605 1614
               </div>
1615
+              <div
1616
+                class="under_line"
1617
+                style="width: 100px; text-align: center"
1618
+                v-if="!receiverTreatmentAccess.way"
1619
+              >
1620
+                /
1621
+              </div>
1606 1622
               <div class="inline_block">
1607 1623
                 意识状态:
1608 1624
                 <div
@@ -1614,6 +1630,13 @@
1614 1630
                 >
1615 1631
                   {{ item.name }}
1616 1632
                 </div>
1633
+                <div
1634
+                  class="under_line"
1635
+                  style="width: 100px; text-align: center"
1636
+                  v-if="!receiverTreatmentAccess.consciousness"
1637
+                >
1638
+                  /
1639
+                </div>
1617 1640
               </div>
1618 1641
             </div>
1619 1642
             <div class="inline_block" style="margin-left: 10px">
@@ -1885,13 +1908,10 @@
1885 1908
                       透析器凝血:
1886 1909
                       <div
1887 1910
                         class="under_line"
1888
-                        style="
1889
-                          width: 225px;
1890
-                          text-align: center;
1891
-                          white-space: normal;
1892
-                        "
1911
+                        style="width: 200px; text-align: center"
1893 1912
                       >
1894 1913
                         {{ afterdialysis.cruor ? afterdialysis.cruor : "/" }}
1914
+                        
1895 1915
                       </div>
1896 1916
                     </div>
1897 1917
 
@@ -1910,7 +1930,6 @@
1910 1930
                             ? afterdialysis.pip_coagulation
1911 1931
                             : "/"
1912 1932
                         }}
1913
-                        
1914 1933
                       </div>
1915 1934
                     </div>
1916 1935
 
@@ -1919,9 +1938,9 @@
1919 1938
                       <div
1920 1939
                         class="under_line"
1921 1940
                         style="
1922
-                          width: 170px;
1923 1941
                           text-align: center;
1924
-                          white-space: normal;
1942
+                          min-width: 155px;
1943
+                          width: auto;
1925 1944
                         "
1926 1945
                       >
1927 1946
                         {{
@@ -1931,7 +1950,7 @@
1931 1950
                         }}
1932 1951
                       </div>
1933 1952
                     </div>
1934
-                    <div class="inline_block" style="flex: 2">
1953
+                    <div class="inline_block">
1935 1954
                       导管:
1936 1955
                       <div
1937 1956
                         class="under_line"
@@ -2943,7 +2962,6 @@ export default {
2943 2962
       return name;
2944 2963
     },
2945 2964
     setAdminUserES(id) {
2946
-      console.log(id,'opo')
2947 2965
       if (id == 0) {
2948 2966
         return "";
2949 2967
       }

+ 2 - 2
src/xt_pages/hospitalStation/template/printTwo.vue Visa fil

@@ -10,12 +10,12 @@
10 10
             <p>年龄:{{getAge(item.patient)?getAge(item.patient):""}}岁</p>
11 11
         </div>
12 12
         <div class="infoMain">
13
-            <div style="margin-bottom: 10px;">门诊号11:{{this.hisPatient.number?this.hisPatient.number:""}}</div>
13
+            <div style="margin-bottom: 10px;">门诊号:{{this.hisPatient.number?this.hisPatient.number:""}}</div>
14 14
             <div style="margin-bottom: 10px;">科室:{{getDepart(this.hisPatient.departments?this.hisPatient.departments:"")}}</div>
15 15
             <div style="margin-bottom: 10px;">医保卡号:{{this.hisPatient.number?this.hisPatient.number:""}}</div>
16 16
             <div style="margin-bottom: 10px;">电话:{{patient.phone}}</div>
17 17
             <div>地址:{{patient.home_address}}</div>
18
-            <div style="display:flex;width:50%;">临床诊断:22222{{ getDiagnosis(advicePrint[0].info.diagnosis) }}</div>
18
+            <div style="display:flex;width:50%;">临床诊断:{{ getDiagnosis(advicePrint[0].info.diagnosis) }}</div>
19 19
         </div>
20 20
         <div class="prescriptionBox">
21 21
             <div class="Rp">Rp:</div>

+ 9 - 3
src/xt_pages/outpatientDoctorStation/print.vue Visa fil

@@ -11,9 +11,14 @@
11 11
           >打印</el-button
12 12
         >
13 13
       </template> -->
14
-
14
+<!-- 机构id列表
15
+3877 :测试
16
+10138、10243:百霖
17
+0:本地
18
+9675:测试
19
+ -->
15 20
     <div class="dialysisPage" style="padding-top: 40px">
16
-      <div v-if="org_id != 10138 && org_id != 10278 && org_id != 10243 && org_id != 9675">
21
+      <div v-if="org_id != 10138 && org_id != 10278 && org_id != 10243 && org_id != 4 && org_id !=0">
17 22
         <printOne v-if="org_id != 10088 && org_id != 10215" v-bind:childResponse="childResponse" :advicePrint="advicePrint" :ids="ids" :patient="patient" :hisPatient="hisPatient" :doctorPorject="doctorPorject" :patient_id="patient_id" :record_date="record_date" :prescription_id="prescription_id"></printOne>
18 23
 
19 24
         <!--        <printSix-->
@@ -55,7 +60,7 @@
55 60
 
56 61
         <!-- <printSix v-if="org_id != 10088 && org_id != 10215" v-bind:childResponse="childResponse" :advicePrint="advicePrint" :ids="ids" :patient="patient" :hisPatient="hisPatient" :doctorPorject="doctorPorject" :patient_id="patient_id" :record_date="record_date" :prescription_id="prescription_id"></printSix> -->
57 62
       </div>
58
-      <div v-else-if="org_id == 10243 || org_id == 9675 || org_id == 0 ">
63
+      <div v-else-if="org_id == 10243 || org_id == 9675">
59 64
         <printSix
60 65
           v-bind:childResponse="childResponse"
61 66
           :advicePrint="advicePrint"
@@ -248,6 +253,7 @@ export default {
248 253
 
249 254
   created() {
250 255
     this.org_id = this.$store.getters.xt_user.org_id;
256
+    console.log(this.org_id,'机构id')
251 257
     this.getAllDoctorList();
252 258
     var record_date = this.paramsObj.record;
253 259
     this.record_date = record_date;

+ 13 - 4
src/xt_pages/outpatientDoctorStation/template/printOne.vue Visa fil

@@ -221,13 +221,12 @@ export default {
221 221
       org_id: 0,
222 222
       operatorMaps: {},
223 223
       operators: [],
224
-      doctorList:[]
224
+      doctorList_1: []
225 225
     };
226 226
   },
227 227
   methods: {
228 228
     // 电子签名
229 229
     setAdminUserES(id) {
230
-      console.log(id,'oo')
231 230
       if (id == 0) {
232 231
         return "";
233 232
       }
@@ -298,8 +297,18 @@ export default {
298 297
           this.advicePrint = advicePrint;
299 298
           this.prescriptions = advicePrint;
300 299
 
301
-          this.doctorList = response.data.data.advicePrint.eles
302
-
300
+          this.doctorList_1 = response.data.data.eles;
301
+          console.log(this.doctorList_1, "医生列表");
302
+          if (this.doctorList_1.length > 0) {
303
+            var operatorsLen = this.doctorList_1.length;
304
+            for (var index = 0; index < operatorsLen; index++) {
305
+              this.$set(
306
+                this.operatorMaps,
307
+                this.doctorList_1[index].creator,
308
+                this.doctorList_1[index]
309
+              );
310
+            }
311
+          }
303 312
 
304 313
           console.log("处方222222", this.prescriptions);
305 314
           var hisPatient = response.data.data.hisPatient;

Filskillnaden har hållits tillbaka eftersom den är för stor
+ 608 - 420
src/xt_pages/outpatientDoctorStation/template/printThree.vue


+ 3 - 1
src/xt_pages/outpatientDoctorStation/treatPrint.vue Visa fil

@@ -13,7 +13,9 @@
13 13
       </template> -->
14 14
             
15 15
       <div class='dialysisPage' style="padding-top:40px;">
16
-        <printOne v-if="org_id != 10138 && org_id != 10278" v-bind:childResponse="childResponse" :advicePrint="advicePrint" :ids="ids" :patient="patient" :hisPatient="hisPatient" :patient_id="patient_id" :record_date="record_date" :prescription_id="prescription_id"></printOne>
16
+        <!-- 此下条为本地开发下页面 -->
17
+        <!-- <printTwo v-if="org_id == 4" v-bind:childResponse="childResponse" :advicePrint="advicePrint" :ids="ids" :patient="patient" :hisPatient="hisPatient" :patient_id="patient_id" :record_date="record_date" :prescription_id="prescription_id"></printTwo> -->
18
+        <printOne v-if="org_id != 10138 && org_id != 10278 && org_id !=4&& org_id !=0" v-bind:childResponse="childResponse" :advicePrint="advicePrint" :ids="ids" :patient="patient" :hisPatient="hisPatient" :patient_id="patient_id" :record_date="record_date" :prescription_id="prescription_id"></printOne>
17 19
         <printTwo v-else v-bind:childResponse="childResponse" :advicePrint="advicePrint" :ids="ids" :patient="patient" :hisPatient="hisPatient" :patient_id="patient_id" :record_date="record_date" :prescription_id="prescription_id"></printTwo>
18 20
       </div>
19 21
   </div>

Filskillnaden har hållits tillbaka eftersom den är för stor
+ 558 - 411
src/xt_pages/outpatientDoctorStation/treatTemplate/printTwo.vue