Browse Source

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

陈少旭 1 year ago
parent
commit
8eff8b4331
28 changed files with 789 additions and 251 deletions
  1. 119 1
      src/api/patient.js
  2. 29 53
      src/xt_pages/dialysis/batch_print/batch_print_order_seventytwo.vue
  3. 5 1
      src/xt_pages/dialysis/longSignPrint.vue
  4. 5 2
      src/xt_pages/dialysis/signPrint.vue
  5. 2 2
      src/xt_pages/dialysis/template/DialysisPrintOrderFiftyThree.vue
  6. 40 47
      src/xt_pages/dialysis/template/DialysisPrintOrderSeventyTwo.vue
  7. 8 8
      src/xt_pages/dialysis/template/DialysisPrintOrderSix.vue
  8. 3 3
      src/xt_pages/management/components/QualityForm.vue
  9. 8 2
      src/xt_pages/outpatientCharges/invoicePrint.vue
  10. 18 6
      src/xt_pages/outpatientCharges/invoiceTemplate/printThree.vue
  11. 2 2
      src/xt_pages/role/admin.vue
  12. 4 1
      src/xt_pages/stock/drugs/components/purchaseNewDrugQuery.vue
  13. 1 1
      src/xt_pages/stock/drugs/drugStockFlow.vue
  14. 1 0
      src/xt_pages/stock/query/purchaseStockQuery.vue
  15. 168 79
      src/xt_pages/user/Informed/Informedconsent.vue
  16. 39 4
      src/xt_pages/user/Informed/components/Bring_informed.vue
  17. 17 2
      src/xt_pages/user/Informed/components/Falloutbedprint.vue
  18. 12 0
      src/xt_pages/user/Informed/components/Filter_informed.vue
  19. 12 0
      src/xt_pages/user/Informed/components/Highrisk_informed.vue
  20. 79 23
      src/xt_pages/user/Informed/components/Medicalhistory.vue
  21. 21 2
      src/xt_pages/user/Informed/components/anticoagulation_informed.vue
  22. 12 0
      src/xt_pages/user/Informed/components/arteriovenous_informed.vue
  23. 35 3
      src/xt_pages/user/Informed/components/catheterization_informed.vue
  24. 34 2
      src/xt_pages/user/Informed/components/critical_informed.vue
  25. 34 2
      src/xt_pages/user/Informed/components/dialyzer_informed.vue
  26. 35 3
      src/xt_pages/user/Informed/components/hemoperfusion_informed.vue
  27. 12 0
      src/xt_pages/user/Informed/components/profunda_informed.vue
  28. 34 2
      src/xt_pages/user/Informed/components/therapy_informed.vue

+ 119 - 1
src/api/patient.js View File

@@ -1,5 +1,6 @@
1 1
 import request from '@/utils/request'
2 2
 import { fromTextArea } from 'codemirror'
3
+import data from '../store/modules/data'
3 4
 
4 5
 export function fetchList(params) {
5 6
   return request({
@@ -909,7 +910,124 @@ export function saveAnticoagulation(data){
909 910
   
910 911
   return request({
911 912
     url:"/api/patient/saveanticoagulation",
912
-    method:"Get",
913
+    method:"Post",
913 914
     data:data
914 915
   })
916
+}
917
+
918
+export function getAnticoagulationInformed(params){
919
+
920
+  return request({
921
+    url:'/api/patient/getanticoagulationInformed',
922
+    method:"get",
923
+    params:params
924
+  })
925
+}
926
+
927
+export function saveCriticalInfomed(data){
928
+
929
+  return request({
930
+    url:"/api/patient/savecriticalinfomed",
931
+    method:"post",
932
+    data:data,
933
+  })
934
+}
935
+
936
+export function getCriticalInformed(params){
937
+
938
+  return request({
939
+    url:"/api/patient/getcriticalinformed",
940
+    method:"get",
941
+    params:params,
942
+  })
943
+}
944
+
945
+export function savehemoperfusionInformed(data){
946
+  
947
+  return request({
948
+    url:"/api/patient/savehemoperfusioninformed",
949
+    method:"post",
950
+    data:data,
951
+  })
952
+}
953
+
954
+export function getHemoperfusionInformed(params){
955
+
956
+  return request({
957
+    url:"/api/patient/gethemoperfusioninformed",
958
+    method:"get",
959
+    params:params
960
+  })
961
+}
962
+
963
+export function saveBringInformed(data){
964
+
965
+  return request({
966
+    url:"/api/patient/savebringinformed",
967
+    method:"post",
968
+    data:data,
969
+  })
970
+}
971
+
972
+export function getInformedConsent(params){
973
+
974
+  return request({
975
+    url:"/api/patient/getinformedcontsent",
976
+    method:"get",
977
+    params:params
978
+  })
979
+}
980
+
981
+export function saveCatheterization(data){
982
+
983
+  return request({
984
+     url:"/api/patient/savecatheterization",
985
+     method:"post",
986
+     data:data,
987
+  })
988
+}
989
+
990
+export function getCatheterization(params){
991
+
992
+  return request({
993
+    url:"/api/patient/getcatheterization",
994
+    method:"get",
995
+    params:params
996
+  })
997
+}
998
+
999
+export function saveDialyzerInformed(data){
1000
+
1001
+  return request({
1002
+    url:"/api/patient/savedialyzerInformed",
1003
+    method:"post",
1004
+    data:data,
1005
+  })
1006
+}
1007
+
1008
+export function getDialyzerInformed(params){
1009
+ 
1010
+  return request({
1011
+    url:"/api/patient/getdialyzerinformed",
1012
+    method:"get",
1013
+    params:params
1014
+  })
1015
+}
1016
+
1017
+export function saveTherapyInformed(data){
1018
+
1019
+  return request({
1020
+    url:"/api/patient/savetheapyinformed",
1021
+    method:"post",
1022
+    data:data,
1023
+  })
1024
+}
1025
+
1026
+export function getTherapyInformed(params){
1027
+
1028
+  return request({
1029
+    url:"/api/patient/gettherapyinformed",
1030
+    method:"get",
1031
+    params:params
1032
+  })
915 1033
 }

+ 29 - 53
src/xt_pages/dialysis/batch_print/batch_print_order_seventytwo.vue View File

@@ -118,7 +118,7 @@
118 118
                 v-for="(item, i) in way_arr"
119 119
                 class="under_line"
120 120
                 v-if="record.receive_assessment.way == item.id"
121
-                style="width: 100px; text-align: left"
121
+                style="width: 60px; text-align: left"
122 122
               >
123 123
                 {{ item.name }}
124 124
               </div>
@@ -126,19 +126,19 @@
126 126
             <!-- 病人意识 -->
127 127
             <div class="inline_block">
128 128
               病人意识:
129
-              <div class="under_line" style="width: 80px; text-align: left">
130
-                <div v-for="(item, index) in consciousness_arr">
129
+              <div class="under_line" style="width: 60px; text-align: left">
130
+                <span v-for="(item, index) in consciousness_arr">
131 131
                   <span v-if="record.receive_assessment.consciousness==item.id">{{ item.name }}</span>
132
-                </div>
132
+                </span>
133 133
               </div>
134 134
             </div>
135 135
             <!-- 病人情况 -->
136 136
             <div class="inline_block">
137 137
               病人情况:
138
-              <div class="under_line" style="width: 80px; text-align: left">
139
-                <div v-for="item in condition">
138
+              <div class="under_line" style="width: 60px; text-align: left">
139
+                <span v-for="item in condition">
140 140
                   <span v-if="record.receive_assessment.condition==item.id">{{ item.lable }}</span>
141
-                </div>
141
+                </span>
142 142
               </div>
143 143
             </div>
144 144
             <div class="inline_block" style="margin-left: 10px" >
@@ -198,7 +198,6 @@
198 198
                       <div class="inline_block" style="flex: 1">
199 199
                         透析次数:
200 200
                         <div
201
-                          v-if="org_id!=10234 && org_id!=10121"
202 201
                           class="under_line"
203 202
                           style="width: 70px; text-align: center"
204 203
                         >
@@ -210,20 +209,6 @@
210 209
                               : "/"
211 210
                           }}
212 211
                         </div>
213
-
214
-                        <div
215
-                          v-if="org_id ==10234 || org_id ==10121"
216
-                          class="under_line"
217
-                          style="width: 70px; text-align: center"
218
-                        >
219
-                          {{
220
-                              record.Count +
221
-                              record.patient.user_sys_before_count
222
-                                ?  record.Count +
223
-                                  record.patient.user_sys_before_count
224
-                                : "/"
225
-                            }}
226
-                        </div>
227 212
                       </div>
228 213
                       <div class="inline_block" style="flex: 1">
229 214
                         透前症状:
@@ -400,11 +385,11 @@
400 385
                       class="row"
401 386
                       style="padding: 2px 0; line-height: 23px; display: flex"
402 387
                     >
403
-                      <div class="inline_block">
388
+                      <div class="inline_block" style="flex: 1">
404 389
                         血管通路:
405 390
                         <div
406 391
                           class="under_line"
407
-                          style="width: 200px; text-align: center"
392
+                          style="width: 50%; text-align: center"
408 393
                         >
409 394
                           {{
410 395
                             record.assessment_before_dislysis &&
@@ -428,7 +413,7 @@
428 413
                         内瘘:
429 414
                         <div
430 415
                           class="under_line"
431
-                          style="width: 120px; text-align: center"
416
+                          style="width: 50%; text-align: center"
432 417
                         >
433 418
                           {{
434 419
                             record.assessment_before_dislysis &&
@@ -442,13 +427,13 @@
442 427
 
443 428
                       <div
444 429
                         class="inline_block"
445
-                        style="margin-left: 10px; flex: 1"
430
+                        style=" flex: 1"
446 431
                         v-if="record.assessment_before_dislysis.blood_access_part_opera_name !=''"
447 432
                       >
448 433
                         导管:
449 434
                         <div
450 435
                           class="under_line"
451
-                          style="width: 120px; text-align: center"
436
+                          style="width: 50%; text-align: center"
452 437
                         >
453 438
                           {{
454 439
                             record.assessment_before_dislysis &&
@@ -724,16 +709,7 @@
724 709
                           class="under_line"
725 710
                           style="width: 70px; text-align: center"
726 711
                         >
727
-
728
-
729
-                          <span v-if="org_id==10206">
730
-                              {{
731
-                            record.prescription.replacement_total
732
-                              ? record.prescription.replacement_total
733
-                              : "/"
734
-                           }}
735
-                          </span>
736
-                          <span v-if="org_id!=10206">
712
+                          <span>
737 713
                             {{
738 714
                             record.prescription &&
739 715
                             record.prescription.displace_liqui_value
@@ -1198,7 +1174,7 @@
1198 1174
                           <div style="flex: 0.9;border-right: 1px solid black;">钠浓度<br/>(mmol/L)</div>
1199 1175
                           <div style="flex: 0.9;border-right: 1px solid black;">超滤量<br/>(ml)</div>
1200 1176
                           <div style="flex: 1;border-right: 1px solid black;" v-if="record.prescription.mode_id == 2">置换液速度<br/>(ml/h)</div>
1201
-                          <div style="flex: 1.2;border-right: 1px solid black;" v-if="record.prescription.anticoagulant == 7">肝素剩余量度(ml)</div>
1177
+                          <div style="flex: 1.2;border-right: 1px solid black;" v-if="record.prescription.anticoagulant == 7 && record.prescription.anticoagulant != ''">肝素剩余量度(ml)</div>
1202 1178
                           <div style="flex: 2;">病情变化及处理</div>
1203 1179
                         </div>
1204 1180
                     </div>
@@ -1234,7 +1210,7 @@
1234 1210
                       <div style="flex: 1;border-right: 1px solid black;" v-if="record.prescription.mode_id == 2">
1235 1211
                         {{ monitor_record.replacement_speed ? monitor_record.replacement_speed : "" }}
1236 1212
                       </div>
1237
-                      <div style="flex: 1.2;border-right: 1px solid black;" v-if="record.prescription.anticoagulant == 7">
1213
+                      <div style="flex: 1.2;border-right: 1px solid black;" v-if="record.prescription.anticoagulant == 7 && record.prescription.anticoagulant != ''">
1238 1214
 
1239 1215
                       </div>
1240 1216
                       <div style="flex: 2;">
@@ -1508,7 +1484,7 @@
1508 1484
                   {{ "/" }}
1509 1485
                 </div>
1510 1486
               </div>
1511
-              <div class="inline_block" v-if="org_id!=10460">
1487
+              <div class="inline_block">
1512 1488
                 床号:
1513 1489
                 <div class="under_line" style="width: 50px; text-align: center">
1514 1490
                   {{ "/" }}
@@ -1520,7 +1496,7 @@
1520 1496
                   {{ record.patient.dialysis_no }}
1521 1497
                 </div>
1522 1498
               </div>
1523
-              <div class="inline_block" style="margin-left: 5px" v-if="org_id!=10460">
1499
+              <div class="inline_block" style="margin-left: 5px" >
1524 1500
                 住院号/门诊号:
1525 1501
                 <div
1526 1502
                   class="under_line"
@@ -1547,7 +1523,7 @@
1547 1523
                   :key="index"
1548 1524
                   class="under_line"
1549 1525
                   v-if="record.receive_assessment.way == item.id"
1550
-                  style="width: 100px; text-align: left"
1526
+                  style="width: 60px; text-align: left"
1551 1527
                 >
1552 1528
                   {{ item.name }}
1553 1529
                 </div>
@@ -1555,19 +1531,19 @@
1555 1531
                <!-- 病人意识 -->
1556 1532
               <div class="inline_block">
1557 1533
                 病人意识:
1558
-                <div class="under_line" style="width: 80px; text-align: left">
1559
-                  <div v-for="(item, index) in consciousness_arr">
1534
+                <div class="under_line" style="width: 60px; text-align: left">
1535
+                  <span v-for="(item, index) in consciousness_arr">
1560 1536
                     <span v-if="record.receive_assessment.consciousness==item.id">{{ item.name }}</span>
1561
-                  </div>
1537
+                  </span>
1562 1538
                 </div>
1563 1539
               </div>
1564 1540
               <!-- 病人情况 -->
1565 1541
               <div class="inline_block">
1566 1542
                 病人情况:
1567
-                <div class="under_line" style="width: 80px; text-align: left">
1568
-                  <div v-for="item in condition">
1543
+                <div class="under_line" style="width: 60px; text-align: left">
1544
+                  <span v-for="item in condition">
1569 1545
                     <span v-if="record.receive_assessment.condition==item.id">{{ item.lable }}</span>
1570
-                  </div>
1546
+                  </span>
1571 1547
                 </div>
1572 1548
               </div>
1573 1549
               <div class="inline_block" style="margin-left: 10px" >
@@ -1733,12 +1709,12 @@
1733 1709
                       class="row"
1734 1710
                       style="padding: 2px 0; line-height: 23px; display: flex"
1735 1711
                     >
1736
-                      <div class="inline_block" style="flex: 2.5">
1712
+                      <div class="inline_block" style="flex: 2">
1737 1713
                         透析器凝血:
1738 1714
                         <div
1739 1715
                           class="under_line"
1740 1716
                           style="
1741
-                            width: 170px;
1717
+                            width: 50%;
1742 1718
                             text-align: center;
1743 1719
                             white-space: normal;
1744 1720
                           "
@@ -1756,7 +1732,7 @@
1756 1732
                         <div
1757 1733
                           class="under_line"
1758 1734
                           style="
1759
-                            width: 170px;
1735
+                            width: 50%;
1760 1736
                             text-align: center;
1761 1737
                             white-space: normal;
1762 1738
                           "
@@ -1770,12 +1746,12 @@
1770 1746
                           }}
1771 1747
                         </div>
1772 1748
                       </div>
1773
-                      <div class="inline_block" style="flex: 4"
1749
+                      <div class="inline_block" style="flex: 3"
1774 1750
                         v-if="record.assessment_before_dislysis.blood_access_part_opera_name !=''">
1775 1751
                         导管:
1776 1752
                         <div
1777 1753
                           class="under_line"
1778
-                          style="min-width: 120px; text-align: center"
1754
+                          style="width: 50%; text-align: center"
1779 1755
                         >
1780 1756
                           {{
1781 1757
                             record.assessment_after_dislysis &&

+ 5 - 1
src/xt_pages/dialysis/longSignPrint.vue View File

@@ -24,9 +24,13 @@
24 24
                             
25 25
                             </span> 
26 26
                             </div>  
27
-                            <div v-if="org_id ==0 || org_id == 10138 || org_id == 10278">
27
+                            <div v-if="org_id == 10138 || org_id == 10278">
28 28
                             规格:{{getSpecialName(it.drug_id)}} 
29 29
                             
30
+                            </div>  
31
+                            <div v-if="org_id == 0 || org_id == 10223">
32
+                            规格:{{it.advice_desc}} {{ it.drug_spec_unit }}
33
+                            
30 34
                             </div>  
31 35
                             <div v-if="(org_id ==0 || org_id==10440 || org_id == 10478) && org_id!=10278">单次用量:{{it.single_dose}}{{it.single_dose_unit }}</div>  
32 36
                             <div v-if="org_id!=0 && org_id!=10278 && org_id!=10138">执行频率:{{it.execution_frequency}}</div>  

+ 5 - 2
src/xt_pages/dialysis/signPrint.vue View File

@@ -24,10 +24,13 @@
24 24
                             
25 25
                             </span> 
26 26
                             </div>  
27
-                            <div v-if="org_id ==0 || org_id == 10138 || org_id == 10278">
27
+                            <div v-if="org_id == 10138 || org_id == 10278">
28 28
                             规格:{{getSpecialName(it.drug_id)}} 
29 29
                             
30
-                            </div>  
30
+                            </div> 
31
+                            <div v-if="org_id ==0 || org_id ==10223">
32
+                                规格:{{it.advice_desc }} {{ it.drug_spec_unit }}
33
+                            </div> 
31 34
                             <div v-if="(org_id ==0 || org_id==10440 || org_id == 10478 || org_id ==10571) && org_id!=10278">单次用量:{{it.single_dose}}{{it.single_dose_unit }}</div>  
32 35
                             <div v-if="org_id!=0 && org_id!=10278 && org_id!=10138">执行频率:{{it.execution_frequency}}</div>  
33 36
                             <div v-if="org_id!=10278">给药途径:{{it.delivery_way}}</div>  

+ 2 - 2
src/xt_pages/dialysis/template/DialysisPrintOrderFiftyThree.vue View File

@@ -1186,8 +1186,8 @@
1186 1186
                           setAdminUserES(
1187 1187
                             prescription == null
1188 1188
                               ? 0
1189
-                              : prescription.prescription_doctor
1190
-                              ? prescription.prescription_doctor
1189
+                              : prescription.creater
1190
+                              ? prescription.creater
1191 1191
                               : ''
1192 1192
                           )
1193 1193
                         "

+ 40 - 47
src/xt_pages/dialysis/template/DialysisPrintOrderSeventyTwo.vue View File

@@ -114,7 +114,7 @@
114 114
               v-for="(item, index) in way_arr"
115 115
               class="under_line"
116 116
               v-if="receiverTreatmentAccess.way == item.id"
117
-              style="width: 80px; text-align: left"
117
+              style="width: 60px; text-align: left"
118 118
             >
119 119
               {{ item.name }}
120 120
             </div>
@@ -123,19 +123,23 @@
123 123
           <!-- 病人意识 -->
124 124
           <div class="inline_block">
125 125
             病人意识:
126
-            <div class="under_line" style="width: 80px; text-align: left">
127
-              <div v-for="(item, index) in consciousness_arr">
126
+            <div class="under_line" style="width: 60px; text-align: left" 
127
+              >
128
+              <!-- <div  style="display: inline-block;"> -->
129
+              <span v-for="(item, index) in consciousness_arr">
128 130
                 <span v-if="receiverTreatmentAccess.consciousness==item.id">{{ item.name }}</span>
129
-              </div>
131
+              </span>
132
+              <!-- </div> -->
130 133
             </div>
131 134
           </div>
132 135
           <!-- 病人情况 -->
133 136
           <div class="inline_block">
134 137
             病人情况:
135
-            <div class="under_line" style="width: 80px; text-align: left">
136
-              <div v-for="item in condition">
138
+            <div class="under_line" style="width: 60px; text-align: left"
139
+            >
140
+              <span v-for="item in condition">
137 141
                 <span v-if="receiverTreatmentAccess.condition==item.id">{{ item.lable }}</span>
138
-              </div>
142
+              </span>
139 143
             </div>
140 144
           </div>
141 145
 
@@ -325,10 +329,7 @@
325 329
                         class="under_line"
326 330
                         style="width: 100px; text-align: center"
327 331
                       >
328
-                      <span v-if="org_id==10580 || org_id==0">
329
-                        {{ dialysisOrder.puncture_needle}}
330
-                      </span>
331
-                      <span v-if="org_id != 10580 && org_id!=0">
332
+                      <span>
332 333
                         {{
333 334
                           predialysis.puncture_needle
334 335
                             ? predialysis.puncture_needle
@@ -343,21 +344,21 @@
343 344
                   <div class="row"
344 345
                     style="padding: 2px 0; line-height: 23px; display: flex"
345 346
                   >
346
-                    <div class="inline_block">
347
+                    <div class="inline_block" style="flex: 1;">
347 348
                       血管通路:
348 349
                       <div class="under_line"
349
-                        style="width: 220px; text-align: center"
350
+                        style="width: 50%; text-align: center"
350 351
                       >
351 352
                         {{ predialysis.blood_access_part_id }}
352 353
                         {{ predialysis.blood_access_part_opera_name }}
353 354
                       </div>
354 355
                     </div>
355
-                    <div class="inline_block" style="margin-left: 10px">
356
+                    <div class="inline_block" style="flex: 1;">
356 357
                       内瘘:
357 358
                       <div
358 359
                         class="under_line"
359 360
                         style="
360
-                          width: 180px;
361
+                          width: 50%;
361 362
                           text-align: center;
362 363
                           white-space: normal;
363 364
                         "
@@ -370,13 +371,13 @@
370 371
                       </div>
371 372
                     </div>
372 373
 
373
-                    <div class="inline_block" style="margin-left: 10px; flex: 1.4"
374
+                    <div class="inline_block" style="flex: 1.4"
374 375
                       v-if="predialysis.blood_access_part_opera_name != ''"
375 376
                     >
376 377
                       导管:
377 378
                       <div
378 379
                         class="under_line"
379
-                        style="width: 150px; text-align: center"
380
+                        style="width: 50%; text-align: center"
380 381
                       >
381 382
                         {{ predialysis.catheter ? predialysis.catheter : "/" }}
382 383
                       </div>
@@ -691,7 +692,7 @@
691 692
                       <div class="under_line"
692 693
                         style="width: 70px; text-align: center"
693 694
                       >
694
-                        <span v-if="org_id!=10206"> {{
695
+                        <span> {{
695 696
                           prescription.displace_liqui_value
696 697
                             ? prescription.displace_liqui_value
697 698
                             : "/"
@@ -1095,7 +1096,9 @@
1095 1096
                       <div style="flex: 0.9;border-right: 1px solid black;">钠浓度<br/>(mmol/L)</div>
1096 1097
                       <div style="flex: 0.9;border-right: 1px solid black;">超滤量<br/>(ml)</div>
1097 1098
                       <div style="flex: 1;border-right: 1px solid black;" v-if="prescription.mode_id == 2">置换液速度<br/>(ml/h)</div>
1098
-                      <div style="flex: 1.2;border-right: 1px solid black;" v-if="prescription.anticoagulant_name == 7">肝素剩余量度(ml)</div>
1099
+                      <div style="flex: 1.2;border-right: 1px solid black;" v-if="prescription.anticoagulant_name == 7 && 
1100
+                        prescription.anticoagulant_name != ''">肝素剩余量度(ml)
1101
+                      </div>
1099 1102
                       <div style="flex: 2;">病情变化及处理</div>
1100 1103
                     </div>
1101 1104
                   </div>
@@ -1148,7 +1151,7 @@
1148 1151
                     <div style="flex: 1;border-right: 1px solid black;" v-if="prescription.mode_id == 2">
1149 1152
                       {{ monitor.replacement_speed ? monitor.replacement_speed : "" }}
1150 1153
                     </div>
1151
-                    <div style="flex: 1.2;border-right: 1px solid black;" v-if="record.prescription.anticoagulant == 7">
1154
+                    <div style="flex: 1.2;border-right: 1px solid black;" v-if="prescription.anticoagulant == 7 && prescription.anticoagulant_name != ''">
1152 1155
 
1153 1156
                     </div>
1154 1157
                     <div style="flex: 2;">
@@ -1171,7 +1174,7 @@
1171 1174
                             v-if="
1172 1175
                               (dialysisOrder &&
1173 1176
                               monitor.operate_time ==
1174
-                                dialysisOrder.start_time)&&(org_id!=10414)
1177
+                                dialysisOrder.start_time)
1175 1178
                             "
1176 1179
                             >【开始透析】
1177 1180
                             </template>
@@ -1376,12 +1379,12 @@
1376 1379
             <div class="inline_block" >
1377 1380
               病区:
1378 1381
               <div class="under_line" style="width: 50px; text-align: center">
1379
-              <span v-if="org_id == 10121||org_id == 10138 || org_id == 9675 || org_id == 10447 || org_id == 0 || org_id ==10460">{{
1382
+              <span >{{
1380 1383
                 patientInfo.DialysisSchedule.device_zone.name
1381 1384
                   ? patientInfo.DialysisSchedule.device_zone.name
1382
-                  : ""
1385
+                  : "/"
1383 1386
               }}</span>
1384
-              <span v-else>{{ "/" }}</span>
1387
+              
1385 1388
             </div>
1386 1389
             </div>
1387 1390
             <div class="inline_block" >
@@ -1428,25 +1431,25 @@
1428 1431
                 v-for="(item, index) in way_arr"
1429 1432
                 class="under_line"
1430 1433
                 v-if="receiverTreatmentAccess.way == item.id"
1431
-                style="width: 80px; text-align: left"
1434
+                style="width: 60px; text-align: left"
1432 1435
               >
1433 1436
                 {{ item.name }}
1434 1437
               </div>
1435 1438
             </div>
1436 1439
             <div class="inline_block">
1437 1440
               病人意识:
1438
-              <div class="under_line" style="width: 80px; text-align: left">
1439
-                <div v-for="(item, index) in consciousness_arr">
1440
-                  <span v-if="receiverTreatmentAccess.consciousness==item.id">{{ item.name }}</span>
1441
-                </div>
1441
+              <div class="under_line" style="width: 60px; text-align: left">
1442
+              <span v-for="(item, index) in consciousness_arr">
1443
+                <span v-if="receiverTreatmentAccess.consciousness==item.id">{{ item.name }}</span>
1444
+              </span>
1442 1445
               </div>
1443 1446
             </div>
1444 1447
             <div class="inline_block">
1445 1448
               病人情况:
1446
-              <div class="under_line" style="width: 80px; text-align: left">
1447
-                <div v-for="item in condition">
1448
-                  <span v-if="receiverTreatmentAccess.condition==item.id">{{ item.lable }}</span>
1449
-                </div>
1449
+              <div class="under_line" style="width: 60px; text-align: left" >
1450
+                  <span v-for="item in condition">
1451
+                    <span v-if="receiverTreatmentAccess.condition==item.id">{{ item.lable }}</span>
1452
+                  </span>
1450 1453
               </div>
1451 1454
             </div>
1452 1455
             <div class="inline_block" style="margin-left: 10px" >
@@ -1492,7 +1495,7 @@
1492 1495
                   </td>
1493 1496
                   <td style="font-size: 16px" width="10%">医生签名</td>
1494 1497
                   <td style="font-size: 16px" width="10%">执行人签名</td>
1495
-                  <td style="font-size: 16px" width="10%" v-if="org_id == 10598">核对护士</td>
1498
+                  <td style="font-size: 16px" width="10%">核对护士</td>
1496 1499
                   <td style="font-size: 16px" width="10%">时间</td>
1497 1500
                 </tr>
1498 1501
                 <tr
@@ -1797,7 +1800,7 @@
1797 1800
                         class="under_line"
1798 1801
                         style="width: 70px; text-align: center"
1799 1802
                       >
1800
-                      <span v-if="org_id!=9675&&org_id!=10447">
1803
+                      <span>
1801 1804
                         {{
1802 1805
                           afterdialysis.weight_after
1803 1806
                             ? parseFloat(
@@ -1807,16 +1810,6 @@
1807 1810
                             : "/"
1808 1811
                         }}
1809 1812
                       </span>
1810
-                      <span v-if="org_id ==9675 || org_id==10447">
1811
-                        {{
1812
-                          afterdialysis.weight_after
1813
-                            ? parseFloat(
1814
-                                afterdialysis.weight_after -
1815
-                                  afterdialysis.additional_weight
1816
-                              ).toFixed(1)
1817
-                            : "未称重"
1818
-                        }}
1819
-                      </span>
1820 1813
 
1821 1814
                       </div>
1822 1815
                       kg
@@ -1963,8 +1956,8 @@
1963 1956
                   <!-- </div> -->
1964 1957
 
1965 1958
                     <div class="inline_block" style="flex: 1">
1966
-                      <span v-if="org_id==10414">责任护士:</span>
1967
-                      <span v-else>治疗护士:</span>
1959
+                      
1960
+                      <span>治疗护士:</span>
1968 1961
 
1969 1962
                       <div
1970 1963
                         class="under_line"

+ 8 - 8
src/xt_pages/dialysis/template/DialysisPrintOrderSix.vue View File

@@ -1165,7 +1165,7 @@
1165 1165
                       </div>
1166 1166
                       mmol/L
1167 1167
                     </div>
1168
-                    <div class="inline_block" style="margin-left: 10px" v-if="org_id!=10478 && org_id!=10598">
1168
+                    <div class="inline_block" style="margin-left: 10px" v-if="org_id!=10478">
1169 1169
                       碳酸氢根:
1170 1170
                       <div
1171 1171
                         class="under_line"
@@ -1177,8 +1177,8 @@
1177 1177
                       </div>
1178 1178
                       mmol/L
1179 1179
                     </div>
1180
-                    <div class="inline_block" style="margin-left: 10px" v-if="org_id!=10478&&org_id!=10598">
1181
-                      流量:
1180
+                    <div class="inline_block" style="margin-left: 10px" v-if="org_id!=10478">
1181
+                      透析液流量:
1182 1182
                       <div
1183 1183
                         class="under_line"
1184 1184
                         style="width: 50px; text-align: center"
@@ -1533,7 +1533,7 @@
1533 1533
                         <td width="50">脉搏<br />(次/分)</td>
1534 1534
                         <td width="50" v-if="org_id!=10489">呼吸<br />(次/分)</td>
1535 1535
                         <td width="50">血流量<br />(ml/min)</td>
1536
-                        <td width="50" v-if="org_id==10478 || org_id == 0">
1536
+                        <td width="50" v-if="org_id==10478 || org_id == 10598">
1537 1537
                           动脉压<br />({{
1538 1538
                             monitors[0] &&
1539 1539
                             monitors[0]["venous_pressure_type"] == 2
@@ -1570,7 +1570,7 @@
1570 1570
                         <td width="50" v-if="org_id == 10121">SpO₂<br />(%)</td>
1571 1571
                         <td width="50" v-if="org_id == 10375 || org_id == 0">置换率<br />(ml/h)</td>
1572 1572
                         <td width="50" v-if="org_id != 3877 && org_id != 10449 && org_id != 10600">超滤量<br />(ml)</td>
1573
-                        <td width="50" v-if="org_id == 10600">超滤率<br/>(ml/h)</td>
1573
+                        <td width="50" v-if="org_id == 10600 || org_id ==10598">超滤率<br/>(ml/h)</td>
1574 1574
                         <td width="50" v-if="org_id ==3877 || org_id == 10449 || org_id ==0">累计超滤量<br />(ml)</td>
1575 1575
                         <td v-if="(prescription.mode_id == 2 ||prescription.mode_id == 5 ||prescription.mode_id == 12) &&org_id!=10478 && org_id!=0 && org_id!=10206" width="50">
1576 1576
                           置换量<br />(ml)
@@ -1592,7 +1592,7 @@
1592 1592
                         <td>{{ monitor.pulse_frequency? monitor.pulse_frequency: ""}}</td>
1593 1593
                         <td v-if="org_id!=10489">{{monitor.breathing_rate ? monitor.breathing_rate : ""}}</td>
1594 1594
                         <td>{{monitor.blood_flow_volume? monitor.blood_flow_volume: ""}}</td>
1595
-                        <td v-if="org_id ==10478">
1595
+                        <td v-if="org_id ==10478 || org_id == 10598">
1596 1596
                           {{
1597 1597
                             monitor.arterial_pressure
1598 1598
                               ? monitor.arterial_pressure
@@ -1686,7 +1686,7 @@
1686 1686
                           <span v-if="org_id!=9671 && org_id!=10440"> {{ monitor.ultrafiltration_volume? monitor.ultrafiltration_volume: ""}}</span>
1687 1687
                           <span v-if="org_id==9671 || org_id==10440"> {{ monitor.ultrafiltration_volume? monitor.ultrafiltration_volume: "0"}}</span>
1688 1688
                         </td>
1689
-                        <td width="50" v-if="org_id == 10600"><br/> {{ monitor.ultrafiltration_rate? monitor.ultrafiltration_rate: "0"}}</td>
1689
+                        <td width="50" v-if="org_id == 10600 || org_id == 10598"><br/> {{ monitor.ultrafiltration_rate? monitor.ultrafiltration_rate: "0"}}</td>
1690 1690
                         <td
1691 1691
                           v-if="
1692 1692
                             (prescription.mode_id == 2 ||
@@ -1769,7 +1769,7 @@
1769 1769
                                   monitor.operate_time ==
1770 1770
                                     dialysisOrder.start_time)&&(org_id!=10414)
1771 1771
                                 "
1772
-                                >【开始透析】
1772
+                                >【开始透析】 <span v-if="org_id ==10598">引血100ml/min</span>
1773 1773
                                 </template>
1774 1774
 
1775 1775
                               {{ monitor.end }} {{ monitor.symptom }} &nbsp;{{

+ 3 - 3
src/xt_pages/management/components/QualityForm.vue View File

@@ -1463,9 +1463,9 @@
1463 1463
       </span>
1464 1464
     </el-dialog>
1465 1465
 
1466
-    <!-- 编辑内素检测 -->
1466
+    <!-- 编辑内素检测 -->
1467 1467
     <el-dialog
1468
-      title="内素检测"
1468
+      title="内素检测"
1469 1469
       :visible.sync="dialogVisibleTwo"
1470 1470
       width="60%"
1471 1471
       center
@@ -2480,7 +2480,7 @@ export default {
2480 2480
       bedNumber: [],
2481 2481
       tableTypes: [
2482 2482
         { id: 1, name: "细菌培养" },
2483
-        { id: 2, name: "内素检测" },
2483
+        { id: 2, name: "内素检测" },
2484 2484
         { id: 3, name: "透析液离子浓度检测" },
2485 2485
         { id: 4, name: "有毒化合物检测"},
2486 2486
         { id: 5, name:"水硬度检测"},

+ 8 - 2
src/xt_pages/outpatientCharges/invoicePrint.vue View File

@@ -9,12 +9,17 @@
9 9
         @click="printThisPage"
10 10
         type="primary"
11 11
       >打印</el-button>
12
+      <el-button
13
+      v-if="org_id==10088 || org_id == 0"
14
+      style="position:fixed;right:115px;z-index:999"
15
+      size="small" type="success" 
16
+      @click="showclick = !showclick">{{ showclick==false ? '白纸' : '发票' }}</el-button>  
12 17
     </template>
13 18
     <div class="app-container" style="padding-top:40px;" v-if="org_id != 10217 && org_id != 10485 && org_id != 10375 && org_id != 10567 && org_id != 10188 "><!--&& org_id != 10188 && org_id != 0-->
14 19
         <div class='dialysisPage'>
15 20
           <div v-if="org_id != 10106 && org_id != 10215 && org_id != 4 && org_id != 10188 && org_id != 10217 && org_id != 10387&& org_id != 10210 && org_id != 10387 && org_id != 10480 " >
16 21
             <printOne v-if="org_id != 10088 && org_id != 10510 && org_id != 0" :paramsObj="invoiceParams"></printOne>
17
-            <printThree v-if="org_id == 10088 || org_id == 0" :paramsObj="invoiceParams"></printThree>
22
+            <printThree v-if="org_id == 10088 || org_id == 0" :paramsObj="invoiceParams" :show="showclick"></printThree>
18 23
             <printfifteen v-if="org_id == 10510  " :paramsObj="invoiceParams"></printfifteen>
19 24
           </div>
20 25
           <printTwo v-if="org_id == 10106" :paramsObj="invoiceParams"></printTwo>
@@ -109,7 +114,8 @@
109 114
       return {
110 115
         childResponse: {},
111 116
         //   invoiceParams:{},
112
-        org_id:''
117
+        org_id:'',
118
+        showclick:false,
113 119
       };
114 120
     },
115 121
     methods: {

+ 18 - 6
src/xt_pages/outpatientCharges/invoiceTemplate/printThree.vue View File

@@ -1,20 +1,28 @@
1 1
 <template>
2 2
     <div id='invoice-print'>
3 3
         <div style="width: 100%;">
4
-          <span style="position: absolute;left:80px;top:50px;font-size: 18px;">湖 北 门 诊 医 疗 收 费 发 票</span>
4
+          <span style="position: absolute;left:80px;top:50px;font-size: 18px;">
5
+            <span v-if="show==false">湖 北 门 诊 医 疗 收 费 发 票</span>
6
+          </span>
5 7
         </div>
6 8
         <div style="display:flex;justify-content: space-between;">
7
-            <div  style="position: absolute;left:250px;top:100px;">科室:{{ list.department_name }}</div>
9
+            <div  style="position: absolute;left:250px;top:100px;">
10
+              <span v-if="show==false">科室:</span>
11
+              {{ list.department_name }}</div>
8 12
             <!-- <div  style="position: absolute;top:40px;left:300px">{{ list.number }}</div> -->
9 13
             <div></div>
10 14
             <div>
11
-                <span style="position: absolute;left:80px;top:80px;">收费日期:{{ paramsObj.setl_time.split(' ')[0].slice(0,10) }}</span>
15
+                <span style="position: absolute;left:80px;top:80px;">
16
+                  <span v-if="show==false">收费日期:</span>
17
+                  {{ paramsObj.setl_time.split(' ')[0].slice(0,10) }}</span>
12 18
                 <!-- <span style="position: absolute;left:630px;top:40px;">{{ paramsObj.setl_time.split(' ')[0].slice(5,7) }}</span>
13 19
                 <span style="position: absolute;left:690px;top:40px;">{{ paramsObj.setl_time.split(' ')[0].slice(8,11) }}</span>-->
14 20
             </div>
15 21
         </div>
16 22
         <div style="display:flex;justify-content: space-between;">
17
-            <div style="position: absolute;top:100px;left:80px;">姓名:{{ paramsObj.name }}</div>
23
+            <div style="position: absolute;top:100px;left:80px;">
24
+              <span v-if="show==false">姓名:</span>
25
+              {{ paramsObj.name }}</div>
18 26
             <!-- <div style="position: absolute;top:60px;left:210px;">√</div> -->
19 27
             <!-- <div>{{ list.pay_way }}</div> -->
20 28
             <!-- <div style="position: absolute;top:60px;left:460px;">{{ getTime(list.date, '{y}-{m}-{d}') }}</div>
@@ -108,7 +116,9 @@
108 116
         <div style="position: absolute;top:300px;left:300px">个人自费 {{ list.psn_cash_money }}</div>
109 117
         <div>
110 118
             <!-- <div style="position: absolute;top:320px;left:120px">{{ org_name }}</div> -->
111
-            <div style="position: absolute;top:340px;left:120px">收费员:{{ paramsObj.chargeName }}</div>
119
+            <div style="position: absolute;top:340px;left:120px">
120
+              <span v-if="show==false">收费员:</span>
121
+              {{ paramsObj.chargeName }}</div>
112 122
         </div>
113 123
     </div>
114 124
 </template>
@@ -119,7 +129,8 @@ import { getInvoice } from '@/api/project/project'
119 129
 import { uParseTime } from '@/utils/tools'
120 130
 export default {
121 131
     props:{
122
-        paramsObj:Object
132
+        paramsObj:Object,
133
+        show:Boolean,
123 134
     },
124 135
     data(){
125 136
         return{
@@ -132,6 +143,7 @@ export default {
132 143
         }
133 144
     },
134 145
     created(){
146
+      // console.log('showclick',this.show);
135 147
         console.log('paramsObj',this.paramsObj)
136 148
         let params = {
137 149
             order_id: this.paramsObj.order_id,

+ 2 - 2
src/xt_pages/role/admin.vue View File

@@ -24,13 +24,13 @@
24 24
         @click="BatchDelete"
25 25
         >医药师登记</el-button>
26 26
 
27
-<!-- 
27
+
28 28
         <el-button
29 29
           type="primary"
30 30
           size="small"
31 31
           icon="el-icon-circle-plus-outline"
32 32
           style="float:left"
33
-          @click="toJiaBan">首拼</el-button>  -->
33
+          @click="toJiaBan">首拼</el-button> 
34 34
 
35 35
           
36 36
 

+ 4 - 1
src/xt_pages/stock/drugs/components/purchaseNewDrugQuery.vue View File

@@ -418,7 +418,7 @@ export default {
418 418
             //   list[i].overDrug = this.getDrugWarehouseInfo(list[i].DrugWarehouseInfoEnd,list[i].DrugWarehouseOutInfoEnd,list[i].min_number,list[i].min_unit,list[i].max_unit,list[i].WareEndStockInventoryProfit,list[i].WareEndStockInventoryLosses,list[i].WareEndStockCancelInfo)
419 419
             //   list[i].overDrugPrice =  this.getDrugInMoney(list[i].DrugWarehouseInfoEnd,list[i].DrugWarehouseOutInfoEnd,list[i].min_number,list[i].min_unit,list[i].max_unit,list[i].WareEndStockInventoryProfit,list[i].WareEndStockInventoryLosses,list[i].WareEndStockCancelInfo)
420 420
             //   list[i].oveDrugSaleMoney =  this.getSaleMoney(list[i].DrugWarehouseInfoEnd,list[i].DrugWarehouseOutInfoEnd,list[i].min_number,list[i].min_unit,list[i].max_unit,list[i].WareEndStockInventoryProfit,list[i].WareEndStockInventoryLosses,list[i].WareEndStockCancelInfo)
421
-            if(this.org_id == 0 || this.org_id == 10265){
421
+            if(this.org_id == 10265){
422 422
               list[i].overDrug = this.GetDrugEndFlow(list[i].DrugEndFlow.over_count,list[i].min_number,list[i].min_unit,list[i].max_unit)
423 423
             }else{
424 424
               list[i].overDrug = this.GetDrugOver(list[i].DrugStatFlow.over_count,list[i].drugAddOne,list[i].drugOutOne,list[i].min_number,list[i].min_unit,list[i].max_unit)
@@ -1395,6 +1395,9 @@ export default {
1395 1395
       var min_str = ""
1396 1396
       var max_str = ""  
1397 1397
        total = totalone + totaltwo - totalthree
1398
+       console.log("totoalone---------------",totalone)
1399
+       console.log("totaltwo------------",totaltwo)
1400
+       console.log("totalthree----------",totalthree)
1398 1401
         if (total < min_number) {
1399 1402
           min_str = total + min_unit;
1400 1403
         }

+ 1 - 1
src/xt_pages/stock/drugs/drugStockFlow.vue View File

@@ -52,7 +52,7 @@
52 52
         <span>
53 53
           <el-button type="primary" size="small" @click="toExprot">导出</el-button>
54 54
 
55
-          <!-- <el-button type="primary" size="small" @click="toTongBu">同步</el-button> -->
55
+          <el-button type="primary" size="small" @click="toTongBu">同步</el-button>
56 56
         </span>
57 57
         
58 58
       </div>

+ 1 - 0
src/xt_pages/stock/query/purchaseStockQuery.vue View File

@@ -286,6 +286,7 @@ export default {
286 286
              
287 287
              
288 288
               list[i].overStock = list[i].stockIn + list[i].stockAdd - list[i].outStock
289
+            
289 290
               list[i].overPrice = list[i].buy_price
290 291
               list[i].overMoney = (list[i].overStock * list[i].buy_price).toFixed(2)
291 292
              

+ 168 - 79
src/xt_pages/user/Informed/Informedconsent.vue View File

@@ -120,7 +120,18 @@
120 120
                 <div v-if="therapy_show">
121 121
                   <therapy_informed :patient_id ="this.patientID"></therapy_informed>
122 122
                 </div>
123
-                
123
+                <div v-if="history_show">
124
+                  <Medicalhistory :patient_id ="this.patientID"></Medicalhistory>
125
+                </div>
126
+                <div v-if="show14">
127
+                  <heal_informed :patient_id ="this.patientID"></heal_informed>
128
+                </div>
129
+                <div v-if="show15">
130
+                  <criticalpatient_informed :patient_id ="this.patientID"></criticalpatient_informed>
131
+                </div>
132
+                <div v-if="show16">
133
+                  <criticalpatient_informed2 :patient_id ="this.patientID"></criticalpatient_informed2>
134
+                </div>
124 135
               </div>
125 136
             </div>
126 137
           </el-tab-pane>
@@ -145,9 +156,13 @@ import Bring_informed from './components/Bring_informed'//自带药物
145 156
 import catheterization_informed from './components/catheterization_informed'//深静脉导管置入
146 157
 import dialyzer_informed from './components/dialyzer_informed'//透析器(滤器)
147 158
 import therapy_informed from './components/therapy_informed'//透析器(滤过)治疗
159
+import Medicalhistory from './components/Medicalhistory'
160
+import heal_informed from './components/heal_informed'
161
+import criticalpatient_informed from './components/criticalpatient_informed'
162
+import criticalpatient_informed2 from './components/criticalpatient_informed2'
148 163
 import { getPatientDetailInformedconsent,getFallOutBedPrintList,getFilterInformed,getProfundaInformed,getArterOvernous,getHighRiskInformed  } from '@/api/patient'
149 164
 export default {
150
-  
165
+
151 166
   components: {
152 167
     PatientSidebar,
153 168
     Falloutbedprint,
@@ -161,16 +176,21 @@ export default {
161 176
     Bring_informed,
162 177
     catheterization_informed,
163 178
     dialyzer_informed,
164
-    therapy_informed
179
+    therapy_informed,
180
+    Medicalhistory,
181
+    heal_informed,
182
+    criticalpatient_informed,
183
+    criticalpatient_informed2
165 184
   },
166 185
   data() {
167 186
     return {
168 187
       // patient_id:0,
169
-      activeName:'first',
170
-      templates:[{date:'人脸识别知情同意书',value:1},{date:'血液透析(滤过、灌流)治疗知情同意书',value:2},{date:'深静脉透析导管拔管术知情同意书',value:3},{date:'动静脉内瘘穿刺知情同意书',value:4},
171
-                {date:'高危出血患者血液净化抗凝方式选择知情同意书',value:5},{date:'抗凝溶栓治疗知情同意书',value:6},{date:'危重患者接受血液净化治疗知情同意书',value:7},
172
-                {date:'血液灌流治疗知情同意书',value:8},{date:'自带药物代为注射告知知情同意书',value:9},{date:'深静脉透析导管置入术知情同意书',value:10},
173
-                {date:'透析器(滤器)重复使用知情同意书',value:11},{date:'血液透析(滤过)治疗知情同意书',value:12}],
188
+      activeName:'second',
189
+      templates:[{date:'人脸识别知情同意书',value:'1'},{date:'血液透析(滤过、灌流)治疗知情同意书',value:'2'},{date:'深静脉透析导管拔管术知情同意书',value:'3'},{date:'动静脉内瘘穿刺知情同意书',value:'4'},
190
+                {date:'高危出血患者血液净化抗凝方式选择知情同意书',value:'5'},{date:'抗凝溶栓治疗知情同意书',value:'6'},{date:'危重患者接受血液净化治疗知情同意书',value:'7'},
191
+                {date:'血液灌流治疗知情同意书',value:'8'},{date:'自带药物代为注射告知知情同意书',value:'9'},{date:'深静脉透析导管置入术知情同意书',value:'10'},
192
+                {date:'透析器(滤器)重复使用知情同意书',value:'11'},{date:'血液透析(滤过)治疗知情同意书',value:'12'},{date:'门诊血液透析治疗病历首页',value:'13'},
193
+                {date:'治疗处理方案知情同意书',value:'14'},{date:'危重病人知情同意书',value:'15'},{date:'危重病人知情同意书',value:'16'},],
174 194
 
175 195
       face_show:true,
176 196
       filter_show:false,
@@ -184,6 +204,10 @@ export default {
184 204
       catheterization_show:false,
185 205
       dialyzer_show:false,
186 206
       therapy_show:false,
207
+      history_show:false,
208
+      show14:false,
209
+      show15:false,
210
+      show16:false,
187 211
       patientID:0,
188 212
       patient:{},
189 213
       tableData:[],
@@ -204,20 +228,20 @@ export default {
204 228
   },
205 229
   methods: {
206 230
     getlist(){
207
-    
231
+
208 232
     getPatientDetailInformedconsent(this.patientID).then(response=>{
209 233
       if(response.data.state == 1){
210 234
         var patient =  response.data.data.patients
211 235
         console.log("patinet",patient)
212 236
         this.patient =patient
213 237
       }
214
-    }) 
238
+    })
215 239
    },
216 240
     rowClick(row, column, event){
217 241
       // console.log('1111',row);
218 242
       // console.log('2222',column);
219 243
       // console.log('3333',event);
220
-     
244
+
221 245
         if(row.value==1){
222 246
           this.face_show=true
223 247
           this.filter_show=false,
@@ -230,9 +254,11 @@ export default {
230 254
           this.Bring_show=false,
231 255
           this.catheterization_show=false,
232 256
           this.dialyzer_show=false,
233
-          this.therapy_show=false
234
-
235
-        //  this.getFallOutBedPrintList()
257
+          this.therapy_show=false,
258
+          this.history_show=false,
259
+          this.show14=false,
260
+          this.show15=false,
261
+          this.show16=false
236 262
         }
237 263
         if(row.value==2){
238 264
           this.filter_show=true
@@ -246,8 +272,11 @@ export default {
246 272
           this.Bring_show=false,
247 273
           this.catheterization_show=false,
248 274
           this.dialyzer_show=false,
249
-          this.therapy_show=false
250
-         // this.getFilterInformed()
275
+          this.therapy_show=false,
276
+          this.history_show=false,
277
+          this.show14=false,
278
+          this.show15=false,
279
+          this.show16=false
251 280
         }
252 281
         if(row.value==3){
253 282
           this.face_show=false
@@ -261,8 +290,11 @@ export default {
261 290
           this.Bring_show=false,
262 291
           this.catheterization_show=false,
263 292
           this.dialyzer_show=false,
264
-          this.therapy_show=false
265
-          //this.getProfundaInformed()
293
+          this.therapy_show=false,
294
+          this.history_show=false,
295
+          this.show14=false,
296
+          this.show15=false,
297
+          this.show16=false
266 298
         }
267 299
         if(row.value==4){
268 300
           this.filter_show=false
@@ -276,8 +308,11 @@ export default {
276 308
           this.Bring_show=false,
277 309
           this.catheterization_show=false,
278 310
           this.dialyzer_show=false,
279
-          this.therapy_show=false
280
-         // this.getArterOvernous()
311
+          this.therapy_show=false,
312
+          this.history_show=false,
313
+          this.show14=false,
314
+          this.show15=false,
315
+          this.show16=false
281 316
         }
282 317
         if(row.value==5){
283 318
           this.face_show=false
@@ -291,8 +326,11 @@ export default {
291 326
           this.Bring_show=false,
292 327
           this.catheterization_show=false,
293 328
           this.dialyzer_show=false,
294
-          this.therapy_show=false
295
-         // this.getHighRiskInformed()
329
+          this.therapy_show=false,
330
+          this.history_show=false,
331
+          this.show14=false,
332
+          this.show15=false,
333
+          this.show16=false
296 334
         }
297 335
         if(row.value==6){
298 336
           this.filter_show=false
@@ -306,8 +344,11 @@ export default {
306 344
           this.Bring_show=false,
307 345
           this.catheterization_show=false,
308 346
           this.dialyzer_show=false,
309
-          this.therapy_show=false
310
-          
347
+          this.therapy_show=false,
348
+          this.history_show=false,
349
+          this.show14=false,
350
+          this.show15=false,
351
+          this.show16=false
311 352
         }
312 353
         if(row.value==7){
313 354
           this.face_show=false
@@ -321,7 +362,11 @@ export default {
321 362
           this.Bring_show=false,
322 363
           this.catheterization_show=false,
323 364
           this.dialyzer_show=false,
324
-          this.therapy_show=false
365
+          this.therapy_show=false,
366
+          this.history_show=false,
367
+          this.show14=false,
368
+          this.show15=false,
369
+          this.show16=false
325 370
         }
326 371
         if(row.value==8){
327 372
           this.filter_show=false
@@ -335,7 +380,11 @@ export default {
335 380
           this.Bring_show=false,
336 381
           this.catheterization_show=false,
337 382
           this.dialyzer_show=false,
338
-          this.therapy_show=false
383
+          this.therapy_show=false,
384
+          this.history_show=false,
385
+          this.show14=false,
386
+          this.show15=false,
387
+          this.show16=false
339 388
         }
340 389
         if(row.value==9){
341 390
           this.face_show=false
@@ -349,7 +398,11 @@ export default {
349 398
           this.Bring_show=true,
350 399
           this.catheterization_show=false,
351 400
           this.dialyzer_show=false,
352
-          this.therapy_show=false
401
+          this.therapy_show=false,
402
+          this.history_show=false,
403
+          this.show14=false,
404
+          this.show15=false,
405
+          this.show16=false
353 406
         }
354 407
         if(row.value==10){
355 408
           this.filter_show=false
@@ -363,7 +416,11 @@ export default {
363 416
           this.Bring_show=false,
364 417
           this.catheterization_show=true,
365 418
           this.dialyzer_show=false,
366
-          this.therapy_show=false
419
+          this.therapy_show=false,
420
+          this.history_show=false,
421
+          this.show14=false,
422
+          this.show15=false,
423
+          this.show16=false
367 424
         }
368 425
         if(row.value==11){
369 426
           this.face_show=false
@@ -377,7 +434,11 @@ export default {
377 434
           this.Bring_show=false,
378 435
           this.catheterization_show=false,
379 436
           this.dialyzer_show=true,
380
-          this.therapy_show=false
437
+          this.therapy_show=false,
438
+          this.history_show=false,
439
+          this.show14=false,
440
+          this.show15=false,
441
+          this.show16=false
381 442
         }
382 443
         if(row.value==12){
383 444
           this.filter_show=false
@@ -391,56 +452,85 @@ export default {
391 452
           this.Bring_show=false,
392 453
           this.catheterization_show=false,
393 454
           this.dialyzer_show=false,
394
-          this.therapy_show=true
455
+          this.therapy_show=true,
456
+          this.history_show=false,
457
+          this.show14=false,
458
+          this.show15=false,
459
+          this.show16=false
395 460
         }
396
-  
397
-    },
398
-    fMethod(){
399
-      console.log("除非富足到佛欧安抚")
400
-      this.getFallOutBedPrintList()
401
-    },
402
-    getFallOutBedPrintList(){
403
-      getFallOutBedPrintList().then(response=>{
404
-          if(response.data.state ==1){
405
-             var list = response.data.data.list
406
-             this.listPrint = list
407
-          }
408
-      })
409
-    },
410
-    getFilterInformed(){
411
-      getFilterInformed().then(response=>{
412
-         if(response.data.state == 1){
413
-          var list = response.data.data.list
414
-          this.filterList = list
415
-         }
416
-      })
417
-    },
418
-
419
-    getProfundaInformed(){
420
-      getProfundaInformed().then(response=>{
421
-         if(response.data.state ==1){
422
-          var list = response.data.data.list
423
-          this.profundaPrint = list
424
-          console.log("hhahhahah",this.profundaPrint)
425
-         }
426
-      })
427
-    },
428
-    getArterOvernous(){
429
-      getArterOvernous().then(response=>{
430
-         if(response.data.state ==1){
431
-           var list = response.data.data.list
432
-           this.arterOvenousPrint = list
433
-         }
434
-      })
435
-    },
436
-    getHighRiskInformed(){
437
-      getHighRiskInformed().then(response=>{
438
-        if(response.data.state ==1){
439
-          var list = response.data.data.list
440
-          this.highRiskPrint = list
461
+        if(row.value==13){
462
+          this.filter_show=false
463
+          this.face_show=false
464
+          this.profunda_show=false,
465
+          this.arteriovenous_show=false,
466
+          this.Highrisk_show=false,
467
+          this.anticoagulation_show=false,
468
+          this.critical_show=false,
469
+          this.hemoperfusion_show=false,
470
+          this.Bring_show=false,
471
+          this.catheterization_show=false,
472
+          this.dialyzer_show=false,
473
+          this.therapy_show=false,
474
+          this.history_show=true,
475
+          this.show14=false,
476
+          this.show15=false,
477
+          this.show16=false
441 478
         }
442
-      })
443
-    }
479
+        if(row.value==14){
480
+          this.filter_show=false
481
+          this.face_show=false
482
+          this.profunda_show=false,
483
+          this.arteriovenous_show=false,
484
+          this.Highrisk_show=false,
485
+          this.anticoagulation_show=false,
486
+          this.critical_show=false,
487
+          this.hemoperfusion_show=false,
488
+          this.Bring_show=false,
489
+          this.catheterization_show=false,
490
+          this.dialyzer_show=false,
491
+          this.therapy_show=false,
492
+          this.history_show=false,
493
+          this.show14=true,
494
+          this.show15=false,
495
+          this.show16=false
496
+        }
497
+        if(row.value==15){
498
+          this.filter_show=false
499
+          this.face_show=false
500
+          this.profunda_show=false,
501
+          this.arteriovenous_show=false,
502
+          this.Highrisk_show=false,
503
+          this.anticoagulation_show=false,
504
+          this.critical_show=false,
505
+          this.hemoperfusion_show=false,
506
+          this.Bring_show=false,
507
+          this.catheterization_show=false,
508
+          this.dialyzer_show=false,
509
+          this.therapy_show=false,
510
+          this.history_show=false,
511
+          this.show14=false,
512
+          this.show15=true,
513
+          this.show16=false
514
+        }
515
+        if(row.value==16){
516
+          this.filter_show=false
517
+          this.face_show=false
518
+          this.profunda_show=false,
519
+          this.arteriovenous_show=false,
520
+          this.Highrisk_show=false,
521
+          this.anticoagulation_show=false,
522
+          this.critical_show=false,
523
+          this.hemoperfusion_show=false,
524
+          this.Bring_show=false,
525
+          this.catheterization_show=false,
526
+          this.dialyzer_show=false,
527
+          this.therapy_show=false,
528
+          this.history_show=false,
529
+          this.show14=false,
530
+          this.show15=false,
531
+          this.show16=true
532
+        }
533
+      },
444 534
   }
445 535
 }
446 536
 </script>
@@ -448,7 +538,7 @@ export default {
448 538
     .content_top{
449 539
       display: flex;
450 540
       justify-content: space-between;
451
-     
541
+
452 542
     }
453 543
     .table{
454 544
         border: 1px solid #DCDFE6;
@@ -539,4 +629,3 @@ export default {
539 629
 
540 630
   }
541 631
 </style>
542
- 

+ 39 - 4
src/xt_pages/user/Informed/components/Bring_informed.vue View File

@@ -119,7 +119,7 @@
119 119
         </div>
120 120
         <span slot="footer" class="dialog-footer">
121 121
           <el-button @click="dialogVisible = false">取 消</el-button>
122
-          <el-button type="primary" @click="dialogVisible = false">确 定</el-button>
122
+          <el-button type="primary" @click="saveBringInformed">保 存</el-button>
123 123
         </span>
124 124
       </el-dialog>
125 125
   </div>
@@ -128,7 +128,7 @@
128 128
 <script>
129 129
 import print from "print-js";
130 130
 import Editor from '@/components/Editor'
131
-import { getPatientDetailInformedconsent  } from '@/api/patient'
131
+import { getPatientDetailInformedconsent,saveBringInformed  } from '@/api/patient'
132 132
 import { jsGetAge, uParseTime } from "@/utils/tools";
133 133
 const content=`<p style='position: relative;padding-left: 2em;margin-top: 10px;margin-bottom: 4px'>
134 134
   <span style='position: absolute;top: 0px;left: 0;'>一、</span>在本次代为注射前,接诊护士已向我介绍了代为注射的手续办理流程,充分告知了代为注射在医疗和法律上的风险和相关注意事项,并对本人询问的所有问题也给予了圆满的解答。护士告知的事项至少已包括以下内容:
@@ -169,7 +169,10 @@ export default{
169 169
   props: {
170 170
     patient_id: {
171 171
         type: Number,
172
-      }
172
+      },
173
+    informedConsentPrint:{
174
+      type:Object
175
+    }
173 176
    },
174 177
    components:{
175 178
     Editor
@@ -178,7 +181,8 @@ export default{
178 181
     return{
179 182
       patient:{},
180 183
       dialogVisible:false,
181
-      content:content
184
+      content:content,
185
+      
182 186
     }
183 187
    },
184 188
   methods:{
@@ -225,9 +229,40 @@ export default{
225 229
     },
226 230
     bianji(){
227 231
       this.dialogVisible=true
232
+    },
233
+    show(val){
234
+       
235
+       if(val!=null){
236
+        console.log("valw233223",val)
237
+         if(val.content!=""){
238
+           this.content = ""
239
+           this.content = val.content
240
+         }
241
+         
242
+       }
243
+     },
244
+    saveBringInformed(){
245
+        var params = {
246
+          content:this.$refs.editor.content
247
+        }
248
+      saveBringInformed(params).then(response=>{
249
+        
250
+         if(response.data.state ==1){
251
+            var list = response.data.data.list
252
+            this.dialogVisible = false
253
+            this.$message.success("保存成功")
254
+            this.$emit("getInformedConsent","");
255
+
256
+         }
257
+      })
228 258
     }
229 259
   },
230 260
   created(){
261
+    console.log("自导哦呜呜呜呜呜呜呜呜呜",this.informedConsentPrint)
262
+    if(this.informedConsentPrint!=null && this.informedConsentPrint.id >0){
263
+       this.content = ""
264
+       this.content = this.informedConsentPrint.content
265
+    }
231 266
     this.getlist()
232 267
   }
233 268
 }

+ 17 - 2
src/xt_pages/user/Informed/components/Falloutbedprint.vue View File

@@ -169,7 +169,7 @@ export default{
169 169
    },
170 170
 
171 171
    created(){
172
-     
172
+     console.log("list_printwoowowowo",this.listPrint)
173 173
      if(this.listPrint!=null&& this.listPrint.id >0){
174 174
        this.content =""
175 175
        this.content = this.listPrint.content
@@ -220,6 +220,17 @@ export default{
220 220
       bianji(){
221 221
         this.dialogVisible =true
222 222
       },
223
+      show(val){
224
+       
225
+       if(val!=null){
226
+        console.log("valw233223",val)
227
+         if(val.content!=""){
228
+           this.content = ""
229
+           this.content = val.content
230
+         }
231
+         
232
+       }
233
+     },
223 234
       saveFallOutBedPrint(){
224 235
           var params = {
225 236
             patient_id:this.patient_id,
@@ -230,8 +241,12 @@ export default{
230 241
            if(response.data.state ==1){
231 242
               var list = response.data.data.list
232 243
               this.$message.success("保存成功!")
233
-              this.$emit('fMethod',list);
244
+             
234 245
               this.dialogVisible = false
246
+
247
+              this.$emit("getFallOutBedPrintList","");
248
+            
249
+
235 250
            }
236 251
         })
237 252
       }

+ 12 - 0
src/xt_pages/user/Informed/components/Filter_informed.vue View File

@@ -278,6 +278,17 @@ export default{
278 278
       bianji(){
279 279
         this.dialogVisible=true
280 280
       },
281
+      show(val){
282
+       
283
+       if(val!=null){
284
+        console.log("valw233223",val)
285
+         if(val.content!=""){
286
+           this.content = ""
287
+           this.content = val.content
288
+         }
289
+         
290
+       }
291
+     },
281 292
       saveFilterInformed(){
282 293
          var params = {
283 294
           content:this.$refs.editor.content,
@@ -288,6 +299,7 @@ export default{
288 299
             var informed = response.data.data.informed
289 300
             this.$emit('fMethod',informed);
290 301
             this.dialogVisible = false
302
+            this.$emit("getFilterInformed","");
291 303
           }
292 304
         })
293 305
       }

+ 12 - 0
src/xt_pages/user/Informed/components/Highrisk_informed.vue View File

@@ -210,6 +210,17 @@ export default{
210 210
       bianji(){
211 211
         this.dialogVisible=true
212 212
       },
213
+      show(val){
214
+       
215
+       if(val!=null){
216
+        console.log("valw233223",val)
217
+         if(val.content!=""){
218
+           this.content = ""
219
+           this.content = val.content
220
+         }
221
+         
222
+       }
223
+     },
213 224
       saveHighriskInformed(){
214 225
           var params = {
215 226
             content:this.$refs.editor.content
@@ -219,6 +230,7 @@ export default{
219 230
              var list = response.data.data.list
220 231
              this.dialogVisible = false 
221 232
              this.$message.success("保存成功!")
233
+             this.$emit("getHighRiskInformed","");
222 234
            }
223 235
            
224 236
         })

+ 79 - 23
src/xt_pages/user/Informed/components/Medicalhistory.vue View File

@@ -1,9 +1,9 @@
1 1
 <template>
2 2
   <div style="border:1px solid gainsboro ;padding:10px">
3 3
     <div style="position: relative; left: 400px;width: 250px;margin: 20px 0;">
4
-      <el-button type="primary" style=""  @click="bianji">
4
+      <!-- <el-button type="primary" style=""  @click="bianji">
5 5
             编辑
6
-        </el-button>
6
+        </el-button> -->
7 7
       <!-- <el-button type="danger" style=""  @click="">
8 8
             删除
9 9
       </el-button> -->
@@ -24,8 +24,8 @@
24 24
           <div style="display: flex;padding: 10px 5px">
25 25
             <div style="flex: 1;">姓名:<span class="unile">{{ patient.name }}</span></div>
26 26
             <div style="flex: 1;">性别:
27
-              <input type="checkbox" />女
28
-              <input type="checkbox" />男
27
+              <input type="checkbox" v-model="nv" class="nv"/>女
28
+              <input type="checkbox" v-model="nan" class="nan"/>男
29 29
             </div>
30 30
           </div>
31 31
           <div style="display: flex;padding: 10px 5px">
@@ -36,7 +36,8 @@
36 36
           </div>
37 37
           <div style='padding: 10px 5px'>
38 38
             <div>
39
-              现住址(详填) <span class="unile2"></span> 省 <span class="unile2"></span>市<span class="unile2"></span>县(区)<span class="unile2"></span>乡(镇、街道)<span class="unile2"></span>村(门牌号)
39
+              现住址(详填) <span class="unile2">{{ sheng ? sheng:' ' }}</span> 省 <span class="unile2">{{ shi? shi:' ' }}</span>市
40
+              <span class="unile2">{{ xian ?xian:'' }}</span>县(区)<span class="unile2">{{ jie?jie:'' }}</span>乡(镇、街道)<span class="unile2">{{ hao?hao:'' }}</span>村(门牌号)
40 41
             </div>
41 42
             <div style="flex: 1;">邮编<span class="unile2"></span></div>
42 43
           </div>
@@ -64,7 +65,7 @@
64 65
             地址<span class="unile2"></span> 省(市)<span class="unile2"></span>路<span class="unile2"></span>号
65 66
           </div>
66 67
           <div style="padding: 10px 5px">
67
-            诊断:<span class="unile"></span>
68
+            诊断:<span class="unile">{{ patient.diagnose }}</span>
68 69
           </div>
69 70
           <div style="padding: 10px 5px">
70 71
             合并症或并发症 <span class="unile"></span>
@@ -84,13 +85,13 @@
84 85
                 <td>日期</td>
85 86
                 <td>种类</td>
86 87
               </tr>
87
-              <tr>
88
-                <td class="tablepadd">2023.11.30</td>
89
-                <td>待定</td>
90
-                <td>2023.11.30</td>
91
-                <td>左侧自体动静脉内瘘</td>
92
-                <td>2023.11.30</td>
93
-                <td>低分子肝素钙</td>
88
+              <tr v-for="item in 1">
89
+                <td class="tablepadd"></td>
90
+                <td></td>
91
+                <td></td>
92
+                <td></td>
93
+                <td></td>
94
+                <td></td>
94 95
               </tr>
95 96
               <tr>
96 97
                 <td colspan="2" class="tablepadd">传染病登记</td>
@@ -105,8 +106,8 @@
105 106
                 <td>日期</td>
106 107
                 <td>药物名称</td>
107 108
               </tr>
108
-              <tr>
109
-                <td class="tablepadd">2023.11.30</td>
109
+              <tr v-for="item in 1">
110
+                <td class="tablepadd"></td>
110 111
                 <td></td>
111 112
                 <td></td>
112 113
                 <td></td>
@@ -124,13 +125,13 @@
124 125
                 <td>透析液钙浓度</td>
125 126
                 <td>调整日期</td>
126 127
               </tr>
127
-              <tr>
128
-                <td class="tablepadd">每周3次</td>
129
-                <td>2023.11.30</td>
130
-                <td>HD</td>
131
-                <td>2023.11.30</td>
132
-                <td>1.5mmol/L</td>
133
-                <td>2023.11.30</td>
128
+              <tr v-for="item in 1">
129
+                <td class="tablepadd"></td>
130
+                <td></td>
131
+                <td></td>
132
+                <td></td>
133
+                <td></td>
134
+                <td></td>
134 135
               </tr>
135 136
             </table>
136 137
           </div>
@@ -176,10 +177,18 @@ export default{
176 177
     return{
177 178
       patient:{},
178 179
       dialogVisible:false,
180
+      sex:'',
181
+      sheng:'',
182
+      shi:'',
183
+      xian:'',
184
+      jie:'',
185
+      hao:''
179 186
     }
180 187
   },
181 188
   created(){
182 189
     this.getlist()
190
+
191
+    // }
183 192
   },
184 193
   methods:{
185 194
     getlist(){
@@ -189,6 +198,31 @@ export default{
189 198
           var patient =  response.data.data.patients
190 199
           console.log("patinet",patient)
191 200
           this.patient =patient
201
+          this.sex=patient.gender
202
+
203
+          console.log('2222', patient.home_address)
204
+          if(patient.home_address != ''){
205
+            var str = patient.home_address
206
+            var reg = /.+?(省|市|自治区|自治州|县|区|乡|镇|街道|号)/g; // 省市区的正则
207
+            const address = str.match(reg)
208
+            for(let i in address){
209
+              // console.log(i,address[i]);
210
+              if(address[i].indexOf('省') != -1 || address[i].indexOf('自治区') != -1){
211
+                this.sheng = address[i]
212
+              }else if(address[i].indexOf('市') != -1 || address[i].indexOf('自治州') != -1){
213
+                this.shi = address[i]
214
+              }else if(address[i].indexOf('县') != -1 || address[i].indexOf('区') != -1){
215
+                this.xian = address[i]
216
+              }else if(address[i].indexOf('乡') != -1 || address[i].indexOf('街道') != -1 || address[i].indexOf('镇') != -1){
217
+                this.jie = address[i]
218
+              }else{
219
+                this.hao =address[i]
220
+              }
221
+            }
222
+            console.log('ffff',this.sheng,this.shi,this.xian,this.jie,this.hao);
223
+
224
+          }
225
+
192 226
         }
193 227
       })
194 228
     },
@@ -216,6 +250,25 @@ export default{
216 250
     bianji(){
217 251
       this.dialogVisible = true
218 252
     }
253
+  },
254
+  computed:{
255
+    nv(){
256
+      const sex=document.getElementsByClassName('nv')
257
+      if(this.sex==2){
258
+        return sex.checked=true
259
+      }else{
260
+        return sex.checked=false
261
+      }
262
+
263
+    },
264
+    nan(){
265
+      const sex2=document.getElementsByClassName('nan')
266
+      if(this.sex==1){
267
+        return sex2.checked=true
268
+      }else{
269
+        return sex2.checked=false
270
+      }
271
+    }
219 272
   }
220 273
 }
221 274
 
@@ -230,11 +283,14 @@ export default{
230 283
   .unile2{
231 284
     display: inline-block;
232 285
     border-bottom: 1px solid black;
233
-    width: 150px;
286
+    height: 30px;
287
+    text-align: center;
288
+    width: 170px;
234 289
     padding: 15px 0;
235 290
   }
236 291
   .tablepadd{
237 292
     padding: 5px 0;
293
+    height: 35px;
238 294
   }
239 295
 }
240 296
 input[type="checkbox"]{

+ 21 - 2
src/xt_pages/user/Informed/components/anticoagulation_informed.vue View File

@@ -156,7 +156,7 @@
156 156
         </div>
157 157
         <span slot="footer" class="dialog-footer">
158 158
           <el-button @click="dialogVisible = false">取 消</el-button>
159
-          <el-button type="primary" @click="saveAnticoagulation">确 定</el-button>
159
+          <el-button type="primary" @click="saveAnticoagulation">保 存</el-button>
160 160
         </span>
161 161
       </el-dialog>
162 162
   </div>
@@ -238,7 +238,10 @@ export default{
238 238
   props: {
239 239
     patient_id: {
240 240
         type: Number,
241
-      }
241
+      },
242
+    auncoagulationPrint:{
243
+      type:Number,
244
+    }
242 245
    },
243 246
    components:{
244 247
     Editor
@@ -295,6 +298,17 @@ export default{
295 298
       bianji(){
296 299
         this.dialogVisible=true
297 300
       },
301
+      show(val){
302
+       
303
+       if(val!=null){
304
+        console.log("valw233223",val)
305
+         if(val.content!=""){
306
+           this.content = ""
307
+           this.content = val.content
308
+         }
309
+         
310
+       }
311
+     },
298 312
       saveAnticoagulation(){
299 313
           var params = {
300 314
             content:this.$refs.editor.content
@@ -304,11 +318,16 @@ export default{
304 318
               var list = response.data.data.list
305 319
               this.$message.success("保存成功")
306 320
               this.dialogVisible = false
321
+              this.$emit("getAnticoagulationInformed","");
307 322
             }
308 323
         })
309 324
       }
310 325
   },
311 326
   created(){
327
+    if(this.auncoagulationPrint!=null && this.auncoagulationPrint.id >0){
328
+       this.content = ""
329
+       this.content = this.auncoagulationPrint.content
330
+    }
312 331
     this.getlist()
313 332
   }
314 333
 }

+ 12 - 0
src/xt_pages/user/Informed/components/arteriovenous_informed.vue View File

@@ -237,6 +237,17 @@ export default{
237 237
     bianji(){
238 238
       this.dialogVisible=true
239 239
     },
240
+    show(val){
241
+       
242
+       if(val!=null){
243
+        console.log("valw233223",val)
244
+         if(val.content!=""){
245
+           this.content = ""
246
+           this.content = val.content
247
+         }
248
+         
249
+       }
250
+     },
240 251
     saveArterOvenous(){
241 252
        var params = {
242 253
         content:this.$refs.editor.content
@@ -246,6 +257,7 @@ export default{
246 257
             var list = response.data.data.list
247 258
             this.$message.success("保存成功")
248 259
             this.dialogVisible = false
260
+            this.$emit("getArterOvernous","");
249 261
          }
250 262
       })
251 263
     }

+ 35 - 3
src/xt_pages/user/Informed/components/catheterization_informed.vue View File

@@ -84,7 +84,7 @@
84 84
         </div>
85 85
         <span slot="footer" class="dialog-footer">
86 86
           <el-button @click="dialogVisible = false">取 消</el-button>
87
-          <el-button type="primary" @click="dialogVisible = false">确 定</el-button>
87
+          <el-button type="primary" @click="saveCatheterization">保 存</el-button>
88 88
         </span>
89 89
       </el-dialog>
90 90
   </div>
@@ -93,7 +93,7 @@
93 93
 <script>
94 94
 import print from "print-js";
95 95
 import Editor from '@/components/Editor'
96
-import { getPatientDetailInformedconsent  } from '@/api/patient'
96
+import { getPatientDetailInformedconsent,saveCatheterization  } from '@/api/patient'
97 97
 import { jsGetAge, uParseTime } from "@/utils/tools";
98 98
 const content=`<p style='position: relative;padding-left: 2em;margin-top: 10px;margin-bottom: 4px'>
99 99
   <span style='position: absolute;top: 0px;left: 0;'>一、</span>该知情同意书将向您介绍深静脉透析导管置管术相关事宜,您有权知道手术的方法、目的、存在的风险、预期效果及对人体的影响。请您仔细阅读,提出与手术有关的任何疑问,决定是否同意对患者实施深静脉透析导管手术。
@@ -208,7 +208,10 @@ export default{
208 208
   props: {
209 209
     patient_id: {
210 210
         type: Number,
211
-      }
211
+      },
212
+    cathetherizationPrint:{
213
+      type:Object,
214
+    }
212 215
    },
213 216
    components:{
214 217
     Editor
@@ -264,9 +267,38 @@ export default{
264 267
     },
265 268
     bianji(){
266 269
       this.dialogVisible =true
270
+    },
271
+    show(val){
272
+       
273
+       if(val!=null){
274
+        console.log("valw233223",val)
275
+         if(val.content!=""){
276
+           this.content = ""
277
+           this.content = val.content
278
+         }
279
+         
280
+       }
281
+     },
282
+    saveCatheterization(){
283
+        var params = {
284
+          content:this.$refs.editor.content
285
+        }
286
+      saveCatheterization(params).then(response=>{
287
+         if(response.data.state == 1){
288
+           var list =  response.data.data.list
289
+           this.$message.success("保存成功!")
290
+           this.dialogVisible = false
291
+           this.$emit("getCatheterization","");
292
+         }
293
+      })
267 294
     }
268 295
   },
269 296
   created(){
297
+    console.log("hhahfhahdhfahhdf",this.cathetherizationPrint)
298
+    if(this.cathetherizationPrint!=null && this.cathetherizationPrint.id >0){
299
+       this.content = ""
300
+       this.content = this.cathetherizationPrint.content
301
+    }
270 302
     this.getlist()
271 303
   }
272 304
 }

+ 34 - 2
src/xt_pages/user/Informed/components/critical_informed.vue View File

@@ -82,7 +82,7 @@
82 82
         </div>
83 83
         <span slot="footer" class="dialog-footer">
84 84
           <el-button @click="dialogVisible = false">取 消</el-button>
85
-          <el-button type="primary" @click="dialogVisible = false">确 定</el-button>
85
+          <el-button type="primary" @click="saveCriticalInfomed">保 存</el-button>
86 86
         </span>
87 87
       </el-dialog>
88 88
   </div>
@@ -91,7 +91,7 @@
91 91
 <script>
92 92
 import print from "print-js";
93 93
 import Editor from '@/components/Editor'
94
-import { getPatientDetailInformedconsent  } from '@/api/patient'
94
+import { getPatientDetailInformedconsent,saveCriticalInfomed  } from '@/api/patient'
95 95
 import { jsGetAge, uParseTime } from "@/utils/tools";
96 96
 const content=`<p style='position: relative;padding-left: 2em;margin-top: 10px;margin-bottom: 4px '>
97 97
   <span style='position: absolute;top: 0px;left: 0;'>一、</span>该知情同意书将向您介绍危重患者接受血液净化治疗选择相关事宜,你有权知道危重患者接受血液净化治疗存在的风险、预期效果及对人体等影响,请您仔细阅读,提出与治疗有关的任何疑问。决定是否同意对患者实施血液净化治疗。
@@ -150,6 +150,9 @@ export default{
150 150
   props: {
151 151
     patient_id: {
152 152
         type: Number,
153
+      },
154
+      criticalInforPrint:{
155
+        type:Object,
153 156
       }
154 157
    },
155 158
    components:{
@@ -207,8 +210,37 @@ export default{
207 210
     bianji(){
208 211
       this.dialogVisible=true
209 212
     },
213
+    show(val){
214
+       
215
+       if(val!=null){
216
+        console.log("valw233223",val)
217
+         if(val.content!=""){
218
+           this.content = ""
219
+           this.content = val.content
220
+         }
221
+         
222
+       }
223
+     },
224
+    saveCriticalInfomed(){
225
+        var params = {
226
+          content:this.$refs.editor.content
227
+        }
228
+      saveCriticalInfomed(params).then(response=>{
229
+         if(response.data.state ==1){
230
+           var list = response.data.data.list
231
+           this.$message.success("保存成功")
232
+           this.dialogVisible = false
233
+           this.$emit("getCriticalInformed","");
234
+         }
235
+      })
236
+    }
210 237
   },
211 238
   created(){
239
+    console.log("haaaaaaaaaaaaaaaaaaa",this.criticalInforPrint)
240
+    if(this.criticalInforPrint!=null && this.criticalInforPrint.id>0){
241
+        this.content = ""
242
+        this.content = this.criticalInforPrint.content
243
+    }
212 244
     this.getlist()
213 245
   }
214 246
 }

+ 34 - 2
src/xt_pages/user/Informed/components/dialyzer_informed.vue View File

@@ -108,7 +108,7 @@
108 108
         </div>
109 109
         <span slot="footer" class="dialog-footer">
110 110
           <el-button @click="dialogVisible = false">取 消</el-button>
111
-          <el-button type="primary" @click="dialogVisible = false">确 定</el-button>
111
+          <el-button type="primary" @click="saveDialyzerInformed">保 存</el-button>
112 112
         </span>
113 113
       </el-dialog>
114 114
   </div>
@@ -117,7 +117,7 @@
117 117
 <script>
118 118
 import print from "print-js";
119 119
 import Editor from '@/components/Editor'
120
-import { getPatientDetailInformedconsent  } from '@/api/patient'
120
+import { getPatientDetailInformedconsent,saveDialyzerInformed  } from '@/api/patient'
121 121
 import { jsGetAge, uParseTime } from "@/utils/tools";
122 122
 const content=`<p style='padding-left: 2em;margin-top: 10px;margin-bottom: 4px '>经医师告知,本人因病情需要,将接受血液透析(滤过)治疗。本人自愿申请重复使用透析器(滤器)。本人已理解在透析器(滤器) 重复使用过程中,虽经严格地冲洗、消毒,并对透析器(滤器)进行相关复用质量检验合格,但由于目前医学科学技术水平的局限性, 尚难完全杜绝透析器(滤器)重复使用后发生透析反应和血源性传染疾病(包括病毒性肝炎等)等事件。
123 123
   </p>
@@ -140,6 +140,9 @@ export default{
140 140
   props: {
141 141
     patient_id: {
142 142
         type: Number,
143
+      },
144
+      dialyzerInformedPrint:{
145
+        type:Object
143 146
       }
144 147
    },
145 148
    components:{
@@ -195,10 +198,39 @@ export default{
195 198
       },
196 199
       bianji(){
197 200
         this.dialogVisible=true
201
+      },
202
+      show(val){
203
+       
204
+       if(val!=null){
205
+        console.log("valw233223",val)
206
+         if(val.content!=""){
207
+           this.content = ""
208
+           this.content = val.content
209
+         }
210
+         
211
+       }
212
+     },
213
+      saveDialyzerInformed(){
214
+         var params = {
215
+          content:this.$refs.editor.content,
216
+         }
217
+        saveDialyzerInformed(params).then(response=>{
218
+           if(response.data.state ==1){
219
+             var list = response.data.data.list
220
+            this.$message.success("保存成功!")
221
+            this.dialogVisible = false
222
+            this.$emit("getDialyzerInformed","");
223
+           } 
224
+        })
198 225
       }
199 226
 
200 227
   },
201 228
   created(){
229
+    console.log("hhahdfhahdfhahdf",this.dialyzerInformedPrint)
230
+    if(this.dialyzerInformedPrint!=null&& this.dialyzerInformedPrint.id >0){
231
+        this.content = ""
232
+        this.content =this.dialyzerInformedPrint.content
233
+    }
202 234
     this.getlist()
203 235
   }
204 236
 }

+ 35 - 3
src/xt_pages/user/Informed/components/hemoperfusion_informed.vue View File

@@ -83,7 +83,7 @@
83 83
         </div>
84 84
         <span slot="footer" class="dialog-footer">
85 85
           <el-button @click="dialogVisible = false">取 消</el-button>
86
-          <el-button type="primary" @click="dialogVisible = false">确 定</el-button>
86
+          <el-button type="primary" @click="savehemoperfusionInformed">保 存</el-button>
87 87
         </span>
88 88
       </el-dialog>
89 89
   </div>
@@ -92,7 +92,7 @@
92 92
 <script>
93 93
 import print from "print-js";
94 94
 import Editor from '@/components/Editor'
95
-import { getPatientDetailInformedconsent  } from '@/api/patient'
95
+import { getPatientDetailInformedconsent,savehemoperfusionInformed  } from '@/api/patient'
96 96
 import { jsGetAge, uParseTime } from "@/utils/tools";
97 97
 const content=`<p style='position: relative;padding-left: 2em;margin-top: 10px;margin-bottom: 4px '>
98 98
   <span style='position: absolute;top: 0px;left: 0;'>一、</span>该知情同意书将向您介绍血液灌流治疗的相关事宜,您有权知道血液灌流治疗等方法、目的、存在的风险、预期效果及对人体的影响。请您仔细阅读,提出与血液灌流治疗有关的任何疑问,决定是否同意对患者实施血液灌流治疗。
@@ -183,7 +183,10 @@ export default{
183 183
   props: {
184 184
     patient_id: {
185 185
         type: Number,
186
-      }
186
+      },
187
+    hemoperfusionPrint:{
188
+       type:Object,
189
+    }
187 190
    },
188 191
    components:{
189 192
     Editor
@@ -239,9 +242,38 @@ export default{
239 242
     },
240 243
     bianji(){
241 244
       this.dialogVisible=true
245
+    },
246
+    show(val){
247
+       
248
+       if(val!=null){
249
+        console.log("valw233223",val)
250
+         if(val.content!=""){
251
+           this.content = ""
252
+           this.content = val.content
253
+         }
254
+         
255
+       }
256
+     },
257
+    savehemoperfusionInformed(){
258
+       var params = {
259
+        content:this.$refs.editor.content
260
+       }
261
+      savehemoperfusionInformed(params).then(response=>{
262
+          if(response.data.state ==1){
263
+             var list = response.data.data.list
264
+             this.dialogVisible = false
265
+             this.$message.success("保存成功!")
266
+             this.$emit("getHemoperfusionInformed","");
267
+          }
268
+      })
242 269
     }
243 270
   },
244 271
   created(){
272
+    console.log("血液管咯阿道夫阿道夫阿道夫",this.hemoperfusionPrint)
273
+    if(this.hemoperfusionPrint!=null && this.hemoperfusionPrint.id >0){
274
+        this.content = ""
275
+        this.content = this.hemoperfusionPrint.content
276
+    }
245 277
     this.getlist()
246 278
   }
247 279
 }

+ 12 - 0
src/xt_pages/user/Informed/components/profunda_informed.vue View File

@@ -214,6 +214,17 @@ export default{
214 214
       bianji(){
215 215
         this.dialogVisible=true
216 216
       },
217
+      show(val){
218
+       
219
+       if(val!=null){
220
+        console.log("valw233223",val)
221
+         if(val.content!=""){
222
+           this.content = ""
223
+           this.content = val.content
224
+         }
225
+         
226
+       }
227
+     },
217 228
       saveProfundaInformed(){
218 229
          var params = {
219 230
           content:this.$refs.editor.content,
@@ -223,6 +234,7 @@ export default{
223 234
               var list = response.data.data.list
224 235
               this.$message.success("保存成功")
225 236
               this.dialogVisible = false
237
+              this.$emit("getProfundaInformed","");
226 238
             }
227 239
         })
228 240
       }

+ 34 - 2
src/xt_pages/user/Informed/components/therapy_informed.vue View File

@@ -107,7 +107,7 @@
107 107
         </div>
108 108
         <span slot="footer" class="dialog-footer">
109 109
           <el-button @click="dialogVisible = false">取 消</el-button>
110
-          <el-button type="primary" @click="dialogVisible = false">确 定</el-button>
110
+          <el-button type="primary" @click="saveTherapyInformed">保 存</el-button>
111 111
         </span>
112 112
       </el-dialog>
113 113
   </div>
@@ -116,7 +116,7 @@
116 116
 <script>
117 117
 import print from "print-js";
118 118
 import Editor from '@/components/Editor'
119
-import { getPatientDetailInformedconsent  } from '@/api/patient'
119
+import { getPatientDetailInformedconsent,saveTherapyInformed  } from '@/api/patient'
120 120
 import { jsGetAge, uParseTime } from "@/utils/tools";
121 121
 const content=`<p style='position: relative;padding-left: 2em;margin-top: 10px;margin-bottom: 4px'>
122 122
   <span style='position: absolute;top: 0px;left: 0;'>一、</span>血液透析(滤过)能有效清除身体内过多的水分和毒素,是治疗急性和慢性肾衰竭等疾病的有效方法。患者因病情需要,需进行血液透析(滤过)治疗,若不及时进行该治疗可能延误病情,进一步增加风险,严重时甚至危及生命。
@@ -194,6 +194,9 @@ export default{
194 194
   props: {
195 195
     patient_id: {
196 196
         type: Number,
197
+      },
198
+      therapyinformePrint:{
199
+        type:Object,
197 200
       }
198 201
    },
199 202
   components:{
@@ -250,10 +253,39 @@ export default{
250 253
       },
251 254
       bianji(){
252 255
         this.dialogVisible=true
256
+      },
257
+      show(val){
258
+       
259
+       if(val!=null){
260
+        console.log("valw233223",val)
261
+         if(val.content!=""){
262
+           this.content = ""
263
+           this.content = val.content
264
+         }
265
+         
266
+       }
267
+     },
268
+      saveTherapyInformed(){
269
+         var params = {
270
+          content:this.$refs.editor.content
271
+         }
272
+        saveTherapyInformed(params).then(response=>{
273
+          
274
+          if(response.data.state ==1){
275
+            var list = response.data.data.list
276
+            this.$message.success("保存成功!")
277
+            this.dialogVisible = false
278
+            this.$emit("getTherapyInformed","");
279
+          }
280
+        })
253 281
       }
254 282
 
255 283
   },
256 284
   created(){
285
+    if(this.therapyinformePrint!=null && this.therapyinformePrint.id >0){
286
+       this.content = ""
287
+       this.content = this.therapyinformePrint.content
288
+    }
257 289
     this.getlist()
258 290
     this.org_id = this.$store.getters.xt_user.org.id
259 291
   }