Browse Source

11月25 结算单

yq1 3 months ago
parent
commit
5d5cd7e5b9
1 changed files with 18 additions and 18 deletions
  1. 18 18
      src/xt_pages/dialysis/template/DialysisPrintOrdereightytwo.vue

+ 18 - 18
src/xt_pages/dialysis/template/DialysisPrintOrdereightytwo.vue View File

@@ -278,7 +278,7 @@
278 278
 
279 279
         <table class="print-table" border="1">
280 280
           <tr>
281
-            <td style="height:40px;line-height:40px">时间</td>
281
+            <td style="height:25px;line-height:25px">时间</td>
282 282
             <td>医嘱</td>
283 283
             <td>医师签名</td>
284 284
             <td>执行时间</td>
@@ -286,7 +286,7 @@
286 286
             <td>核对者签名</td>
287 287
           </tr>
288 288
           <tr v-for="(advice, advice_index) in tableAdvice" :key="advice_index">
289
-            <td style="height:35px;line-height:35px">{{ getTime(advice.start_time, "{y}-{m}-{d} {h}:{i}") }}</td>
289
+            <td style="height:25px;line-height:25px">{{ getTime(advice.start_time, "{y}-{m}-{d} {h}:{i}") }}</td>
290 290
             <td class="parent">
291 291
               <span v-if="advice.parent_id > 0">---></span>
292 292
               <span>{{ advice.advice_name }}</span>
@@ -305,9 +305,9 @@
305 305
               </span>
306 306
               <span
307 307
                 v-else
308
-                style="display:flex;align-items:center;justify-content:space-around;height:36px;"
308
+                style="display:flex;align-items:center;justify-content:space-around;height:25px;"
309 309
               >
310
-                <img style="height:30px;" :src="setAdminUserES(advice.advice_doctor)" alt srcset />
310
+                <img style="height:25px;" :src="setAdminUserES(advice.advice_doctor)" alt srcset />
311 311
               </span>
312 312
             </td>
313 313
             <td>{{ getTime(advice.execution_time, "{y}-{m}-{d} {h}:{i}") }}</td>
@@ -319,16 +319,16 @@
319 319
               </span>
320 320
               <span
321 321
                 v-else
322
-                style="display:flex;align-items:center;justify-content:space-around;height:36px;"
322
+                style="display:flex;align-items:center;justify-content:space-around;height:25px;"
323 323
               >
324
-                <img style="height:30px;" :src="setAdminUserES(advice.execution_staff)" alt srcset />
324
+                <img style="height:25px;" :src="setAdminUserES(advice.execution_staff)" alt srcset />
325 325
               </span>
326 326
             </td>
327 327
             <td>
328 328
               <span v-if="setAdminUserES(advice.checker) == ''">
329 329
                 {{ getAdminUser(advice.checker) }}
330 330
               </span>
331
-              <span v-else style="display:flex;align-items:center;justify-content:space-around;height:36px;">
331
+              <span v-else style="display:flex;align-items:center;justify-content:space-around;height:30px;">
332 332
                 <img style="height:30px;" :src="setAdminUserES(advice.checker)" alt srcset />
333 333
               </span>
334 334
             </td>
@@ -1238,18 +1238,18 @@ export default {
1238 1238
             this.tableAdvice = tableAdvice
1239 1239
           }
1240 1240
 
1241
-          // if (tableAdvice.length >= 6 && tableAdvice.length <= 8) {
1242
-          //   const length = 6 - tableAdvice.length
1243
-          //   var obj = { advice_name: '', start_time: '' }
1244
-          //   for (i = 0; i < length; i++) {
1245
-          //     console.log(1)
1246
-          //     tableAdvice.push(obj)
1247
-          //   }
1241
+          if (tableAdvice.length >= 6 && tableAdvice.length <= 8) {
1242
+            const length = 6 - tableAdvice.length
1243
+            var obj = { advice_name: '', start_time: '' }
1244
+            for (i = 0; i < length; i++) {
1245
+              console.log(1)
1246
+              tableAdvice.push(obj)
1247
+            }
1248 1248
 
1249
-          //   this.tableAdvice = tableAdvice
1250
-          // }else{
1251
-          //   this.tableAdvice = tableAdvice
1252
-          // }
1249
+            this.tableAdvice = tableAdvice
1250
+          }else{
1251
+            this.tableAdvice = tableAdvice
1252
+          }
1253 1253
           this.afterdialysis = response.data.data.AssessmentAfterDislysis
1254 1254
           console.log('透后评估', this.afterdialysis)
1255 1255
           this.operators = response.data.data.operators