Procházet zdrojové kódy

库存显示展示

XMLWAN před 2 roky
rodič
revize
7110b4dfc8

+ 11 - 2
src/xt_pages/dialysis/bloodPresssWatch.vue Zobrazit soubor

@@ -543,7 +543,12 @@
543 543
           align="center"
544 544
           width="100"
545 545
         ></el-table-column>
546
-
546
+        <el-table-column
547
+          prop="dry_weight"
548
+          label="干体重(kg)"
549
+          align="center"
550
+          width="120"
551
+        ></el-table-column>
547 552
         <el-table-column
548 553
           prop="dialysis_before_weight"
549 554
           label="透前称重(kg)"
@@ -1552,7 +1557,7 @@ export default {
1552 1557
         } else {
1553 1558
           this.loading = false;
1554 1559
           this.total = response.data.data.total;
1555
-          // console.log(response.data.data)
1560
+          console.log(response.data.data.schedule)
1556 1561
           for (let i = 0; i < response.data.data.schedule.length; i++) {
1557 1562
 
1558 1563
             if (response.data.data.schedule[i].patient&&response.data.data.schedule[i].patient.id > 0) {
@@ -1588,6 +1593,10 @@ export default {
1588 1593
               if (response.data.data.schedule[i].assessment_before_dislysis != null) {
1589 1594
                 SchedualPatientsTable["dialysis_before_weight"] =response.data.data.schedule[i].assessment_before_dislysis.weight_before;
1590 1595
               }
1596
+
1597
+               if (response.data.data.schedule[i].assessment_before_dislysis != null) {
1598
+                SchedualPatientsTable["dry_weight"] =response.data.data.schedule[i].assessment_before_dislysis.dry_weight;
1599
+              }
1591 1600
               if (response.data.data.schedule[i].assessment_after_dislysis !=null) {
1592 1601
                 SchedualPatientsTable["dialysis_after_weight"] =response.data.data.schedule[i].assessment_after_dislysis.weight_after;
1593 1602
               }

+ 18 - 0
src/xt_pages/dialysis/details/dialog/assessmentBeforeDislysisDialog.vue Zobrazit soubor

@@ -1599,6 +1599,24 @@
1599 1599
         deep: true,
1600 1600
         immediate: true
1601 1601
       },
1602
+
1603
+    'assessmentBeforeDislysis.additional_weight': {
1604
+      handler (newWeight, oldWeight) {
1605
+        if (newWeight > 0) {
1606
+          let weight = parseFloat(
1607
+            this.assessmentBeforeDislysis.weight_before - newWeight
1608
+          ).toFixed(1)
1609
+          if (weight > 0) {
1610
+            this.body_weight_before = weight
1611
+          } else {
1612
+            this.body_weight_before = ''
1613
+          }
1614
+        }
1615
+      },
1616
+      deep: true,
1617
+      immediate: true,
1618
+      data: []
1619
+    },
1602 1620
     }
1603 1621
   }
1604 1622
 

+ 1 - 0
src/xt_pages/qcd/indicatorControlAnalysis/weight.vue Zobrazit soubor

@@ -626,6 +626,7 @@
626 626
           this.tableData[i].assessment_date = this.getTime(this.tableData[i].assessment_date,'{y}-{m}-{d}')
627 627
           this.tableData[i].name = this.tableData[i].patient.name
628 628
           this.tableData[i].over_pluse =  this.tableData[i].weight_before -  this.tableData[i].last_after_weight
629
+          this.tableData[i].weight_after = this.tableData[i].after.weight_after
629 630
         }
630 631
        
631 632
         const tHeader = ['日期', '姓名', '干体重','前次透后体重','透前体重','透后体重','体重增加']