Browse Source

10月10,病程打印

yq1 5 months ago
parent
commit
17f6767b1e
2 changed files with 239 additions and 5 deletions
  1. 236 1
      src/xt_pages/user/components/PatientDetail.vue
  2. 3 4
      src/xt_pages/user/coursePrint.vue

+ 236 - 1
src/xt_pages/user/components/PatientDetail.vue View File

@@ -994,7 +994,7 @@
994 994
     </el-form>
995 995
     <!-- 打印预览 -->
996 996
     <div style="display: none">
997
-      <div id="print-info-box">
997
+      <div id="print-info-box" v-if="org_id !=10206&&org_id !=0">
998 998
         <div class="print_main_content" style="margin-top: 70px;">
999 999
           <div class="order_title" v-if="org_id!=10210">{{ orgname }} 血液透析门诊病历</div>
1000 1000
           <div class="order_title" v-if="org_id==10210">{{ orgname }} 血液透析住院病历</div>
@@ -1262,6 +1262,241 @@
1262 1262
           </div>
1263 1263
         </div>
1264 1264
       </div>
1265
+      <div id="print-info-box" v-else>
1266
+        <div class="print_main_content" style="margin-top: 70px;">
1267
+          <div class="order_title">{{ orgname }} 血液净化患者首次门诊病历</div>
1268
+          <div >
1269
+            <table >
1270
+              <tbody>
1271
+                <tr>
1272
+                  <td style="width:8%;padding: 3px 0px;font-size: 17px;font-weight: 500;">
1273
+                    姓名
1274
+                  </td>
1275
+                  <td style="padding: 3px 0px;font-size: 17px;">
1276
+                    {{ patientPrint.name }}
1277
+                  </td>
1278
+                  <td style="padding: 3px 0px;font-size: 17px;font-weight: 500;">
1279
+                    性别
1280
+                  </td>
1281
+                  <td style="padding: 3px 0px;font-size: 17px;">
1282
+                    {{ patientPrint.gender }}
1283
+                  </td>
1284
+                  <td style="padding: 3px 0px;font-size: 17px;font-weight: 500;">
1285
+                    年龄
1286
+                  </td>
1287
+                  <td style="padding: 3px 0px;font-size: 17px;">
1288
+                    {{ patientPrint.age }}岁
1289
+                  </td>
1290
+                  <td style="padding: 3px 0px;font-size: 17px;font-weight: 500;">
1291
+                    报销方式
1292
+                  </td>
1293
+                  <td style="padding: 3px 0px;font-size: 17px;">
1294
+                    {{patientPrint.reimbursement_way_id}}医保一档
1295
+                  </td>
1296
+                  <td style="padding: 3px 0px;font-size: 17px;font-weight: 500;">
1297
+                    透析号
1298
+                  </td>
1299
+                  <td style="padding: 3px 0px;font-size: 17px;">
1300
+                    {{patientPrint.dialysis_no}}
1301
+                  </td>
1302
+                  <!-- <td style="padding: 3px 0px;font-size: 17px;font-weight: 500;">
1303
+                    籍贯
1304
+                  </td>
1305
+                  <td style="padding: 3px 0px;font-size: 17px;">
1306
+                    {{ patientPrint.native_place }}
1307
+                  </td> -->
1308
+                </tr>
1309
+                <tr>
1310
+                  <td style="padding: 3px 0px;font-size: 17px;font-weight: 500;">
1311
+                    电话
1312
+                  </td>
1313
+                  <td colspan="2" style="padding: 3px 0px;font-size: 17px;">
1314
+                    {{ patientPrint.phone }}
1315
+                  </td>
1316
+                  <td  style="padding: 3px 0px;font-size: 17px;font-weight: 500;">
1317
+                    民族
1318
+                  </td>
1319
+                  <td colspan="2" style="padding: 3px 0px;font-size: 17px;">
1320
+                    {{ patientPrint.nation }}
1321
+                  </td>
1322
+                  <td style="padding: 3px 0px;font-size: 17px;font-weight: 500;">
1323
+                    身份证号
1324
+                  </td>
1325
+                  <td colspan="3" style="padding: 3px 0px;font-size: 17px;">
1326
+                    {{ patientPrint.id_card_no }}
1327
+                  </td>
1328
+                </tr>
1329
+                <tr>
1330
+                  <td style="padding: 3px 0px;font-size: 17px;font-weight: 500;">
1331
+                    联系人
1332
+                  </td>
1333
+                  <td colspan="2" style="padding: 3px 0px;font-size: 17px;">
1334
+                    {{ patientPrint.contact_name }}
1335
+                  </td>
1336
+                  <td  style="padding: 3px 0px;font-size: 17px;font-weight: 500;">
1337
+                    电话
1338
+                  </td>
1339
+                  <td colspan="2" style="padding: 3px 0px;font-size: 17px;">
1340
+                    {{ patientPrint.home_telephone }}
1341
+                  </td>
1342
+                  <td style="padding: 3px 0px;font-size: 17px;font-weight: 500;">
1343
+                    联系地址
1344
+                  </td>
1345
+                  <td colspan="3" style="padding: 3px 0px;font-size: 17px;">
1346
+                    {{ patientPrint.home_address }}
1347
+                  </td>
1348
+                </tr>
1349
+                <tr>
1350
+                  <td colspan="2" style="padding: 3px 0px;font-size: 17px;font-weight: 500;">
1351
+                    首次透析时间
1352
+                  </td>
1353
+                  <td colspan="3" style="padding: 3px 0px;font-size: 17px;">
1354
+                    {{ patientPrint.first_dialysis_date }}
1355
+                  </td>
1356
+                  <td colspan="2" style="padding: 3px 0px;font-size: 17px;font-weight: 500;">
1357
+                    血管通路
1358
+                  </td>
1359
+                  <td colspan="3" style="padding: 3px 0px;font-size: 17px;">
1360
+                    
1361
+                  </td>
1362
+                </tr>
1363
+                
1364
+                <tr>
1365
+                  <td style="padding: 3px 0px;font-size: 17px; font-weight: 500;">
1366
+                    主诉
1367
+                  </td>
1368
+                  <td colspan="9" style="text-align: left; padding:0px 5px ;font-size: 17px;">
1369
+                    {{ patientPrint.patient_complains }}
1370
+                  </td>
1371
+                </tr>
1372
+                <tr>
1373
+                  <td>
1374
+                    <div class="td_proj_title">现<br />病<br />史</div>
1375
+                  </td>
1376
+                  <td colspan="9">
1377
+                    <div
1378
+                      class="td_proj_content td_align_left"
1379
+                      v-html="patientPrint.present_history"
1380
+                    ></div>
1381
+                  </td>
1382
+                </tr>
1383
+
1384
+                <tr>
1385
+                  <td>
1386
+                    <div class="td_proj_title">既<br />往<br />史</div>
1387
+                  </td>
1388
+                  <td colspan="9">
1389
+                    <div class="td_proj_content td_align_left">
1390
+                      {{ patientPrint.past_history }}
1391
+                    </div>
1392
+                  </td>
1393
+                </tr>
1394
+                <tr>
1395
+                  <td>
1396
+                    <div class="td_proj_title">过敏史</div>
1397
+                  </td>
1398
+                  <td colspan="5">
1399
+                    <div class="td_proj_content td_align_left">
1400
+                      {{ patientPrint.allergic_history }}
1401
+                    </div>
1402
+                  </td>
1403
+                  <td>
1404
+                    <div class="td_proj_title">家族史</div>
1405
+                  </td>
1406
+                  <td colspan="3">
1407
+                    <div class="td_proj_content td_align_left">
1408
+                     
1409
+                    </div>
1410
+                  </td>
1411
+                </tr>
1412
+
1413
+                <tr>
1414
+                  <td colspan="10"><div class="td_proj_title">体格检查</div></td>
1415
+                </tr>
1416
+                <tr>
1417
+                  <td colspan="10">
1418
+                    <div class="td_proj_title">
1419
+                      T
1420
+                      {{
1421
+                        patientPrint.temperature
1422
+                      }}℃&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; P
1423
+                      {{
1424
+                        patientPrint.pulse
1425
+                      }}次/分&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; R
1426
+                      {{
1427
+                        patientPrint.respiratory
1428
+                      }}次/分&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; BP
1429
+                      {{ patientPrint.sbp }}/{{ patientPrint.dbp }} mmHg
1430
+                    </div>
1431
+                  </td>
1432
+                </tr>
1433
+                <tr>
1434
+                  <td colspan="10">
1435
+                    <div
1436
+                      class="td_proj_content td_align_left"
1437
+                      v-html="patientPrint.remark"
1438
+                    ></div>
1439
+                  </td>
1440
+                </tr>
1441
+                <tr>
1442
+                  <td>
1443
+                    <div class="td_proj_title">辅助检查</div>
1444
+                  </td>
1445
+                  <td colspan="9">
1446
+                    <div
1447
+                      class="td_proj_content td_align_left"
1448
+                      
1449
+                    ></div>
1450
+                  </td>
1451
+                </tr>
1452
+                <tr>
1453
+                  <td>
1454
+                    <div class="td_proj_title">诊<br />断</div>
1455
+                  </td>
1456
+                  <td colspan="9">
1457
+                    <div
1458
+                      class="td_proj_content td_align_left"
1459
+                      v-html="patientPrint.diagnose"
1460
+                    ></div>
1461
+                  </td>
1462
+                </tr>
1463
+                <tr>
1464
+                  <td>
1465
+                    <div class="td_proj_title">诊<br />疗<br />计<br />划</div>
1466
+                  </td>
1467
+                  <td colspan="9">
1468
+                    <div
1469
+                      class="td_proj_content td_align_left"
1470
+                      v-html="patientPrint.treatment_plan"
1471
+                    ></div>
1472
+                  </td>
1473
+                </tr> 
1474
+              </tbody>
1475
+            </table>
1476
+            <div class="print_footnote_panel">
1477
+              <div class="proj">
1478
+                <span class="proj_title">日期:</span>
1479
+
1480
+                <!-- <span v-if="org_id == 3907 || org_id == 9671|| org_id == 9675 || org_id == 10394 || org_id ==10612 || org_id == 0 || org_id ==10617">
1481
+                {{getTime(patientPrint.created_time)}}</span>
1482
+                <span v-else>{{ printDate }}</span> -->
1483
+
1484
+                <span v-if="patientPrint.print_date>0">{{getTime(patientPrint.print_date)}}</span> 
1485
+                <span v-if="patientPrint.print_date<=0">{{getTime(patientPrint.created_time)}}</span> 
1486
+
1487
+              </div>
1488
+              <div class="proj">
1489
+                 <span class="proj_title">医生签名:
1490
+                    <span v-if="patientPrint!=undefined&&getDcotorName(patientPrint.doctor) == ''">{{getDcotorNameOne(patientPrint.doctor)}}</span>
1491
+                    <span v-else>
1492
+                      <img style="height:30px;margin-top:20px" :src="getDcotorName(patientPrint.doctor)" alt="" srcset="">
1493
+                    </span>
1494
+                 </span>
1495
+              </div>
1496
+            </div>
1497
+          </div>
1498
+        </div>
1499
+      </div>
1265 1500
     </div>
1266 1501
 
1267 1502
     <div hidden="hidden">

+ 3 - 4
src/xt_pages/user/coursePrint.vue View File

@@ -11,8 +11,8 @@
11 11
         <div class="print_page_main_content">
12 12
           <div class="order-yy-name" style="text-align: center;">{{orgname}}</div>
13 13
           <div class="order_title" style="padding-top:12px;text-align: center;"> 病程记录</div>
14
-          <div class="row" style="border-bottom:1px solid #000; display: flex;padding-bottom: 10px;padding-top: 12px;">
15
-
14
+          <div class="row" style="border-bottom:1px solid #000; display: flex;padding-bottom: 10px;padding-top: 12px;" 
15
+            v-if="org_id !=10206 && org_id !=0">
16 16
             <div  style="flex:1;text-align: center;">
17 17
               姓名:
18 18
               <div  style="width: 120px;text-align: left;display:inline-block;">{{patient.name }}</div>
@@ -45,10 +45,9 @@
45 45
               </div>
46 46
 
47 47
             </div>
48
-
49 48
           </div>
50 49
           <div class="row" style="padding: 2px 0;line-height:24px;margin-top:10px;" v-for="(item,index) in this.record" :key="index">
51
-            <div class="inline_block" style="display: inline-block;">
50
+            <div class="inline_block" style="display: inline-block;" v-if="org_id !=10206 && org_id !=0">
52 51
               <div>{{getTime(item.record_time,'{y}-{m}-{d} {h}:{i}')}}</div>
53 52
             </div>
54 53
             <div class="inline_block" style="margin-left: 30px;display: inline-block;">