Browse Source

Merge branch '20230223_pc_vue_new_branch' of http://git.shengws.com/csx/Vue_New into 20230223_pc_vue_new_branch

28169 1 year ago
parent
commit
d7126819e6
2 changed files with 13 additions and 13 deletions
  1. 11 11
      src/xt_pages/workforce/Patientshift.vue
  2. 2 2
      src/xt_pages/workforce/printOne.vue

+ 11 - 11
src/xt_pages/workforce/Patientshift.vue View File

142
                   <div>
142
                   <div>
143
                     <div style="margin: 10px 30px 10px 10px;background: rgb(74 211 235 / 51%);height: 110px;width: 125px;text-align: center;">
143
                     <div style="margin: 10px 30px 10px 10px;background: rgb(74 211 235 / 51%);height: 110px;width: 125px;text-align: center;">
144
                       <span >{{ huanzhe.name}}({{getmode(huanzhe.mode_id)}})</span><br>
144
                       <span >{{ huanzhe.name}}({{getmode(huanzhe.mode_id)}})</span><br>
145
-                      <span style="font-size: 14px;margin-bottom: 5px;">
145
+                      <span style="font-size: 15px;margin-bottom: 5px;">
146
                         {{ huanzhe.zeng_fenqu }}-{{ huanzhe.zeng_chuang }}
146
                         {{ huanzhe.zeng_fenqu }}-{{ huanzhe.zeng_chuang }}
147
                       </span><br>
147
                       </span><br>
148
-                      <span style="font-size: 14px;margin-bottom: 5px;">{{getBloodAccess(huanzhe.boolen_id)}}</span><br>
149
-                      <span style="font-size: 13px;margin-bottom: 5px;">{{huanzhe.schedule_remark}}</span> 
148
+                      <span style="font-size: 15px;margin-bottom: 5px;">{{getBloodAccess(huanzhe.boolen_id)}}</span><br>
149
+                      <span style="font-size: 14px;margin-bottom: 5px;">{{huanzhe.schedule_remark}}</span> 
150
                     </div>
150
                     </div>
151
-                     <div style="margin-left: 10px;">{{getZoneName(xian_fenqu.zone_id)}}-{{xian_fenqu.number}}</div>
151
+                     <div style="margin-left: 13px;">{{getZoneName(xian_fenqu.zone_id)}}-{{xian_fenqu.number}}</div>
152
                   </div>
152
                   </div>
153
                   
153
                   
154
                   <div>
154
                   <div>
155
                     <div style="margin: 10px 30px 10px 10px;background: rgb(74 197 235);height: 110px;width: 125px;text-align: center;">
155
                     <div style="margin: 10px 30px 10px 10px;background: rgb(74 197 235);height: 110px;width: 125px;text-align: center;">
156
                       <span >{{genghuan.name}}</span><span v-if="genghuan.mode_id !=''">({{genghuan.mode_id}})</span><br>
156
                       <span >{{genghuan.name}}</span><span v-if="genghuan.mode_id !=''">({{genghuan.mode_id}})</span><br>
157
-                      <span style="font-size: 14px;margin-bottom: 5px;">
157
+                      <span style="font-size: 15px;margin-bottom: 5px;">
158
                         {{ genghuan.genghuan_fenqu }}-{{ genghuan.genghuan_chuang }}
158
                         {{ genghuan.genghuan_fenqu }}-{{ genghuan.genghuan_chuang }}
159
                         <!-- A1区-6号床 -->
159
                         <!-- A1区-6号床 -->
160
                       </span><br>
160
                       </span><br>
161
-                      <span style="font-size: 14px;margin-bottom: 5px;"></span>{{getBloodAccess(genghuan.g_boolen_id)}}<br>
162
-                      <span style="font-size: 13px;margin-bottom: 5px;">{{genghuan.genghuan_remark}}</span>
161
+                      <span style="font-size: 15px;margin-bottom: 5px;"></span>{{getBloodAccess(genghuan.g_boolen_id)}}<br>
162
+                      <span style="font-size: 14px;margin-bottom: 5px;">{{genghuan.genghuan_remark}}</span>
163
                     </div>
163
                     </div>
164
-                    <div style="margin-left: 10px;">{{getZoneName(g_xian_fenqu.zone_id)}}-{{g_xian_fenqu.number}}</div>
164
+                    <div style="margin-left: 13px;">{{getZoneName(g_xian_fenqu.zone_id)}}-{{g_xian_fenqu.number}}</div>
165
                   </div>
165
                   </div>
166
                 </div>
166
                 </div>
167
                
167
                
320
                                 <div>
320
                                 <div>
321
                                   <span>{{nameSplit(item2.name) }}({{ getmode(item2.mode_id) }})</span><br>
321
                                   <span>{{nameSplit(item2.name) }}({{ getmode(item2.mode_id) }})</span><br>
322
                                   <span v-if="!hidder" >
322
                                   <span v-if="!hidder" >
323
-                                    <span style="font-size: 14px;margin-bottom: 5px;">{{item2.order.DeviceNumber.zone.name}}-{{item2.order.DeviceNumber.number}}</span><br>
324
-                                    <span style="font-size: 14px;margin-bottom: 5px;">{{getBloodAccess(item2.order.blood_access_id)}}</span><br>
325
-                                    <span style="font-size: 13px;;margin-bottom: 5px;">{{item2.order.schedule_remark}}</span>
323
+                                    <span style="font-size: 15px;margin-bottom: 5px;">{{item2.order.DeviceNumber.zone.name}}-{{item2.order.DeviceNumber.number}}</span><br>
324
+                                    <span style="font-size: 15px;margin-bottom: 5px;">{{getBloodAccess(item2.order.blood_access_id)}}</span><br>
325
+                                    <span style="font-size: 14px;;margin-bottom: 5px;">{{item2.order.schedule_remark}}</span>
326
                                   </span> 
326
                                   </span> 
327
                                 </div>
327
                                 </div>
328
                               </div>
328
                               </div>

+ 2 - 2
src/xt_pages/workforce/printOne.vue View File

59
                   <td :width="td_3_width" valign="top">
59
                   <td :width="td_3_width" valign="top">
60
                     <div style="min-height: 80px">
60
                     <div style="min-height: 80px">
61
                       <div class="proj">
61
                       <div class="proj">
62
-                        <div class="proj_item">
62
+                        <div class="proj_item" style="font-size:20px">
63
                           <p v-html="getPatientName(item.schedule_type,it.partition_id)" class="zone_name" style="font-size:20px">
63
                           <p v-html="getPatientName(item.schedule_type,it.partition_id)" class="zone_name" style="font-size:20px">
64
                             
64
                             
65
                           </p>
65
                           </p>
639
     },
639
     },
640
     printAction: function() {
640
     printAction: function() {
641
       const style =
641
       const style =
642
-        '@media print { .print_main_content { background-color: white; width:960px;  margin:0 auto; padding: 0 0 20px 0; } .order_title_panl { text-align: center; } .main_title { font-size: 18px; line-height: 40px; font-weight: 500; } .table_panel { } .table { width: 100%; border: 1px solid; border-collapse: collapse; padding: 2px; } thead tr td { border: 1px solid; text-align: center; font-size: 20px; padding: 15px 5px; } tbody tr td { border: 1px solid; text-align: center; font-size: 18px; padding: 10px 5px; } .proj { padding: 5px 0; text-align: left; } .proj_title { font-size: 16px; font-weight: 500; line-height: 25px; } .proj_item { font-size: 15px; line-height: 20px; } .zone_name { font-weight: 500; } }'
642
+        '@media print { .print_main_content { background-color: white; width:960px;  margin:0 auto; padding: 0 0 20px 0; } .order_title_panl { text-align: center; } .main_title { font-size: 18px; line-height: 40px; font-weight: 500; } .table_panel { } .table { width: 100%; border: 1px solid; border-collapse: collapse; padding: 2px; } thead tr td { border: 1px solid; text-align: center; font-size: 20px; padding: 15px 5px; } tbody tr td { border: 1px solid; text-align: center; font-size: 20px; padding: 10px 5px; } .proj { padding: 5px 0; text-align: left; } .proj_title { font-size: 20px; font-weight: 500; line-height: 25px; } .proj_item { font-size: 20px; line-height: 20px; } .zone_name { font-weight: 500; } }'
643
 
643
 
644
       printJS({
644
       printJS({
645
         printable: 'print_content',
645
         printable: 'print_content',