浏览代码

新分支

28169 1年前
父节点
当前提交
edebde6ee3
共有 1 个文件被更改,包括 199 次插入88 次删除
  1. 199 88
      src/xt_pages/user/evaluationtool/Fallassessment.vue

+ 199 - 88
src/xt_pages/user/evaluationtool/Fallassessment.vue 查看文件

@@ -524,16 +524,16 @@
524 524
         tumble_Totalpoints:0,
525 525
         options:[],
526 526
         checkList:[],
527
-        nianlin:[{age_check:false,content:"≥65岁(1分)"},{age_check:false,content:"<65(0分)"}],
528
-        jiwang:[{jiwang_check:false,content:"有跌倒史(2分)"},{jiwang_check:false,content:"有坠床史(2分)"} ,{jiwang_check:false,content:"晕厥(2分)"},{jiwang_check:false,content:"低血压(2分)"}],
529
-        yishizt:[{yishizt_check:false,content:"烦躁(4分)"},{yishizt_check:false,content:"谵妄(3分)"}, {yishizt_check:false,content:"嗜睡(2分)"},{yishizt_check:false,content:"模糊(2分)"},{yishizt_check:false,content:"痴呆(2分)"},{yishizt_check:false,content:"昏迷(1分)"}],
530
-        ganguan:[{ganguan_check:false,content:"头晕(4分)"},{ganguan_check:false,content:"视觉障碍(2分)"},{ganguan_check:false,content:"听力障碍(2分)"}],
531
-        shentizk:[{shentizk_check:false,content:"借助器械(3分)"},{shentizk_check:false,content:"肢体残缺(3分)"},{shentizk_check:false,content:"偏瘫(3分)"},{shentizk_check:false,content:"肌肉震颤麻痹(2分)"},{shentizk_check:false,content:"截瘫(3分)"},{shentizk_check:false,content:"乏力(1分)"},{shentizk_check:false,content:"关节僵硬、变形、疼痛(3分)"},{shentizk_check:false,content:"失眠(1分)"}],
532
-        syyaowu:[{syyaowu_check:false,content:"镇静安眠药(2分)"},{syyaowu_check:false,content:"降压药(1分)"},{syyaowu_check:false,content:"降糖药(1分)"},{syyaowu_check:false,content:"其他高危药物(1分)"}],
533
-        paixie:[{paixie_check:false,content:"便秘(2分)"},{paixie_check:false,content:"腹泻(1分)"},{paixie_check:false,content:"尿频(1分)"}],
534
-        zilinl:[{zilinl_check:false,content:"无(4分)"},{zilinl_check:false,content:"部分(3分)"}],
535
-        xiaoguo:[{xiaoguo_check:false,content:"未发生跌倒"},{xiaoguo_check:false,content:"发生跌倒"},{xiaoguo_check:false,content:"发生坠床"}],
536
-        touxidiedao:[{touxidiedao_check:false,content:"发生跌倒"},{touxidiedao_check:false,content:"发生坠床"}],
527
+        nianlin:[{age_check:false,content:"≥65岁(1分)",is_status:2},{age_check:false,content:"<65(0分)",is_status:2}],
528
+        jiwang:[{jiwang_check:false,content:"有跌倒史(2分)",is_status:2},{jiwang_check:false,content:"有坠床史(2分)",is_status:2} ,{jiwang_check:false,content:"晕厥(2分)",is_status:2},{jiwang_check:false,content:"低血压(2分)",is_status:2}],
529
+        yishizt:[{yishizt_check:false,content:"烦躁(4分)",is_status:2},{yishizt_check:false,content:"谵妄(3分)",is_status:2}, {yishizt_check:false,content:"嗜睡(2分)",is_status:2},{yishizt_check:false,content:"模糊(2分)",is_status:2},{yishizt_check:false,content:"痴呆(2分)",is_status:2},{yishizt_check:false,content:"昏迷(1分)",is_status:2}],
530
+        ganguan:[{ganguan_check:false,content:"头晕(4分)",is_status:2},{ganguan_check:false,content:"视觉障碍(2分)",is_status:2},{ganguan_check:false,content:"听力障碍(2分)",is_status:2}],
531
+        shentizk:[{shentizk_check:false,content:"借助器械(3分)",is_status:2},{shentizk_check:false,content:"肢体残缺(3分)",is_status:2},{shentizk_check:false,content:"偏瘫(3分)",is_status:2},{shentizk_check:false,content:"肌肉震颤麻痹(2分)",is_status:2},{shentizk_check:false,content:"截瘫(3分)",is_status:2},{shentizk_check:false,content:"乏力(1分)",is_status:2},{shentizk_check:false,content:"关节僵硬、变形、疼痛(3分)",is_status:2},{shentizk_check:false,content:"失眠(1分)",is_status:2}],
532
+        syyaowu:[{syyaowu_check:false,content:"镇静安眠药(2分)",is_status:2},{syyaowu_check:false,content:"降压药(1分)",is_status:2},{syyaowu_check:false,content:"降糖药(1分)",is_status:2},{syyaowu_check:false,content:"其他高危药物(1分)",is_status:2}],
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
+        zilinl:[{zilinl_check:false,content:"无(4分)",is_status:2},{zilinl_check:false,content:"部分(3分)",is_status:2}],
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:"发生坠床"}],
537 537
         centerDialogVisibleOne:false,
538 538
         centerDialogVisible:false,
539 539
         dialogVisible:false,
@@ -562,7 +562,7 @@
562 562
         is_check_seventeen:false,
563 563
         is_check_eighteen:false,
564 564
         is_check_nineteen:false,
565
-        is_check_nineteen:false,
565
+       
566 566
         nurseList:[],
567 567
         admin_user_id:"",
568 568
         record_date:"",
@@ -619,95 +619,206 @@
619 619
         })
620 620
       },
621 621
       toDialog(){
622
-         var is_age =0
623
-         if(this.age_check == false){
624
-             is_age = 2
625
-         } 
626
-         if(this.age_check == true){
627
-             is_age =1
628
-         }
629 622
 
630
-         var is_jiwang=0
631
-         if(this.jiwang_check == false){
632
-             is_jiwang =2
633
-         }
634
-         if(this.jiwang_check == true){
635
-            is_jiwang =1
636
-         }
623
+        var is_check =2
624
+        if(this.is_check == false){
625
+          is_check =2
626
+        }
627
+        if(this.is_check == true){
628
+          is_check =1
629
+        }
637 630
 
638
-         var is_yishizt =0 
639
-         if(this.yishizt_check == false){
640
-            is_yishizt = 2
641
-         } 
642
-         if(this.yishizt_check == true){
643
-            is_yishizt = 1
644
-         }
631
+        var is_check_one =2
632
+        if(this.is_check_one == false){
633
+          is_check_one = 2
634
+        }
635
+        if(this.is_check_one == true){
636
+          is_check_one = 1
637
+        }
645 638
 
646
-         var is_ganguan= 0
647
-         if(this.ganguan_check == false){
648
-            is_ganguan = 2
649
-         }
650
-         if(this.ganguan_check == true){
651
-            is_ganguan =1
652
-         }
653
-         
654
-         var is_shentizk = 0
655
-         if(this.shentizk_check == false){
656
-              is_shentizk = 2
657
-         }
658
-         if(this.shentizk_check == true){
659
-            is_shentizk = 1
660
-         }
661
-          
662
-         var is_syyaowu = 0
663
-         if(this.syyaowu_check == false){
664
-              is_syyaowu = 2
665
-         }
666
-         if(this.syyaowu_check == true){
667
-            is_syyaowu = 1
668
-         }
639
+        var is_check_two =2
640
+        if(this.is_check_two == false){
641
+          is_check_two =2
642
+        }
643
+        if(this.is_check_two == true){
644
+          is_check_two = 1
645
+        }
669 646
 
670
-         var is_paixie = 0
671
-         if(this.paixie_check == false){
672
-             is_paixie = 2
673
-         }
674
-         if(this.paixie_check == true){
675
-              is_paixie =1
676
-         }
647
+        var is_check_three =2
648
+        if(this.is_check_three == false){
649
+          is_check_three =2
650
+        }
651
+        if(this.is_check_three == true){
652
+          is_check_three = 1
653
+        }
677 654
 
678
-         var is_zilin =0
679
-         if(this.zilinl_check == false){
680
-            is_zilin = 2
681
-         }
682
-         if(this.zilinl_check == true){
683
-           is_zilin =1
684
-         }
685
-         var is_xiaoguo =0
686
-         if(this.xiaoguo_check == false){
687
-             is_xiaoguo = 2
688
-         }
689
-         if(this.xiaoguo_check == true){
690
-            is_xiaoguo =1
691
-         }
655
+        var is_check_four =2
656
+        if(this.is_check_four == false){
657
+          is_check_four =2
658
+        }
692 659
 
693
-         var is_touxidiedao =0 
694
-         if(this.touxidiedao_check == false){
695
-             is_touxidiedao = 2
696
-         }
697
-         if(this.touxidiedao_check == true){
698
-              is_touxidiedao = 1
699
-         }
660
+        if(this.is_check_four == true){
661
+          is_check_four = 1
662
+        }
663
+        
664
+        var is_check_five = 2
665
+        if(this.is_check_five == false){
666
+          is_check_five =2
667
+        }
668
+        if(this.is_check_five == true){
669
+          is_check_five =1
670
+        }
671
+
672
+        var is_check_six= 2
673
+        if(this.is_check_six == false){
674
+          is_check_six =2
675
+        }
676
+        if(this.is_check_six == true){
677
+          is_check_six =1
678
+        }
679
+        
680
+        var is_check_seven= 2
681
+        if(this.is_check_seven == false){
682
+          is_check_seven =2
683
+        }
684
+        if(this.is_check_seven == true){
685
+          is_check_seven =1
686
+        }
687
+
688
+        var is_check_eight= 2
689
+        if(this.is_check_eight == false){
690
+          is_check_eight =2
691
+        }
692
+        if(this.is_check_eight == true){
693
+          is_check_eight =1
694
+        }
695
+
696
+        var is_check_night= 2
697
+        if(this.is_check_night == false){
698
+          is_check_night =2
699
+        }
700
+        if(this.is_check_night == true){
701
+          is_check_night =1
702
+        }
703
+
704
+        var is_check_ten= 2
705
+        if(this.is_check_ten == false){
706
+          is_check_ten =2
707
+        }
708
+        if(this.is_check_ten == true){
709
+          is_check_ten =1
710
+        }
711
+
712
+        var is_check_eleven= 2
713
+        if(this.is_check_eleven == false){
714
+          is_check_eleven =2
715
+        }
716
+        if(this.is_check_eleven == true){
717
+          is_check_eleven =1
718
+        }
719
+
720
+        var is_check_twelve= 2
721
+        if(this.is_check_twelve == false){
722
+          is_check_twelve =2
723
+        }
724
+        if(this.is_check_twelve == true){
725
+          is_check_twelve =1
726
+        }
727
+       
728
+        var is_check_thirteen= 2
729
+        if(this.is_check_thirteen == false){
730
+          is_check_thirteen =2
731
+        }
732
+        if(this.is_check_thirteen == true){
733
+          is_check_thirteen =1
734
+        }
735
+
736
+        var is_check_fourteen= 2
737
+        if(this.is_check_fourteen == false){
738
+          is_check_fourteen =2
739
+        }
740
+        if(this.is_check_fourteen == true){
741
+          is_check_fourteen =1
742
+        }
700 743
 
701
-         var liststr = JSON.stringify(this.list)
702
-         var listStrOne = JSON.stringify(this.listOne)
703
-         console.log("liststr----",liststr)
704
-         console.log("listStrOne---",listOne)
744
+        var is_check_fifteen= 2
745
+        if(this.is_check_fifteen == false){
746
+          is_check_fifteen =2
747
+        }
748
+        if(this.is_check_fifteen == true){
749
+          is_check_fifteen =1
750
+        }
751
+
752
+        var is_check_sixteen= 2
753
+        if(this.is_check_sixteen == false){
754
+          is_check_sixteen =2
755
+        }
756
+        if(this.is_check_sixteen == true){
757
+          is_check_sixteen =1
758
+        }
759
+
760
+        var is_check_seventeen= 2
761
+        if(this.is_check_seventeen == false){
762
+          is_check_seventeen =2
763
+        }
764
+        if(this.is_check_seventeen == true){
765
+          is_check_seventeen =1
766
+        }
767
+       
768
+        var is_check_eighteen= 2
769
+        if(this.is_check_eighteen == false){
770
+          is_check_eighteen =2
771
+        }
772
+        if(this.is_check_eighteen == true){
773
+          is_check_eighteen =1
774
+        }
775
+       
776
+        var is_check_nineteen= 2
777
+        if(this.is_check_nineteen == false){
778
+          is_check_nineteen =2
779
+        }
780
+        if(this.is_check_nineteen == true){
781
+          is_check_nineteen =1
782
+        }
705 783
 
706 784
          var record_date = this.record_date
707 785
          var ping_date = this.ping_date
708 786
          var params = {
709
-          is_age:is_age,
787
+          is_age:this.nianlin,//年龄
788
+          is_jiwang:this.jiwang,//既往史
789
+          is_yishizt:this.yishizt,//意识状态
790
+          is_ganguan:this.ganguan,//感官
791
+          is_shentizk:this.shentizk,// 身体状况
792
+          is_syyaowu:this.syyaowu,//使用药物
793
+          is_paixie:this.paixie,//排泄
794
+          is_zilin:this.zilinl, //自理能力
795
+          is_xiaoguo:this.xiaoguo,//预防效果
796
+          is_touxidiedao:this.touxidiedao,//透析跌倒
797
+          record_date:record_date,
798
+          ping_date:ping_date,
799
+          admin_user_id:this.admin_user_id,
800
+          is_check:this.is_check,
801
+          is_check_one:is_check_one,
802
+          is_check_two:is_check_two,
803
+          is_check_three:is_check_three,
804
+          is_check_four:is_check_four,
805
+          is_check_five:is_check_five,
806
+          is_check_six:is_check_six,
807
+          is_check_seven:is_check_seven,
808
+          is_check_eight:is_check_eight,
809
+          is_check_night:is_check_night,
810
+          is_check_ten:is_check_ten,
811
+          is_check_eleven:is_check_eleven,
812
+          is_check_twelve:is_check_twelve,
813
+          is_check_thirteen:is_check_thirteen,
814
+          is_check_fourteen:is_check_fourteen,
815
+          is_check_fifteen:is_check_fifteen,
816
+          is_check_sixteen:is_check_sixteen,
817
+          is_check_seventeen:is_check_seventeen,
818
+          is_check_eighteen:is_check_eighteen,
819
+          is_check_nineteen:is_check_nineteen,
710 820
          }
821
+         console.log("params",params)
711 822
         saveFllassessmentList().then(response=>{
712 823
 
713 824
         })