ソースを参照

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

yq1 1 週間 前
コミット
2802e69eb6
共有3 個のファイルを変更した48 個の追加26 個の削除を含む
  1. 1 1
      build/cdn.json
  2. 43 22
      src/pages/main/DetailsPage.vue
  3. 4 3
      src/pages/main/template/DialysisPrintOrdereightyone.vue

+ 1 - 1
build/cdn.json ファイルの表示

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

+ 43 - 22
src/pages/main/DetailsPage.vue ファイルの表示

@@ -1127,18 +1127,6 @@ export default {
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 1131
             let firstName = {}
1144 1132
             this.FirstPin.forEach(item => {
@@ -1202,18 +1190,20 @@ export default {
1202 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,6 +1246,21 @@ export default {
1256 1246
         for (let p in arr) {
1257 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 1264
         let firstName = {}
1260 1265
         this.FirstPin.forEach(item => {
1261 1266
           firstName[item] = []
@@ -1286,6 +1291,22 @@ export default {
1286 1291
         for (let p in arr) {
1287 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 1310
         let firstName = {}
1290 1311
         this.FirstPin.forEach(item => {
1291 1312
           firstName[item] = []

+ 4 - 3
src/pages/main/template/DialysisPrintOrdereightyone.vue ファイルの表示

@@ -384,7 +384,8 @@
384 384
                       <div class="under_line" style="width: 70px; text-align: center">
385 385
                         <span>
386 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 389
                         </span>
389 390
                       </div>
390 391
                       kg
@@ -393,8 +394,8 @@
393 394
                       超滤总量:
394 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 401
                       </div>