yq1 1 gadu atpakaļ
vecāks
revīzija
d45330868b
1 mainītis faili ar 181 papildinājumiem un 177 dzēšanām
  1. 181 177
      src/xt_pages/user/Informed/Informedconsent.vue

+ 181 - 177
src/xt_pages/user/Informed/Informedconsent.vue Parādīt failu

@@ -84,43 +84,54 @@
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" @getFallOutBedPrintList="getFallOutBedPrintList" ref="child"></Falloutbedprint>
87
+                  <Falloutbedprint :patient_id ="this.patientID" :listPrint="listPrint"></Falloutbedprint>
88 88
                 </div>
89 89
                 <div v-if="filter_show">
90 90
                   <!-- filter_show -->
91
-                  <Filter_informed :patient_id ="this.patientID" :filterList="filterList" @getFilterInformed="getFilterInformed" ref="childOne"></Filter_informed>
91
+                  <Filter_informed :patient_id ="this.patientID" :filterList="filterList" ></Filter_informed>
92 92
                 </div>
93 93
                 <div v-if="profunda_show">
94
-                  <profunda_informed :patient_id ="this.patientID" :profundaPrint="profundaPrint" @getProfundaInformed="getProfundaInformed" ref="childTwo"></profunda_informed>
94
+                  <profunda_informed :patient_id ="this.patientID" :profundaPrint="profundaPrint"></profunda_informed>
95 95
                 </div>
96 96
                 <div v-if="arteriovenous_show">
97
-                  <arteriovenous_informed :patient_id ="this.patientID" :arterOvenousPrint="arterOvenousPrint" @getArterOvernous="getArterOvernous" ref="childThree"></arteriovenous_informed>
97
+                  <arteriovenous_informed :patient_id ="this.patientID" :arterOvenousPrint="arterOvenousPrint"></arteriovenous_informed>
98 98
                 </div>
99 99
                 <div v-if="Highrisk_show" >
100
-                  <Highrisk_informed :patient_id ="this.patientID" :highRiskPrint="highRiskPrint" @getHighRiskInformed="getHighRiskInformed" ref="childFour"></Highrisk_informed>
100
+                  <Highrisk_informed :patient_id ="this.patientID" :highRiskPrint="highRiskPrint"></Highrisk_informed>
101 101
                 </div>
102 102
                 <div v-if="anticoagulation_show">
103
-                  <anticoagulation_informed :patient_id ="this.patientID" :auncoagulationPrint="auncoagulationPrint" @getAnticoagulationInformed="getAnticoagulationInformed" ref="childFive"></anticoagulation_informed>
103
+                  <anticoagulation_informed :patient_id ="this.patientID"></anticoagulation_informed>
104 104
                 </div>
105 105
                 <div v-if="critical_show">
106
-                  <critical_informed :patient_id ="this.patientID" :criticalInforPrint="criticalInforPrint" @getCriticalInformed="getCriticalInformed" ref="childSix"></critical_informed>
106
+                  <critical_informed :patient_id ="this.patientID"></critical_informed>
107 107
                 </div>
108 108
                 <div v-if="hemoperfusion_show">
109
-                  <hemoperfusion_informed :patient_id ="this.patientID" :hemoperfusionPrint="hemoperfusionPrint" @getHemoperfusionInformed="getHemoperfusionInformed" ref="childSeven"></hemoperfusion_informed>
109
+                  <hemoperfusion_informed :patient_id ="this.patientID"></hemoperfusion_informed>
110 110
                 </div>
111 111
                 <div v-if="Bring_show">
112
-                  <Bring_informed :patient_id ="this.patientID" :informedConsentPrint="informedConsentPrint" @getInformedConsent="getInformedConsent" ref="childEight"></Bring_informed>
112
+                  <Bring_informed :patient_id ="this.patientID"></Bring_informed>
113 113
                 </div>
114 114
                 <div v-if="catheterization_show">
115
-                  <catheterization_informed :patient_id ="this.patientID" :cathetherizationPrint="cathetherizationPrint" @getCatheterization="getCatheterization" ref="childNight"></catheterization_informed>
115
+                  <catheterization_informed :patient_id ="this.patientID"></catheterization_informed>
116 116
                 </div>
117 117
                 <div v-if="dialyzer_show">
118
-                  <dialyzer_informed :patient_id ="this.patientID" :dialyzerInformedPrint="dialyzerInformedPrint" @getDialyzerInformed="getDialyzerInformed" ref="childTen"></dialyzer_informed>
118
+                  <dialyzer_informed :patient_id ="this.patientID"></dialyzer_informed>
119 119
                 </div>
120 120
                 <div v-if="therapy_show">
121
-                  <therapy_informed :patient_id ="this.patientID" :therapyinformePrint="therapyinformePrint" @getTherapyInformed="getTherapyInformed" ref="childElven"></therapy_informed>
121
+                  <therapy_informed :patient_id ="this.patientID"></therapy_informed>
122
+                </div>
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>
122 134
                 </div>
123
-                
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'//透析器(滤过)治疗
148
-import { getPatientDetailInformedconsent,getFallOutBedPrintList,getFilterInformed,getProfundaInformed,getArterOvernous,getHighRiskInformed,getAnticoagulationInformed,getCriticalInformed,getHemoperfusionInformed,getInformedConsent,getCatheterization,getTherapyInformed,getDialyzerInformed   } from '@/api/patient'
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'
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:[],
@@ -192,14 +216,7 @@ export default {
192 216
       filterList:{},
193 217
       profundaPrint:{},
194 218
       arterOvenousPrint:{},
195
-      highRiskPrint:{},
196
-      auncoagulationPrint:{},
197
-      criticalInforPrint:{},
198
-      hemoperfusionPrint:{},
199
-      informedConsentPrint:{},
200
-      cathetherizationPrint:{},
201
-      dialyzerInformedPrint:{},
202
-      therapyinformePrint:{}
219
+      highRiskPrint:{}
203 220
     }
204 221
 
205 222
   },
@@ -211,20 +228,20 @@ export default {
211 228
   },
212 229
   methods: {
213 230
     getlist(){
214
-    
231
+
215 232
     getPatientDetailInformedconsent(this.patientID).then(response=>{
216 233
       if(response.data.state == 1){
217 234
         var patient =  response.data.data.patients
218 235
         console.log("patinet",patient)
219 236
         this.patient =patient
220 237
       }
221
-    }) 
238
+    })
222 239
    },
223 240
     rowClick(row, column, event){
224 241
       // console.log('1111',row);
225 242
       // console.log('2222',column);
226 243
       // console.log('3333',event);
227
-     
244
+
228 245
         if(row.value==1){
229 246
           this.face_show=true
230 247
           this.filter_show=false,
@@ -237,9 +254,11 @@ export default {
237 254
           this.Bring_show=false,
238 255
           this.catheterization_show=false,
239 256
           this.dialyzer_show=false,
240
-          this.therapy_show=false
241
-
242
-          this.getFallOutBedPrintList()
257
+          this.therapy_show=false,
258
+          this.history_show=false,
259
+          this.show14=false,
260
+          this.show15=false,
261
+          this.show16=false
243 262
         }
244 263
         if(row.value==2){
245 264
           this.filter_show=true
@@ -253,8 +272,11 @@ export default {
253 272
           this.Bring_show=false,
254 273
           this.catheterization_show=false,
255 274
           this.dialyzer_show=false,
256
-          this.therapy_show=false
257
-          this.getFilterInformed()
275
+          this.therapy_show=false,
276
+          this.history_show=false,
277
+          this.show14=false,
278
+          this.show15=false,
279
+          this.show16=false
258 280
         }
259 281
         if(row.value==3){
260 282
           this.face_show=false
@@ -268,8 +290,11 @@ export default {
268 290
           this.Bring_show=false,
269 291
           this.catheterization_show=false,
270 292
           this.dialyzer_show=false,
271
-          this.therapy_show=false
272
-          this.getProfundaInformed()
293
+          this.therapy_show=false,
294
+          this.history_show=false,
295
+          this.show14=false,
296
+          this.show15=false,
297
+          this.show16=false
273 298
         }
274 299
         if(row.value==4){
275 300
           this.filter_show=false
@@ -283,8 +308,11 @@ export default {
283 308
           this.Bring_show=false,
284 309
           this.catheterization_show=false,
285 310
           this.dialyzer_show=false,
286
-          this.therapy_show=false
287
-          this.getArterOvernous()
311
+          this.therapy_show=false,
312
+          this.history_show=false,
313
+          this.show14=false,
314
+          this.show15=false,
315
+          this.show16=false
288 316
         }
289 317
         if(row.value==5){
290 318
           this.face_show=false
@@ -298,8 +326,11 @@ export default {
298 326
           this.Bring_show=false,
299 327
           this.catheterization_show=false,
300 328
           this.dialyzer_show=false,
301
-          this.therapy_show=false
302
-          this.getHighRiskInformed()
329
+          this.therapy_show=false,
330
+          this.history_show=false,
331
+          this.show14=false,
332
+          this.show15=false,
333
+          this.show16=false
303 334
         }
304 335
         if(row.value==6){
305 336
           this.filter_show=false
@@ -313,9 +344,11 @@ export default {
313 344
           this.Bring_show=false,
314 345
           this.catheterization_show=false,
315 346
           this.dialyzer_show=false,
316
-          this.therapy_show=false
317
-          this.getAnticoagulationInformed()
318
-          
347
+          this.therapy_show=false,
348
+          this.history_show=false,
349
+          this.show14=false,
350
+          this.show15=false,
351
+          this.show16=false
319 352
         }
320 353
         if(row.value==7){
321 354
           this.face_show=false
@@ -329,9 +362,11 @@ export default {
329 362
           this.Bring_show=false,
330 363
           this.catheterization_show=false,
331 364
           this.dialyzer_show=false,
332
-          this.therapy_show=false
333
-
334
-          this.getCriticalInformed()
365
+          this.therapy_show=false,
366
+          this.history_show=false,
367
+          this.show14=false,
368
+          this.show15=false,
369
+          this.show16=false
335 370
         }
336 371
         if(row.value==8){
337 372
           this.filter_show=false
@@ -345,8 +380,11 @@ export default {
345 380
           this.Bring_show=false,
346 381
           this.catheterization_show=false,
347 382
           this.dialyzer_show=false,
348
-          this.therapy_show=false
349
-          this.getHemoperfusionInformed()
383
+          this.therapy_show=false,
384
+          this.history_show=false,
385
+          this.show14=false,
386
+          this.show15=false,
387
+          this.show16=false
350 388
         }
351 389
         if(row.value==9){
352 390
           this.face_show=false
@@ -360,8 +398,11 @@ export default {
360 398
           this.Bring_show=true,
361 399
           this.catheterization_show=false,
362 400
           this.dialyzer_show=false,
363
-          this.therapy_show=false
364
-          this.getInformedConsent()
401
+          this.therapy_show=false,
402
+          this.history_show=false,
403
+          this.show14=false,
404
+          this.show15=false,
405
+          this.show16=false
365 406
         }
366 407
         if(row.value==10){
367 408
           this.filter_show=false
@@ -375,9 +416,11 @@ export default {
375 416
           this.Bring_show=false,
376 417
           this.catheterization_show=true,
377 418
           this.dialyzer_show=false,
378
-          this.therapy_show=false
379
-
380
-          this.getCatheterization()
419
+          this.therapy_show=false,
420
+          this.history_show=false,
421
+          this.show14=false,
422
+          this.show15=false,
423
+          this.show16=false
381 424
         }
382 425
         if(row.value==11){
383 426
           this.face_show=false
@@ -391,8 +434,11 @@ export default {
391 434
           this.Bring_show=false,
392 435
           this.catheterization_show=false,
393 436
           this.dialyzer_show=true,
394
-          this.therapy_show=false
395
-          this.getDialyzerInformed()
437
+          this.therapy_show=false,
438
+          this.history_show=false,
439
+          this.show14=false,
440
+          this.show15=false,
441
+          this.show16=false
396 442
         }
397 443
         if(row.value==12){
398 444
           this.filter_show=false
@@ -406,126 +452,85 @@ export default {
406 452
           this.Bring_show=false,
407 453
           this.catheterization_show=false,
408 454
           this.dialyzer_show=false,
409
-          this.therapy_show=true
410
-          this.getTherapyInformed()
455
+          this.therapy_show=true,
456
+          this.history_show=false,
457
+          this.show14=false,
458
+          this.show15=false,
459
+          this.show16=false
411 460
         }
412
-  
413
-    },
414
-    getFallOutBedPrintList(){
415
-      getFallOutBedPrintList().then(response=>{
416
-          if(response.data.state ==1){
417
-             var list = response.data.data.list
418
-             this.listPrint = list
419
-             this.$refs.child.show(list)
420
-          }
421
-      })
422
-    },
423
-    getFilterInformed(){
424
-      getFilterInformed().then(response=>{
425
-         if(response.data.state == 1){
426
-          var list = response.data.data.list
427
-          this.filterList = list
428
-          this.$refs.childOne.show(list)
429
-         }
430
-      })
431
-    },
432
-
433
-    getProfundaInformed(){
434
-      getProfundaInformed().then(response=>{
435
-         if(response.data.state ==1){
436
-          var list = response.data.data.list
437
-          this.profundaPrint = list
438
-          console.log("hhahhahah",this.profundaPrint)
439
-          this.$refs.childTwo.show(list)
440
-         }
441
-      })
442
-    },
443
-    getArterOvernous(){
444
-      getArterOvernous().then(response=>{
445
-         if(response.data.state ==1){
446
-           var list = response.data.data.list
447
-           this.arterOvenousPrint = list
448
-           this.$refs.childThree.show(list)
449
-         }
450
-      })
451
-    },
452
-    getHighRiskInformed(){
453
-      getHighRiskInformed().then(response=>{
454
-        if(response.data.state ==1){
455
-          var list = response.data.data.list
456
-          this.highRiskPrint = list
457
-          this.$refs.childFour.show(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
458 478
         }
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)
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
526 496
         }
527
-      })
528
-    }
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
+      },
529 534
   }
530 535
 }
531 536
 </script>
@@ -533,7 +538,7 @@ export default {
533 538
     .content_top{
534 539
       display: flex;
535 540
       justify-content: space-between;
536
-     
541
+
537 542
     }
538 543
     .table{
539 544
         border: 1px solid #DCDFE6;
@@ -624,4 +629,3 @@ export default {
624 629
 
625 630
   }
626 631
 </style>
627
-