See999 3 years ago
parent
commit
3ecc261532
1 changed files with 6 additions and 0 deletions
  1. 6 0
      src/xt_pages/dialysis/details/index.vue

+ 6 - 0
src/xt_pages/dialysis/details/index.vue View File

@@ -1432,6 +1432,12 @@ export default {
1432 1432
         arr4.map(item => {
1433 1433
           newArr.push(...item.schedules)
1434 1434
         })
1435
+        if(this.patientStateVal == 1){
1436
+          newArr.map(item => {
1437
+            item.created_time = item.assessment_before_dislysis.created_time
1438
+          })
1439
+          newArr.sort(this.compare('created_time'))
1440
+        }
1435 1441
         this.tableData1 = newArr
1436 1442
         const name = this.$route.query.patient_name
1437 1443
         this.tableData1.map((item, index) => {