huangyw 1 年之前
父節點
當前提交
6b7f849749

+ 15 - 1
src/xt_pages/dialysis/template/DialysisPrintOrderFiftyFour.vue 查看文件

@@ -3,7 +3,21 @@
3 3
     <div class="dialysis-print-order">
4 4
       <div class="order-yy-name">{{ orgname }}</div>
5 5
       <div class="order-title">血液透析(滤过)记录表单</div>
6
-      <div class="order-name">姓 名:&nbsp;{{ patientInfo.name }}</div>
6
+      <div style="display:flex;justify-content: space-between;">
7
+        <div class="order-name" style="margin: 0;">姓 名:&nbsp;{{ patientInfo.name }}</div>
8
+            <div class="order-name" style="margin: 0;">门诊/住院号:&nbsp;
9
+            <span v-if="receiverTreatmentAccess.admission_number">
10
+              {{ receiverTreatmentAccess.admission_number }}
11
+            </span>
12
+            <span v-else-if="patientInfo.admission_number">
13
+              {{ patientInfo.admission_number }}
14
+            </span>
15
+            <span v-else>
16
+              {{ "/" }}
17
+            </span>
18
+            </div>
19
+          </div>
20
+      
7 21
       <table class="print-table" border="1">
8 22
         <tbody>
9 23
           <tr>

+ 0 - 24
src/xt_pages/dialysis/template/DialysisPrintOrderFiftyOne.vue 查看文件

@@ -100,19 +100,6 @@
100 100
                       class="under_line"
101 101
                       style="width: 50px; text-align: center"
102 102
                     >
103
-                      <!-- <span>{{
104
-                        (dialysisOrder &&
105
-                          dialysisOrder != null &&
106
-                          dialysisOrder.DeviceNumber &&
107
-                          dialysisOrder.DeviceNumber.number.length > 0) ||
108
-                        (dialysisOrder &&
109
-                          dialysisOrder != null &&
110
-                          receiverTreatmentAccess.condition &&
111
-                          receiverTreatmentAccess.condition != 1)
112
-                          ? patientInfo.DialysisSchedule.device_number.number
113
-                          : dialysisOrder.DeviceNumber.number
114
-                      }}</span> -->
115
-
116 103
                       <span
117 104
                         v-if="
118 105
                           dialysisOrder == null ||
@@ -1424,17 +1411,6 @@
1424 1411
                                 </td>
1425 1412
                                 <td width="200">病情变化及处理</td>
1426 1413
 
1427
-                                <!-- <td width="100">时间</td>
1428
-                    <td width="30">T<br>C°</td>
1429
-                    <td width="30">P<br/>次/分</td>
1430
-                    <td width="30">R<br/>次/分</td>
1431
-                    <td width="100">BP<br/>mmHg</td>
1432
-                    <td width="60">静脉压/动脉压<br/>mmHg</td>
1433
-                    <td width="80">血流量<br/>ml/min</td>
1434
-                    <td width="90">超滤量累计L</td>
1435
-                    <td width="80">钠浓度<br/>mmol/L</td>
1436
-                    <td width="240">病情特殊情况处理<br/>及专科护理措施记录</td>
1437
-                    <td  width="100">护士签名</td> -->
1438 1414
                               </tr>
1439 1415
 
1440 1416
                               <tr

+ 24 - 5
src/xt_pages/dialysis/template/DialysisPrintOrderFortyOne.vue 查看文件

@@ -586,10 +586,13 @@
586 586
                         </td>
587 587
                         <td height="30px" colspan="2" class="advice-name" style="padding:4px 5px;">
588 588
                           <span v-if="advice.parent_id > 0">---></span>
589
-                          <span>{{ advice.advice_name }}</span>
589
+                          
590
+                          <span v-if="advice.project&&advice.project.project_name">{{ advice.project.project_name }}</span>
591
+                          <span v-else>{{ advice.advice_name }}</span>
592
+                          <span v-if="advice.project&&advice.count">{{ advice.count }}{{ advice.unit }}</span>
590 593
                           <span v-if="advice && advice.advice_desc">({{ advice.advice_desc }}{{ advice.drug_spec_unit }})</span>
591 594
                           <span v-if="advice.prescribing_number">&nbsp;&nbsp; {{ advice.prescribing_number }}{{ advice.prescribing_number_unit }}</span>
592
-                          <span v-if="advice.single_dose != 0">{{ advice.single_dose }}{{ advice.single_dose_unit }}</span>
595
+                          <span v-if="advice.single_dose != 0&&!advice.project">{{ advice.single_dose }}{{ advice.single_dose_unit }}</span>
593 596
                           <span v-if="advice.parent_id == 0">{{ advice.delivery_way }}</span>
594 597
                           <span v-if="advice.parent_id == 0">{{ advice.execution_frequency }}</span>
595 598
                           <span v-if="advice.parent_id == 0 && advice.remark.length > 0">({{ advice.remark }})</span>
@@ -1398,12 +1401,27 @@ export default {
1398 1401
           ].name
1399 1402
           this.AlPanel = this.anticoagulantsConfit[thisALID]
1400 1403
         }
1401
-
1404
+        // this.advices = response.data.data.projects
1402 1405
         this.advices = response.data.data.advices
1403 1406
         console.log("医嘱数据2222222222",this.advices)
1404
-
1405
-        var doctorAdevieInfo = JSON.parse(JSON.stringify(response.data.data.advices))
1407
+        let doctorAdevieInfo = []
1408
+        let ad_arr = JSON.parse(JSON.stringify(response.data.data.projects))
1409
+        ad_arr.forEach(el => {
1410
+          if(el.project&&el.project.project_name!=""){
1411
+            doctorAdevieInfo.push(el)
1412
+          }
1413
+        });
1414
+        let ad_arr2= JSON.parse(JSON.stringify(response.data.data.advices))
1415
+        ad_arr2.forEach(el => {
1416
+          doctorAdevieInfo.push(el)
1417
+        });
1418
+        console.log(doctorAdevieInfo,'doctorAdevieInfo')
1419
+        // doctorAdevieInfo.push(JSON.parse(JSON.stringify(response.data.data.advices)))
1406 1420
         this.tableAdvice = doctorAdevieInfo;
1421
+        // console.log(this.tableAdvice,'this.tableAdvice')
1422
+        // if(!this.tableAdvice[0].advice_name){
1423
+        //   console.log("不存在")
1424
+        // }
1407 1425
         if (this.tableAdvice.length < 7) {
1408 1426
           var nl = 6 - this.tableAdvice.length;
1409 1427
           for (let index = 0; index < nl; index++) {
@@ -1524,6 +1542,7 @@ export default {
1524 1542
           this.doctor_advices[index]['isShow'] = 2
1525 1543
         }
1526 1544
 
1545
+
1527 1546
         // if (this.doctor_advices.length > 0) {
1528 1547
         //   var group = this.newAdviceGroupObject()
1529 1548
         //   var initGroupBlock = function(group, advice) {

+ 2 - 2
src/xt_pages/dialysis/template/DialysisPrintOrderSixtyTwo.vue 查看文件

@@ -872,7 +872,7 @@
872 872
             </td>
873 873
           </tr>
874 874
 
875
-          <tr>
875
+          <!-- <tr>
876 876
             <td style="text-align: left" colspan="8">
877 877
               <span style="display: inline-block; margin-left: 15px"
878 878
                 >出血影响因素:</span
@@ -925,7 +925,7 @@
925 925
               >其他:
926 926
               <span>{{ predialysis.hemorrhage_other }}</span>
927 927
             </td>
928
-          </tr>
928
+          </tr> -->
929 929
         </table>
930 930
 
931 931
         <table class="print-table" border="1" style="line-height: 30px">