浏览代码

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

+ 8 - 3
src/xt_pages/dialysis/template/dialysisPrintOrderTwo.vue 查看文件

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