Browse Source

Merge remote-tracking branch 'origin/20230223_pc_vue_new_branch' into 20230223_pc_vue_new_branch

yq1 1 year ago
parent
commit
4ca6b0dc05
24 changed files with 4308 additions and 57 deletions
  1. 119 1
      src/api/patient.js
  2. 5 2
      src/xt_pages/dialysis/signPrint.vue
  3. 3 3
      src/xt_pages/management/components/QualityForm.vue
  4. 14 1
      src/xt_pages/outpatientCharges/outpatientChargesManagement.vue
  5. 7 0
      src/xt_pages/outpatientDoctorStation/components/deskPrescription.vue
  6. 2 3
      src/xt_pages/outpatientDoctorStation/components/prescriptionTemplateTable.vue
  7. 3745 0
      src/xt_pages/outpatientTool/org_export_data.vue
  8. 2 2
      src/xt_pages/role/admin.vue
  9. 4 1
      src/xt_pages/stock/drugs/components/purchaseNewDrugQuery.vue
  10. 1 1
      src/xt_pages/stock/drugs/drugStockFlow.vue
  11. 1 0
      src/xt_pages/stock/query/purchaseStockQuery.vue
  12. 108 23
      src/xt_pages/user/Informed/Informedconsent.vue
  13. 39 4
      src/xt_pages/user/Informed/components/Bring_informed.vue
  14. 17 2
      src/xt_pages/user/Informed/components/Falloutbedprint.vue
  15. 12 0
      src/xt_pages/user/Informed/components/Filter_informed.vue
  16. 12 0
      src/xt_pages/user/Informed/components/Highrisk_informed.vue
  17. 21 2
      src/xt_pages/user/Informed/components/anticoagulation_informed.vue
  18. 12 0
      src/xt_pages/user/Informed/components/arteriovenous_informed.vue
  19. 35 3
      src/xt_pages/user/Informed/components/catheterization_informed.vue
  20. 34 2
      src/xt_pages/user/Informed/components/critical_informed.vue
  21. 34 2
      src/xt_pages/user/Informed/components/dialyzer_informed.vue
  22. 35 3
      src/xt_pages/user/Informed/components/hemoperfusion_informed.vue
  23. 12 0
      src/xt_pages/user/Informed/components/profunda_informed.vue
  24. 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
 }

+ 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 }}
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>  

+ 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:"水硬度检测"},

+ 14 - 1
src/xt_pages/outpatientCharges/outpatientChargesManagement.vue View File

@@ -1104,10 +1104,13 @@ export default {
1104 1104
         { value: 12, label: '门诊挂号' },
1105 1105
         { value: 1102, label: '新冠门诊' },
1106 1106
         { value: 14, label: '门诊特殊病' },
1107
+        { value: '992102', label: '单病种(992102)' },
1108
+        { value: '140104', label: '城乡门诊特殊病(140104)' },
1107 1109
         { value: '9922', label: '家庭通道' },
1108 1110
         { value: '1111', label: '精一' },
1109 1111
         { value: '1112', label: '精二' },
1110
-        { value: '1112', label: '精二' }
1112
+        { value: '1112', label: '精二' },
1113
+
1111 1114
       ],
1112 1115
 
1113 1116
       registerThree: [
@@ -1116,6 +1119,8 @@ export default {
1116 1119
         { value: 14, label: '门诊特殊病' },
1117 1120
         { value: '9922', label: '家庭通道' },
1118 1121
         { value: '9933', label: '门诊特殊病(9933)' },
1122
+        { value: '992102', label: '单病种(992102)' },
1123
+        { value: '140104', label: '城乡门诊特殊病(140104)' },
1119 1124
         { value: '990602', label: '门诊特殊病(990602)' },
1120 1125
         { value: '1402', label: '门诊特殊病(1402)' },
1121 1126
         { value: '1401', label: '门诊慢性病(1401)' },
@@ -1132,6 +1137,8 @@ export default {
1132 1137
         { value: '9922', label: '家庭通道' },
1133 1138
         { value: '9933', label: '门诊特殊病(9933)' },
1134 1139
         { value: '990602', label: '门诊特殊病(990602)' },
1140
+        { value: '992102', label: '单病种(992102)' },
1141
+        { value: '140104', label: '城乡门诊特殊病(140104)' },
1135 1142
         { value: '1402', label: '门诊特殊病(1402)' },
1136 1143
         { value: '1401', label: '门诊慢性病(1401)' },
1137 1144
         { value: '2302', label: '异地就医(2302)' },
@@ -5539,6 +5546,12 @@ export default {
5539 5546
           case 9922:
5540 5547
             return '家庭通道' + '处方' + index
5541 5548
             break
5549
+          case 992102:
5550
+            return '单病种(992102)' + '处方' + index
5551
+            break
5552
+          case 140104:
5553
+            return '门诊特殊病(140104)' + '处方' + index
5554
+            break
5542 5555
           case 0:
5543 5556
             return '自费' + '处方' + index
5544 5557
             break

+ 7 - 0
src/xt_pages/outpatientDoctorStation/components/deskPrescription.vue View File

@@ -598,6 +598,10 @@ export default {
598 598
         { value: 9922, label: '家庭通道' },
599 599
         { value: 9933, label: '门诊特殊病(9933)' },
600 600
         { value: 990602, label: '门诊特殊病(990602)' },
601
+
602
+        { value: 992102, label: '单病种(992102)' },
603
+        { value: 140104, label: '城乡门诊特殊病(140104)' },
604
+
601 605
         { value: 1402, label: '门诊特殊病(1402)' },
602 606
         { value: 1401, label: '门诊慢特病(1401)' },
603 607
         { value: 2302, label: '异地就医(2302)' },
@@ -612,6 +616,9 @@ export default {
612 616
         { value: 11, label: '普通门诊' },
613 617
         { value: 1102, label: '新冠门诊' },
614 618
 
619
+        { value: 992102, label: '单病种(992102)' },
620
+        { value: 140104, label: '城乡门诊特殊病(140104)' },
621
+
615 622
         { value: 12, label: '家庭通道' },
616 623
         { value: 13, label: '门诊大病' },
617 624
         { value: 14, label: '重疾特药' },

+ 2 - 3
src/xt_pages/outpatientDoctorStation/components/prescriptionTemplateTable.vue View File

@@ -304,7 +304,6 @@
304 304
             name: '',
305 305
             advices: [],
306 306
             project: [],
307
-            drugways: [],
308 307
             efs: []
309 308
           }
310 309
         }
@@ -313,7 +312,7 @@
313 312
     data() {
314 313
       return {
315 314
         week_days: [],
316
-
315
+        drugways: [],
317 316
         current_row: null,
318 317
         current_index: 0,
319 318
         templateFormVisible: false,
@@ -584,7 +583,7 @@
584 583
         //     this.$message.error(scope.row.drug_name + '库存不足')
585 584
         //   }
586 585
         // }
587
-      },      
586
+      },
588 587
       getAllChange(scope) {
589 588
         console.log('kkkkkkkk',scope);
590 589
         if (scope.row.drug.min_unit == scope.row.single_dose_unit) {

File diff suppressed because it is too large
+ 3745 - 0
src/xt_pages/outpatientTool/org_export_data.vue


+ 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
              

+ 108 - 23
src/xt_pages/user/Informed/Informedconsent.vue View File

@@ -84,41 +84,41 @@
84 84
               </div>
85 85
               <div style="width: 67%; margin-left: 10px;">
86 86
                 <div v-if="face_show">
87
-                  <Falloutbedprint :patient_id ="this.patientID" :listPrint="listPrint"></Falloutbedprint>
87
+                  <Falloutbedprint :patient_id ="this.patientID" :listPrint="listPrint" @getFallOutBedPrintList="getFallOutBedPrintList" ref="child"></Falloutbedprint>
88 88
                 </div>
89 89
                 <div v-if="filter_show">
90 90
                   <!-- filter_show -->
91
-                  <Filter_informed :patient_id ="this.patientID" :filterList="filterList" ></Filter_informed>
91
+                  <Filter_informed :patient_id ="this.patientID" :filterList="filterList" @getFilterInformed="getFilterInformed" ref="childOne"></Filter_informed>
92 92
                 </div>
93 93
                 <div v-if="profunda_show">
94
-                  <profunda_informed :patient_id ="this.patientID" :profundaPrint="profundaPrint"></profunda_informed>
94
+                  <profunda_informed :patient_id ="this.patientID" :profundaPrint="profundaPrint" @getProfundaInformed="getProfundaInformed" ref="childTwo"></profunda_informed>
95 95
                 </div>
96 96
                 <div v-if="arteriovenous_show">
97
-                  <arteriovenous_informed :patient_id ="this.patientID" :arterOvenousPrint="arterOvenousPrint"></arteriovenous_informed>
97
+                  <arteriovenous_informed :patient_id ="this.patientID" :arterOvenousPrint="arterOvenousPrint" @getArterOvernous="getArterOvernous" ref="childThree"></arteriovenous_informed>
98 98
                 </div>
99 99
                 <div v-if="Highrisk_show" >
100
-                  <Highrisk_informed :patient_id ="this.patientID" :highRiskPrint="highRiskPrint"></Highrisk_informed>
100
+                  <Highrisk_informed :patient_id ="this.patientID" :highRiskPrint="highRiskPrint" @getHighRiskInformed="getHighRiskInformed" ref="childFour"></Highrisk_informed>
101 101
                 </div>
102 102
                 <div v-if="anticoagulation_show">
103
-                  <anticoagulation_informed :patient_id ="this.patientID"></anticoagulation_informed>
103
+                  <anticoagulation_informed :patient_id ="this.patientID" :auncoagulationPrint="auncoagulationPrint" @getAnticoagulationInformed="getAnticoagulationInformed" ref="childFive"></anticoagulation_informed>
104 104
                 </div>
105 105
                 <div v-if="critical_show">
106
-                  <critical_informed :patient_id ="this.patientID"></critical_informed>
106
+                  <critical_informed :patient_id ="this.patientID" :criticalInforPrint="criticalInforPrint" @getCriticalInformed="getCriticalInformed" ref="childSix"></critical_informed>
107 107
                 </div>
108 108
                 <div v-if="hemoperfusion_show">
109
-                  <hemoperfusion_informed :patient_id ="this.patientID"></hemoperfusion_informed>
109
+                  <hemoperfusion_informed :patient_id ="this.patientID" :hemoperfusionPrint="hemoperfusionPrint" @getHemoperfusionInformed="getHemoperfusionInformed" ref="childSeven"></hemoperfusion_informed>
110 110
                 </div>
111 111
                 <div v-if="Bring_show">
112
-                  <Bring_informed :patient_id ="this.patientID"></Bring_informed>
112
+                  <Bring_informed :patient_id ="this.patientID" :informedConsentPrint="informedConsentPrint" @getInformedConsent="getInformedConsent" ref="childEight"></Bring_informed>
113 113
                 </div>
114 114
                 <div v-if="catheterization_show">
115
-                  <catheterization_informed :patient_id ="this.patientID"></catheterization_informed>
115
+                  <catheterization_informed :patient_id ="this.patientID" :cathetherizationPrint="cathetherizationPrint" @getCatheterization="getCatheterization" ref="childNight"></catheterization_informed>
116 116
                 </div>
117 117
                 <div v-if="dialyzer_show">
118
-                  <dialyzer_informed :patient_id ="this.patientID"></dialyzer_informed>
118
+                  <dialyzer_informed :patient_id ="this.patientID" :dialyzerInformedPrint="dialyzerInformedPrint" @getDialyzerInformed="getDialyzerInformed" ref="childTen"></dialyzer_informed>
119 119
                 </div>
120 120
                 <div v-if="therapy_show">
121
-                  <therapy_informed :patient_id ="this.patientID"></therapy_informed>
121
+                  <therapy_informed :patient_id ="this.patientID" :therapyinformePrint="therapyinformePrint" @getTherapyInformed="getTherapyInformed" ref="childElven"></therapy_informed>
122 122
                 </div>
123 123
                 
124 124
               </div>
@@ -145,7 +145,7 @@ import Bring_informed from './components/Bring_informed'//自带药物
145 145
 import catheterization_informed from './components/catheterization_informed'//深静脉导管置入
146 146
 import dialyzer_informed from './components/dialyzer_informed'//透析器(滤器)
147 147
 import therapy_informed from './components/therapy_informed'//透析器(滤过)治疗
148
-import { getPatientDetailInformedconsent,getFallOutBedPrintList,getFilterInformed,getProfundaInformed,getArterOvernous,getHighRiskInformed  } from '@/api/patient'
148
+import { getPatientDetailInformedconsent,getFallOutBedPrintList,getFilterInformed,getProfundaInformed,getArterOvernous,getHighRiskInformed,getAnticoagulationInformed,getCriticalInformed,getHemoperfusionInformed,getInformedConsent,getCatheterization,getTherapyInformed,getDialyzerInformed   } from '@/api/patient'
149 149
 export default {
150 150
   
151 151
   components: {
@@ -192,7 +192,14 @@ export default {
192 192
       filterList:{},
193 193
       profundaPrint:{},
194 194
       arterOvenousPrint:{},
195
-      highRiskPrint:{}
195
+      highRiskPrint:{},
196
+      auncoagulationPrint:{},
197
+      criticalInforPrint:{},
198
+      hemoperfusionPrint:{},
199
+      informedConsentPrint:{},
200
+      cathetherizationPrint:{},
201
+      dialyzerInformedPrint:{},
202
+      therapyinformePrint:{}
196 203
     }
197 204
 
198 205
   },
@@ -232,7 +239,7 @@ export default {
232 239
           this.dialyzer_show=false,
233 240
           this.therapy_show=false
234 241
 
235
-        //  this.getFallOutBedPrintList()
242
+          this.getFallOutBedPrintList()
236 243
         }
237 244
         if(row.value==2){
238 245
           this.filter_show=true
@@ -247,7 +254,7 @@ export default {
247 254
           this.catheterization_show=false,
248 255
           this.dialyzer_show=false,
249 256
           this.therapy_show=false
250
-         // this.getFilterInformed()
257
+          this.getFilterInformed()
251 258
         }
252 259
         if(row.value==3){
253 260
           this.face_show=false
@@ -262,7 +269,7 @@ export default {
262 269
           this.catheterization_show=false,
263 270
           this.dialyzer_show=false,
264 271
           this.therapy_show=false
265
-          //this.getProfundaInformed()
272
+          this.getProfundaInformed()
266 273
         }
267 274
         if(row.value==4){
268 275
           this.filter_show=false
@@ -277,7 +284,7 @@ export default {
277 284
           this.catheterization_show=false,
278 285
           this.dialyzer_show=false,
279 286
           this.therapy_show=false
280
-         // this.getArterOvernous()
287
+          this.getArterOvernous()
281 288
         }
282 289
         if(row.value==5){
283 290
           this.face_show=false
@@ -292,7 +299,7 @@ export default {
292 299
           this.catheterization_show=false,
293 300
           this.dialyzer_show=false,
294 301
           this.therapy_show=false
295
-         // this.getHighRiskInformed()
302
+          this.getHighRiskInformed()
296 303
         }
297 304
         if(row.value==6){
298 305
           this.filter_show=false
@@ -307,6 +314,7 @@ export default {
307 314
           this.catheterization_show=false,
308 315
           this.dialyzer_show=false,
309 316
           this.therapy_show=false
317
+          this.getAnticoagulationInformed()
310 318
           
311 319
         }
312 320
         if(row.value==7){
@@ -322,6 +330,8 @@ export default {
322 330
           this.catheterization_show=false,
323 331
           this.dialyzer_show=false,
324 332
           this.therapy_show=false
333
+
334
+          this.getCriticalInformed()
325 335
         }
326 336
         if(row.value==8){
327 337
           this.filter_show=false
@@ -336,6 +346,7 @@ export default {
336 346
           this.catheterization_show=false,
337 347
           this.dialyzer_show=false,
338 348
           this.therapy_show=false
349
+          this.getHemoperfusionInformed()
339 350
         }
340 351
         if(row.value==9){
341 352
           this.face_show=false
@@ -350,6 +361,7 @@ export default {
350 361
           this.catheterization_show=false,
351 362
           this.dialyzer_show=false,
352 363
           this.therapy_show=false
364
+          this.getInformedConsent()
353 365
         }
354 366
         if(row.value==10){
355 367
           this.filter_show=false
@@ -364,6 +376,8 @@ export default {
364 376
           this.catheterization_show=true,
365 377
           this.dialyzer_show=false,
366 378
           this.therapy_show=false
379
+
380
+          this.getCatheterization()
367 381
         }
368 382
         if(row.value==11){
369 383
           this.face_show=false
@@ -378,6 +392,7 @@ export default {
378 392
           this.catheterization_show=false,
379 393
           this.dialyzer_show=true,
380 394
           this.therapy_show=false
395
+          this.getDialyzerInformed()
381 396
         }
382 397
         if(row.value==12){
383 398
           this.filter_show=false
@@ -392,18 +407,16 @@ export default {
392 407
           this.catheterization_show=false,
393 408
           this.dialyzer_show=false,
394 409
           this.therapy_show=true
410
+          this.getTherapyInformed()
395 411
         }
396 412
   
397 413
     },
398
-    fMethod(){
399
-      console.log("除非富足到佛欧安抚")
400
-      this.getFallOutBedPrintList()
401
-    },
402 414
     getFallOutBedPrintList(){
403 415
       getFallOutBedPrintList().then(response=>{
404 416
           if(response.data.state ==1){
405 417
              var list = response.data.data.list
406 418
              this.listPrint = list
419
+             this.$refs.child.show(list)
407 420
           }
408 421
       })
409 422
     },
@@ -412,6 +425,7 @@ export default {
412 425
          if(response.data.state == 1){
413 426
           var list = response.data.data.list
414 427
           this.filterList = list
428
+          this.$refs.childOne.show(list)
415 429
          }
416 430
       })
417 431
     },
@@ -422,6 +436,7 @@ export default {
422 436
           var list = response.data.data.list
423 437
           this.profundaPrint = list
424 438
           console.log("hhahhahah",this.profundaPrint)
439
+          this.$refs.childTwo.show(list)
425 440
          }
426 441
       })
427 442
     },
@@ -430,6 +445,7 @@ export default {
430 445
          if(response.data.state ==1){
431 446
            var list = response.data.data.list
432 447
            this.arterOvenousPrint = list
448
+           this.$refs.childThree.show(list)
433 449
          }
434 450
       })
435 451
     },
@@ -438,6 +454,75 @@ export default {
438 454
         if(response.data.state ==1){
439 455
           var list = response.data.data.list
440 456
           this.highRiskPrint = list
457
+          this.$refs.childFour.show(list)
458
+        }
459
+      })
460
+    },
461
+    getAnticoagulationInformed(){
462
+      getAnticoagulationInformed().then(response=>{
463
+          if(response.data.state ==1){
464
+            var list =  response.data.data.list
465
+            this.auncoagulationPrint = list
466
+            this.$refs.childFive.show(list)
467
+          }
468
+      })
469
+    },
470
+
471
+    getCriticalInformed(){
472
+      getCriticalInformed().then(response=>{
473
+         if(response.data.state ==1){
474
+           var list = response.data.data.list
475
+           this.criticalInforPrint = list
476
+           this.$refs.childSix.show(list)
477
+         }
478
+      })
479
+    },
480
+
481
+    getHemoperfusionInformed(){
482
+      getHemoperfusionInformed().then(response=>{
483
+         if(response.data.state == 1){
484
+           var list= response.data.data.list
485
+
486
+           this.hemoperfusionPrint= list
487
+           this.$refs.childSeven.show(list)
488
+         }
489
+      })
490
+    },
491
+
492
+    getInformedConsent(){
493
+      getInformedConsent().then(response=>{
494
+         if(response.data.state == 1){
495
+            var list = response.data.data.list
496
+            this.informedConsentPrint = list
497
+            this.$refs.childEight.show(list)
498
+         }
499
+      })
500
+    },
501
+    getCatheterization(){
502
+      getCatheterization().then(response=>{
503
+         if(response.data.state ==1){
504
+           var list = response.data.data.list
505
+           this.cathetherizationPrint = list
506
+           this.$refs.childNight.show(list)
507
+         }
508
+      })
509
+    },
510
+    getDialyzerInformed(){
511
+      getDialyzerInformed().then(response=>{
512
+         if(response.data.state ==1){
513
+           var list = response.data.data.list
514
+           this.dialyzerInformedPrint = list
515
+           this.$refs.childTen.show(list)
516
+         }
517
+      })
518
+    },
519
+    getTherapyInformed(){
520
+      getTherapyInformed().then(response=>{
521
+        if(response.data.state ==1){
522
+           var list=  response.data.data.list
523
+
524
+           this.therapyinformePrint = list
525
+           this.$refs.childElven.show(list)
441 526
         }
442 527
       })
443 528
     }

+ 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
         })

+ 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
   }