28169 vor 1 Jahr
Ursprung
Commit
bf2d016928
2 geänderte Dateien mit 65 neuen und 10 gelöschten Zeilen
  1. 60 5
      src/xt_pages/user/evaluationtool/Fallassessment.vue
  2. 5 5
      src/xt_pages/user/inspection.vue

+ 60 - 5
src/xt_pages/user/evaluationtool/Fallassessment.vue Datei anzeigen

416
                           <div style="flex: 1;">
416
                           <div style="flex: 1;">
417
                             <span>日期:</span>
417
                             <span>日期:</span>
418
                             <el-date-picker
418
                             <el-date-picker
419
-                              v-model="pingdate"
419
+                              v-model="ping_date"
420
                               type="date"
420
                               type="date"
421
                               format="yyyy-MM-dd"
421
                               format="yyyy-MM-dd"
422
                               value-format="yyyy-MM-dd"
422
                               value-format="yyyy-MM-dd"
518
     data() {
518
     data() {
519
       return {
519
       return {
520
         patient_id:0,
520
         patient_id:0,
521
-        pingdate:'',
521
+        ping_date:'',
522
         Nurse:'',
522
         Nurse:'',
523
         input:'',
523
         input:'',
524
         tumble_Totalpoints:0,
524
         tumble_Totalpoints:0,
644
          }
644
          }
645
 
645
 
646
          var is_ganguan= 0
646
          var is_ganguan= 0
647
-         if(this.is_ganguan_check == false){
647
+         if(this.ganguan_check == false){
648
             is_ganguan = 2
648
             is_ganguan = 2
649
          }
649
          }
650
-         if(this.is_ganguan_check == true){
650
+         if(this.ganguan_check == true){
651
             is_ganguan =1
651
             is_ganguan =1
652
          }
652
          }
653
-         var params = {
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
+         }
669
+
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
+         }
677
+
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
+         }
654
 
692
 
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
+         }
700
+
701
+         var liststr = JSON.stringify(this.list)
702
+         var listStrOne = JSON.stringify(this.listOne)
703
+         console.log("liststr----",liststr)
704
+         console.log("listStrOne---",listOne)
705
+
706
+         var record_date = this.record_date
707
+         var ping_date = this.ping_date
708
+         var params = {
709
+          is_age:is_age,
655
          }
710
          }
656
         saveFllassessmentList().then(response=>{
711
         saveFllassessmentList().then(response=>{
657
 
712
 

+ 5 - 5
src/xt_pages/user/inspection.vue Datei anzeigen

791
          
791
          
792
        
792
        
793
         this.form.formItem = []
793
         this.form.formItem = []
794
-        // console.log("hhhhhhhhhhhhh",this.project.inspection_reference)
795
-        // console.log("inspectionsMap",this.inspectionsMap)
794
+        console.log("hhhhhhhhhhhhh",this.project.inspection_reference)
795
+        console.log("inspectionsMap",this.inspectionsMap)
796
         for (var index in this.project.inspection_reference) {
796
         for (var index in this.project.inspection_reference) {
797
           if(this.org_id ==10278 || this.org_id ==10138 || this.org_id == 0){
797
           if(this.org_id ==10278 || this.org_id ==10138 || this.org_id == 0){
798
             this.form.formItem.push({
798
             this.form.formItem.push({
1325
                 //  console.log("item[key]",item[key])
1325
                 //  console.log("item[key]",item[key])
1326
                 item[key] = items[index][key]
1326
                 item[key] = items[index][key]
1327
               }
1327
               }
1328
-
1328
+              
1329
               if (item.item_id > 0) {
1329
               if (item.item_id > 0) {
1330
                 if (typeof(inspectionsMap[parseInt(items[index].item_id)])  == "undefined") {
1330
                 if (typeof(inspectionsMap[parseInt(items[index].item_id)])  == "undefined") {
1331
-                  if(this.org_id == 10121 || this.org_id ==10278 || this.org_id ==10138 || this.org_id == 0){
1331
+                  if(this.org_id == 10121 || this.org_id ==10138){
1332
                     item.value = inspectionsMap[items[index].id].inspect_value
1332
                     item.value = inspectionsMap[items[index].id].inspect_value
1333
                     item.item_name = inspectionsMap[items[index].id].item_name
1333
                     item.item_name = inspectionsMap[items[index].id].item_name
1334
                   }else{
1334
                   }else{
1369
               }
1369
               }
1370
 
1370
 
1371
 
1371
 
1372
-              console.log("items232232332wo",item.value.indexOf('http'))
1372
+             
1373
 
1373
 
1374
               if(item.value.indexOf("http") <0){
1374
               if(item.value.indexOf("http") <0){
1375
                 this.isPic = true
1375
                 this.isPic = true