Browse Source

修改样式

See999 4 years ago
parent
commit
8a180b1850

+ 7 - 3
src/styles/index.scss View File

535
 
535
 
536
 .el-table--striped .el-table__body tr.el-table__row--striped.current-row td,
536
 .el-table--striped .el-table__body tr.el-table__row--striped.current-row td,
537
 .el-table__body tr.current-row > td {
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
 .el-table__body tr:hover > td {
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 View File

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

+ 101 - 44
src/xt_pages/management/components/UserForm.vue View File

264
                 v-model="userform.classtype"
264
                 v-model="userform.classtype"
265
                 placeholder="请选择"
265
                 placeholder="请选择"
266
                 class="a"
266
                 class="a"
267
+                style="width:150px"
267
               >
268
               >
268
                 <el-option
269
                 <el-option
269
                   v-for="item in classType"
270
                   v-for="item in classType"
277
           </el-col>
278
           </el-col>
278
           <el-col :span="8">
279
           <el-col :span="8">
279
             <el-form-item label="分区:">
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
                 <el-option
287
                 <el-option
282
                   v-for="item in zones"
288
                   v-for="item in zones"
283
                   :key="item.id"
289
                   :key="item.id"
309
                 :fetch-suggestions="querySearchAsync"
315
                 :fetch-suggestions="querySearchAsync"
310
                 placeholder="请输入内容"
316
                 placeholder="请输入内容"
311
                 @select="handleSelect"
317
                 @select="handleSelect"
318
+                style="width:150px"
312
               >
319
               >
313
                 <i class="el-icon-search el-input__icon" slot="suffix"></i>
320
                 <i class="el-icon-search el-input__icon" slot="suffix"></i>
314
                 <template slot-scope="{ item }">
321
                 <template slot-scope="{ item }">
338
           <el-col :span="8">
345
           <el-col :span="8">
339
             <el-form-item label="传染病:">
346
             <el-form-item label="传染病:">
340
               <el-input
347
               <el-input
341
-                style="width:180px"
342
                 v-model="userform.contagion"
348
                 v-model="userform.contagion"
343
                 :disabled="true"
349
                 :disabled="true"
350
+                style="width:150px"
344
               ></el-input>
351
               ></el-input>
345
             </el-form-item>
352
             </el-form-item>
346
           </el-col>
353
           </el-col>
352
                 v-model="userform.dialysis_mode"
359
                 v-model="userform.dialysis_mode"
353
                 placeholder="请选择"
360
                 placeholder="请选择"
354
                 class="a"
361
                 class="a"
362
+                style="width:150px"
355
               >
363
               >
356
                 <el-option
364
                 <el-option
357
                   v-for="item in treatmode"
365
                   v-for="item in treatmode"
370
                 value-format="yyyy-MM-dd HH:mm"
378
                 value-format="yyyy-MM-dd HH:mm"
371
                 placeholder="选择时间"
379
                 placeholder="选择时间"
372
                 v-model="userform.start_time"
380
                 v-model="userform.start_time"
373
-                style="width:200px;"
381
+                style="width:150px"
374
               ></el-date-picker>
382
               ></el-date-picker>
375
             </el-form-item>
383
             </el-form-item>
376
           </el-col>
384
           </el-col>
382
                 value-format="yyyy-MM-dd HH:mm"
390
                 value-format="yyyy-MM-dd HH:mm"
383
                 placeholder="选择时间"
391
                 placeholder="选择时间"
384
                 v-model="userform.end_time"
392
                 v-model="userform.end_time"
385
-                style="width:200px;"
393
+                style="width:150px"
386
               ></el-date-picker>
394
               ></el-date-picker>
387
             </el-form-item>
395
             </el-form-item>
388
           </el-col>
396
           </el-col>
391
           <el-col :span="8">
399
           <el-col :span="8">
392
             <el-form-item label="透析时长:">
400
             <el-form-item label="透析时长:">
393
               <el-input
401
               <el-input
394
-                style="width:180px"
402
+                style="width:150px"
395
                 v-model="userform.dialysis_time"
403
                 v-model="userform.dialysis_time"
396
               ></el-input>
404
               ></el-input>
397
             </el-form-item>
405
             </el-form-item>
399
           <el-col :span="8">
407
           <el-col :span="8">
400
             <el-form-item label="实际超滤量:">
408
             <el-form-item label="实际超滤量:">
401
               <el-input
409
               <el-input
402
-                style="width:180px"
410
+                style="width:150px"
403
                 v-model="userform.hyperfiltratio"
411
                 v-model="userform.hyperfiltratio"
404
               ></el-input>
412
               ></el-input>
405
             </el-form-item>
413
             </el-form-item>
407
           <el-col :span="8">
415
           <el-col :span="8">
408
             <el-form-item label="体重减少:">
416
             <el-form-item label="体重减少:">
409
               <el-input
417
               <el-input
410
-                style="width:180px"
418
+                style="width:150px"
411
                 v-model="userform.weight_loss"
419
                 v-model="userform.weight_loss"
412
               ></el-input>
420
               ></el-input>
413
             </el-form-item>
421
             </el-form-item>
417
           <el-col :span="8">
425
           <el-col :span="8">
418
             <el-form-item label="预警值:">
426
             <el-form-item label="预警值:">
419
               <el-input
427
               <el-input
420
-                style="width:180px"
428
+                style="width:150px"
421
                 v-model="userform.warning_value"
429
                 v-model="userform.warning_value"
422
               ></el-input>
430
               ></el-input>
423
             </el-form-item>
431
             </el-form-item>
425
           <el-col :span="8">
433
           <el-col :span="8">
426
             <el-form-item label="使用次数:">
434
             <el-form-item label="使用次数:">
427
               <el-input
435
               <el-input
428
-                style="width:180px"
436
+                style="width:150px"
429
                 v-model="userform.user_total"
437
                 v-model="userform.user_total"
430
               ></el-input>
438
               ></el-input>
431
             </el-form-item>
439
             </el-form-item>
488
           </el-col>
496
           </el-col>
489
           <el-col :span="8">
497
           <el-col :span="8">
490
             <el-form-item label="消毒方式:">
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
                 <el-option
504
                 <el-option
493
                   v-for="item in disinfectType"
505
                   v-for="item in disinfectType"
494
                   :key="item.id"
506
                   :key="item.id"
504
               <el-select
516
               <el-select
505
                 v-model="userform.disinfectant_type"
517
                 v-model="userform.disinfectant_type"
506
                 placeholder="请选择"
518
                 placeholder="请选择"
519
+                style="width:150px"
507
               >
520
               >
508
                 <el-option
521
                 <el-option
509
                   v-for="item in disinfectantType"
522
                   v-for="item in disinfectantType"
517
           </el-col>
530
           </el-col>
518
         </el-row>
531
         </el-row>
519
         <el-row>
532
         <el-row>
533
+          <el-col :span="2" style="visibility: hidden;">
534
+            <el-form-item label="②液路"></el-form-item>
535
+          </el-col>
520
           <el-col :span="8">
536
           <el-col :span="8">
521
             <el-form-item label="消毒状态:">
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
                 <el-option
543
                 <el-option
524
                   v-for="item in disinfection"
544
                   v-for="item in disinfection"
525
                   :key="item.id"
545
                   :key="item.id"
550
           </el-col>
570
           </el-col>
551
           <el-col :span="8">
571
           <el-col :span="8">
552
             <el-form-item label="消毒方式:">
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
                 <el-option
578
                 <el-option
555
                   v-for="item in sterilizeType"
579
                   v-for="item in sterilizeType"
556
                   :key="item.id"
580
                   :key="item.id"
563
           </el-col>
587
           </el-col>
564
           <el-col :span="8">
588
           <el-col :span="8">
565
             <el-form-item label="消毒液:">
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
                 <el-option
595
                 <el-option
568
                   v-for="item in fluidPathType"
596
                   v-for="item in fluidPathType"
569
                   :key="item.id"
597
                   :key="item.id"
576
           </el-col>
604
           </el-col>
577
         </el-row>
605
         </el-row>
578
         <el-row>
606
         <el-row>
607
+          <el-col :span="2" style="visibility: hidden;">
608
+            <el-form-item label="②液路"></el-form-item>
609
+          </el-col>
579
           <el-col :span="8">
610
           <el-col :span="8">
580
             <el-form-item label="消毒状态:">
611
             <el-form-item label="消毒状态:">
581
               <el-select
612
               <el-select
582
                 v-model="userform.disinfection_status"
613
                 v-model="userform.disinfection_status"
583
                 placeholder="请选择"
614
                 placeholder="请选择"
615
+                style="width:150px"
584
               >
616
               >
585
                 <el-option
617
                 <el-option
586
                   v-for="item in disinfection"
618
                   v-for="item in disinfection"
610
           <el-col :span="8">
642
           <el-col :span="8">
611
             <el-form-item label="消毒时长:">
643
             <el-form-item label="消毒时长:">
612
               <el-input
644
               <el-input
613
-                style="width:135px"
645
+                style="width:140px"
614
                 v-model="userform.longtime"
646
                 v-model="userform.longtime"
615
               ></el-input
647
               ></el-input
616
               >分钟
648
               >分钟
624
                 value-format="yyyy-MM-dd HH:mm"
656
                 value-format="yyyy-MM-dd HH:mm"
625
                 placeholder="选择时间"
657
                 placeholder="选择时间"
626
                 v-model="userform.starttime"
658
                 v-model="userform.starttime"
627
-                style="width:200px;"
659
+                style="width:150px"
628
               ></el-date-picker>
660
               ></el-date-picker>
629
             </el-form-item>
661
             </el-form-item>
630
           </el-col>
662
           </el-col>
636
                 value-format="yyyy-MM-dd HH:mm"
668
                 value-format="yyyy-MM-dd HH:mm"
637
                 placeholder="选择时间"
669
                 placeholder="选择时间"
638
                 v-model="userform.endtime"
670
                 v-model="userform.endtime"
639
-                style="width:200px;"
671
+                style="width:150px"
640
               ></el-date-picker>
672
               ></el-date-picker>
641
             </el-form-item>
673
             </el-form-item>
642
           </el-col>
674
           </el-col>
643
         </el-row>
675
         </el-row>
644
         <el-row>
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
           </el-col>
686
           </el-col>
651
           <el-col :span="8">
687
           <el-col :span="8">
652
             <el-form-item label="名称:">
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
                 <el-option
694
                 <el-option
655
                   v-for="item in names"
695
                   v-for="item in names"
656
                   :key="item.id"
696
                   :key="item.id"
661
               </el-select>
701
               </el-select>
662
             </el-form-item>
702
             </el-form-item>
663
           </el-col>
703
           </el-col>
664
-          <el-col :span="6">
704
+          <el-col :span="8">
665
             <el-form-item label="规格:">
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
             </el-form-item>
708
             </el-form-item>
669
             <span style="color:red" v-show="showone"
709
             <span style="color:red" v-show="showone"
687
           </el-col>
727
           </el-col>
688
         </el-row>
728
         </el-row>
689
         <el-row>
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
           </el-col>
740
           </el-col>
699
           <el-col :span="8">
741
           <el-col :span="8">
700
             <el-form-item label="名称:">
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
                 <el-option
748
                 <el-option
703
                   v-for="item in germs"
749
                   v-for="item in germs"
704
                   :key="item.id"
750
                   :key="item.id"
705
                   :label="item.name"
751
                   :label="item.name"
706
                   :value="item.id"
752
                   :value="item.id"
707
-                  style="width:200px"
753
+                  style="width:150px"
708
                 ></el-option>
754
                 ></el-option>
709
               </el-select>
755
               </el-select>
710
             </el-form-item>
756
             </el-form-item>
711
           </el-col>
757
           </el-col>
712
-          <el-col :span="6">
758
+          <el-col :span="8">
713
             <el-form-item label="数量:">
759
             <el-form-item label="数量:">
714
               <el-input
760
               <el-input
715
-                style="width:100px"
761
+                style="width:150px"
716
                 v-model="userform.germ_number"
762
                 v-model="userform.germ_number"
717
               ></el-input
763
               ></el-input
718
               >支
764
               >支
720
           </el-col>
766
           </el-col>
721
         </el-row>
767
         </el-row>
722
         <el-row>
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
           </el-col>
779
           </el-col>
732
-          <el-col :span="10">
780
+          <el-col :span="8">
733
             <el-form-item label="签名:">
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
                 <el-option
787
                 <el-option
736
                   v-for="item in autograph"
788
                   v-for="item in autograph"
737
                   :key="item.admin_user_id"
789
                   :key="item.admin_user_id"
2252
     margin-left: 15px;
2304
     margin-left: 15px;
2253
   }
2305
   }
2254
 }
2306
 }
2307
+#user-form {
2308
+  .el-dialog__footer {
2309
+    text-align: right;
2310
+  }
2311
+}
2255
 </style>
2312
 </style>

+ 10 - 1
src/xt_pages/workforce/components/tableData.vue View File

2028
 }
2028
 }
2029
 
2029
 
2030
 .el-table__body tr.current-row > td {
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
 </style>
2042
 </style>