|
@@ -324,7 +324,7 @@
|
324
|
324
|
</el-date-picker>
|
325
|
325
|
</div>
|
326
|
326
|
<div style="text-align: right;margin-bottom: 10px;">
|
327
|
|
- <el-button type="primary" size="small" @click="bloodsearch">
|
|
327
|
+ <el-button type="primary" size="small" @click="getMonitorSearchList">
|
328
|
328
|
查询
|
329
|
329
|
</el-button>
|
330
|
330
|
</div>
|
|
@@ -333,35 +333,35 @@
|
333
|
333
|
<div style="width: 27%;">
|
334
|
334
|
<div class="Second_title">血压列表</div>
|
335
|
335
|
<el-table
|
336
|
|
- :data="bloodList"
|
|
336
|
+ :data="monitorListOne"
|
337
|
337
|
:highlight-current-row="true"
|
338
|
338
|
ref="blood_table"
|
339
|
|
- @current-change="bloodChange"
|
340
|
|
- @selection-change="selectionchange"
|
|
339
|
+ @current-change="handleMonitorChange"
|
341
|
340
|
style="width: 100%">
|
342
|
|
- <el-table-column type="selection"width="55">
|
343
|
|
- </el-table-column>
|
344
|
|
- <el-table-column prop="date" label="透析日期" width="">
|
345
|
|
-
|
|
341
|
+
|
|
342
|
+ <el-table-column prop="date" label="透析日期" width="" align="center">
|
|
343
|
+ <template slot-scope="scope" a>
|
|
344
|
+ {{ getTime(scope.row.schedule_date) }}
|
|
345
|
+ </template>
|
346
|
346
|
</el-table-column>
|
347
|
|
- <el-table-column prop="mode" label="透析方式" width="">
|
348
|
|
-
|
|
347
|
+ <el-table-column prop="mode" label="透析方式" width="" align="center">
|
|
348
|
+ <template slot-scope="scope">
|
|
349
|
+ {{ getModeId(scope.row.mode_id) }}
|
|
350
|
+ </template>
|
|
351
|
+
|
349
|
352
|
</el-table-column>
|
350
|
353
|
</el-table>
|
351
|
354
|
</div>
|
352
|
355
|
<div style="width: 72%;margin-left: 10px;">
|
353
|
356
|
<div class="Second_title">内容</div>
|
354
|
357
|
<div class="blood_text" style="" >
|
355
|
|
- <div v-html="blood_context"></div>
|
356
|
|
- <!-- {{ blood_context }} -->
|
|
358
|
+ <div v-html="monitor_blood_context"></div>
|
357
|
359
|
</div>
|
358
|
360
|
</div>
|
359
|
361
|
</div>
|
360
|
362
|
</div>
|
361
|
363
|
<span slot="footer" class="dialog-footer" style="text-align: center;">
|
362
|
|
- <!-- <el-button type="danger" @click="template_dele">删除模板</el-button>
|
363
|
|
- <el-button type="primary" @click="template_save">保存模板</el-button> -->
|
364
|
|
- <el-button type="primary" @click="toContentPint">应用</el-button>
|
|
364
|
+ <el-button type="primary" @click="toMonitorPint">应用</el-button>
|
365
|
365
|
<el-button @click="blood_dialog = false">取消</el-button>
|
366
|
366
|
</span>
|
367
|
367
|
</el-dialog>
|
|
@@ -406,7 +406,7 @@
|
406
|
406
|
</el-date-picker>
|
407
|
407
|
</div>
|
408
|
408
|
<div style="text-align: right;margin-bottom: 10px;">
|
409
|
|
- <el-button type="primary" size="small" @click="bloodsearch">
|
|
409
|
+ <el-button type="primary" size="small" @click="getSummarySearchList">
|
410
|
410
|
查询
|
411
|
411
|
</el-button>
|
412
|
412
|
</div>
|
|
@@ -415,19 +415,20 @@
|
415
|
415
|
<div style="width: 27%;">
|
416
|
416
|
<div class="Second_title">透析小结汇总列表</div>
|
417
|
417
|
<el-table
|
418
|
|
- :data="bloodList"
|
|
418
|
+ :data="summaryList"
|
419
|
419
|
:highlight-current-row="true"
|
420
|
420
|
ref="blood_table"
|
421
|
421
|
@current-change="summaryChange"
|
422
|
|
- @selection-change="selectionchange2"
|
423
|
422
|
style="width: 100%">
|
424
|
|
- <el-table-column type="selection"width="55">
|
425
|
|
- </el-table-column>
|
426
|
|
- <el-table-column prop="date" label="透析日期" width="">
|
427
|
|
-
|
|
423
|
+ <el-table-column prop="date" label="透析日期" width="" align="center">
|
|
424
|
+ <template slot-scope="scope" a>
|
|
425
|
+ {{ getTime(scope.row.schedule_date) }}
|
|
426
|
+ </template>
|
428
|
427
|
</el-table-column>
|
429
|
|
- <el-table-column prop="mode" label="透析方式" width="">
|
430
|
|
-
|
|
428
|
+ <el-table-column prop="mode" label="透析方式" width="" align="center">
|
|
429
|
+ <template slot-scope="scope">
|
|
430
|
+ {{ getModeId(scope.row.mode_id) }}
|
|
431
|
+ </template>
|
431
|
432
|
</el-table-column>
|
432
|
433
|
</el-table>
|
433
|
434
|
</div>
|
|
@@ -435,15 +436,12 @@
|
435
|
436
|
<div class="Second_title">内容</div>
|
436
|
437
|
<div class="blood_text" style="" >
|
437
|
438
|
<div v-html="summary_context"></div>
|
438
|
|
- <!-- {{ blood_context }} -->
|
439
|
439
|
</div>
|
440
|
440
|
</div>
|
441
|
441
|
</div>
|
442
|
442
|
</div>
|
443
|
443
|
<span slot="footer" class="dialog-footer" style="text-align: center;">
|
444
|
|
- <!-- <el-button type="danger" @click="template_dele">删除模板</el-button>
|
445
|
|
- <el-button type="primary" @click="template_save">保存模板</el-button> -->
|
446
|
|
- <el-button type="primary" @click="toContentPint">应用</el-button>
|
|
444
|
+ <el-button type="primary" @click="toSummaryPint">应用</el-button>
|
447
|
445
|
<el-button @click="summary_dialog = false">取消</el-button>
|
448
|
446
|
</span>
|
449
|
447
|
</el-dialog>
|
|
@@ -488,7 +486,7 @@
|
488
|
486
|
</el-date-picker>
|
489
|
487
|
</div>
|
490
|
488
|
<div style="text-align: right;margin-bottom: 10px;">
|
491
|
|
- <el-button type="primary" size="small" @click="bloodsearch">
|
|
489
|
+ <el-button type="primary" size="small" @click="getPatientDryWeightList">
|
492
|
490
|
查询
|
493
|
491
|
</el-button>
|
494
|
492
|
</div>
|
|
@@ -497,16 +495,15 @@
|
497
|
495
|
<div style="width: 27%;">
|
498
|
496
|
<div class="Second_title">干体重调整列表</div>
|
499
|
497
|
<el-table
|
500
|
|
- :data="weightlist"
|
|
498
|
+ :data="dryWeightList"
|
501
|
499
|
:highlight-current-row="true"
|
502
|
500
|
ref="weight_table"
|
503
|
501
|
@current-change="weightChange"
|
504
|
|
- @selection-change="selectionchange3"
|
505
|
502
|
style="width: 100%">
|
506
|
|
- <el-table-column type="selection"width="55">
|
507
|
|
- </el-table-column>
|
508
|
|
- <el-table-column prop="date" label="时间" width="">
|
509
|
|
-
|
|
503
|
+ <el-table-column prop="date" label="时间" width="" align="center">
|
|
504
|
+ <template slot-scope="scope">
|
|
505
|
+ {{ getTimeTwo(scope.row.ctime) }}
|
|
506
|
+ </template>
|
510
|
507
|
</el-table-column>
|
511
|
508
|
</el-table>
|
512
|
509
|
</div>
|
|
@@ -514,7 +511,6 @@
|
514
|
511
|
<div class="Second_title">内容</div>
|
515
|
512
|
<div class="blood_text" style="" >
|
516
|
513
|
<div v-html="weight_context"></div>
|
517
|
|
- <!-- {{ blood_context }} -->
|
518
|
514
|
</div>
|
519
|
515
|
</div>
|
520
|
516
|
</div>
|
|
@@ -522,7 +518,7 @@
|
522
|
518
|
<span slot="footer" class="dialog-footer" style="text-align: center;">
|
523
|
519
|
<!-- <el-button type="danger" @click="template_dele">删除模板</el-button>
|
524
|
520
|
<el-button type="primary" @click="template_save">保存模板</el-button> -->
|
525
|
|
- <el-button type="primary" @click="toContentPint">应用</el-button>
|
|
521
|
+ <el-button type="primary" @click="toDryWeightPint">应用</el-button>
|
526
|
522
|
<el-button @click="weight_dialog = false">取消</el-button>
|
527
|
523
|
</span>
|
528
|
524
|
</el-dialog>
|
|
@@ -600,23 +596,75 @@
|
600
|
596
|
</div>
|
601
|
597
|
<div style="">
|
602
|
598
|
<el-table
|
603
|
|
- :data="advicelist"
|
|
599
|
+ :data="adviceList"
|
604
|
600
|
:highlight-current-row="true"
|
605
|
601
|
ref="weight_table"
|
606
|
602
|
@selection-change="selectionchange5"
|
607
|
603
|
style="width: 100%">
|
608
|
604
|
<el-table-column type="selection"width="55">
|
609
|
605
|
</el-table-column>
|
610
|
|
- <el-table-column prop="date" label="开始时间" width=""></el-table-column>
|
611
|
|
- <el-table-column prop="name" label="医嘱名称" width=""></el-table-column>
|
612
|
|
- <el-table-column prop="guige" label="规格" width=""></el-table-column>
|
613
|
|
- <el-table-column prop="danci" label="单次用量" width=""></el-table-column>
|
614
|
|
- <el-table-column prop="geiyao" label="给药途径" width=""></el-table-column>
|
615
|
|
- <el-table-column prop="pinlv" label="执行频率" width=""></el-table-column>
|
616
|
|
- <el-table-column prop="beizhu" label="备注" width=""></el-table-column>
|
617
|
|
- <el-table-column prop="tingzhi" label="停止时间/执行时间" width=""></el-table-column>
|
618
|
|
- <el-table-column prop="yuanyin" label="停止原因" width=""></el-table-column>
|
619
|
|
- <el-table-column prop="yisheng" label="停止医生" width=""></el-table-column>
|
|
606
|
+ <el-table-column prop="date" label="开始时间" width="">
|
|
607
|
+ <template slot-scope="scope">
|
|
608
|
+ {{ getTimeThree(scope.row.start_time) }}
|
|
609
|
+ </template>
|
|
610
|
+ </el-table-column>
|
|
611
|
+ <el-table-column prop="name" label="医嘱名称" width="">
|
|
612
|
+ <template slot-scope="scope">
|
|
613
|
+ {{ getTimeThree(scope.row.advice_name) }}
|
|
614
|
+ </template>
|
|
615
|
+ </el-table-column>
|
|
616
|
+ <el-table-column prop="guige" label="规格" width="">
|
|
617
|
+ <template slot-scope="scope">
|
|
618
|
+ {{ getTimeThree(scope.row.advice_desc) }}
|
|
619
|
+ </template>
|
|
620
|
+ </el-table-column>
|
|
621
|
+ <el-table-column prop="danci" label="单次用量" width="">
|
|
622
|
+ <template slot-scope="scope">
|
|
623
|
+ <span v-if="scope.row.single_dose>0">{{ scope.row.single_dose }}</span>
|
|
624
|
+ </template>
|
|
625
|
+ </el-table-column>
|
|
626
|
+ <el-table-column prop="geiyao" label="给药途径" width="">
|
|
627
|
+ <template slot-scope="scope">
|
|
628
|
+ {{scope.row.delivery_way}}
|
|
629
|
+ </template>
|
|
630
|
+ </el-table-column>
|
|
631
|
+ <el-table-column prop="pinlv" label="执行频率" width="">
|
|
632
|
+ <template slot-scope="scope">
|
|
633
|
+ {{scope.row.execution_frequency }}
|
|
634
|
+ </template>
|
|
635
|
+ </el-table-column>
|
|
636
|
+ <el-table-column prop="beizhu" label="备注" width="">
|
|
637
|
+ <template slot-scope="scope">
|
|
638
|
+ {{scope.row.remark}}
|
|
639
|
+ </template>
|
|
640
|
+ </el-table-column>
|
|
641
|
+ <el-table-column prop="tingzhi" label="停止时间/执行时间" width="">
|
|
642
|
+ <template slot-scope="scope">
|
|
643
|
+ <span v-if="scope.row.advice_type == 1">
|
|
644
|
+ {{ getTimeThree(scope.row.stop_time) }}
|
|
645
|
+ </span>
|
|
646
|
+ <span v-if="scope.row.advice_type != 1">
|
|
647
|
+ {{ getTimeThree(scope.row.execution_time) }}
|
|
648
|
+ </span>
|
|
649
|
+
|
|
650
|
+ </template>
|
|
651
|
+ </el-table-column>
|
|
652
|
+ <el-table-column prop="yuanyin" label="停止原因" width="">
|
|
653
|
+ <template slot-scope="scope">
|
|
654
|
+ <span v-if="scope.row.advice_type == 1">
|
|
655
|
+ {{scope.row.remark }}
|
|
656
|
+ </span>
|
|
657
|
+
|
|
658
|
+ </template>
|
|
659
|
+ </el-table-column>
|
|
660
|
+ <el-table-column prop="yisheng" label="停止医生" width="">
|
|
661
|
+ <template slot-scope="scope">
|
|
662
|
+ <span v-if="scope.row.advice_type == 1">
|
|
663
|
+ {{ getDocName(scope.row.advice_doctor) }}
|
|
664
|
+ </span>
|
|
665
|
+ </template>
|
|
666
|
+
|
|
667
|
+ </el-table-column>
|
620
|
668
|
</el-table>
|
621
|
669
|
</div>
|
622
|
670
|
</div>
|
|
@@ -668,7 +716,7 @@
|
668
|
716
|
</el-date-picker>
|
669
|
717
|
</div>
|
670
|
718
|
<div style="text-align: right;margin-bottom: 10px;">
|
671
|
|
- <el-button type="primary" size="small" @click="bloodsearch">
|
|
719
|
+ <el-button type="primary" size="small">
|
672
|
720
|
查询
|
673
|
721
|
</el-button>
|
674
|
722
|
</div>
|
|
@@ -759,7 +807,12 @@
|
759
|
807
|
getPatientCoureOfTempalate,
|
760
|
808
|
saveCourseOfNewTemplate,
|
761
|
809
|
deleteCourseTempalte,
|
762
|
|
- getAutoPatientContent
|
|
810
|
+ getAutoPatientContent,
|
|
811
|
+ getMonitorSearchList,
|
|
812
|
+ getSummarySearchList,
|
|
813
|
+ getPatientDryWeightList,
|
|
814
|
+ getDilaysisSystemList,
|
|
815
|
+ getPatientAdviceList
|
763
|
816
|
} from '@/api/patient'
|
764
|
817
|
import { fetchMoibleAllDoctorAndNurse } from "@/api/doctor";
|
765
|
818
|
import { parseTime } from '@/utils'
|
|
@@ -861,8 +914,6 @@
|
861
|
914
|
lastBefor:{},
|
862
|
915
|
Inspect:[],
|
863
|
916
|
textcontent:'',
|
864
|
|
-
|
865
|
|
-// before:'150/66mmHg',monitor:['150/66mmHg','拒测/拒测mmHg','142/69mmHg','拒测/拒测mmHg',],after:'145/69mmHg',
|
866
|
917
|
bloodList:[
|
867
|
918
|
{date:'2024-12-14',mode:'HD',
|
868
|
919
|
content:'2024-12-14(HD) 透前血压:150/66mmHg;监测记录:150/66mmHg,拒测/拒测mmHg,142/69mmHg,拒测/拒测mmHg,145/69mmHg;透后血压:145/69mmHg。'
|
|
@@ -870,7 +921,7 @@
|
870
|
921
|
{date:'2024-12-12',mode:'HD',
|
871
|
922
|
content:'2024-12-12(HD) 透前血压:150/66mmHg;监测记录:150/66mmHg,拒测/拒测mmHg,142/69mmHg,拒测/拒测mmHg,145/69mmHg;透后血压:145/69mmHg。'}
|
872
|
923
|
],
|
873
|
|
- weightlist:[{date:'2024-12-17 07:13',value:0.3,weight:62.5},{date:'2024-12-10 07:08',value:0.2,weight:62.2}],
|
|
924
|
+ weightlist:[],
|
874
|
925
|
optionlist:[{start:'启',mode:'HD',content:''},{start:'启',mode:'HDF',content:''}],
|
875
|
926
|
advicelist:[{date:'2024-12-17 07:13',name:'非布司他片',guige:'40mg*16T',danci:'25 mg',geiyao:'口服',pinlv:'qn',beizhu:'40mg*16T',tingzhi:'',yuanyin:'口服',yisheng:'qn',}],
|
876
|
927
|
Inspectlist:[{id:1,name:'传染病四项',child:[{c_id:1,date:'2024-12-17 07:13',text:'传染病四项 - 检验日期:2024-06-12;HbsAg阴性;抗-HCV阴性;抗-HIV阴性; 梅毒TP阴性;'},
|
|
@@ -897,8 +948,12 @@
|
897
|
948
|
{value:13,label:'今年下半年'},{value:14,label:'今年'},{value:15,label:'上一年'},{value:16,label:'自定义'},
|
898
|
949
|
],
|
899
|
950
|
type_option:[{value:1,label:'不限'},{value:2,label:'长期医嘱'},{value:3,label:'临时医嘱'}],
|
900
|
|
- status_option:[{value:1,label:'不限'},{value:2,label:'未停止'},{value:3,label:'已停止'}]
|
901
|
|
-
|
|
951
|
+ status_option:[{value:1,label:'不限'},{value:2,label:'未停止'},{value:3,label:'已停止'}],
|
|
952
|
+ monitorListOne:[],
|
|
953
|
+ monitor_blood_context:"",
|
|
954
|
+ summaryList:[],
|
|
955
|
+ dryWeightList:[],
|
|
956
|
+ adviceList:[]
|
902
|
957
|
}
|
903
|
958
|
},
|
904
|
959
|
created() {
|
|
@@ -928,6 +983,131 @@
|
928
|
983
|
this.getlist()
|
929
|
984
|
},
|
930
|
985
|
methods: {
|
|
986
|
+ getModeId(mode_id){
|
|
987
|
+ var mode_name = ""
|
|
988
|
+ if(mode_id == 1){
|
|
989
|
+ mode_name ="HD"
|
|
990
|
+ }
|
|
991
|
+ if(mode_id == 2){
|
|
992
|
+ mode_name ="HDF"
|
|
993
|
+ }
|
|
994
|
+ if(mode_id == 3){
|
|
995
|
+ mode_name ="HD+HP"
|
|
996
|
+ }
|
|
997
|
+ if(mode_id == 4){
|
|
998
|
+ mode_name ="HP"
|
|
999
|
+ }
|
|
1000
|
+ if(mode_id == 5){
|
|
1001
|
+ mode_name ="HF"
|
|
1002
|
+ }
|
|
1003
|
+ if(mode_id == 6){
|
|
1004
|
+ mode_name ="SCUF"
|
|
1005
|
+ }
|
|
1006
|
+ if(mode_id == 7){
|
|
1007
|
+ mode_name ="IUF"
|
|
1008
|
+ }
|
|
1009
|
+ if(mode_id == 8){
|
|
1010
|
+ mode_name ="HFHD"
|
|
1011
|
+ }
|
|
1012
|
+ if(mode_id == 9){
|
|
1013
|
+ mode_name ="HFHD+HP"
|
|
1014
|
+ }
|
|
1015
|
+ if(mode_id == 10){
|
|
1016
|
+ mode_name ="PHF"
|
|
1017
|
+ }
|
|
1018
|
+ if(mode_id == 11){
|
|
1019
|
+ mode_name ="HFR"
|
|
1020
|
+ }
|
|
1021
|
+ if(mode_id == 12){
|
|
1022
|
+ mode_name ="HDF+HP"
|
|
1023
|
+ }
|
|
1024
|
+ if(mode_id == 13){
|
|
1025
|
+ mode_name ="CRRT"
|
|
1026
|
+ }
|
|
1027
|
+ if(mode_id == 14){
|
|
1028
|
+ mode_name ="腹水回输"
|
|
1029
|
+ }
|
|
1030
|
+ if(mode_id == 19){
|
|
1031
|
+ mode_name ="IUF+HD"
|
|
1032
|
+ }
|
|
1033
|
+ if(mode_id == 20){
|
|
1034
|
+ mode_name ="UF"
|
|
1035
|
+ }
|
|
1036
|
+ if(mode_id == 21){
|
|
1037
|
+ mode_name ="HD+"
|
|
1038
|
+ }
|
|
1039
|
+ if(mode_id == 22){
|
|
1040
|
+ mode_name ="血浆胆红素吸附+HDF"
|
|
1041
|
+ }
|
|
1042
|
+ if(mode_id == 23){
|
|
1043
|
+ mode_name ="血浆胆红素吸附"
|
|
1044
|
+ }
|
|
1045
|
+ if(mode_id == 24){
|
|
1046
|
+ mode_name ="I-HDF"
|
|
1047
|
+ }
|
|
1048
|
+ if(mode_id == 25){
|
|
1049
|
+ mode_name ="HD高通"
|
|
1050
|
+ }
|
|
1051
|
+ if(mode_id == 26){
|
|
1052
|
+ mode_name ="CVVH"
|
|
1053
|
+ }
|
|
1054
|
+ if(mode_id == 27){
|
|
1055
|
+ mode_name ="CVVHD"
|
|
1056
|
+ }
|
|
1057
|
+ if(mode_id == 28){
|
|
1058
|
+ mode_name ="CVVHDF"
|
|
1059
|
+ }
|
|
1060
|
+ if(mode_id == 29){
|
|
1061
|
+ mode_name ="PE"
|
|
1062
|
+ }
|
|
1063
|
+ if(mode_id == 30){
|
|
1064
|
+ mode_name ="血浆胆红素吸附+HP"
|
|
1065
|
+ }
|
|
1066
|
+ if(mode_id == 31){
|
|
1067
|
+ mode_name ="HPD"
|
|
1068
|
+ }
|
|
1069
|
+ if(mode_id == 32){
|
|
1070
|
+ mode_name ="HDP"
|
|
1071
|
+ }
|
|
1072
|
+
|
|
1073
|
+ if(mode_id == 33){
|
|
1074
|
+ mode_name = "HFD"
|
|
1075
|
+ }
|
|
1076
|
+ if(mode_id == 34){
|
|
1077
|
+ mode_name = "HDF100"
|
|
1078
|
+ }
|
|
1079
|
+ if(mode_id == 35){
|
|
1080
|
+ mode_name = "HDF600"
|
|
1081
|
+ }
|
|
1082
|
+ if(mode_id == 36){
|
|
1083
|
+ mode_name = "HDF800"
|
|
1084
|
+ }
|
|
1085
|
+ if(mode_id == 37){
|
|
1086
|
+ mode_name = "HDF1000"
|
|
1087
|
+ }
|
|
1088
|
+ if(mode_id == 38){
|
|
1089
|
+ mode_name = "HDF80"
|
|
1090
|
+ }
|
|
1091
|
+ if(mode_id == 39){
|
|
1092
|
+ mode_name = "HF16"
|
|
1093
|
+ }
|
|
1094
|
+ if(mode_id == 40){
|
|
1095
|
+ mode_name = "HD(无肝素)"
|
|
1096
|
+ }
|
|
1097
|
+ if(mode_id == 41){
|
|
1098
|
+ mode_name = "HDF17H"
|
|
1099
|
+ }
|
|
1100
|
+ if(mode_id == 42){
|
|
1101
|
+ mode_name = "HD."
|
|
1102
|
+ }
|
|
1103
|
+ if(mode_id == 43){
|
|
1104
|
+ mode_name = "HD(2)"
|
|
1105
|
+ }
|
|
1106
|
+ if(mode_id == 44){
|
|
1107
|
+ mode_name = "导管溶栓"
|
|
1108
|
+ }
|
|
1109
|
+ return mode_name
|
|
1110
|
+ },
|
931
|
1111
|
getAnticoagulantName(val){
|
932
|
1112
|
var anticoagulant_name = ""
|
933
|
1113
|
if(val == 1){
|
|
@@ -2778,94 +2958,7 @@
|
2778
|
2958
|
this.$router.push({ path: "/course/print?ids="+this.ids+"&patient_id="+this.patient_id});
|
2779
|
2959
|
|
2780
|
2960
|
},
|
2781
|
|
- getModeId(mode_id){
|
2782
|
|
- var mode_name = ""
|
2783
|
|
- if(mode_id == 1){
|
2784
|
|
- mode_name ="HD"
|
2785
|
|
- }
|
2786
|
|
- if(mode_id == 2){
|
2787
|
|
- mode_name ="HDF"
|
2788
|
|
- }
|
2789
|
|
- if(mode_id == 3){
|
2790
|
|
- mode_name ="HD+HP"
|
2791
|
|
- }
|
2792
|
|
- if(mode_id == 4){
|
2793
|
|
- mode_name ="HP"
|
2794
|
|
- }
|
2795
|
|
- if(mode_id == 5){
|
2796
|
|
- mode_name ="HF"
|
2797
|
|
- }
|
2798
|
|
- if(mode_id == 6){
|
2799
|
|
- mode_name ="SCUF"
|
2800
|
|
- }
|
2801
|
|
- if(mode_id == 7){
|
2802
|
|
- mode_name ="IUF"
|
2803
|
|
- }
|
2804
|
|
- if(mode_id == 8){
|
2805
|
|
- mode_name ="HFHD"
|
2806
|
|
- }
|
2807
|
|
- if(mode_id == 9){
|
2808
|
|
- mode_name ="HFHD+HP"
|
2809
|
|
- }
|
2810
|
|
- if(mode_id == 10){
|
2811
|
|
- mode_name ="PHF"
|
2812
|
|
- }
|
2813
|
|
- if(mode_id == 11){
|
2814
|
|
- mode_name ="HFR"
|
2815
|
|
- }
|
2816
|
|
- if(mode_id == 12){
|
2817
|
|
- mode_name ="HDF+HP"
|
2818
|
|
- }
|
2819
|
|
- if(mode_id == 13){
|
2820
|
|
- mode_name ="CRRT"
|
2821
|
|
- }
|
2822
|
|
- if(mode_id == 14){
|
2823
|
|
- mode_name ="腹水回输"
|
2824
|
|
- }
|
2825
|
|
- if(mode_id == 19){
|
2826
|
|
- mode_name ="IUF+HD"
|
2827
|
|
- }
|
2828
|
|
- if(mode_id == 20){
|
2829
|
|
- mode_name ="UF"
|
2830
|
|
- }
|
2831
|
|
- if(mode_id == 21){
|
2832
|
|
- mode_name ="HD+"
|
2833
|
|
- }
|
2834
|
|
- if(mode_id == 22){
|
2835
|
|
- mode_name ="血浆胆红素吸附+HDF"
|
2836
|
|
- }
|
2837
|
|
- if(mode_id == 23){
|
2838
|
|
- mode_name ="血浆胆红素吸附"
|
2839
|
|
- }
|
2840
|
|
- if(mode_id == 24){
|
2841
|
|
- mode_name ="I-HDF"
|
2842
|
|
- }
|
2843
|
|
- if(mode_id == 25){
|
2844
|
|
- mode_name ="HD高通"
|
2845
|
|
- }
|
2846
|
|
- if(mode_id == 26){
|
2847
|
|
- mode_name ="CVVH"
|
2848
|
|
- }
|
2849
|
|
- if(mode_id == 27){
|
2850
|
|
- mode_name ="CVVHD"
|
2851
|
|
- }
|
2852
|
|
- if(mode_id == 28){
|
2853
|
|
- mode_name ="CVVHDF"
|
2854
|
|
- }
|
2855
|
|
- if(mode_id == 29){
|
2856
|
|
- mode_name ="PE"
|
2857
|
|
- }
|
2858
|
|
- if(mode_id == 30){
|
2859
|
|
- mode_name ="血浆胆红素吸附+HP"
|
2860
|
|
- }
|
2861
|
|
- if(mode_id == 31){
|
2862
|
|
- mode_name ="HPD"
|
2863
|
|
- }
|
2864
|
|
- if(mode_id == 32){
|
2865
|
|
- mode_name ="HDP"
|
2866
|
|
- }
|
2867
|
|
- return mode_name
|
2868
|
|
- },
|
|
2961
|
+
|
2869
|
2962
|
GetAnticoagulant(id){
|
2870
|
2963
|
var anticoagulant_name = ""
|
2871
|
2964
|
if(id == 1){
|
|
@@ -2926,10 +3019,15 @@
|
2926
|
3019
|
getTimeOne (time) {
|
2927
|
3020
|
return uParseTime(time, '{y}-{m}-{d}')
|
2928
|
3021
|
},
|
|
3022
|
+ getTimeTwo (time) {
|
|
3023
|
+ return uParseTime(time, '{y}-{m}-{d} {h}:{i}')
|
|
3024
|
+ },
|
|
3025
|
+ getTimeThree (time) {
|
|
3026
|
+ return uParseTime(time, '{y}-{m}-{d} {h}:{i}:{s}')
|
|
3027
|
+ },
|
2929
|
3028
|
newcontent(val){
|
2930
|
3029
|
this.new_content =''
|
2931
|
3030
|
this.new_content = val
|
2932
|
|
- console.log('1111112323',val);
|
2933
|
3031
|
this.$refs.editor.contents = this.new_content
|
2934
|
3032
|
},
|
2935
|
3033
|
bloodChange(val){
|
|
@@ -2939,14 +3037,26 @@
|
2939
|
3037
|
console.log('this.blood_context',this.blood_context);
|
2940
|
3038
|
},
|
2941
|
3039
|
summaryChange(val){
|
2942
|
|
- this.summaryRows =[]
|
2943
|
|
- const text = val.date + '('+ val.mode + ')' + ' 透析过程平稳,无不适主诉,顺利结束透析治疗。'
|
2944
|
|
- this.summary_context = text
|
|
3040
|
+ this.summary_context=""
|
|
3041
|
+ if(val!=undefined){
|
|
3042
|
+ if(val.summary!=null && val.summary!=undefined){
|
|
3043
|
+ this.summary_context = val.summary.dialysis_summary
|
|
3044
|
+ }
|
|
3045
|
+
|
|
3046
|
+ }
|
|
3047
|
+ },
|
|
3048
|
+ toSummaryPint(){
|
|
3049
|
+ this.$refs.editor.contents = this.$refs.editor.contents +this.summary_context
|
|
3050
|
+ this.summary_dialog = false
|
2945
|
3051
|
},
|
2946
|
3052
|
weightChange(val){
|
2947
|
|
- const text = val.date + '调整值'+ val.value + 'kg' + '干体重'+ val.weight+'kg'
|
|
3053
|
+ var text = this.getTimeTwo(val.ctime) + " " + "调整值"+val.adjusted_value.slice(0,3)+"kg"+"("+val.adjusted_value.slice(4,6)+")"+"," +"干体重:"+val.dry_weight+"kg"
|
2948
|
3054
|
this.weight_context = text
|
2949
|
3055
|
},
|
|
3056
|
+ toDryWeightPint(){
|
|
3057
|
+ this.$refs.editor.contents = this.$refs.editor.contents +this.weight_context
|
|
3058
|
+ this.weight_dialog = false
|
|
3059
|
+ },
|
2950
|
3060
|
type_chang(val){
|
2951
|
3061
|
this.advice_type = val
|
2952
|
3062
|
},
|
|
@@ -3052,15 +3162,19 @@
|
3052
|
3162
|
this.$refs.weight_table.setCurrentRow(this.weightlist[0])
|
3053
|
3163
|
})
|
3054
|
3164
|
},
|
3055
|
|
- option_click(){
|
|
3165
|
+ option_click(val){
|
|
3166
|
+ console.log("valoo00000000000",val)
|
3056
|
3167
|
this.option_dialog =true
|
3057
|
3168
|
// this.start_date1 = this.timeForMat(7)
|
3058
|
3169
|
// this.end_date1 = this.getTime(new Date())
|
3059
|
3170
|
// this.$nextTick(()=>{
|
3060
|
3171
|
// this.$refs.option_table.setCurrentRow(this.weightlist[0])
|
3061
|
3172
|
// })
|
|
3173
|
+
|
|
3174
|
+ this.getDilaysisSystemList()
|
3062
|
3175
|
},
|
3063
|
3176
|
advice_click(){
|
|
3177
|
+ this.getPatientAdviceList()
|
3064
|
3178
|
this.advice_dialog = true
|
3065
|
3179
|
},
|
3066
|
3180
|
diagnosis_click(){
|
|
@@ -3097,15 +3211,111 @@
|
3097
|
3211
|
// for(let i in this.Inspectlist){
|
3098
|
3212
|
// }
|
3099
|
3213
|
// }
|
3100
|
|
- }
|
|
3214
|
+ },
|
|
3215
|
+
|
|
3216
|
+
|
|
3217
|
+ //血压
|
|
3218
|
+ getMonitorSearchList(){
|
|
3219
|
+
|
|
3220
|
+ var params = {
|
|
3221
|
+ start_time:this.start_date1,
|
|
3222
|
+ end_time:this.end_date1,
|
|
3223
|
+ patient_id:this.patient_id,
|
|
3224
|
+ }
|
|
3225
|
+
|
|
3226
|
+ getMonitorSearchList(params).then(response=>{
|
|
3227
|
+ if(response.data.state == 1){
|
|
3228
|
+ var monitorList = response.data.data.monitorList
|
|
3229
|
+ this.monitorListOne = monitorList
|
|
3230
|
+ }
|
|
3231
|
+ })
|
|
3232
|
+ },
|
|
3233
|
+ getSummarySearchList(){
|
|
3234
|
+ var params = {
|
|
3235
|
+ start_time:this.start_date1,
|
|
3236
|
+ end_time:this.end_date1,
|
|
3237
|
+ patient_id:this.patient_id,
|
|
3238
|
+ }
|
|
3239
|
+ getSummarySearchList(params).then(response=>{
|
|
3240
|
+ if(response.data.state ==1){
|
|
3241
|
+ this.summaryList =[]
|
|
3242
|
+ this.summaryList = response.data.data.summaryList
|
|
3243
|
+ }
|
|
3244
|
+ })
|
|
3245
|
+ },
|
|
3246
|
+ getPatientDryWeightList(){
|
|
3247
|
+ var params = {
|
|
3248
|
+ start_time:this.start_date1,
|
|
3249
|
+ end_time:this.end_date1,
|
|
3250
|
+ patient_id:this.patient_id,
|
|
3251
|
+ }
|
|
3252
|
+ getPatientDryWeightList(params).then(response=>{
|
|
3253
|
+ if(response.data.state == 1){
|
3101
|
3254
|
|
|
3255
|
+ var dryWeightList = response.data.data.dryWeightList
|
|
3256
|
+ this.dryWeightList = []
|
|
3257
|
+ this.dryWeightList = dryWeightList
|
|
3258
|
+ }
|
|
3259
|
+ })
|
|
3260
|
+ },
|
|
3261
|
+ getDilaysisSystemList(){
|
|
3262
|
+ var params = {
|
|
3263
|
+ start_time:this.start_date1,
|
|
3264
|
+ end_time:this.end_date1,
|
|
3265
|
+ patient_id:this.patient_id,
|
|
3266
|
+ }
|
|
3267
|
+ getDilaysisSystemList(params).then(response=>{
|
|
3268
|
+
|
|
3269
|
+ })
|
|
3270
|
+ },
|
|
3271
|
+ getPatientAdviceList(){
|
|
3272
|
+ var params = {
|
|
3273
|
+ start_time:this.start_date1,
|
|
3274
|
+ end_time:this.end_date1,
|
|
3275
|
+ patient_id:this.patient_id,
|
|
3276
|
+ advice_type:this.advice_type,
|
|
3277
|
+ }
|
|
3278
|
+ getPatientAdviceList(params).then(response=>{
|
|
3279
|
+ if(response.data.state == 1){
|
|
3280
|
+ var advicelist = response.data.data.advicelist
|
|
3281
|
+ this.adviceList = []
|
|
3282
|
+ this.adviceList =advicelist
|
|
3283
|
+ }
|
|
3284
|
+ })
|
|
3285
|
+ },
|
|
3286
|
+ handleMonitorChange(val){
|
|
3287
|
+
|
|
3288
|
+ var str = ""
|
|
3289
|
+ var monitor_str =""
|
|
3290
|
+ if(val.monitor!=null && val.monitor.length>0){
|
|
3291
|
+ for(let i=0;i<val.monitor.length;i++){
|
|
3292
|
+ monitor_str += val.monitor[i].systolic_blood_pressure+"/"+val.monitor[i].diastolic_blood_pressure+";"
|
|
3293
|
+ }
|
|
3294
|
+ }
|
|
3295
|
+ if(val!=undefined){
|
|
3296
|
+ str += this.getTime(val.schedule_date) + "("+this.getModeId(val.mode_id)+")"+" "+"透前血压:"+val.befor.systolic_blood_pressure+"/"+val.befor.diastolic_blood_pressure
|
|
3297
|
+ +" " +"监测记录:"+monitor_str+" "+"透后血压:"+val.after.systolic_blood_pressure +"/"+ val.after.diastolic_blood_pressure
|
|
3298
|
+ }
|
|
3299
|
+
|
|
3300
|
+ this.monitor_blood_context =""
|
|
3301
|
+ this.monitor_blood_context = str
|
|
3302
|
+ },
|
|
3303
|
+ toMonitorPint(){
|
|
3304
|
+ this.$refs.editor.contents = this.$refs.editor.contents+this.monitor_blood_context
|
|
3305
|
+ this.blood_dialog = false
|
|
3306
|
+ }
|
|
3307
|
+
|
|
3308
|
+
|
3102
|
3309
|
},
|
3103
|
3310
|
beforeMount(){
|
3104
|
3311
|
|
3105
|
3312
|
},
|
3106
|
3313
|
mounted(){
|
3107
|
3314
|
|
3108
|
|
- }
|
|
3315
|
+ },
|
|
3316
|
+
|
|
3317
|
+
|
|
3318
|
+
|
3109
|
3319
|
|
3110
|
3320
|
}
|
3111
|
3321
|
</script>
|