柳香萍 6 anni fa
parent
commit
5c10dfaf45
1 ha cambiato i file con 146 aggiunte e 218 eliminazioni
  1. 146 218
      src/pages/main/Print.vue

+ 146 - 218
src/pages/main/Print.vue Vedi File

@@ -997,24 +997,14 @@
997 997
                              alt="" srcset="" v-else>
998 998
 
999 999
 
1000
-                    <!--<img class="es-img" :src="setAdminUserES(advices[0][0].advice_doctor)"-->
1001
-                    <!--alt="" srcset="" v-else>-->
1002
-=======
1003 1000
                         <!--<span v-if="setAdminUserES(advices[0][0].advice_doctor) == ''">{{getAdminUser(advices[0][0].advice_doctor)}}</span>-->
1004 1001
                         <!--<img class="es-img" :src="setAdminUserES(advices[0][0].advice_doctor)"-->
1005 1002
                         <!--alt="" srcset="" v-else>-->
1006
->>>>>>> .theirs
1007 1003
 
1008 1004
 
1009
-<<<<<<< .mine
1010
-                    <!--<span v-if="setAdminUserES(advice[0].advice_doctor) == ''">{{getAdminUser(advice[0].advice_doctor)}}</span>-->
1011
-                    <!--<img class="es-img" :src="setAdminUserES(advice[0].advice_doctor)"-->
1012
-                    <!--alt="" srcset="" v-else>-->
1013
-=======
1014 1005
                         <!--<span v-if="setAdminUserES(advice[0].advice_doctor) == ''">{{getAdminUser(advice[0].advice_doctor)}}</span>-->
1015 1006
                         <!--<img class="es-img" :src="setAdminUserES(advice[0].advice_doctor)"-->
1016 1007
                         <!--alt="" srcset="" v-else>-->
1017
->>>>>>> .theirs
1018 1008
 
1019 1009
 
1020 1010
                         <!-- {{getXuserName(prescription.prescription_doctor)}} -->
@@ -2176,10 +2166,6 @@
2176 2166
             for (var i = 0; i < halfLen; i++) {
2177 2167
               leftAdvice.push(advices[i]);
2178 2168
               rightAdvice.push(advices[i + halfLen]);
2179
-
2180
-
2181
-
2182
-
2183 2169
             }
2184 2170
 
2185 2171
             if (halfLen < 5) {
@@ -2199,20 +2185,11 @@
2199 2185
               item.push(leftAdvice[i]);
2200 2186
               item.push(rightAdvice[i]);
2201 2187
               this.advices.push(item);
2202
-
2203
-
2204 2188
             }
2205 2189
           } else {
2206 2190
             this.$message.error("请求数据失败");
2207 2191
             return false;
2208 2192
           }
2209
-
2210
-
2211
-
2212
-
2213
-
2214
-
2215
-
2216 2193
           this.jumpPrint()
2217 2194
         });
2218 2195
       },
@@ -2274,7 +2251,6 @@
2274 2251
         this.loading = false
2275 2252
         this.jumpPrint()
2276 2253
       },
2277
-
2278 2254
       "patientInfo.source": function() {
2279 2255
         if (this.patientInfo.source == 1) {
2280 2256
           this.patientInfo_source_1 = true;
@@ -2282,39 +2258,11 @@
2282 2258
         } else if (this.patientInfo.source == 2) {
2283 2259
           this.patientInfo_source_2 = true;
2284 2260
           this.patientInfo_source_1 = false;
2285
-
2286
-
2287
-
2288
-
2289
-
2290
-
2291
-
2292
-
2293
-
2294
-
2295
-
2296
-
2297
-
2298
-
2299
-
2300
-
2301 2261
         } else {
2302 2262
           this.patientInfo_source_2 = false;
2303 2263
           this.patientInfo_source_1 = false;
2304 2264
         }
2305 2265
       }
2306
-
2307
-
2308
-
2309
-
2310
-
2311
-
2312
-
2313
-
2314
-
2315
-
2316
-
2317
-
2318 2266
     },
2319 2267
     created() {
2320 2268
       var xtuser = this.$store.getters.user;
@@ -2366,74 +2314,63 @@
2366 2314
     components: {
2367 2315
       SideBar
2368 2316
     }
2369
-
2370
-
2371 2317
   };
2372 2318
 
2373 2319
 
2374 2320
 </script>
2375 2321
 
2376 2322
 <style style="stylesheet/scss" lang="scss" scoped>
2377
-  .dialysis-print-order {
2323
+.dialysis-print-order {
2378 2324
   width: 100%;
2379 2325
   margin: 0 auto;
2380 2326
   .order-yy-name {
2381
-  margin:10px auto 0 auto;
2327
+    margin: 10px auto 0 auto;
2382 2328
 
2383
-  text-align: center;
2384
-  font-size: 20px;
2329
+    text-align: center;
2330
+    font-size: 20px;
2385 2331
   }
2386 2332
   .order-title {
2387
-
2388
-  margin: auto;
2389
-  font-weight: 600;
2390
-  text-align: center;
2391
-  font-size: 22px;
2392
-  padding: 10px 20px 20px 20px;
2333
+    margin: auto;
2334
+    font-weight: 600;
2335
+    text-align: center;
2336
+    font-size: 22px;
2337
+    padding: 10px 20px 20px 20px;
2393 2338
   }
2394 2339
   .table-box {
2395
-  width: 100%;
2396
-  line-height: 15px;
2397
-  font-size: 14px;
2398
-  .under-line {
2399
-  border-bottom: 1px solid #999;
2400
-  width: 95%;
2401
-  text-align: center;
2402
-  margin-left: 2px;
2403
-  }
2340
+    width: 100%;
2341
+    line-height: 15px;
2342
+    font-size: 14px;
2343
+    .under-line {
2344
+      border-bottom: 1px solid #999;
2345
+      width: 95%;
2346
+      text-align: center;
2347
+      margin-left: 2px;
2348
+    }
2404 2349
   }
2405 2350
   .print-table {
2406
-  width: 100%;
2407
-  text-align: center;
2408
-  border-collapse: collapse;
2409
-  line-height: 25px;
2410
-  font-size: 14px;
2411
-  .title-box {
2412
-  text-align: center;
2413
-  font-size: 16px;
2414
-  }
2351
+    width: 100%;
2352
+    text-align: center;
2353
+    border-collapse: collapse;
2354
+    line-height: 25px;
2355
+    font-size: 14px;
2356
+    .title-box {
2357
+      text-align: center;
2358
+      font-size: 16px;
2359
+    }
2415 2360
   }
2416 2361
   .print-table-no {
2417
-  width: 100%;
2418
-  text-align: center;
2419
-  border-collapse: collapse;
2420
-  font-size: 14px;
2421
-  }
2362
+    width: 100%;
2363
+    text-align: center;
2364
+    border-collapse: collapse;
2365
+    font-size: 14px;
2422 2366
   }
2367
+}
2423 2368
 
2424
-  .dialysis-print-order .radio-lebel-box {
2425
-
2426
-
2427
-
2428
-
2429
-
2430
-
2431
-
2432
-
2369
+.dialysis-print-order .radio-lebel-box {
2433 2370
   font-weight: 400;
2434 2371
   cursor: pointer;
2435
-  }
2436
-  .dialysis-print-order .radio-no {
2372
+}
2373
+.dialysis-print-order .radio-no {
2437 2374
   opacity: 0;
2438 2375
   outline: none;
2439 2376
   position: absolute;
@@ -2441,8 +2378,8 @@
2441 2378
   width: 0;
2442 2379
   height: 0;
2443 2380
   z-index: -1;
2444
-  }
2445
-  .dialysis-print-order .radio-inner {
2381
+}
2382
+.dialysis-print-order .radio-inner {
2446 2383
   white-space: nowrap;
2447 2384
   cursor: pointer;
2448 2385
   outline: none;
@@ -2450,8 +2387,8 @@
2450 2387
   line-height: 1;
2451 2388
   position: relative;
2452 2389
   vertical-align: middle;
2453
-  }
2454
-  .dialysis-print-order .radio-fang {
2390
+}
2391
+.dialysis-print-order .radio-fang {
2455 2392
   display: inline-block;
2456 2393
   position: relative;
2457 2394
   border: 1px solid #000;
@@ -2461,83 +2398,83 @@
2461 2398
   background-color: #fff;
2462 2399
   z-index: 1;
2463 2400
   transition: border-color 0.25s cubic-bezier(0.71, -0.46, 0.29, 1.46),
2464
-  background-color 0.25s cubic-bezier(0.71, -0.46, 0.29, 1.46);
2465
-  }
2466
-  .dialysis-print-order .is-checked-radio::after {
2401
+    background-color 0.25s cubic-bezier(0.71, -0.46, 0.29, 1.46);
2402
+}
2403
+.dialysis-print-order .is-checked-radio::after {
2467 2404
   content: "√";
2468 2405
   font-size: 15px;
2469
-  }
2470
-  .es-img {
2406
+}
2407
+.es-img {
2471 2408
   height: 25px;
2472
-  }
2409
+}
2473 2410
 
2474
-  html,
2475
-  body {
2411
+html,
2412
+body {
2476 2413
   height: 100%;
2477
-  }
2478
-  .mainBox {
2414
+}
2415
+.mainBox {
2479 2416
   height: 100%;
2480 2417
   font-size: 0.3rem;
2481 2418
   background: #fff;
2482 2419
   .sideColumn {
2483
-  float: left;
2484
-  width: 1.58rem;
2485
-  background: #f5f8fb;
2486
-  height: 100%;
2487
-  border-right: 1px #c1c1c1 solid;
2488
-  position: fixed;
2489
-  .column {
2490
-  // height: 100%;
2491
-  // background: #f5f8fb;
2492
-  .head {
2493
-  @include display-flex;
2494
-  @include align-items-center;
2495
-  @include flex-direction;
2496
-  @include text-align;
2497
-  @include justify-content-center;
2498
-  margin: 0.5rem 0 0.5rem 0;
2499
-  img {
2500
-  width: 100%;
2501
-  height: 100%;
2502
-  border-radius: 0.5rem;
2503
-  width: 0.7rem;
2504
-  height: 0.7rem;
2505
-  }
2506
-  }
2507
-  .sidebar {
2508
-  @include display-flex;
2509
-  @include align-items-center;
2510
-  @include flex-direction;
2511
-  @include text-align;
2512
-  padding: 0;
2513
-  li {
2514
-  // font-size:0.23rem;
2515
-  padding: 0 0 0.8rem 0;
2516
-  a {
2517
-  color: #a8b3ba;
2518
-  display: inline-block;
2519
-  padding: 0;
2520
-  margin: 0;
2521
-  p {
2522
-  font-size: 0.24rem;
2523
-  margin-top: 0.2rem;
2524
-  }
2525
-  .iconfont {
2526
-  font-size: 0.5rem;
2527
-  display: inline-block;
2528
-  }
2529
-  }
2530
-  &.active {
2531
-  a {
2532
-  color: #409eff;
2533
-  }
2534
-  }
2535
-  }
2536
-  }
2537
-  }
2538
-  }
2420
+    float: left;
2421
+    width: 1.58rem;
2422
+    background: #f5f8fb;
2423
+    height: 100%;
2424
+    border-right: 1px #c1c1c1 solid;
2425
+    position: fixed;
2426
+    .column {
2427
+      // height: 100%;
2428
+      // background: #f5f8fb;
2429
+      .head {
2430
+        @include display-flex;
2431
+        @include align-items-center;
2432
+        @include flex-direction;
2433
+        @include text-align;
2434
+        @include justify-content-center;
2435
+        margin: 0.5rem 0 0.5rem 0;
2436
+        img {
2437
+          width: 100%;
2438
+          height: 100%;
2439
+          border-radius: 0.5rem;
2440
+          width: 0.7rem;
2441
+          height: 0.7rem;
2442
+        }
2443
+      }
2444
+      .sidebar {
2445
+        @include display-flex;
2446
+        @include align-items-center;
2447
+        @include flex-direction;
2448
+        @include text-align;
2449
+        padding: 0;
2450
+        li {
2451
+          // font-size:0.23rem;
2452
+          padding: 0 0 0.8rem 0;
2453
+          a {
2454
+            color: #a8b3ba;
2455
+            display: inline-block;
2456
+            padding: 0;
2457
+            margin: 0;
2458
+            p {
2459
+              font-size: 0.24rem;
2460
+              margin-top: 0.2rem;
2461
+            }
2462
+            .iconfont {
2463
+              font-size: 0.5rem;
2464
+              display: inline-block;
2465
+            }
2466
+          }
2467
+          &.active {
2468
+            a {
2469
+              color: #409eff;
2470
+            }
2471
+          }
2472
+        }
2473
+      }
2474
+    }
2539 2475
   }
2540
-  .navigation {
2476
+}
2477
+.navigation {
2541 2478
   @include display-flex;
2542 2479
   @include align-items-center;
2543 2480
   @include text-align;
@@ -2552,60 +2489,51 @@
2552 2489
   z-index: 100;
2553 2490
   background: #fff;
2554 2491
   .goBack {
2555
-  // color: #6e7a87;
2556
-  cursor: pointer;
2557
-  @include display-flex;
2558
-  @include align-items-center;
2559
-  @include text-align;
2560
-  .back {
2561
-  color: $main-color;
2562
-  margin-right: 0.87rem;
2563
-  .iconfont {
2564
-  color: $main-color;
2565
-  }
2566
-  }
2567
-  .name {
2568
-  .iconfont {
2569
-  margin-left: 0.1rem;
2570
-  }
2571
-  }
2492
+    // color: #6e7a87;
2493
+    cursor: pointer;
2494
+    @include display-flex;
2495
+    @include align-items-center;
2496
+    @include text-align;
2497
+    .back {
2498
+      color: $main-color;
2499
+      margin-right: 0.87rem;
2500
+      .iconfont {
2501
+        color: $main-color;
2502
+      }
2503
+    }
2504
+    .name {
2505
+      .iconfont {
2506
+        margin-left: 0.1rem;
2507
+      }
2508
+    }
2572 2509
   }
2573 2510
   .nav {
2574
-  ul {
2575
-  li {
2576
-  float: left;
2577
-  font-size: 0.3rem;
2578
-  margin: 0 0.2rem;
2579
-  height: 0.5rem;
2580
-  line-height: 0.5rem;
2581
-  width: 1rem;
2582
-  cursor: pointer;
2583
-  &.active {
2584
-  background: $main-color;
2585
-  color: #fff;
2586
-  border-radius: 30px;
2587
-  }
2588
-  }
2589
-  }
2511
+    ul {
2512
+      li {
2513
+        float: left;
2514
+        font-size: 0.3rem;
2515
+        margin: 0 0.2rem;
2516
+        height: 0.5rem;
2517
+        line-height: 0.5rem;
2518
+        width: 1rem;
2519
+        cursor: pointer;
2520
+        &.active {
2521
+          background: $main-color;
2522
+          color: #fff;
2523
+          border-radius: 30px;
2524
+        }
2525
+      }
2526
+    }
2590 2527
   }
2591 2528
   .time {
2592
-  cursor: pointer;
2593
-  .iconfont {
2594
-  margin-left: 0.1rem;
2595
-  }
2596
-<<<<<<< .mine
2597
-  }
2598
-  }
2599
-
2600
-
2601
-
2602
-
2603
-=======
2604
-  }
2529
+    cursor: pointer;
2530
+    .iconfont {
2531
+      margin-left: 0.1rem;
2532
+    }
2605 2533
   }
2534
+}
2606 2535
 
2607
-  .mainContent {
2536
+.mainContent {
2608 2537
   margin: 0 0 0 1.58rem;
2609
-  }
2610
->>>>>>> .theirs
2538
+}
2611 2539
 </style>