ソースを参照

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

XMLWAN 5 年 前
コミット
03c49e2814

+ 2 - 1
src/styles/index.scss ファイルの表示

@@ -544,5 +544,6 @@ code {
544 544
   color: #3a8ee6;
545 545
 }
546 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 ファイルの表示

@@ -111,7 +111,7 @@
111 111
               诊断:
112 112
               <div
113 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 116
                 {{ record.patient.diagnose }}
117 117
               </div>
@@ -705,46 +705,12 @@
705 705
                           class="under_line"
706 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 714
                         </div>
749 715
                       </div>
750 716
                       <div class="inline_block" style="margin-left:20px;">
@@ -753,96 +719,48 @@
753 719
                           class="under_line"
754 720
                           style="width: 50px;text-align: center;"
755 721
                         >
756
-                          <span class="under-line">{{
722
+                          {{
723
+                            record.prescription &&
757 724
                             record.prescription.anticoagulant_shouji
758 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 728
                         </div>
729
+                        lu
797 730
                       </div>
798 731
                       <div class="inline_block" style="margin-left:20px;">
799 732
                         维持:
800 733
                         <div
734
+                          v-if="
735
+                            record.prescription &&
736
+                              record.prescription.anticoagulant == 1
737
+                          "
801 738
                           class="under_line"
802 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 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 764
                       </div>
847 765
                       <div class="inline_block" style="margin-left:20px;">
848 766
                         总量:
@@ -850,48 +768,14 @@
850 768
                           class="under_line"
851 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 777
                         </div>
778
+                        lu
895 779
                       </div>
896 780
                       <div class="inline_block" style="margin-left:20px;">
897 781
                         透析机号:
@@ -1434,7 +1318,7 @@
1434 1318
                       class="row"
1435 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 1323
                         <div
1440 1324
                           class="under_line"
@@ -1447,7 +1331,7 @@
1447 1331
                               : "/"
1448 1332
                           }}
1449 1333
                         </div>
1450
-                      </div>
1334
+                      </div> -->
1451 1335
                       <div class="inline_block" style="flex:1;">
1452 1336
                         内瘘:
1453 1337
                         <div
@@ -1508,6 +1392,21 @@
1508 1392
                         </div>
1509 1393
                         min
1510 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 1410
                     </div>
1512 1411
 
1513 1412
                     <div
@@ -1586,7 +1485,24 @@
1586 1485
                         ml
1587 1486
                       </div>
1588 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 1506
                     <div
1591 1507
                       class="row"
1592 1508
                       style="padding: 2px 0;line-height:23px;display:flex;"
@@ -1616,7 +1532,7 @@
1616 1532
                         穿刺护士:
1617 1533
                         <div
1618 1534
                           class="under_line"
1619
-                          style="width: 60px;text-align: center"
1535
+                          style="width: 80px;text-align: center"
1620 1536
                         >
1621 1537
                           <span
1622 1538
                             v-if="
@@ -1656,7 +1572,7 @@
1656 1572
                         治疗护士:
1657 1573
                         <div
1658 1574
                           class="under_line"
1659
-                          style="width: 60px;text-align: center"
1575
+                          style="width: 80px;text-align: center"
1660 1576
                         >
1661 1577
                           <span
1662 1578
                             v-if="
@@ -1691,10 +1607,14 @@
1691 1607
                       </div>
1692 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 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 1618
                             v-if="
1699 1619
                               record.dialysis_order != null &&
1700 1620
                                 record.dialysis_order.start_nurse ==
@@ -1720,8 +1640,55 @@
1720 1640
                               style="height: 40px;"
1721 1641
                             />
1722 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 1691
                         </div>
1724
-
1725 1692
                         <div
1726 1693
                           class="under_line"
1727 1694
                           style="width: 80px;text-align: left"
@@ -1732,7 +1699,7 @@
1732 1699
                         下机护士:
1733 1700
                         <div
1734 1701
                           class="under_line"
1735
-                          style="width: 60px;text-align: center"
1702
+                          style="width: 80px;text-align: center"
1736 1703
                         >
1737 1704
                           <span
1738 1705
                             v-if="

+ 3 - 3
src/xt_pages/dialysis/details/NavIgation.vue ファイルの表示

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

+ 13 - 2
src/xt_pages/dialysis/details/dialog/monitor_dialog.vue ファイルの表示

@@ -1244,16 +1244,27 @@ export default {
1244 1244
 <style style="stylesheet/scss" lang="scss">
1245 1245
 .dialog_box .current-box-class .current-row > td {
1246 1246
   background: #6fb5fa;
1247
-  color: white;
1247
+  // color: #000;
1248 1248
   /* font-size: 12px; */
1249 1249
 }
1250 1250
 
1251 1251
 .dialog_box .current-box-class .current-row:hover > td {
1252 1252
   background: #6fb5fa;
1253
-  color: white;
1253
+  // color: white;
1254 1254
   /* font-size: 12px; */
1255 1255
 }
1256 1256
 .el-table__body-wrapper::-webkit-scrollbar {
1257 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 1270
 </style>

+ 6 - 1
src/xt_pages/user/components/PatientForm.vue ファイルの表示

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

+ 1 - 1
src/xt_pages/workforce/components/tableWeeks.vue ファイルの表示

@@ -144,7 +144,7 @@
144 144
 
145 145
     methods: {
146 146
       printAction(){
147
-        console.log("111111")
147
+        console.log("111111",this.week_type)
148 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 ファイルの表示

@@ -18,7 +18,7 @@
18 18
       <div id="print_content">
19 19
         <div class="print_main_content">
20 20
           <div class="order_title_panl">
21
-            <span class="main_title">{{day}}排班提醒</span>
21
+            <span class="main_title">{{day}}排班提醒({{ currentDate }})</span>
22 22
           </div>
23 23
           <div class="table_panel">
24 24
             <table class="table">
@@ -109,13 +109,14 @@
109 109
         td_4_width: '45%',
110 110
         modeOptions: null,
111 111
         anticoagulants_confit:null,
112
+        currentDate:''
112 113
       }
113 114
     },
114 115
     components: {
115 116
       BreadCrumb
116 117
     },
117 118
     created() {
118
-
119
+     this.currentDate = this.getCurrentDate()
119 120
       this.modeOptions = this.$store.getters.treatment_mode
120 121
       this.anticoagulants_confit = this.$store.getters.anticoagulants_confit
121 122
       this.week_type = this.$route.query.week_type
@@ -212,6 +213,55 @@
212 213
             break
213 214
         }
214 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
   }