Procházet zdrojové kódy

Merge branch 'vue_statistics_branch' of http://git.shengws.com/csx/Vue_New into vue_statistics_branch

csx před 4 roky
rodič
revize
2c16534dac

+ 1 - 1
src/xt_pages/qcd/patientControlAnalysis.vue Zobrazit soubor

@@ -592,7 +592,7 @@ export default {
592 592
        getCartogramlist(this.lapstor,this.listQuery.start_time,this.listQuery.end_time,this.limit,this.page).then(response=>{
593 593
            if(response.data.state == 1){
594 594
               var cartogramlist =  response.data.data.cartogramlist
595
-              console.log("cartogramlist",cartogramlist)
595
+              // console.log("cartogramlist",cartogramlist)
596 596
               var totaltwo =  response.data.data.total
597 597
                var cart = []
598 598
                for(let i=0;i<cartogramlist.length;i++){

+ 26 - 19
src/xt_pages/user/patients.vue Zobrazit soubor

@@ -476,7 +476,7 @@
476 476
           ref="lapsetoForm"
477 477
           label-width="140px"
478 478
         >
479
-          <el-form-item label="治疗状态(转归):" prop="lapseto_type" required>
479
+          <!-- <el-form-item label="治疗状态(转归):" prop="lapseto_type" required>
480 480
             <el-radio-group v-model="lapsetoForm.lapseto_type">
481 481
               <el-radio
482 482
                 v-for="item in lapsetoOptions"
@@ -487,6 +487,9 @@
487 487
               </el-radio
488 488
               >
489 489
             </el-radio-group>
490
+          </el-form-item> -->
491
+          <el-form-item label="治疗状态(转归):" prop="lapseto_type" required>
492
+              <el-radio v-model="lapsetoForm.lapseto_type">{{lapeseto}}</el-radio>
490 493
           </el-form-item>
491 494
           <el-form-item label="转归时间 :" prop="lapseto_time" required>
492 495
             <el-date-picker
@@ -692,7 +695,8 @@
692 695
         phone: '',
693 696
         healthcareno: '',
694 697
         startTime: '',
695
-        export_date: []
698
+        export_date: [],
699
+        lapeseto:"",
696 700
       }
697 701
     },
698 702
     created() {
@@ -760,9 +764,6 @@
760 764
 
761 765
       },
762 766
       handleSuccess({ results, header }) {
763
-        console.log(results)
764
-        console.log(header)
765
-
766 767
         if (header != undefined && header.length > 0) {
767 768
           var isHasName = header.includes('*姓名')
768 769
           var isHasGender = header.includes('*性别')
@@ -949,7 +950,7 @@
949 950
                       obj['diagnose'] = results[i][key]
950 951
                     }
951 952
                   }
952
-                  console.log(obj)
953
+                  // console.log(obj)
953 954
 
954 955
                   if (results[i]['透析号'] === undefined) {
955 956
                     obj['dialysis_no'] = ''
@@ -959,7 +960,7 @@
959 960
                     }
960 961
                   }
961 962
 
962
-                  console.log(obj)
963
+                  // console.log(obj)
963 964
 
964 965
                   if (results[i]['干体重(kg)'] === undefined) {
965 966
                     obj['dry_weight'] = ''
@@ -969,7 +970,7 @@
969 970
                     }
970 971
                   }
971 972
 
972
-                  console.log(obj)
973
+                  // console.log(obj)
973 974
 
974 975
                   if (results[i]['身高(cm)'] === undefined) {
975 976
                     obj['height'] = ''
@@ -979,7 +980,7 @@
979 980
                     }
980 981
                   }
981 982
 
982
-                  console.log(obj)
983
+                  // console.log(obj)
983 984
 
984 985
                   if (results[i]['家庭住址'] === undefined) {
985 986
                     obj['home_address'] = ''
@@ -998,12 +999,12 @@
998 999
               for (let i = 0; i < this.export_date.length; i++) {
999 1000
                 if (this.export_date[i].dialysis_no == '') {
1000 1001
                   let new_dialysis_no = this.max_dialysis_no + index
1001
-                  console.log(new_dialysis_no)
1002
+                  // console.log(new_dialysis_no)
1002 1003
                   index++
1003 1004
                   let no = new_dialysis_no.toString()
1004
-                  console.log(no)
1005
+                  // console.log(no)
1005 1006
                   let rep = 3 - no.length
1006
-                  console.log(rep)
1007
+                  // console.log(rep)
1007 1008
                   let tempNo = ""
1008 1009
                   if (rep == 1){
1009 1010
                     tempNo = "0"
@@ -1014,7 +1015,7 @@
1014 1015
                   }
1015 1016
 
1016 1017
 
1017
-                  console.log(tempNo)
1018
+                  // console.log(tempNo)
1018 1019
                   if (rep > 0) {
1019 1020
                     no = tempNo + no
1020 1021
                   }
@@ -1023,7 +1024,7 @@
1023 1024
               }
1024 1025
 
1025 1026
 
1026
-              console.log(this.export_date)
1027
+              // console.log(this.export_date)
1027 1028
 
1028 1029
               var tempExportDate = this.export_date
1029 1030
               var tempExportDateOne = this.export_date
@@ -1131,6 +1132,12 @@
1131 1132
         )
1132 1133
       },
1133 1134
       OpenSetLapseto(row, index) {
1135
+        if(row.lapseto == 1){
1136
+          this.lapeseto = "转出"
1137
+        }
1138
+        if(row.lapseto == 2){
1139
+          this.lapeseto = "留治"
1140
+        }
1134 1141
         this.patient = row
1135 1142
         this.currentIndex = index
1136 1143
         this.lapsetoForm.lapseto_time = ''
@@ -1154,9 +1161,9 @@
1154 1161
         this.bindWechatDialog = true
1155 1162
       },
1156 1163
       handleCheckAllChange(val) {
1157
-        console.log(val)
1158
-        console.log(this.checkAll)
1159
-        console.log(this.isIndeterminate)
1164
+        // console.log(val)
1165
+        // console.log(this.checkAll)
1166
+        // console.log(this.isIndeterminate)
1160 1167
       },
1161 1168
       handleSelectionChange(val) {
1162 1169
         this.multipleSelection = val
@@ -1239,7 +1246,7 @@
1239 1246
             return false
1240 1247
           } else {
1241 1248
             this.tableData = response.data.data.patients
1242
-             console.log('病人是', this.tableData)
1249
+            //  console.log('病人是', this.tableData)
1243 1250
             this.pageTotal = this.tableData.length
1244 1251
             this.total = response.data.data.total
1245 1252
           }
@@ -1256,7 +1263,7 @@
1256 1263
             return false
1257 1264
           } else {
1258 1265
             var patient = response.data.data.patient
1259
-            console.log('二维码病人信息', patient)
1266
+            // console.log('二维码病人信息', patient)
1260 1267
             this.id = patient.id
1261 1268
             this.name = patient.name
1262 1269
             this.gender = patient.gender