Browse Source

新分支

28169 7 months ago
parent
commit
8e8617eacd
1 changed files with 39 additions and 4 deletions
  1. 39 4
      src/xt_pages/user/dialysisRecord.vue

+ 39 - 4
src/xt_pages/user/dialysisRecord.vue View File

@@ -169,6 +169,7 @@
169 169
                  {{ scope.row.prescription.dialyzer_perfusion_apparatus }}
170 170
                  {{ scope.row.prescription.dialysis_dialyszers }}
171 171
               <span v-if="scope.row.prescription.dialysis_irrigation!=''">/{{ scope.row.prescription.dialysis_irrigation }}</span>
172
+              <span v-if="scope.row.prescription.dialysis_strainer!=''">/{{ scope.row.prescription.dialysis_strainer }}</span>
172 173
              </template>
173 174
           </el-table-column>
174 175
 
@@ -180,19 +181,40 @@
180 181
           >
181 182
           </el-table-column>
182 183
           <el-table-column
184
+            v-if="org_id!=0&&org_id!=10702"
183 185
             prop="predialysis_evaluation.weight_before"
184 186
             width="110"
185 187
             align="center"
186 188
             label="透前称重(kg)"
187 189
           >
188 190
           </el-table-column>
191
+
192
+          <el-table-column
193
+            v-if="org_id==0 || org_id==10702"
194
+            prop="weight_before"
195
+            width="110"
196
+            align="center"
197
+            label="透前体重(kg)"
198
+          >
199
+          </el-table-column>
200
+          
189 201
           <el-table-column
202
+            v-if="org_id!=0&&org_id!=10702"
190 203
             prop="assessment_after_dislysis.weight_after"
191 204
             width="110"
192 205
             align="center"
193 206
             label="透后称重(kg)"
194 207
           >
195 208
           </el-table-column>
209
+
210
+          <el-table-column
211
+            v-if="org_id==0 || org_id==10702"
212
+            prop="weight_after"
213
+            width="110"
214
+            align="center"
215
+            label="透后体重(kg)"
216
+          >
217
+          </el-table-column>
196 218
           <el-table-column
197 219
             prop="predialysis_evaluation"
198 220
             width="140"
@@ -370,8 +392,11 @@
370 392
               <th>透析时长(h)</th>
371 393
               <th>透析器/灌流器</th>
372 394
               <th>干体重(kg)</th>
373
-              <th>透前称重(kg)</th>
374
-              <th>透后称重(kg)</th>
395
+              <th v-if="org_id!=0&&org_id!=10702">透前称重(kg)</th>
396
+              <th v-if="org_id!=0&&org_id!=10702">透后称重(kg)</th>
397
+
398
+              <th v-if="org_id ==0 || org_id!=10702">透前体重(kg)</th>
399
+              <th v-if="org_id==0 || org_id==10702">透后体重(kg)</th>
375 400
               <th>透前血压(mmhg)</th>
376 401
               <th>透后血压(mmhg)</th>
377 402
               <th>目标超滤量(L)</th>
@@ -395,8 +420,11 @@
395 420
                    <span v-if="item.prescription.dialysis_irrigation!=''">/{{ item.prescription.dialysis_irrigation }} </span>
396 421
                 </td>
397 422
                 <td>{{ item.predialysis_evaluation.dry_weight }}</td>
398
-                <td>{{ item.predialysis_evaluation.weight_before }}</td>
399
-                <td>{{ item.assessment_after_dislysis.weight_after }}</td>
423
+                <td v-if="org_id!=0&&org_id!=10702">{{ item.predialysis_evaluation.weight_before }}</td>
424
+                <td v-if="org_id!=0&&org_id!=10702">{{ item.assessment_after_dislysis.weight_after }}</td>
425
+
426
+                <td  v-if="org_id==0 || org_id==10702">{{ item.weight_before }}</td>
427
+                <td  v-if="org_id==0 || org_id==10702">{{ item.weight_after }}</td>
400 428
                 <td>
401 429
                   {{ item.predialysis_evaluation.systolic_blood_pressure }}/{{
402 430
                     item.predialysis_evaluation.diastolic_blood_pressure
@@ -622,6 +650,13 @@ export default {
622 650
         if (response.data.state == 1) {
623 651
           this.total = response.data.data.total;
624 652
           this.recordData = response.data.data.records;
653
+
654
+          for(let i=0;i<this.recordData.length;i++){
655
+               
656
+            this.recordData[i].weight_before = (this.recordData[i].predialysis_evaluation.weight_before - this.recordData[i].predialysis_evaluation.additional_weight).toFixed(2)
657
+
658
+            this.recordData[i].weight_after = (this.recordData[i].assessment_after_dislysis.weight_after - this.recordData[i].assessment_after_dislysis.additional_weight).toFixed(2)
659
+          }
625 660
           console.log("郭23232323232232323",this.recordData)
626 661
         
627 662
         }