Przeglądaj źródła

25 2月19打印单

yq1 3 miesięcy temu
rodzic
commit
d980e6f3d8
1 zmienionych plików z 18 dodań i 17 usunięć
  1. 18 17
      src/xt_pages/user/coursePrint.vue

+ 18 - 17
src/xt_pages/user/coursePrint.vue Wyświetl plik

53
               <div>{{item.title}}</div>
53
               <div>{{item.title}}</div>
54
             </div>
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
             <div class="row" style="padding: 2px 0;line-height:24px;margin-top:10px;float:right">
60
             <div class="row" style="padding: 2px 0;line-height:24px;margin-top:10px;float:right">
63
              医生签名:
61
              医生签名:
70
             </div>
68
             </div>
71
           </div>
69
           </div>
72
 
70
 
73
-        
71
+
74
         </div>
72
         </div>
75
         <div class="print_page_main_content" v-if="org_id ==10206" >
73
         <div class="print_page_main_content" v-if="org_id ==10206" >
76
           <div v-for="(item,index) in this.record" :key="index" style="page-break-after: always;">
74
           <div v-for="(item,index) in this.record" :key="index" style="page-break-after: always;">
77
             <div class="order-yy-name" style="text-align: center;font-size: 25px;font-weight: 600;">{{orgname}}</div>
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
             </div>
78
             </div>
81
-          
79
+
82
             <div class="row" style="border-bottom:1px solid #000; display:flex;padding-bottom: 10px;padding-top: 12px;font-family: SimSun;" >
80
             <div class="row" style="border-bottom:1px solid #000; display:flex;padding-bottom: 10px;padding-top: 12px;font-family: SimSun;" >
83
               <div  style="flex:1;text-align: center;">
81
               <div  style="flex:1;text-align: center;">
84
                 姓名:
82
                 姓名:
189
           this.record = resp.data.record
187
           this.record = resp.data.record
190
 
188
 
191
           this.patient = resp.data.patient
189
           this.patient = resp.data.patient
192
-         
190
+
193
           this.adminUserList = resp.data.adminUser
191
           this.adminUserList = resp.data.adminUser
194
           this.operators = resp.data.operators
192
           this.operators = resp.data.operators
195
-           console.log("GetCoursePrintData",this.operators)
193
+           console.log("GetCoursePrintData",this.record[0].content)
196
            if (this.operators.length > 0) {
194
            if (this.operators.length > 0) {
197
             var operatorsLen = this.operators.length
195
             var operatorsLen = this.operators.length
198
             for (var index = 0; index < operatorsLen; index++) {
196
             for (var index = 0; index < operatorsLen; index++) {
241
         return name
239
         return name
242
       },
240
       },
243
        setAdminUserES(id) {
241
        setAdminUserES(id) {
244
-        
242
+
245
         if (id === 0) {
243
         if (id === 0) {
246
           return ''
244
           return ''
247
         }
245
         }
248
         if (id in this.operatorMaps) {
246
         if (id in this.operatorMaps) {
249
-          
247
+
250
           return this.operatorMaps[id].url
248
           return this.operatorMaps[id].url
251
-         
249
+
252
         } else {
250
         } else {
253
           return ''
251
           return ''
254
         }
252
         }
255
-        
253
+
256
        },
254
        },
257
     }
255
     }
258
   }
256
   }
421
   }
419
   }
422
   .did_checke::after {content: "\221A";font-size: 8px;margin-left: 2px;margin-top: 2px;position: absolute;}
420
   .did_checke::after {content: "\221A";font-size: 8px;margin-left: 2px;margin-top: 2px;position: absolute;}
423
   .printP{
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
   .printP table{
429
   .printP table{
429
     border: 1px solid black;
430
     border: 1px solid black;
430
     border-collapse: collapse;
431
     border-collapse: collapse;