|
@@ -533,7 +533,7 @@
|
533
|
533
|
paixie:[{paixie_check:false,content:"便秘(2分)",is_status:2},{paixie_check:false,content:"腹泻(1分)",is_status:2},{paixie_check:false,content:"尿频(1分)",is_status:2}],
|
534
|
534
|
zilinl:[{zilinl_check:false,content:"无(4分)",is_status:2},{zilinl_check:false,content:"部分(3分)",is_status:2}],
|
535
|
535
|
xiaoguo:[{xiaoguo_check:false,content:"未发生跌倒",is_status:2},{xiaoguo_check:false,content:"发生跌倒",is_status:2},{xiaoguo_check:false,content:"发生坠床",is_status:2}],
|
536
|
|
- touxidiedao:[{touxidiedao_check:false,content:"发生跌倒",is_status:2},{touxidiedao_check:false,content:"发生坠床"}],
|
|
536
|
+ touxidiedao:[{touxidiedao_check:false,content:"发生跌倒",is_status:2},{touxidiedao_check:false,content:"发生坠床",is_status:2}],
|
537
|
537
|
centerDialogVisibleOne:false,
|
538
|
538
|
centerDialogVisible:false,
|
539
|
539
|
dialogVisible:false,
|
|
@@ -570,6 +570,8 @@
|
570
|
570
|
|
571
|
571
|
},
|
572
|
572
|
created() {
|
|
573
|
+ const id = this.$route.params && this.$route.params.id
|
|
574
|
+ this.patient_id = parseInt(id)
|
573
|
575
|
this.getAllNurseList()
|
574
|
576
|
},
|
575
|
577
|
methods: {
|
|
@@ -591,10 +593,10 @@
|
591
|
593
|
}
|
592
|
594
|
},
|
593
|
595
|
Historicalscore(){
|
594
|
|
- this.$router.push({path: '/patients/tumble_history'})
|
|
596
|
+ this.$router.push({path: '/patients/tumble_history?patient_id='+this.patient_id})
|
595
|
597
|
},
|
596
|
598
|
saveCenterDialogVisible(){
|
597
|
|
- var obj = {is_content_check:false,content:""}
|
|
599
|
+ var obj = {is_content_check:false,content:"",is_status:2}
|
598
|
600
|
obj.content = this.content
|
599
|
601
|
this.list.push(obj)
|
600
|
602
|
this.centerDialogVisible =false
|
|
@@ -604,8 +606,8 @@
|
604
|
606
|
this.centerDialogVisibleOne = true
|
605
|
607
|
},
|
606
|
608
|
saveCenterDialogVisibleOne(){
|
607
|
|
- var obj = {is_content_check_one:false,contentOne:""}
|
608
|
|
- obj.contentOne = this.contentOne
|
|
609
|
+ var obj = {is_content_check_one:false,content:"",is_status:2}
|
|
610
|
+ obj.content = this.contentOne
|
609
|
611
|
this.listOne.push(obj)
|
610
|
612
|
this.centerDialogVisibleOne= false
|
611
|
613
|
},
|
|
@@ -783,6 +785,149 @@
|
783
|
785
|
|
784
|
786
|
var record_date = this.record_date
|
785
|
787
|
var ping_date = this.ping_date
|
|
788
|
+
|
|
789
|
+ if(this.nianlin!=null && this.nianlin.length >0){
|
|
790
|
+ for(let i=0;i<this.nianlin.length;i++){
|
|
791
|
+ if(this.nianlin[i].age_check == true){
|
|
792
|
+ this.nianlin[i].is_status =1
|
|
793
|
+ }
|
|
794
|
+ if(this.nianlin[i].age_check == false){
|
|
795
|
+ this.nianlin[i].is_status =2
|
|
796
|
+ }
|
|
797
|
+ }
|
|
798
|
+ }
|
|
799
|
+
|
|
800
|
+ if(this.jiwang!=null && this.jiwang.length >0){
|
|
801
|
+ for(let i=0;i<this.jiwang.length;i++){
|
|
802
|
+ if(this.jiwang[i].jiwang_check == true){
|
|
803
|
+ this.jiwang[i].is_status =1
|
|
804
|
+ }
|
|
805
|
+ if(this.jiwang[i].jiwang_check == false){
|
|
806
|
+ this.jiwang[i].is_status =2
|
|
807
|
+ }
|
|
808
|
+ }
|
|
809
|
+ }
|
|
810
|
+
|
|
811
|
+ if(this.yishizt!=null && this.yishizt.length >0){
|
|
812
|
+ for(let i=0;i<this.yishizt.length;i++){
|
|
813
|
+ if(this.yishizt[i].yishizt_check == true){
|
|
814
|
+ this.yishizt[i].is_status =1
|
|
815
|
+ }
|
|
816
|
+ if(this.yishizt[i].yishizt_check == false){
|
|
817
|
+ this.yishizt[i].is_status =2
|
|
818
|
+ }
|
|
819
|
+ }
|
|
820
|
+ }
|
|
821
|
+
|
|
822
|
+ if(this.yishizt!=null && this.yishizt.length >0){
|
|
823
|
+ for(let i=0;i<this.yishizt.length;i++){
|
|
824
|
+ if(this.yishizt[i].yishizt_check == true){
|
|
825
|
+ this.yishizt[i].is_status =1
|
|
826
|
+ }
|
|
827
|
+ if(this.yishizt[i].yishizt_check == false){
|
|
828
|
+ this.yishizt[i].is_status =2
|
|
829
|
+ }
|
|
830
|
+ }
|
|
831
|
+ }
|
|
832
|
+
|
|
833
|
+ if(this.ganguan!=null && this.ganguan.length >0){
|
|
834
|
+ for(let i=0;i<this.ganguan.length;i++){
|
|
835
|
+ if(this.ganguan[i].ganguan_check == true){
|
|
836
|
+ this.ganguan[i].is_status =1
|
|
837
|
+ }
|
|
838
|
+ if(this.ganguan[i].ganguan_check == false){
|
|
839
|
+ this.ganguan[i].is_status =2
|
|
840
|
+ }
|
|
841
|
+ }
|
|
842
|
+ }
|
|
843
|
+
|
|
844
|
+ if(this.shentizk!=null && this.shentizk.length >0){
|
|
845
|
+ for(let i=0;i<this.shentizk.length;i++){
|
|
846
|
+ if(this.shentizk[i].shentizk_check == true){
|
|
847
|
+ this.shentizk[i].is_status =1
|
|
848
|
+ }
|
|
849
|
+ if(this.shentizk[i].shentizk_check == false){
|
|
850
|
+ this.shentizk[i].is_status =2
|
|
851
|
+ }
|
|
852
|
+ }
|
|
853
|
+ }
|
|
854
|
+
|
|
855
|
+ if(this.syyaowu!=null && this.syyaowu.length >0){
|
|
856
|
+ for(let i=0;i<this.syyaowu.length;i++){
|
|
857
|
+ if(this.syyaowu[i].syyaowu_check == true){
|
|
858
|
+ this.syyaowu[i].is_status =1
|
|
859
|
+ }
|
|
860
|
+ if(this.syyaowu[i].syyaowu_check == false){
|
|
861
|
+ this.syyaowu[i].is_status =2
|
|
862
|
+ }
|
|
863
|
+ }
|
|
864
|
+ }
|
|
865
|
+
|
|
866
|
+ if(this.paixie!=null && this.paixie.length >0){
|
|
867
|
+ for(let i=0;i<this.paixie.length;i++){
|
|
868
|
+ if(this.paixie[i].paixie_check == true){
|
|
869
|
+ this.paixie[i].is_status =1
|
|
870
|
+ }
|
|
871
|
+ if(this.paixie[i].paixie_check == false){
|
|
872
|
+ this.paixie[i].is_status =2
|
|
873
|
+ }
|
|
874
|
+ }
|
|
875
|
+ }
|
|
876
|
+
|
|
877
|
+ if(this.zilinl!=null && this.zilinl.length >0){
|
|
878
|
+ for(let i=0;i<this.zilinl.length;i++){
|
|
879
|
+ if(this.zilinl[i].zilinl_check == true){
|
|
880
|
+ this.zilinl[i].is_status =1
|
|
881
|
+ }
|
|
882
|
+ if(this.zilinl[i].zilinl_check == false){
|
|
883
|
+ this.zilinl[i].is_status =2
|
|
884
|
+ }
|
|
885
|
+ }
|
|
886
|
+ }
|
|
887
|
+
|
|
888
|
+ if(this.xiaoguo!=null && this.xiaoguo.length >0){
|
|
889
|
+ for(let i=0;i<this.xiaoguo.length;i++){
|
|
890
|
+ if(this.xiaoguo[i].xiaoguo_check == true){
|
|
891
|
+ this.xiaoguo[i].is_status =1
|
|
892
|
+ }
|
|
893
|
+ if(this.xiaoguo[i].xiaoguo_check == false){
|
|
894
|
+ this.xiaoguo[i].is_status =2
|
|
895
|
+ }
|
|
896
|
+ }
|
|
897
|
+ }
|
|
898
|
+
|
|
899
|
+ if(this.touxidiedao!=null && this.touxidiedao.length >0){
|
|
900
|
+ for(let i=0;i<this.touxidiedao.length;i++){
|
|
901
|
+ if(this.touxidiedao[i].touxidiedao_check == true){
|
|
902
|
+ this.touxidiedao[i].is_status =1
|
|
903
|
+ }
|
|
904
|
+ if(this.touxidiedao[i].touxidiedao_check == false){
|
|
905
|
+ this.touxidiedao[i].is_status =2
|
|
906
|
+ }
|
|
907
|
+ }
|
|
908
|
+ }
|
|
909
|
+
|
|
910
|
+ if(this.list!=null && this.list.length >0){
|
|
911
|
+ for(let i=0;i<this.list.length;i++){
|
|
912
|
+ if(this.list[i].is_content_check == true){
|
|
913
|
+ this.list[i].is_status =1
|
|
914
|
+ }
|
|
915
|
+ if(this.list[i].is_content_check == false){
|
|
916
|
+ this.list[i].is_status =2
|
|
917
|
+ }
|
|
918
|
+ }
|
|
919
|
+ }
|
|
920
|
+
|
|
921
|
+ if(this.listOne!=null && this.listOne.length >0){
|
|
922
|
+ for(let i=0;i<this.listOne.length;i++){
|
|
923
|
+ if(this.listOne[i].is_content_check_one == true){
|
|
924
|
+ this.listOne[i].is_status =1
|
|
925
|
+ }
|
|
926
|
+ if(this.listOne[i].is_content_check_one == false){
|
|
927
|
+ this.listOne[i].is_status =2
|
|
928
|
+ }
|
|
929
|
+ }
|
|
930
|
+ }
|
786
|
931
|
var params = {
|
787
|
932
|
is_age:this.nianlin,//年龄
|
788
|
933
|
is_jiwang:this.jiwang,//既往史
|
|
@@ -794,6 +939,8 @@
|
794
|
939
|
is_zilin:this.zilinl, //自理能力
|
795
|
940
|
is_xiaoguo:this.xiaoguo,//预防效果
|
796
|
941
|
is_touxidiedao:this.touxidiedao,//透析跌倒
|
|
942
|
+ list:this.list,
|
|
943
|
+ listOne:this.listOne,
|
797
|
944
|
record_date:record_date,
|
798
|
945
|
ping_date:ping_date,
|
799
|
946
|
admin_user_id:this.admin_user_id,
|
|
@@ -817,13 +964,17 @@
|
817
|
964
|
is_check_seventeen:is_check_seventeen,
|
818
|
965
|
is_check_eighteen:is_check_eighteen,
|
819
|
966
|
is_check_nineteen:is_check_nineteen,
|
820
|
|
- patient_id:parseInt(this.$route.query.id),
|
|
967
|
+ patient_id:this.patient_id,
|
821
|
968
|
total:this.tumble_Totalpoints,
|
822
|
|
-
|
|
969
|
+
|
823
|
970
|
}
|
824
|
971
|
console.log("params",params)
|
|
972
|
+
|
825
|
973
|
saveFllassessmentList(params).then(response=>{
|
826
|
|
-
|
|
974
|
+ if(response.data.state ==1){
|
|
975
|
+ var patientFallassessment = response.data.data.patientFallassessment
|
|
976
|
+ this.$message.success("保存成功!")
|
|
977
|
+ }
|
827
|
978
|
})
|
828
|
979
|
}
|
829
|
980
|
}
|