Selaa lähdekoodia

Merge branch 'master' of http://git.shengws.com/csx/Vue_New

XMLWAN 5 vuotta sitten
vanhempi
commit
03c49e2814

+ 2 - 1
src/styles/index.scss Näytä tiedosto

544
   color: #3a8ee6;
544
   color: #3a8ee6;
545
 }
545
 }
546
 .el-table__body tr > td:hover {
546
 .el-table__body tr > td:hover {
547
-  background-color: #409eff;
547
+  background-color: #409eff !important;
548
+  color: #fff !important;
548
 }
549
 }

+ 137 - 170
src/xt_pages/dialysis/batch_print/batch_print_order_six.vue Näytä tiedosto

111
               诊断:
111
               诊断:
112
               <div
112
               <div
113
                 class="under_line"
113
                 class="under_line"
114
-                style="width: 640px;text-align: left;word-break: break-all;word-wrap: break-word;display: inline-block;white-space: pre-wrap;"
114
+                style="width: 740px;text-align: left;word-break: break-all;word-wrap: break-word;display: inline-block;white-space: unset;"
115
               >
115
               >
116
                 {{ record.patient.diagnose }}
116
                 {{ record.patient.diagnose }}
117
               </div>
117
               </div>
705
                           class="under_line"
705
                           class="under_line"
706
                           style="width: 150px;text-align: center"
706
                           style="width: 150px;text-align: center"
707
                         >
707
                         >
708
-                          <span
709
-                            class="under-line"
710
-                            v-if="record.prescription.anticoagulant == 0"
711
-                            >&nbsp;/</span
712
-                          >
713
-                          <span
714
-                            class="under-line"
715
-                            v-if="record.prescription.anticoagulant == 1"
716
-                            >&nbsp;无肝素</span
717
-                          >
718
-                          <span
719
-                            class="under-line"
720
-                            v-if="record.prescription.anticoagulant == 2"
721
-                            >&nbsp;普通肝素</span
722
-                          >
723
-                          <span
724
-                            class="under-line"
725
-                            v-if="record.prescription.anticoagulant == 3"
726
-                            >&nbsp;低分子肝素</span
727
-                          >
728
-                          <span
729
-                            class="under-line"
730
-                            v-if="record.prescription.anticoagulant == 4"
731
-                            >&nbsp;阿加曲班</span
732
-                          >
733
-                          <span
734
-                            class="under-line"
735
-                            v-if="record.prescription.anticoagulant == 5"
736
-                            >&nbsp;枸橼酸钠</span
737
-                          >
738
-                          <span
739
-                            class="under-line"
740
-                            v-if="record.prescription.anticoagulant == 6"
741
-                            >&nbsp;低分子肝素钙</span
742
-                          >
743
-                          <span
744
-                            class="under-line"
745
-                            v-if="record.prescription.anticoagulant == 7"
746
-                            >&nbsp;低分子肝素钠</span
747
-                          >
708
+                          {{
709
+                            record.prescription &&
710
+                            record.prescription.anticoagulant_name
711
+                              ? record.prescription.anticoagulant_name
712
+                              : "/"
713
+                          }}
748
                         </div>
714
                         </div>
749
                       </div>
715
                       </div>
750
                       <div class="inline_block" style="margin-left:20px;">
716
                       <div class="inline_block" style="margin-left:20px;">
753
                           class="under_line"
719
                           class="under_line"
754
                           style="width: 50px;text-align: center;"
720
                           style="width: 50px;text-align: center;"
755
                         >
721
                         >
756
-                          <span class="under-line">{{
722
+                          {{
723
+                            record.prescription &&
757
                             record.prescription.anticoagulant_shouji
724
                             record.prescription.anticoagulant_shouji
758
                               ? record.prescription.anticoagulant_shouji
725
                               ? record.prescription.anticoagulant_shouji
759
                               : "/"
726
                               : "/"
760
-                          }}</span>
761
-                          <span
762
-                            v-if="
763
-                              record.prescription.anticoagulant == '枸橼酸钠'
764
-                            "
765
-                            >mg</span
766
-                          >
767
-                          <span
768
-                            v-if="
769
-                              record.prescription.anticoagulant == '阿加曲班'
770
-                            "
771
-                            >mg</span
772
-                          >
773
-                          <span
774
-                            v-if="
775
-                              record.prescription.anticoagulant == '低分子肝素'
776
-                            "
777
-                            >iu</span
778
-                          >
779
-                          <span
780
-                            v-if="
781
-                              record.prescription.anticoagulant == '普通肝素'
782
-                            "
783
-                            >iu</span
784
-                          >
785
-                          <span
786
-                            v-if="record.prescription.anticoagulant == '无肝素'"
787
-                            >mg</span
788
-                          >
789
-                          <span v-if="record.prescription.anticoagulant == 6"
790
-                            >iu</span
791
-                          >
792
-                          <span v-if="record.prescription.anticoagulant == 7"
793
-                            >iu</span
794
-                          >
795
-                          &nbsp;
727
+                          }}
796
                         </div>
728
                         </div>
729
+                        lu
797
                       </div>
730
                       </div>
798
                       <div class="inline_block" style="margin-left:20px;">
731
                       <div class="inline_block" style="margin-left:20px;">
799
                         维持:
732
                         维持:
800
                         <div
733
                         <div
734
+                          v-if="
735
+                            record.prescription &&
736
+                              record.prescription.anticoagulant == 1
737
+                          "
801
                           class="under_line"
738
                           class="under_line"
802
                           style="width: 50px;text-align: center;"
739
                           style="width: 50px;text-align: center;"
803
                         >
740
                         >
804
-                          <span class="under-line"
805
-                            >&nbsp;{{
806
-                              record.prescription.anticoagulant_weichi
807
-                                ? record.prescription.anticoagulant_weichi
808
-                                : "/"
809
-                            }}</span
810
-                          >
811
-                          <span
812
-                            v-if="
813
-                              record.prescription.anticoagulant == '枸橼酸钠'
814
-                            "
815
-                            >ml/h</span
816
-                          >
817
-                          <span
818
-                            v-if="
819
-                              record.prescription.anticoagulant == '阿加曲班'
820
-                            "
821
-                            >mg/h</span
822
-                          >
823
-                          <span
824
-                            v-if="
825
-                              record.prescription.anticoagulant == '低分子肝素'
826
-                            "
827
-                            >iu/h</span
828
-                          >
829
-                          <span
830
-                            v-if="
831
-                              record.prescription.anticoagulant == '普通肝素'
832
-                            "
833
-                            >iu/h</span
834
-                          >
835
-                          <span
836
-                            v-if="record.prescription.anticoagulant == '无肝素'"
837
-                            >mg/h</span
838
-                          >
839
-                          <span v-if="record.prescription.anticoagulant == 6"
840
-                            >iu/h</span
841
-                          >
842
-                          <span v-if="record.prescription.anticoagulant == 7"
843
-                            >iu/h</span
844
-                          >
741
+                          {{
742
+                            record.prescription &&
743
+                            record.prescription.anticoagulant_weichi
744
+                              ? record.prescription.anticoagulant_weichi
745
+                              : "/"
746
+                          }}
845
                         </div>
747
                         </div>
748
+                        <div
749
+                          v-if="
750
+                            record.prescription &&
751
+                              record.prescription.anticoagulant != 1
752
+                          "
753
+                          class="under_line"
754
+                          style="width: 50px;text-align: center;"
755
+                        >
756
+                          {{
757
+                            record.prescription &&
758
+                            record.prescription.anticoagulant_weichi
759
+                              ? record.prescription.anticoagulant_weichi
760
+                              : 0
761
+                          }}
762
+                        </div>
763
+                        lu
846
                       </div>
764
                       </div>
847
                       <div class="inline_block" style="margin-left:20px;">
765
                       <div class="inline_block" style="margin-left:20px;">
848
                         总量:
766
                         总量:
850
                           class="under_line"
768
                           class="under_line"
851
                           style="width: 50px;text-align: center;"
769
                           style="width: 50px;text-align: center;"
852
                         >
770
                         >
853
-                          <span class="under-line"
854
-                            >&nbsp;{{
855
-                              record.prescription.anticoagulant_zongliang
856
-                                ? record.prescription.anticoagulant_zongliang
857
-                                : "0"
858
-                            }}</span
859
-                          >
860
-                          <span
861
-                            v-if="
862
-                              record.prescription.anticoagulant == '枸橼酸钠'
863
-                            "
864
-                            >mg</span
865
-                          >
866
-                          <span
867
-                            v-if="
868
-                              record.prescription.anticoagulant == '阿加曲班'
869
-                            "
870
-                            >mg</span
871
-                          >
872
-                          <span
873
-                            v-if="
874
-                              record.prescription.anticoagulant == '低分子肝素'
875
-                            "
876
-                            >iu</span
877
-                          >
878
-                          <span
879
-                            v-if="
880
-                              record.prescription.anticoagulant == '普通肝素'
881
-                            "
882
-                            >iu</span
883
-                          >
884
-                          <span
885
-                            v-if="record.prescription.anticoagulant == '无肝素'"
886
-                            >mg</span
887
-                          >
888
-                          <span v-if="record.prescription.anticoagulant == 6"
889
-                            >iu</span
890
-                          >
891
-                          <span v-if="record.prescription.anticoagulant == 7"
892
-                            >iu</span
893
-                          >
771
+                          {{
772
+                            record.prescription &&
773
+                            record.prescription.anticoagulant_zongliang
774
+                              ? record.prescription.anticoagulant_zongliang
775
+                              : "/"
776
+                          }}
894
                         </div>
777
                         </div>
778
+                        lu
895
                       </div>
779
                       </div>
896
                       <div class="inline_block" style="margin-left:20px;">
780
                       <div class="inline_block" style="margin-left:20px;">
897
                         透析机号:
781
                         透析机号:
1434
                       class="row"
1318
                       class="row"
1435
                       style="padding: 2px 0;line-height:23px;display:flex;"
1319
                       style="padding: 2px 0;line-height:23px;display:flex;"
1436
                     >
1320
                     >
1437
-                      <div class="inline_block" style="flex:1;">
1321
+                      <!-- <div class="inline_block" style="flex:1;">
1438
                         透析器凝血:
1322
                         透析器凝血:
1439
                         <div
1323
                         <div
1440
                           class="under_line"
1324
                           class="under_line"
1447
                               : "/"
1331
                               : "/"
1448
                           }}
1332
                           }}
1449
                         </div>
1333
                         </div>
1450
-                      </div>
1334
+                      </div> -->
1451
                       <div class="inline_block" style="flex:1;">
1335
                       <div class="inline_block" style="flex:1;">
1452
                         内瘘:
1336
                         内瘘:
1453
                         <div
1337
                         <div
1508
                         </div>
1392
                         </div>
1509
                         min
1393
                         min
1510
                       </div>
1394
                       </div>
1395
+                      <!-- 只是占位 -->
1396
+                      <div class="inline_block" style="flex:1;visibility: hidden;">
1397
+                        透析器凝血:
1398
+                        <div
1399
+                          class="under_line"
1400
+                          style="width: 70px;text-align: center"
1401
+                        >
1402
+                          {{
1403
+                            record.assessment_after_dislysis &&
1404
+                            record.assessment_after_dislysis.cruor
1405
+                              ? record.assessment_after_dislysis.cruor
1406
+                              : "/"
1407
+                          }}
1408
+                        </div>
1409
+                      </div>
1511
                     </div>
1410
                     </div>
1512
 
1411
 
1513
                     <div
1412
                     <div
1586
                         ml
1485
                         ml
1587
                       </div>
1486
                       </div>
1588
                     </div>
1487
                     </div>
1589
-
1488
+                    <div
1489
+                      class="row"
1490
+                      style="padding: 2px 0;line-height:23px;display:flex;"
1491
+                    >
1492
+                      <div class="inline_block" style="flex:1;">
1493
+                        透析器凝血:
1494
+                        <span
1495
+                          style="width: 95%;line-height: 25px;text-align: left;margin-left: 2px;text-underline-position: under; text-decoration: underline;"
1496
+                        >
1497
+                          {{
1498
+                            record.assessment_after_dislysis &&
1499
+                            record.assessment_after_dislysis.cruor
1500
+                              ? record.assessment_after_dislysis.cruor
1501
+                              : "/"
1502
+                          }}
1503
+                        </span>
1504
+                      </div>
1505
+                    </div>
1590
                     <div
1506
                     <div
1591
                       class="row"
1507
                       class="row"
1592
                       style="padding: 2px 0;line-height:23px;display:flex;"
1508
                       style="padding: 2px 0;line-height:23px;display:flex;"
1616
                         穿刺护士:
1532
                         穿刺护士:
1617
                         <div
1533
                         <div
1618
                           class="under_line"
1534
                           class="under_line"
1619
-                          style="width: 60px;text-align: center"
1535
+                          style="width: 80px;text-align: center"
1620
                         >
1536
                         >
1621
                           <span
1537
                           <span
1622
                             v-if="
1538
                             v-if="
1656
                         治疗护士:
1572
                         治疗护士:
1657
                         <div
1573
                         <div
1658
                           class="under_line"
1574
                           class="under_line"
1659
-                          style="width: 60px;text-align: center"
1575
+                          style="width: 80px;text-align: center"
1660
                         >
1576
                         >
1661
                           <span
1577
                           <span
1662
                             v-if="
1578
                             v-if="
1691
                       </div>
1607
                       </div>
1692
                       <div class="inline_block" style="flex:1;">
1608
                       <div class="inline_block" style="flex:1;">
1693
                         核对人员:
1609
                         核对人员:
1694
-                        <div v-if="record.check">
1610
+                        <div
1611
+                          class="under_line"
1612
+                          style="width: 80px;text-align: left"
1613
+                          v-if="record.dialysis_order == null"
1614
+                        ></div>
1615
+                        <div v-if="record.check" class="under_line" style="width: 80px;text-align: left">
1695
                           <div
1616
                           <div
1696
-                            class="under_line"
1697
-                            style="width: 60px;text-align: left"
1617
+                            style="width: 80px;text-align: left;display: inline-block;white-space: nowrap;"
1698
                             v-if="
1618
                             v-if="
1699
                               record.dialysis_order != null &&
1619
                               record.dialysis_order != null &&
1700
                                 record.dialysis_order.start_nurse ==
1620
                                 record.dialysis_order.start_nurse ==
1720
                               style="height: 40px;"
1640
                               style="height: 40px;"
1721
                             />
1641
                             />
1722
                           </div>
1642
                           </div>
1643
+                          <div
1644
+                            class="under_line"
1645
+                            style="width: 80px;text-align: left"
1646
+                            v-if="
1647
+                              record.dialysis_order != null &&
1648
+                                record.dialysis_order.start_nurse ==
1649
+                                  record.check.modifier
1650
+                            "
1651
+                          >
1652
+                            <span
1653
+                              v-if="
1654
+                                setAdminUserES(record.check, 'creater') == ''
1655
+                              "
1656
+                              >{{ getAdminUser(record.check, "creater") }}</span
1657
+                            >
1658
+                            <img
1659
+                              class="es-img"
1660
+                              :src="setAdminUserES(record.check, 'creater')"
1661
+                              alt=""
1662
+                              srcset=""
1663
+                              v-else
1664
+                            />
1665
+                          </div>
1666
+                          <div
1667
+                            class="under_line"
1668
+                            style="width: 80px;text-align: left"
1669
+                            v-if="
1670
+                              record.dialysis_order != null &&
1671
+                                record.dialysis_order.start_nurse !=
1672
+                                  record.check.modifier &&
1673
+                                record.dialysis_order.start_nurse !=
1674
+                                  record.check.creater
1675
+                            "
1676
+                          >
1677
+                            <span
1678
+                              v-if="
1679
+                                setAdminUserES(record.check, 'creater') == ''
1680
+                              "
1681
+                              >{{ getAdminUser(record.check, "creater") }}</span
1682
+                            >
1683
+                            <img
1684
+                              class="es-img"
1685
+                              :src="setAdminUserES(record.check, 'creater')"
1686
+                              alt=""
1687
+                              srcset=""
1688
+                              v-else
1689
+                            />
1690
+                          </div>
1723
                         </div>
1691
                         </div>
1724
-
1725
                         <div
1692
                         <div
1726
                           class="under_line"
1693
                           class="under_line"
1727
                           style="width: 80px;text-align: left"
1694
                           style="width: 80px;text-align: left"
1732
                         下机护士:
1699
                         下机护士:
1733
                         <div
1700
                         <div
1734
                           class="under_line"
1701
                           class="under_line"
1735
-                          style="width: 60px;text-align: center"
1702
+                          style="width: 80px;text-align: center"
1736
                         >
1703
                         >
1737
                           <span
1704
                           <span
1738
                             v-if="
1705
                             v-if="

+ 3 - 3
src/xt_pages/dialysis/details/NavIgation.vue Näytä tiedosto

642
 }
642
 }
643
 .redpoint {
643
 .redpoint {
644
   display: inline-block;
644
   display: inline-block;
645
-  height: 30px;
646
-  width: 30px;
645
+  height: 26px;
646
+  width: 26px;
647
   line-height: 26px;
647
   line-height: 26px;
648
   text-align: center;
648
   text-align: center;
649
-  font-size: 0.8em;
649
+  font-size: 16px;
650
   border-radius: 20px;
650
   border-radius: 20px;
651
   color: #fff;
651
   color: #fff;
652
   background: #f56c6c;
652
   background: #f56c6c;

+ 13 - 2
src/xt_pages/dialysis/details/dialog/monitor_dialog.vue Näytä tiedosto

1244
 <style style="stylesheet/scss" lang="scss">
1244
 <style style="stylesheet/scss" lang="scss">
1245
 .dialog_box .current-box-class .current-row > td {
1245
 .dialog_box .current-box-class .current-row > td {
1246
   background: #6fb5fa;
1246
   background: #6fb5fa;
1247
-  color: white;
1247
+  // color: #000;
1248
   /* font-size: 12px; */
1248
   /* font-size: 12px; */
1249
 }
1249
 }
1250
 
1250
 
1251
 .dialog_box .current-box-class .current-row:hover > td {
1251
 .dialog_box .current-box-class .current-row:hover > td {
1252
   background: #6fb5fa;
1252
   background: #6fb5fa;
1253
-  color: white;
1253
+  // color: white;
1254
   /* font-size: 12px; */
1254
   /* font-size: 12px; */
1255
 }
1255
 }
1256
 .el-table__body-wrapper::-webkit-scrollbar {
1256
 .el-table__body-wrapper::-webkit-scrollbar {
1257
   height: 20px;
1257
   height: 20px;
1258
 }
1258
 }
1259
+.dialog_box .current-box-class .current-row{
1260
+  background: #87ceff;
1261
+}
1262
+.dialog_box tr:hover > td {
1263
+  background-color: #ecf5ff !important;
1264
+  color: #3a8ee6;
1265
+}
1266
+.dialog_box tr > td:hover {
1267
+  background-color: #409eff !important;
1268
+  color: #fff !important;
1269
+}
1259
 </style>
1270
 </style>

+ 6 - 1
src/xt_pages/user/components/PatientForm.vue Näytä tiedosto

650
             </el-form-item>
650
             </el-form-item>
651
           </el-col>
651
           </el-col>
652
 
652
 
653
-          <el-col :span="24" align="right">
653
+          <el-col :span="24" align="right" class="newCol">
654
             <el-form-item>
654
             <el-form-item>
655
               <el-button @click="$router.back(-1)" icon="el-icon-refresh" size="small">取消</el-button>
655
               <el-button @click="$router.back(-1)" icon="el-icon-refresh" size="small">取消</el-button>
656
               <el-button
656
               <el-button
1594
 .el-select-dropdown {
1594
 .el-select-dropdown {
1595
   z-index: 998 !important;
1595
   z-index: 998 !important;
1596
 }
1596
 }
1597
+.newCol{
1598
+  position: fixed;
1599
+  bottom: 0;
1600
+  right: 50px;
1601
+}
1597
 </style>
1602
 </style>
1598
 
1603
 

+ 1 - 1
src/xt_pages/workforce/components/tableWeeks.vue Näytä tiedosto

144
 
144
 
145
     methods: {
145
     methods: {
146
       printAction(){
146
       printAction(){
147
-        console.log("111111")
147
+        console.log("111111",this.week_type)
148
         this.$router.push({ path: '/schedule/remind/print?week_type=' + this.week_type })
148
         this.$router.push({ path: '/schedule/remind/print?week_type=' + this.week_type })
149
 
149
 
150
       },
150
       },

+ 52 - 2
src/xt_pages/workforce/remind_print.vue Näytä tiedosto

18
       <div id="print_content">
18
       <div id="print_content">
19
         <div class="print_main_content">
19
         <div class="print_main_content">
20
           <div class="order_title_panl">
20
           <div class="order_title_panl">
21
-            <span class="main_title">{{day}}排班提醒</span>
21
+            <span class="main_title">{{day}}排班提醒({{ currentDate }})</span>
22
           </div>
22
           </div>
23
           <div class="table_panel">
23
           <div class="table_panel">
24
             <table class="table">
24
             <table class="table">
109
         td_4_width: '45%',
109
         td_4_width: '45%',
110
         modeOptions: null,
110
         modeOptions: null,
111
         anticoagulants_confit:null,
111
         anticoagulants_confit:null,
112
+        currentDate:''
112
       }
113
       }
113
     },
114
     },
114
     components: {
115
     components: {
115
       BreadCrumb
116
       BreadCrumb
116
     },
117
     },
117
     created() {
118
     created() {
118
-
119
+     this.currentDate = this.getCurrentDate()
119
       this.modeOptions = this.$store.getters.treatment_mode
120
       this.modeOptions = this.$store.getters.treatment_mode
120
       this.anticoagulants_confit = this.$store.getters.anticoagulants_confit
121
       this.anticoagulants_confit = this.$store.getters.anticoagulants_confit
121
       this.week_type = this.$route.query.week_type
122
       this.week_type = this.$route.query.week_type
212
             break
213
             break
213
         }
214
         }
214
         return type_name
215
         return type_name
216
+      },
217
+      getCurrentDate: function () {
218
+        console.log(this.$route.query.week_type)
219
+        var myDate = new Date();
220
+        var year = myDate.getFullYear(); //年
221
+        var month = myDate.getMonth() + 1; //月
222
+        var day = myDate.getDate(); //日
223
+        var newday = myDate.getDay();
224
+        var days = parseInt(this.$route.query.week_type);
225
+        var dayNum = parseInt(this.$route.query.week_type);
226
+        switch(days) {
227
+          case 1:
228
+            days = '星期一';
229
+            break;
230
+          case 2:
231
+            days = '星期二';
232
+            break;
233
+          case 3:
234
+            days = '星期三';
235
+            break;
236
+          case 4:
237
+            days = '星期四';
238
+            break;
239
+          case 5:
240
+            days = '星期五';
241
+            break;
242
+          case 6:
243
+            days = '星期六';
244
+            break;
245
+          case 7:
246
+            days = '星期日';
247
+            break;
248
+        }
249
+        if(newday > dayNum){
250
+          let lastDay = day - (newday - dayNum)
251
+          console.log("lastDay1",lastDay)
252
+          var str = year + "年" + month + "月" + lastDay + "日  " + days;
253
+          return str;
254
+        }else if(newday < dayNum){
255
+          let lastDay = day + (dayNum - newday)
256
+          console.log("lastDay2",lastDay)
257
+          var str = year + "年" + month + "月" + lastDay + "日  " + days;
258
+          return str;
259
+        }else{
260
+          var str = year + "年" + month + "月" + day + "日  " + days;
261
+          return str;
262
+        }
263
+        
264
+        
215
       }
265
       }
216
     }
266
     }
217
   }
267
   }