Browse Source

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

yq1 1 month ago
parent
commit
4d2ab45210

+ 30 - 3
src/xt_pages/dialysis/batch_print/batch_print_order_eightyone.vue View File

1176
                     <div class="row" style="padding: 2px 0; line-height: 23px; display: flex">
1176
                     <div class="row" style="padding: 2px 0; line-height: 23px; display: flex">
1177
                       <div class="inline_block" style="flex: 1">
1177
                       <div class="inline_block" style="flex: 1">
1178
                         上机护士:
1178
                         上机护士:
1179
-                        <div class="under_line" style="width: 80px; text-align: center" v-if="record.assessment_before_dislysis.internal_fistula!=''">
1179
+                        <div class="under_line" style="width: 80px; text-align: center" v-if="record.dialysis_order.puncture_nurse>0">
1180
                           <span style="display: inline-block" v-if="setAdminUserES(
1180
                           <span style="display: inline-block" v-if="setAdminUserES(
1181
                             record.dialysis_order, 'puncture_nurse'
1181
                             record.dialysis_order, 'puncture_nurse'
1182
                           ) == ''
1182
                           ) == ''
1190
                           )
1190
                           )
1191
                             " alt="" srcset="" v-else />
1191
                             " alt="" srcset="" v-else />
1192
                         </div>
1192
                         </div>
1193
-                        <div class="under_line" style="width: 80px; text-align: center" v-if="record.assessment_before_dislysis.catheter!=''">
1193
+                        <div class="under_line" style="width: 80px; text-align: center" v-if="record.dialysis_order.change_nurse>0">
1194
                           <span style="display: inline-block" v-if="setAdminUserES(
1194
                           <span style="display: inline-block" v-if="setAdminUserES(
1195
                             record.dialysis_order, 'change_nurse'
1195
                             record.dialysis_order, 'change_nurse'
1196
                           ) == ''
1196
                           ) == ''
1206
                         </div>
1206
                         </div>
1207
                       </div>
1207
                       </div>
1208
 
1208
 
1209
-
1209
+                      <!-- <div class="inline_block" style="flex: 1" v-if="record.assessment_before_dislysis.catheter>0">
1210
+                        上机护士:
1211
+                        <div class="under_line"
1212
+                          style="width: 80px; text-align: center"
1213
+                        >
1214
+                          <span style="display: inline-block"
1215
+                            v-if=" setAdminUserES(
1216
+                                record.dialysis_order,'change_nurse'
1217
+                              ) == ''
1218
+                            "
1219
+                          >
1220
+                            {{ getAdminUser(record.dialysis_order, "change_nurse")
1221
+                              ? getAdminUser(record.dialysis_order,"change_nurse"): "/"
1222
+                              }}
1223
+                          </span>
1224
+                          <img
1225
+                            style="height: 40px"
1226
+                            :src="
1227
+                              setAdminUserES(
1228
+                                record.dialysis_order,'change_nurse'
1229
+                                )
1230
+                            "
1231
+                            alt=""
1232
+                            srcset=""
1233
+                            v-else
1234
+                          />
1235
+                        </div>
1236
+                      </div> -->
1210
                       <div class="inline_block" style="flex: 1">
1237
                       <div class="inline_block" style="flex: 1">
1211
                         治疗护士:
1238
                         治疗护士:
1212
                         <div class="under_line" style="width: 80px; text-align: center">
1239
                         <div class="under_line" style="width: 80px; text-align: center">

+ 27 - 7
src/xt_pages/dialysis/batch_print/batch_print_order_six.vue View File

1628
                     </table>
1628
                     </table>
1629
                   </td>
1629
                   </td>
1630
                 </tr>
1630
                 </tr>
1631
-                <tr v-if="org_id != 10402 && org_id != 10206 && org_id != 10206">
1631
+                <tr v-if="org_id != 10402 && org_id != 10206 && org_id != 0&& org_id != 10644">
1632
                   <td style="padding: 0; position: relative" colspan="2">
1632
                   <td style="padding: 0; position: relative" colspan="2">
1633
                     <table class="inside_table">
1633
                     <table class="inside_table">
1634
                       <tbody>
1634
                       <tbody>
1894
                   </td>
1894
                   </td>
1895
                 </tr>
1895
                 </tr>
1896
 
1896
 
1897
-                <tr v-if="org_id == 10206">
1897
+                <tr v-if="org_id == 10206 || org_id == 0">
1898
                   <td style="padding: 0; position: relative" colspan="2">
1898
                   <td style="padding: 0; position: relative" colspan="2">
1899
                     <table class="inside_table">
1899
                     <table class="inside_table">
1900
                       <tbody>
1900
                       <tbody>
2322
                       <div class="inline_block" style="flex: 1">
2322
                       <div class="inline_block" style="flex: 1">
2323
                         体重减少:
2323
                         体重减少:
2324
                         <div class="under_line" style="width: 70px; text-align: center">
2324
                         <div class="under_line" style="width: 70px; text-align: center">
2325
-                          <span v-if="org_id != 10551">{{
2325
+                          <span v-if="org_id != 10551">
2326
+                            {{
2326
                             record.assessment_after_dislysis &&
2327
                             record.assessment_after_dislysis &&
2327
                               record.assessment_after_dislysis.weight_loss
2328
                               record.assessment_after_dislysis.weight_loss
2328
                               ? record.assessment_after_dislysis.weight_loss
2329
                               ? record.assessment_after_dislysis.weight_loss
2359
                         v-if="org_id != 10223 && org_id != 10375 && org_id != 10598">
2360
                         v-if="org_id != 10223 && org_id != 10375 && org_id != 10598">
2360
 
2361
 
2361
                         <span v-if="org_id != 10460">
2362
                         <span v-if="org_id != 10460">
2362
-                          透析中入量(L):
2363
+                          透析中入量
2364
+                          <span v-if="org_id!=10644">(L)</span> 
2365
+                          :
2363
                         </span>
2366
                         </span>
2364
                         <span v-if="org_id == 10460">
2367
                         <span v-if="org_id == 10460">
2365
-                          透析中入量(ml):
2368
+                          透析中入量
2369
+                          <span v-if="org_id!=10644">(ml)</span>
2370
+                          :
2366
                         </span>
2371
                         </span>
2367
                         <div class="under_line" style="width: 60px; text-align: center">
2372
                         <div class="under_line" style="width: 60px; text-align: center">
2368
                           {{
2373
                           {{
3149
 
3154
 
3150
 
3155
 
3151
 
3156
 
3152
-            if (this.org_id == 10206) {
3157
+            if (this.org_id == 10206 || this.org_id == 0 || this.org_id == 10644) {
3153
               console.log("this.records[recordIndex].his_project", this.records[recordIndex].his_project)
3158
               console.log("this.records[recordIndex].his_project", this.records[recordIndex].his_project)
3154
               var delghThree = 0
3159
               var delghThree = 0
3155
               let his_project = []
3160
               let his_project = []
3156
               this.records[recordIndex].his_project.map(item => {
3161
               this.records[recordIndex].his_project.map(item => {
3162
+                if(this.org_id == 0 || this.org_id == 10644){
3163
+                  console.log("item====================",item)
3164
+                  if(item.type == 2){
3165
+                    if(item.project.is_show ==1){
3166
+                      his_project.push(item)
3167
+                    }
3168
+                  }
3169
+                  if(item.type == 3){
3170
+                    if(item.good_info.is_show == 1){
3171
+                      his_project.push(item)
3172
+                    }
3173
+                  }
3174
+                }else{
3175
+                  his_project.push(item)
3176
+                }
3157
                 // if(item.type == 2){
3177
                 // if(item.type == 2){
3158
                 //   his_project.push(item)
3178
                 //   his_project.push(item)
3159
                 // }
3179
                 // }
3160
-                his_project.push(item)
3180
+                
3161
 
3181
 
3162
               })
3182
               })
3163
               this.records[recordIndex].his_project = his_project
3183
               this.records[recordIndex].his_project = his_project

+ 8 - 3
src/xt_pages/dialysis/template/DialysisPrintOrderSix.vue View File

2243
                           </span> -->
2243
                           </span> -->
2244
                           <span
2244
                           <span
2245
                             v-if="predialysis && predialysis.weight_before > 0 && afterdialysis && afterdialysis.weight_after > 0">
2245
                             v-if="predialysis && predialysis.weight_before > 0 && afterdialysis && afterdialysis.weight_after > 0">
2246
-                            {{ (predialysis.weight_before - afterdialysis.weight_after).toFixed(2) }}
2246
+                             <span v-if="(predialysis.weight_before - afterdialysis.weight_after)>0"> {{ (predialysis.weight_before - afterdialysis.weight_after).toFixed(2) }}</span>
2247
+                             <span v-if="(predialysis.weight_before - afterdialysis.weight_after)<=0">/</span>
2247
                           </span>
2248
                           </span>
2248
 
2249
 
2249
                         </div>
2250
                         </div>
2252
 
2253
 
2253
                       <div class="inline_block" style="flex: 1" v-if="org_id != 10223 && org_id != 10375 && org_id != 10598">
2254
                       <div class="inline_block" style="flex: 1" v-if="org_id != 10223 && org_id != 10375 && org_id != 10598">
2254
                         <span v-if="org_id != 10460">
2255
                         <span v-if="org_id != 10460">
2255
-                          透析中入量(L):
2256
+                          透析中入量
2257
+                          <span v-if="org_id!=10644">(L)</span>
2258
+                          :
2256
                         </span>
2259
                         </span>
2257
                         <span v-if="org_id == 10460">
2260
                         <span v-if="org_id == 10460">
2258
-                          透析中入量(ml):
2261
+                          透析中入量
2262
+                          <span v-if="org_id!=10644">(ml)</span> 
2263
+                          :
2259
                         </span>
2264
                         </span>
2260
                         <div class="under_line" style="width: 70px; text-align: center">
2265
                         <div class="under_line" style="width: 70px; text-align: center">
2261
                           {{
2266
                           {{

+ 7 - 6
src/xt_pages/user/components/PatientDetail.vue View File

1049
     </el-form>
1049
     </el-form>
1050
     <!-- 打印预览 style="display: none"-->
1050
     <!-- 打印预览 style="display: none"-->
1051
     <div style="display: none">
1051
     <div style="display: none">
1052
-      <div id="print-info-box" v-if="org_id !=10206">
1052
+      <div id="print-info-box" v-if="org_id !=10206 && org_id!=0">
1053
         <div class="print_main_content" style="">
1053
         <div class="print_main_content" style="">
1054
           <!-- <div class="order_title" v-if="org_id!=10210">{{ orgname }} 血液透析门诊病历</div>
1054
           <!-- <div class="order_title" v-if="org_id!=10210">{{ orgname }} 血液透析门诊病历</div>
1055
           <div class="order_title" v-if="org_id==10210">{{ orgname }} 血液透析住院病历</div> -->
1055
           <div class="order_title" v-if="org_id==10210">{{ orgname }} 血液透析住院病历</div> -->
1344
                   <td style="padding: 5px 0px;font-size: 22px;width:5%;">
1344
                   <td style="padding: 5px 0px;font-size: 22px;width:5%;">
1345
                     {{ patientPrint.gender }}
1345
                     {{ patientPrint.gender }}
1346
                   </td>
1346
                   </td>
1347
-                  <td style="padding: 5px 0px;font-size: 22px;font-weight: 500;width:8%;">
1348
-                    年龄
1347
+                  <td style="padding: 5px 0px;font-size: 22px;font-weight: 500;width:6%;">
1348
+                    出生日期
1349
                   </td>
1349
                   </td>
1350
-                  <td style="padding: 5px 0px;font-size: 22px;width:10%;">
1350
+                  <td style="padding: 5px 0px;font-size: 22px;width:12%;">
1351
                     <!-- {{ patientPrint.age }} -->
1351
                     <!-- {{ patientPrint.age }} -->
1352
-                     {{ calculateAge(patientPrint.id_card_no,patientPrint.created_time) }}
1353
-                    岁
1352
+                     <!-- {{ calculateAge(patientPrint.id_card_no,patientPrint.created_time) }}
1353
+                    岁 -->
1354
+                    {{ patientPrint.id_card_no.slice(6, 10) }}年{{ patientPrint.id_card_no.slice(10, 12)}}月{{ patientPrint.id_card_no.slice(12, 14) }}日
1354
                   </td>
1355
                   </td>
1355
                   <td style="padding: 5px 0px;font-size: 22px;font-weight: 500;width:12%;">
1356
                   <td style="padding: 5px 0px;font-size: 22px;font-weight: 500;width:12%;">
1356
                     医保类型
1357
                     医保类型