Quellcode durchsuchen

修改打印样式

张保健 vor 6 Jahren
Ursprung
Commit
5d04b17fd3

+ 5 - 5
src/xt_pages/dialysis/batch_print/batch_print_order_other.vue Datei anzeigen

@@ -255,7 +255,7 @@
255 255
                           <td>{{''}}</td>
256 256
                           <td>{{''}}</td>
257 257
                           <td>{{''}}</td>
258
-                          <td style="line-height:16px;padding:0px;"> <p style="height:48px;overflow:hidden;padding:0;margin:0; display: flex;flex-direction: row;justify-content: center;align-items: center;"><span> {{record.assessment_before_dislysis&&record.assessment_before_dislysis.remark.length>0?record.assessment_before_dislysis.remark:''}}</span></p></td>
258
+                          <td style="line-height:16px;padding:0px;"><div style="height:48px;line-height:48px; overflow:hidden;"><span style="margin:0;line-height:16px;-webkit-line-clamp:3;overflow:visible;display:inline-block;vertical-align:middle;height:auto;"> {{record.assessment_before_dislysis&&record.assessment_before_dislysis.remark.length>0?record.assessment_before_dislysis.remark:''}}</span></div></td>
259 259
                           <td>
260 260
                             <span v-if="setAdminUserES(record.assessment_before_dislysis.creater) == ''">{{getAdminUser(record.assessment_before_dislysis.creater)}}</span>
261 261
                             <img class="es-img" :src="setAdminUserES(record.assessment_before_dislysis.creater)"  alt="" srcset="" v-else>
@@ -270,7 +270,7 @@
270 270
                           <td>{{monitor_record.blood_flow_volume?monitor_record.blood_flow_volume:''}}</td>
271 271
                           <td>{{monitor_record.ultrafiltration_volume?monitor_record.ultrafiltration_volume:''}}</td>
272 272
                           <td>{{monitor_record.sodium_concentration?monitor_record.sodium_concentration:''}}</td>
273
-                          <td style="line-height:16px;padding:0px;"> <p style="height:48px;overflow:hidden;padding:0;margin:0; display: flex;flex-direction: row;justify-content: center;align-items: center;"><span> {{monitor_record.symptom}}&nbsp;{{monitor_record.dispose}}&nbsp;{{monitor_record.result}}</span></p></td>
273
+                          <td style="line-height:16px;padding:0px;"> <div style="height:48px;line-height:48px; overflow:hidden;"><span style="margin:0;line-height:16px;-webkit-line-clamp:3;overflow:visible;display:inline-block;vertical-align:middle;height:auto;">{{monitor_record.symptom}}&nbsp;{{monitor_record.dispose}}&nbsp;{{monitor_record.result}}</span></div></td>
274 274
                           <td><span v-if="setAdminUserES(monitor_record, 'monitoring_nurse') == ''">{{getAdminUser(monitor_record, 'monitoring_nurse')}}</span><img class="es-img" :src="setAdminUserES(monitor_record, 'monitoring_nurse')" alt="" srcset=""  v-else style="height: 20px;"></td>
275 275
                         </tr>
276 276
                       </tbody>
@@ -349,7 +349,7 @@
349 349
                           <td>{{monitor_record.blood_flow_volume?monitor_record.blood_flow_volume:''}}</td>
350 350
                           <td>{{monitor_record.ultrafiltration_volume?monitor_record.ultrafiltration_volume:''}}</td>
351 351
                           <td>{{monitor_record.sodium_concentration?monitor_record.sodium_concentration:''}}</td>
352
-                          <td style="line-height:16px;padding:0px;"> <p style="height:48px;overflow:hidden;padding:0;margin:0; display: flex;flex-direction: row;justify-content: center;align-items: center;"><span> {{monitor_record.symptom}}&nbsp;{{monitor_record.dispose}}&nbsp;{{monitor_record.result}}</span></p></td>
352
+                          <td style="line-height:16px;padding:0px;"> <div style="height:48px;line-height:48px; overflow:hidden;"><span style="margin:0;line-height:16px;-webkit-line-clamp:3;overflow:visible;display:inline-block;vertical-align:middle;height:auto;"> {{monitor_record.symptom}}&nbsp;{{monitor_record.dispose}}&nbsp;{{monitor_record.result}}</span></div></td>
353 353
                           <td><span v-if="setAdminUserES(monitor_record, 'monitoring_nurse') == ''">{{getAdminUser(monitor_record, 'monitoring_nurse')}}</span><img class="es-img" :src="setAdminUserES(monitor_record, 'monitoring_nurse')" alt="" srcset=""  v-else style="height: 20px;"></td>
354 354
                         </tr>
355 355
                       </tbody>
@@ -981,10 +981,10 @@
981 981
             this.advice_groups_2 = []
982 982
             var dlegh = 0
983 983
             if (this.records[recordIndex].monitor_records && this.records[recordIndex].monitor_records.length < 8) {
984
-              dlegh = 8 - this.records[recordIndex].monitor_records.length
984
+              dlegh = 7 - this.records[recordIndex].monitor_records.length
985 985
             } 
986 986
             if(this.records[recordIndex].monitor_records.length <=0 ){
987
-              dlegh = 8
987
+              dlegh = 7
988 988
             }
989 989
             if (dlegh > 0) {
990 990
               if (typeof (this.records[recordIndex].monitor_records) === 'undefined' || this.records[recordIndex].monitor_records == null) {

+ 3 - 3
src/xt_pages/dialysis/template/dialysisPrintOrderTwo.vue Datei anzeigen

@@ -247,7 +247,7 @@
247 247
                       <td>{{''}}</td>
248 248
                       <td>{{''}}</td>
249 249
                       <td>{{''}}</td>
250
-                      <td style="line-height:16px;padding:0px;"> <p style="height:48px;overflow:hidden;padding:0;margin:0; display: flex;flex-direction: row;justify-content: center;align-items: center;"><span> {{predialysis.remark}}</span></p></td>
250
+                      <td style="line-height:16px;padding:0px;"> <div style="height:48px;line-height:48px; overflow:hidden;"><span style="margin:0;line-height:16px;-webkit-line-clamp:3;overflow:visible;display:inline-block;vertical-align:middle;height:auto;"> {{predialysis.remark}}</span></div></td>
251 251
                       <td>
252 252
                         <span v-if="setAdminUserES(predialysis.creater) == ''">{{getAdminUser(predialysis.creater)}}</span>
253 253
                         <img class="es-img" :src="setAdminUserES(predialysis.creater)"  alt="" srcset="" v-else>
@@ -264,7 +264,7 @@
264 264
                       <td>{{monitor.blood_flow_volume?monitor.blood_flow_volume:''}}</td>
265 265
                       <td>{{monitor.ultrafiltration_volume?monitor.ultrafiltration_volume:''}}</td>
266 266
                       <td>{{monitor.sodium_concentration?monitor.sodium_concentration:''}}</td>
267
-                      <td style="line-height:16px;padding:0px;"> <p style="height:48px;overflow:hidden;padding:0;margin:0; display: flex;flex-direction: row;justify-content: center;align-items: center;"><span>{{monitor.symptom}}  &nbsp;{{monitor.dispose}} &nbsp;{{monitor.result}}  </span></p></td>
267
+                      <td style="line-height:16px;padding:0px;"><div style="height:48px;line-height:48px; overflow:hidden;"><span style="margin:0;line-height:16px;-webkit-line-clamp:3;overflow:visible;display:inline-block;vertical-align:middle;height:auto;">{{monitor.symptom}}  &nbsp;{{monitor.dispose}} &nbsp;{{monitor.result}} </span> </div></td>
268 268
                       <td>
269 269
                         <span v-if="setAdminUserES(monitor.monitoring_nurse) == ''">{{getAdminUser(monitor.monitoring_nurse)}}</span>
270 270
                         <img class="es-img" :src="setAdminUserES(monitor.monitoring_nurse)"  alt="" srcset="" v-else>
@@ -345,7 +345,7 @@
345 345
                       <td>{{monitor.blood_flow_volume?monitor.blood_flow_volume:''}}</td>
346 346
                       <td>{{monitor.ultrafiltration_volume?monitor.ultrafiltration_volume:''}}</td>
347 347
                       <td>{{monitor.sodium_concentration?monitor.sodium_concentration:''}}</td>
348
-                      <td style="line-height:16px;"> <p style="height:48px;overflow:hidden;padding:0;margin:0; display: flex;flex-direction: row;justify-content: center;align-items: center;"><span>{{monitor.symptom}}  &nbsp;{{monitor.dispose}} &nbsp;{{monitor.result}}</span></p>  </td>
348
+                      <td style="line-height:16px;"><div style="height:48px;line-height:48px; overflow:hidden;"><span style="margin:0;line-height:16px;-webkit-line-clamp:3;overflow:visible;display:inline-block;vertical-align:middle;height:auto;">{{monitor.symptom}}  &nbsp;{{monitor.dispose}} &nbsp;{{monitor.result}}</span></div>  </td>
349 349
                       <td>
350 350
                         <span v-if="setAdminUserES(monitor.monitoring_nurse) == ''">{{getAdminUser(monitor.monitoring_nurse)}}</span>
351 351
                         <img class="es-img" :src="setAdminUserES(monitor.monitoring_nurse)"  alt="" srcset="" v-else>