Преглед изворни кода

Merge branch 'superman' of http://git.shengws.com/zhangbj/xt_vue into superman

csx пре 6 година
родитељ
комит
9603db3e49

+ 9 - 3
src/xt_pages/dialysis/batch_print/batch_print_order_other.vue Прегледај датотеку

@@ -46,7 +46,7 @@
46 46
               <div class="under_line_two" style="width: 500px;text-align: left">{{record.patient.diagnose}}</div>
47 47
             </div>
48 48
           </div>
49
-          <div class="row" :class="record.monitor_records.length > 8  ? 'margin-bottom-300': ''">
49
+          <div class="row">
50 50
             <table class="proj_table">
51 51
               <tbody>
52 52
                 <tr><td colspan="2">一、透析前护理评估:</td></tr>
@@ -281,6 +281,8 @@
281 281
               </tbody>
282 282
             </table>
283 283
           </div>
284
+          <div v-if="record.monitor_records.length > 8 " :class="record.monitor_records.length > 8  ? 'margin-bottom-300': ''" style="text-align:center;margin-top:10px;">1</div>
285
+          
284 286
           <template v-if="record.monitor_records.length > 8 ">
285 287
             <div class="order-yy-name">{{orgname}}</div>
286 288
             <div class="order_title">血液净化专科护理记录单</div>
@@ -322,7 +324,7 @@
322 324
               </div>
323 325
             </div>
324 326
           </template>
325
-          <div class="row" :style="record.monitor_records.length <= 8 ? 'margin-top:-11px':''" :class="record.monitor_records.length > 8 ? 'margin-bottom-900':'margin-bottom-300'">
327
+          <div class="row" :style="record.monitor_records.length <= 8 ? 'margin-top:-11px':''">
326 328
             <table class="proj_table" >
327 329
               <tbody>
328 330
                 <tr v-if="record.monitor_records2.length > 0">
@@ -539,6 +541,8 @@
539 541
               </tbody>
540 542
             </table>
541 543
           </div>
544
+          <div v-if="record.monitor_records.length > 8" :class="record.monitor_records.length > 8 ? 'margin-bottom-900':'margin-bottom-300'" style="text-align:center;margin-top:10px;">2</div>
545
+          <div v-else class="margin-bottom-300" style="text-align:center;margin-top:10px;">1</div>
542 546
           <div class="order-yy-name">{{orgname}}</div>
543 547
           <div class="order_title">血液净化科医嘱及执行单</div>
544 548
           <div class="row" >
@@ -760,7 +764,7 @@
760 764
               </tr>
761 765
             </tbody>
762 766
           </table>
763
-          <table class="print-table-no" border="1" style="border-top:0;" count="0"  :style="record.advices2.length > 0 ? 'margin-bottom:350px;border-top:0;':'border-top:0;'">
767
+          <table class="print-table-no" border="1" style="border-top:0;" count="0">
764 768
             <tbody>
765 769
               <tr style="line-height:35px;padding:8px 5px;">
766 770
                 <td colspan="7" style="font-size: 18px">医嘱</td>
@@ -816,6 +820,7 @@
816 820
               </template>
817 821
             </tbody>
818 822
           </table>
823
+          <div :style="record.advices2.length > 0 ? 'margin-bottom:350px;border-top:0;text-align:center;margin-top:10px;':'border-top:0;text-align:center;margin-top:10px;'" >1</div>
819 824
 
820 825
           <template v-if="record.advices2.length > 0">
821 826
             <div class="order-yy-name">{{orgname}}</div>
@@ -910,6 +915,7 @@
910 915
                 </template>
911 916
               </tbody>
912 917
             </table>
918
+            <div style="text-align:center;margin-top:10px;" >2</div>
913 919
           </template>
914 920
         </div>
915 921
       </div>

+ 8 - 3
src/xt_pages/dialysis/template/dialysisPrintOrderTwo.vue Прегледај датотеку

@@ -40,7 +40,7 @@
40 40
         </div>
41 41
       </div>
42 42
 
43
-      <div class="row" :class="this.monitors.length > 8  ? 'margin-bottom-300': ''">
43
+      <div class="row">
44 44
         <table class="proj_table" >
45 45
           <tbody>
46 46
             <tr><td colspan="2">一、透析前护理评估:</td></tr>
@@ -277,6 +277,7 @@
277 277
           </tbody>
278 278
         </table>
279 279
       </div>
280
+      <div v-if="this.monitors.length > 8 " :class="this.monitors.length > 8  ? 'margin-bottom-300': ''" style="text-align:center;margin-top:10px;">1</div>
280 281
       <template v-if="this.monitors.length > 8 ">
281 282
         <div class="order-yy-name">{{orgname}}</div>
282 283
         <div class="order-title">血液净化专科护理记录单</div>
@@ -317,7 +318,7 @@
317 318
         </div>
318 319
       </template>
319 320
       <div class="row" :style="this.monitors.length <= 8 ? 'margin-top:-11px':''">
320
-        <table class="proj_table" :class="this.monitors.length > 8 ? 'margin-bottom-900':'margin-bottom-300'">
321
+        <table class="proj_table">
321 322
           <tbody>
322 323
             <tr v-if="this.monitors2.length > 0">
323 324
               <td style="padding: 0;" colspan="2">
@@ -536,6 +537,8 @@
536 537
             </tr>
537 538
           </tbody>
538 539
         </table>
540
+        <div v-if="this.monitors.length > 8" :class="this.monitors.length > 8 ? 'margin-bottom-900':'margin-bottom-300'" style="text-align:center;margin-top:10px;">2</div>
541
+        <div v-else class="margin-bottom-300" style="text-align:center;margin-top:10px;">1</div>
539 542
 
540 543
         <div class="order-yy-name">{{orgname}}</div>
541 544
         <div class="order_title"> 血液净化科医嘱及执行单 </div>
@@ -765,7 +768,7 @@
765 768
             </tr>
766 769
           </tbody>
767 770
         </table>
768
-        <table class="print-table-no" border="1"  count="0" :style="this.advice_groups_2.length > 0 ? 'margin-bottom:350px;border-top:0;':'border-top:0;'">
771
+        <table class="print-table-no" border="1"  count="0" >
769 772
           <tbody>
770 773
             <tr style="line-height:35px;padding:8px 5px;">
771 774
               <td colspan="7" style="font-size: 18px">医嘱</td>
@@ -824,6 +827,7 @@
824 827
             </template>
825 828
           </tbody>
826 829
         </table>
830
+        <div :style="this.advice_groups_2.length > 0 ? 'margin-bottom:350px;border-top:0;text-align:center;margin-top:10px;':'border-top:0;text-align:center;margin-top:10px;'" >1</div>
827 831
 
828 832
         <template v-if="this.advice_groups_2.length > 0">
829 833
           <div class="order-yy-name">{{orgname}}</div>
@@ -920,6 +924,7 @@
920 924
               </template>
921 925
             </tbody>
922 926
           </table>
927
+          <div style="text-align:center;margin-top:10px;" >2</div>
923 928
         </template>
924 929
       </div>
925 930
     </div>