Ver código fonte

修改样式

See999 4 anos atrás
pai
commit
8a180b1850

+ 7 - 3
src/styles/index.scss Ver arquivo

@@ -535,10 +535,14 @@ code {
535 535
 
536 536
 .el-table--striped .el-table__body tr.el-table__row--striped.current-row td,
537 537
 .el-table__body tr.current-row > td {
538
-  background-color: #409eff;
539
-  color: #fff;
538
+  background-color: #ecf5ff !important;
539
+  color: #3a8ee6;
540 540
 }
541 541
 
542 542
 .el-table__body tr:hover > td {
543
-  background-color: #409eff !important;
543
+  background-color: #ecf5ff !important;
544
+  color: #3a8ee6;
545
+}
546
+.el-table__body tr > td:hover {
547
+  background-color: #409eff;
544 548
 }

+ 1 - 1
src/xt_pages/management/components/QualityForm.vue Ver arquivo

@@ -209,7 +209,7 @@
209 209
             >
210 210
               <el-button
211 211
                 size="mini"
212
-                type="primary"
212
+                type="danger"
213 213
                 icon="el-icon-delete"
214 214
                 @click="DeleteCultrues(scope.row.id, scope.$index)"
215 215
               ></el-button>

+ 101 - 44
src/xt_pages/management/components/UserForm.vue Ver arquivo

@@ -264,6 +264,7 @@
264 264
                 v-model="userform.classtype"
265 265
                 placeholder="请选择"
266 266
                 class="a"
267
+                style="width:150px"
267 268
               >
268 269
                 <el-option
269 270
                   v-for="item in classType"
@@ -277,7 +278,12 @@
277 278
           </el-col>
278 279
           <el-col :span="8">
279 280
             <el-form-item label="分区:">
280
-              <el-select v-model="userform.zone" placeholder="请选择" class="a">
281
+              <el-select
282
+                v-model="userform.zone"
283
+                placeholder="请选择"
284
+                class="a"
285
+                style="width:150px"
286
+              >
281 287
                 <el-option
282 288
                   v-for="item in zones"
283 289
                   :key="item.id"
@@ -309,6 +315,7 @@
309 315
                 :fetch-suggestions="querySearchAsync"
310 316
                 placeholder="请输入内容"
311 317
                 @select="handleSelect"
318
+                style="width:150px"
312 319
               >
313 320
                 <i class="el-icon-search el-input__icon" slot="suffix"></i>
314 321
                 <template slot-scope="{ item }">
@@ -338,9 +345,9 @@
338 345
           <el-col :span="8">
339 346
             <el-form-item label="传染病:">
340 347
               <el-input
341
-                style="width:180px"
342 348
                 v-model="userform.contagion"
343 349
                 :disabled="true"
350
+                style="width:150px"
344 351
               ></el-input>
345 352
             </el-form-item>
346 353
           </el-col>
@@ -352,6 +359,7 @@
352 359
                 v-model="userform.dialysis_mode"
353 360
                 placeholder="请选择"
354 361
                 class="a"
362
+                style="width:150px"
355 363
               >
356 364
                 <el-option
357 365
                   v-for="item in treatmode"
@@ -370,7 +378,7 @@
370 378
                 value-format="yyyy-MM-dd HH:mm"
371 379
                 placeholder="选择时间"
372 380
                 v-model="userform.start_time"
373
-                style="width:200px;"
381
+                style="width:150px"
374 382
               ></el-date-picker>
375 383
             </el-form-item>
376 384
           </el-col>
@@ -382,7 +390,7 @@
382 390
                 value-format="yyyy-MM-dd HH:mm"
383 391
                 placeholder="选择时间"
384 392
                 v-model="userform.end_time"
385
-                style="width:200px;"
393
+                style="width:150px"
386 394
               ></el-date-picker>
387 395
             </el-form-item>
388 396
           </el-col>
@@ -391,7 +399,7 @@
391 399
           <el-col :span="8">
392 400
             <el-form-item label="透析时长:">
393 401
               <el-input
394
-                style="width:180px"
402
+                style="width:150px"
395 403
                 v-model="userform.dialysis_time"
396 404
               ></el-input>
397 405
             </el-form-item>
@@ -399,7 +407,7 @@
399 407
           <el-col :span="8">
400 408
             <el-form-item label="实际超滤量:">
401 409
               <el-input
402
-                style="width:180px"
410
+                style="width:150px"
403 411
                 v-model="userform.hyperfiltratio"
404 412
               ></el-input>
405 413
             </el-form-item>
@@ -407,7 +415,7 @@
407 415
           <el-col :span="8">
408 416
             <el-form-item label="体重减少:">
409 417
               <el-input
410
-                style="width:180px"
418
+                style="width:150px"
411 419
                 v-model="userform.weight_loss"
412 420
               ></el-input>
413 421
             </el-form-item>
@@ -417,7 +425,7 @@
417 425
           <el-col :span="8">
418 426
             <el-form-item label="预警值:">
419 427
               <el-input
420
-                style="width:180px"
428
+                style="width:150px"
421 429
                 v-model="userform.warning_value"
422 430
               ></el-input>
423 431
             </el-form-item>
@@ -425,7 +433,7 @@
425 433
           <el-col :span="8">
426 434
             <el-form-item label="使用次数:">
427 435
               <el-input
428
-                style="width:180px"
436
+                style="width:150px"
429 437
                 v-model="userform.user_total"
430 438
               ></el-input>
431 439
             </el-form-item>
@@ -488,7 +496,11 @@
488 496
           </el-col>
489 497
           <el-col :span="8">
490 498
             <el-form-item label="消毒方式:">
491
-              <el-select v-model="userform.disinfect_type" placeholder="请选择">
499
+              <el-select
500
+                v-model="userform.disinfect_type"
501
+                placeholder="请选择"
502
+                style="width:150px"
503
+              >
492 504
                 <el-option
493 505
                   v-for="item in disinfectType"
494 506
                   :key="item.id"
@@ -504,6 +516,7 @@
504 516
               <el-select
505 517
                 v-model="userform.disinfectant_type"
506 518
                 placeholder="请选择"
519
+                style="width:150px"
507 520
               >
508 521
                 <el-option
509 522
                   v-for="item in disinfectantType"
@@ -517,9 +530,16 @@
517 530
           </el-col>
518 531
         </el-row>
519 532
         <el-row>
533
+          <el-col :span="2" style="visibility: hidden;">
534
+            <el-form-item label="②液路"></el-form-item>
535
+          </el-col>
520 536
           <el-col :span="8">
521 537
             <el-form-item label="消毒状态:">
522
-              <el-select v-model="userform.disinfection" placeholder="请选择">
538
+              <el-select
539
+                v-model="userform.disinfection"
540
+                placeholder="请选择"
541
+                style="width:150px"
542
+              >
523 543
                 <el-option
524 544
                   v-for="item in disinfection"
525 545
                   :key="item.id"
@@ -550,7 +570,11 @@
550 570
           </el-col>
551 571
           <el-col :span="8">
552 572
             <el-form-item label="消毒方式:">
553
-              <el-select v-model="userform.fluid_path" placeholder="请选择">
573
+              <el-select
574
+                v-model="userform.fluid_path"
575
+                placeholder="请选择"
576
+                style="width:150px"
577
+              >
554 578
                 <el-option
555 579
                   v-for="item in sterilizeType"
556 580
                   :key="item.id"
@@ -563,7 +587,11 @@
563 587
           </el-col>
564 588
           <el-col :span="8">
565 589
             <el-form-item label="消毒液:">
566
-              <el-select v-model="userform.disinfectant" placeholder="请选择">
590
+              <el-select
591
+                v-model="userform.disinfectant"
592
+                placeholder="请选择"
593
+                style="width:150px"
594
+              >
567 595
                 <el-option
568 596
                   v-for="item in fluidPathType"
569 597
                   :key="item.id"
@@ -576,11 +604,15 @@
576 604
           </el-col>
577 605
         </el-row>
578 606
         <el-row>
607
+          <el-col :span="2" style="visibility: hidden;">
608
+            <el-form-item label="②液路"></el-form-item>
609
+          </el-col>
579 610
           <el-col :span="8">
580 611
             <el-form-item label="消毒状态:">
581 612
               <el-select
582 613
                 v-model="userform.disinfection_status"
583 614
                 placeholder="请选择"
615
+                style="width:150px"
584 616
               >
585 617
                 <el-option
586 618
                   v-for="item in disinfection"
@@ -610,7 +642,7 @@
610 642
           <el-col :span="8">
611 643
             <el-form-item label="消毒时长:">
612 644
               <el-input
613
-                style="width:135px"
645
+                style="width:140px"
614 646
                 v-model="userform.longtime"
615 647
               ></el-input
616 648
               >分钟
@@ -624,7 +656,7 @@
624 656
                 value-format="yyyy-MM-dd HH:mm"
625 657
                 placeholder="选择时间"
626 658
                 v-model="userform.starttime"
627
-                style="width:200px;"
659
+                style="width:150px"
628 660
               ></el-date-picker>
629 661
             </el-form-item>
630 662
           </el-col>
@@ -636,21 +668,29 @@
636 668
                 value-format="yyyy-MM-dd HH:mm"
637 669
                 placeholder="选择时间"
638 670
                 v-model="userform.endtime"
639
-                style="width:200px;"
671
+                style="width:150px"
640 672
               ></el-date-picker>
641 673
             </el-form-item>
642 674
           </el-col>
643 675
         </el-row>
644 676
         <el-row>
645
-          <el-col :span="3">
646
-            <el-form-item label="透析机消毒液:"></el-form-item>
647
-          </el-col>
648
-          <el-col :span="2">
649
-            <el-checkbox v-model="userform.dialysis_checked">更换</el-checkbox>
677
+          <el-col :span="8">
678
+            <el-form-item
679
+              label="透析机消毒液:"
680
+              style="display:flex;align-items:center"
681
+            >
682
+              <el-checkbox v-model="userform.dialysis_checked"
683
+                >更换</el-checkbox
684
+              >
685
+            </el-form-item>
650 686
           </el-col>
651 687
           <el-col :span="8">
652 688
             <el-form-item label="名称:">
653
-              <el-select v-model="userform.dialysis_name" placeholder="请选择">
689
+              <el-select
690
+                v-model="userform.dialysis_name"
691
+                placeholder="请选择"
692
+                style="width:150px"
693
+              >
654 694
                 <el-option
655 695
                   v-for="item in names"
656 696
                   :key="item.id"
@@ -661,9 +701,9 @@
661 701
               </el-select>
662 702
             </el-form-item>
663 703
           </el-col>
664
-          <el-col :span="6">
704
+          <el-col :span="8">
665 705
             <el-form-item label="规格:">
666
-              <el-input style="width:100px" v-model="userform.norms"></el-input
706
+              <el-input style="width:150px" v-model="userform.norms"></el-input
667 707
               >桶
668 708
             </el-form-item>
669 709
             <span style="color:red" v-show="showone"
@@ -687,32 +727,38 @@
687 727
           </el-col>
688 728
         </el-row>
689 729
         <el-row>
690
-          <el-col :span="3">
691
-            <el-form-item label="细菌过滤器:"></el-form-item>
692
-          </el-col>
693
-          <el-col :span="7">
694
-            <el-checkbox v-model="userform.germ_checked">更换</el-checkbox>
695
-            <span style="color:red" v-show="showone"
696
-              >您已一个月未更换,请注意检测</span
730
+          <el-col :span="8">
731
+            <el-form-item
732
+              label="细菌过滤器:"
733
+              style="display:flex;align-items:center"
697 734
             >
735
+              <el-checkbox v-model="userform.germ_checked">更换</el-checkbox>
736
+              <span style="color:red" v-show="showone"
737
+                >您已一个月未更换,请注意检测</span
738
+              >
739
+            </el-form-item>
698 740
           </el-col>
699 741
           <el-col :span="8">
700 742
             <el-form-item label="名称:">
701
-              <el-select v-model="userform.germ_name" placeholder="请选择">
743
+              <el-select
744
+                v-model="userform.germ_name"
745
+                placeholder="请选择"
746
+                style="width:150px"
747
+              >
702 748
                 <el-option
703 749
                   v-for="item in germs"
704 750
                   :key="item.id"
705 751
                   :label="item.name"
706 752
                   :value="item.id"
707
-                  style="width:200px"
753
+                  style="width:150px"
708 754
                 ></el-option>
709 755
               </el-select>
710 756
             </el-form-item>
711 757
           </el-col>
712
-          <el-col :span="6">
758
+          <el-col :span="8">
713 759
             <el-form-item label="数量:">
714 760
               <el-input
715
-                style="width:100px"
761
+                style="width:150px"
716 762
                 v-model="userform.germ_number"
717 763
               ></el-input
718 764
               >支
@@ -720,18 +766,24 @@
720 766
           </el-col>
721 767
         </el-row>
722 768
         <el-row>
723
-          <el-col :span="3">
724
-            <el-form-item label="空气滤网清洁:"></el-form-item>
725
-          </el-col>
726
-          <el-col :span="10">
727
-            <el-checkbox v-model="userform.clean">清洁:</el-checkbox>
728
-            <span style="color:red" v-show="showone"
729
-              >您已一个月未清洁,请检查</span
769
+          <el-col :span="8">
770
+            <el-form-item
771
+              label="空气滤网清洁:"
772
+              style="display:flex;align-items:center"
730 773
             >
774
+              <el-checkbox v-model="userform.clean">清洁:</el-checkbox>
775
+              <span style="color:red" v-show="showone"
776
+                >您已一个月未清洁,请检查</span
777
+              >
778
+            </el-form-item>
731 779
           </el-col>
732
-          <el-col :span="10">
780
+          <el-col :span="8">
733 781
             <el-form-item label="签名:">
734
-              <el-select v-model="userform.sign_name" placeholder="请选择">
782
+              <el-select
783
+                v-model="userform.sign_name"
784
+                placeholder="请选择"
785
+                style="width:150px"
786
+              >
735 787
                 <el-option
736 788
                   v-for="item in autograph"
737 789
                   :key="item.admin_user_id"
@@ -2252,4 +2304,9 @@ export default {
2252 2304
     margin-left: 15px;
2253 2305
   }
2254 2306
 }
2307
+#user-form {
2308
+  .el-dialog__footer {
2309
+    text-align: right;
2310
+  }
2311
+}
2255 2312
 </style>

+ 10 - 1
src/xt_pages/workforce/components/tableData.vue Ver arquivo

@@ -2028,6 +2028,15 @@ export default {
2028 2028
 }
2029 2029
 
2030 2030
 .el-table__body tr.current-row > td {
2031
-  background-color: #409eff;
2031
+  background-color: #409eff !important;
2032
+}
2033
+// .el-table__body tr > td:hover {
2034
+//   background-color: #409eff !important;
2035
+// }
2036
+#table_data {
2037
+  .el-table__body tr > td:hover {
2038
+    background-color: #409eff !important;
2039
+    color: #fff;
2040
+  }
2032 2041
 }
2033 2042
 </style>