Browse Source

25 2月19打印单

yq1 1 day ago
parent
commit
d980e6f3d8
1 changed files with 18 additions and 17 deletions
  1. 18 17
      src/xt_pages/user/coursePrint.vue

+ 18 - 17
src/xt_pages/user/coursePrint.vue View File

@@ -53,11 +53,9 @@
53 53
               <div>{{item.title}}</div>
54 54
             </div>
55 55
 
56
-            <div class="inline_block" style="width:100%; word-wrap: break-word; word-break: break-all;">
57
-              <div v-html="item.content" class="printP" >
58
-
59
-              </div>
60
-            </div>
56
+            <!-- <div class="inline_block" style="width:100%; word-wrap: break-word; word-break: break-all;"> -->
57
+              <div v-html="item.content" ></div>
58
+            <!-- </div> class="printP" -->
61 59
 
62 60
             <div class="row" style="padding: 2px 0;line-height:24px;margin-top:10px;float:right">
63 61
              医生签名:
@@ -70,15 +68,15 @@
70 68
             </div>
71 69
           </div>
72 70
 
73
-        
71
+
74 72
         </div>
75 73
         <div class="print_page_main_content" v-if="org_id ==10206" >
76 74
           <div v-for="(item,index) in this.record" :key="index" style="page-break-after: always;">
77 75
             <div class="order-yy-name" style="text-align: center;font-size: 25px;font-weight: 600;">{{orgname}}</div>
78
-            <div class="order_title" style="padding-top:12px;text-align: center;font-size: 25px;font-weight: 600;"> 
76
+            <div class="order_title" style="padding-top:12px;text-align: center;font-size: 25px;font-weight: 600;">
79 77
               血液净化治疗患者病程记录
80 78
             </div>
81
-          
79
+
82 80
             <div class="row" style="border-bottom:1px solid #000; display:flex;padding-bottom: 10px;padding-top: 12px;font-family: SimSun;" >
83 81
               <div  style="flex:1;text-align: center;">
84 82
                 姓名:
@@ -189,10 +187,10 @@
189 187
           this.record = resp.data.record
190 188
 
191 189
           this.patient = resp.data.patient
192
-         
190
+
193 191
           this.adminUserList = resp.data.adminUser
194 192
           this.operators = resp.data.operators
195
-           console.log("GetCoursePrintData",this.operators)
193
+           console.log("GetCoursePrintData",this.record[0].content)
196 194
            if (this.operators.length > 0) {
197 195
             var operatorsLen = this.operators.length
198 196
             for (var index = 0; index < operatorsLen; index++) {
@@ -241,18 +239,18 @@
241 239
         return name
242 240
       },
243 241
        setAdminUserES(id) {
244
-        
242
+
245 243
         if (id === 0) {
246 244
           return ''
247 245
         }
248 246
         if (id in this.operatorMaps) {
249
-          
247
+
250 248
           return this.operatorMaps[id].url
251
-         
249
+
252 250
         } else {
253 251
           return ''
254 252
         }
255
-        
253
+
256 254
        },
257 255
     }
258 256
   }
@@ -421,10 +419,13 @@
421 419
   }
422 420
   .did_checke::after {content: "\221A";font-size: 8px;margin-left: 2px;margin-top: 2px;position: absolute;}
423 421
   .printP{
424
-    line-height: 20px;
425
-    font-weight: bold;
426
-    
422
+    /* line-height: 20px; */
423
+    /* font-weight: bold; */
427 424
   }
425
+  /* .printP p{
426
+    height: 15px;
427
+    margin: 0;
428
+  } */
428 429
   .printP table{
429 430
     border: 1px solid black;
430 431
     border-collapse: collapse;