Browse Source

Merge remote-tracking branch 'origin/20230223_pad_vue_new_branch' into 20230223_pad_vue_new_branch

28169 1 week ago
parent
commit
34681203ba

+ 1 - 1
build/cdn.json View File

1
 {
1
 {
2
-  "version": "2999.999.13757"
2
+  "version": "2999.999.13759"
3
 }
3
 }

+ 43 - 22
src/pages/main/DetailsPage.vue View File

1127
             }
1127
             }
1128
             
1128
             
1129
 
1129
 
1130
-            if(cityNameList!=null && cityNameList.length>0){
1131
-              for(let i=0;i<cityNameList.length;i++){
1132
-                cityNameList[i].sort = 0
1133
-                cityNameList[i].sort = cityNameList[i].device_number.sort 
1134
-              }
1135
-            }
1136
-       
1137
-            this.newPatient = []
1138
-            this.newPatient = cityNameList.sort(function (a, b) {
1139
-                return a.sort > b.sort
1140
-            })
1141
-
1142
 
1130
 
1143
             let firstName = {}
1131
             let firstName = {}
1144
             this.FirstPin.forEach(item => {
1132
             this.FirstPin.forEach(item => {
1202
               cityNameList.push(zoneArr[p])
1190
               cityNameList.push(zoneArr[p])
1203
             }
1191
             }
1204
 
1192
 
1193
+            console.log("所有患者的数据=========================",cityNameList)
1205
 
1194
 
1206
-            if(cityNameList!=null && cityNameList.length>0){
1207
-              for(let i=0;i<cityNameList.length;i++){
1208
-                cityNameList[i].sort = 0
1209
-                cityNameList[i].sort = cityNameList[i].device_number.sort 
1210
-              }
1211
-            }
1195
+
1196
+            // if(cityNameList!=null && cityNameList.length>0){
1197
+            //   for(let i=0;i<cityNameList.length;i++){
1198
+            //     cityNameList[i].sort = 0
1199
+            //     cityNameList[i].sort = cityNameList[i].device_number.sort 
1200
+            //   }
1201
+            // }
1212
        
1202
        
1213
-            this.newPatient = []
1214
-            this.newPatient = cityNameList.sort(function (a, b) {
1215
-                return a.sort > b.sort
1216
-            })
1203
+            // this.newPatient = []
1204
+            // this.newPatient = cityNameList.sort(function (a, b) {
1205
+            //     return a.sort > b.sort
1206
+            // })
1217
               
1207
               
1218
            
1208
            
1219
           
1209
           
1256
         for (let p in arr) {
1246
         for (let p in arr) {
1257
           cityNameList.push(arr[p])
1247
           cityNameList.push(arr[p])
1258
         }
1248
         }
1249
+
1250
+          // //解决溪康排序问题  我的病人列表
1251
+          if(cityNameList!=null && cityNameList.length>0){
1252
+                for(let i=0;i<cityNameList.length;i++){
1253
+                  cityNameList[i].sort = 0
1254
+                  cityNameList[i].sort = cityNameList[i].device_number.sort 
1255
+                }
1256
+              }
1257
+            
1258
+              this.myPatientsOne = []
1259
+              this.myPatientsOne = cityNameList.sort(function (a, b) {
1260
+                  return a.sort > b.sort
1261
+         })
1262
+
1263
+
1259
         let firstName = {}
1264
         let firstName = {}
1260
         this.FirstPin.forEach(item => {
1265
         this.FirstPin.forEach(item => {
1261
           firstName[item] = []
1266
           firstName[item] = []
1286
         for (let p in arr) {
1291
         for (let p in arr) {
1287
           cityNameList.push(arr[p])
1292
           cityNameList.push(arr[p])
1288
         }
1293
         }
1294
+
1295
+
1296
+       // //解决溪康排序问题  我的病人列表
1297
+       if(cityNameList!=null && cityNameList.length>0){
1298
+                for(let i=0;i<cityNameList.length;i++){
1299
+                  cityNameList[i].sort = 0
1300
+                  cityNameList[i].sort = cityNameList[i].device_number.sort 
1301
+                }
1302
+              }
1303
+            
1304
+              this.myPatientsOne = []
1305
+              this.myPatientsOne = cityNameList.sort(function (a, b) {
1306
+                  return a.sort > b.sort
1307
+         })
1308
+
1309
+
1289
         let firstName = {}
1310
         let firstName = {}
1290
         this.FirstPin.forEach(item => {
1311
         this.FirstPin.forEach(item => {
1291
           firstName[item] = []
1312
           firstName[item] = []

+ 4 - 3
src/pages/main/template/DialysisPrintOrdereightyone.vue View File

384
                       <div class="under_line" style="width: 70px; text-align: center">
384
                       <div class="under_line" style="width: 70px; text-align: center">
385
                         <span>
385
                         <span>
386
                           <span v-if="lastWeight.weight_after>0">{{ (predialysis.weight_before - predialysis.additional_weight - lastWeight.weight_after).toFixed(2)}}</span>
386
                           <span v-if="lastWeight.weight_after>0">{{ (predialysis.weight_before - predialysis.additional_weight - lastWeight.weight_after).toFixed(2)}}</span>
387
-                          <span v-if="lastWeight.weight_after<=0">{{ (predialysis.weight_before - predialysis.additional_weight -afterdialysis.last_after_weight).toFixed(2)}}</span>
387
+                          <span v-if="lastWeight.weight_after<=0 && afterdialysis.last_after_weight>0">{{ (predialysis.weight_before - predialysis.additional_weight -afterdialysis.last_after_weight).toFixed(2)}}</span>
388
+                          <span v-if="lastWeight.weight_after<=0 && afterdialysis.last_after_weight==0">/</span>
388
                         </span>
389
                         </span>
389
                       </div>
390
                       </div>
390
                       kg
391
                       kg
393
                       超滤总量:
394
                       超滤总量:
394
                       <div class="under_line" style="width: 60px; text-align: center">
395
                       <div class="under_line" style="width: 60px; text-align: center">
395
                         {{
396
                         {{
396
-                          prescription.target_ultrafiltration
397
-                            ? prescription.target_ultrafiltration
397
+                          prescription.prescription_water
398
+                            ? prescription.prescription_water
398
                             : "/"
399
                             : "/"
399
                         }}
400
                         }}
400
                       </div>
401
                       </div>