28169 10 ヶ月 前
コミット
0aa04e3924

+ 55 - 0
src/utils/tools.js ファイルの表示

@@ -21,13 +21,68 @@ export function jsGetAge(strBirthday, splitstr) {
21 21
   // debugger
22 22
   var returnAge
23 23
   var strBirthdayArr = strBirthday.split(splitstr)
24
+ 
24 25
   var birthYear = strBirthdayArr[0]
25 26
   var birthMonth = strBirthdayArr[1]
26 27
   var birthDay = strBirthdayArr[2]
28
+
29
+  
27 30
   var d = new Date()
28 31
   var nowYear = d.getFullYear()
29 32
   var nowMonth = d.getMonth() + 1
30 33
   var nowDay = d.getDate()
34
+  
35
+  if (nowYear == birthYear) {
36
+    returnAge = 0 // 同年 则为0岁
37
+  } else {
38
+    var ageDiff = nowYear - birthYear // 年之差
39
+    if (ageDiff > 0) {
40
+      if (nowMonth == birthMonth) {
41
+        var dayDiff = nowDay - birthDay // 日之差
42
+        if (dayDiff < 0) {
43
+          returnAge = ageDiff - 1
44
+        } else {
45
+          returnAge = ageDiff
46
+        }
47
+      } else {
48
+        var monthDiff = nowMonth - birthMonth // 月之差
49
+        if (monthDiff < 0) {
50
+          returnAge = ageDiff - 1
51
+        } else {
52
+          returnAge = ageDiff
53
+        }
54
+      }
55
+    } else {
56
+      returnAge = -1 // 返回-1 表示出生日期输入错误 晚于今天
57
+    }
58
+  }
59
+
60
+  return returnAge // 返回周岁年龄
61
+}
62
+
63
+
64
+export function jsGetAgeOne(strBirthday,splitstr, nowYear,nowMonth,nowDay) {
65
+ 
66
+  // debugger
67
+  var returnAge
68
+  var strBirthdayArr = strBirthday.split(splitstr)
69
+  console.log("strBirthdayArr",strBirthdayArr)
70
+  var birthYear = strBirthdayArr[0]
71
+  var birthMonth = strBirthdayArr[1]
72
+  var birthDay = strBirthdayArr[2]
73
+  // var d = new Date()
74
+  // var anowYear = d.getFullYear()
75
+  // var anowMonth = d.getMonth() + 1
76
+  // var anowDay = d.getDate()
77
+  
78
+  // console.log("anowYear",anowYear)
79
+  // console.log("anowMonth",anowMonth)
80
+  // console.log("anowDay",anowDay)
81
+  
82
+  console.log("brityYear666",strBirthdayArr[0])
83
+  console.log("birthMonth5656",strBirthdayArr[1])
84
+  console.log("birthDay5656",strBirthdayArr[2])
85
+  
31 86
   if (nowYear == birthYear) {
32 87
     returnAge = 0 // 同年 则为0岁
33 88
   } else {

+ 2 - 3
src/xt_pages/dialysis/batch_print/batch_print_order_sixtyTwo.vue ファイルの表示

@@ -56,9 +56,8 @@
56 56
                <!-- <span v-if="record.dialysis_order && record.dialysis_order.dialysis_date<=1672416000">{{record.patient.total_dialysis + record.patient.user_sys_before_count}}</span>  
57 57
                <span v-if="record.dialysis_order && record.dialysis_order.dialysis_date>=1672502400">{{record.patient.total_dialysis}}</span>   -->
58 58
               <span>
59
-                            <!-- {{ record.Count ? record.Count:''}} -->
60
-                            {{ record.patient.total_dialysis }}
61
-                        </span>
59
+                 {{ record.Count ? record.Count:''}}  
60
+                </span>
62 61
               </span>
63 62
             </td>
64 63
                   <td style="text-align:center;">

+ 1 - 1
src/xt_pages/dialysis/bloodPresssWatch.vue ファイルの表示

@@ -1318,7 +1318,7 @@
1318 1318
         align="right"
1319 1319
         @size-change="handleSizeChange"
1320 1320
         @current-change="handleCurrentChange"
1321
-        :page-sizes="[20, 40, 60, 80,100]"
1321
+        :page-sizes="[20, 40, 60, 80,100,300,500]"
1322 1322
         :page-size="10"
1323 1323
         background
1324 1324
         style="margin-top:20px;"

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

@@ -357,7 +357,7 @@
357 357
 
358 358
         <li v-if="isShow('维持时长')">
359 359
           <label>维持时长: </label>
360
-          <span class="content">{{this.prescription.anticoagulant_weichi_hour}}</span>
360
+          <span class="content">{{this.prescription.anticoagulant_weichi_hour?this.prescription.anticoagulant_weichi_hour:"0"}}</span>
361 361
         </li>
362 362
 
363 363
         <li
@@ -449,7 +449,7 @@
449 449
 
450 450
          <li v-if="isShow('葡萄糖')">
451 451
           <label>葡萄糖: </label>
452
-          <span class="content">{{this.prescription.amylaceum}}</span>
452
+          <span class="content">{{this.prescription.amylaceum?this.prescription.amylaceum:0}}</span>
453 453
         </li>
454 454
 
455 455
         <li v-if="isShow('单超时长')">

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

@@ -475,6 +475,8 @@ export default {
475 475
         accepts.way =1
476 476
         accepts.posture=1
477 477
         accepts.condition =2
478
+        accepts.consciousness = 1
479
+        accepts.appetite =1
478 480
 
479 481
       }
480 482
       this.accepts = accepts;

+ 11 - 5
src/xt_pages/dialysis/details/dialog/dialysisPrescriptionDialog.vue ファイルの表示

@@ -2803,7 +2803,7 @@ mu
2803 2803
         }
2804 2804
         // console.log('this.dialysisPrescription.mode_id', this.dialysisPrescription.mode_id)
2805 2805
         // console.log('this.schedual', schedual.mode_id)
2806
-        if (pre.mode_id == 2 || pre.mode_id == 5 || pre.mode_id == 12 || schedual.mode_id == 2 || schedual.mode_id == 5 || schedual.mode_id == 12) {
2806
+        if (pre.mode_id == 2 || pre.mode_id == 5 || pre.mode_id == 12 || schedual.mode_id == 2 || schedual.mode_id == 5 || schedual.mode_id == 12 || schedual.mode_id == 0) {
2807 2807
           this.zhiShow = true
2808 2808
           this.huShow = true
2809 2809
           this.totalShow = true
@@ -2815,7 +2815,6 @@ mu
2815 2815
           pre.mode_id == 7 ||
2816 2816
           pre.mode_id == 8 ||
2817 2817
           pre.mode_id == 9 ||
2818
-          pre.mode_id == 10 ||
2819 2818
           pre.mode_id == 11 ||
2820 2819
           pre.mode_id == 13 ||
2821 2820
           pre.mode_id == 14 ||
@@ -2852,11 +2851,19 @@ mu
2852 2851
               this.dialysisPrescription.dialysate_flow = 500
2853 2852
             }
2854 2853
 
2855
-            if(this.$store.getters.xt_user.org.id == 10598){
2854
+            if(this.$store.getters.xt_user.org.id == 10598 || this.$store.getters.xt_user.org.id == 10612){
2856 2855
                if(this.dialysisPrescription.dialysis_duration_minute == ""){
2857 2856
                  this.dialysisPrescription.dialysis_duration_minute =0
2858 2857
 
2859 2858
                }
2859
+
2860
+               if(this.dialysisPrescription.anticoagulant_weichi == ""){
2861
+                  this.dialysisPrescription.anticoagulant_weichi = 0
2862
+               }
2863
+
2864
+               if(this.dialysisPrescription.amylaceum == ""){
2865
+                this.dialysisPrescription.amylaceum = 0
2866
+               }
2860 2867
             }
2861 2868
         }
2862 2869
         if (this.predialysis == null || this.predialysis.id == 0) {
@@ -3036,7 +3043,7 @@ mu
3036 3043
             //   }
3037 3044
 
3038 3045
             // }
3039
-            if(this.dialysisPrescription.mode_id!=2 && this.dialysisPrescription.mode_id!=5 && this.dialysisPrescription.mode_id!=12){
3046
+            if(this.dialysisPrescription.mode_id!=2 && this.dialysisPrescription.mode_id!=5 && this.dialysisPrescription.mode_id!=12 && this.dialysisPrescription.mode_id!=10){
3040 3047
               this.dialysisPrescription.displace_liqui_part = 0
3041 3048
               this.dialysisPrescription.displace_liqui_value = 0
3042 3049
               this.dialysisPrescription.replacement_total = 0
@@ -4446,7 +4453,6 @@ mu
4446 4453
         id === 7 ||
4447 4454
         id === 8 ||
4448 4455
         id === 9 ||
4449
-        id === 10 ||
4450 4456
         id === 11 ||
4451 4457
         id === 13 ||
4452 4458
         id === 14 ||

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

@@ -266,7 +266,7 @@
266 266
                 org_id == 10599 ||
267 267
                 org_id == 10597 ||
268 268
                 org_id == 10599 || 
269
-                org_id == 10610) &&
269
+                org_id == 10612) &&
270 270
                 org_id!=10387
271 271
             "
272 272
           >
@@ -337,7 +337,7 @@
337 337
               && org_id!=10432 && org_id!=10445
338 338
               && org_id!=10410 && org_id!=10495 &&
339 339
                org_id!=10485 && org_id!=10395 && org_id!=10375
340
-               && org_id!=10480  && org_id!=10551 && org_id!=10597 && org_id!=10599 && org_id!=10610)
340
+               && org_id!=10480  && org_id!=10551 && org_id!=10597 && org_id!=10599 && org_id!=10612)
341 341
               || org_id == 10387
342 342
             "
343 343
           >
@@ -393,7 +393,7 @@
393 393
                 org_id == 10410 ||
394 394
                 org_id == 10495  ||
395 395
                 org_id == 10395
396
-                || org_id == 10485 || org_id == 10375 || org_id ==10480 || org_id ==10551 || org_id ==10597 || org_id ==10599 || org_id ==10610)
396
+                || org_id == 10485 || org_id == 10375 || org_id ==10480 || org_id ==10551 || org_id ==10597 || org_id ==10599 || org_id ==10612)
397 397
                 && org_id!=10387
398 398
             "
399 399
           >
@@ -446,7 +446,7 @@
446 446
               org_id!=10432 &&
447 447
               org_id!=10445 &&
448 448
               org_id!=10410 && org_id!=10495
449
-              && org_id!=10485 && org_id!=10395 && org_id!=10375 && org_id!=10480 && org_id!=10551 && org_id!=10597 && org_id!=10599&& org_id!=10610 ) ||
449
+              && org_id!=10485 && org_id!=10395 && org_id!=10375 && org_id!=10480 && org_id!=10551 && org_id!=10597 && org_id!=10599&& org_id!=10612 ) ||
450 450
               org_id == 10387
451 451
             "
452 452
           >
@@ -1177,7 +1177,7 @@
1177 1177
                 org_id== 10432 ||
1178 1178
                 org_id== 10445 ||
1179 1179
                 org_id== 10410 ||
1180
-                org_id == 10485 || org_id == 10375 || org_id == 10480 || org_id == 10551 || org_id ==10610) &&
1180
+                org_id == 10485 || org_id == 10375 || org_id == 10480 || org_id == 10551 || org_id ==10612) &&
1181 1181
                 org_id!=10387
1182 1182
             "
1183 1183
           >
@@ -1225,7 +1225,7 @@
1225 1225
               org_id!=10445 &&
1226 1226
               org_id!=10410 &&
1227 1227
               org_id!=10485 &&
1228
-              org_id!=10375 &&  org_id!=10480 &&  org_id!=10551 && org_id!=10610)
1228
+              org_id!=10375 &&  org_id!=10480 &&  org_id!=10551 && org_id!=10612)
1229 1229
               || org_id == 10387
1230 1230
             "
1231 1231
           >
@@ -1289,7 +1289,7 @@
1289 1289
                 org_id == 10551 ||
1290 1290
                 org_id == 10597||
1291 1291
                 org_id == 10599 ||
1292
-                org_id ==10610)
1292
+                org_id ==10612)
1293 1293
                 && org_id!=10387
1294 1294
             "
1295 1295
           >
@@ -1353,7 +1353,7 @@
1353 1353
               org_id!=10551 &&
1354 1354
               org_id!=10597 &&
1355 1355
               org_id!=10599 &&
1356
-              org_id!=10610
1356
+              org_id!=10612
1357 1357
               )
1358 1358
               || org_id == 10387
1359 1359
             "

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

@@ -15,10 +15,10 @@
15 15
           <th width="76px">静脉压/动脉压({{monitores[0]&&monitores[0]['venous_pressure_type'] == 2 ? 'kpa' : 'mmHg'}})</th>
16 16
           <th v-if="isShow('血流量')" width="92px">血流量(ml/min)</th>
17 17
           <th v-if="isShow('跨膜压')" width="76px">跨膜压({{monitores[0]&&monitores[0]['transmembrane_pressure_type'] == 2 ? 'kpa' : 'mmHg'}})</th>
18
-          <th v-if=" isShow('超滤量') &&(template_id == 6 || template_id == 9 || template_id == 10 || template_id == 11 || template_id == 13 || template_id == 17 || template_id == 18 || template_id == 19 || template_id == 20 || template_id == 21 || template_id == 22 || template_id == 23 || template_id == 24 || template_id == 26 || template_id == 27 || template_id == 28 || template_id == 29 || template_id == 30 || template_id == 31 || template_id == 32 || template_id == 34 || template_id == 35 || template_id == 36 || template_id == 38 || template_id == 39 || template_id == 40  || template_id == 41 || template_id == 43 || template_id == 44 || template_id == 46 || template_id == 47 || template_id == 48 || this.$store.getters.xt_user.template_info.org_id == 9555 || template_id == 53 || template_id == 54 || template_id == 56 || template_id == 60 || template_id == 65 || this.$store.getters.xt_user.template_info.org_id == 10340  || this.$store.getters.xt_user.template_info.org_id == 10432 || this.$store.getters.xt_user.template_info.org_id == 10445 || this.$store.getters.xt_user.template_info.org_id == 10410 || this.$store.getters.xt_user.template_info.org_id == 10485 || this.$store.getters.xt_user.template_info.org_id == 10375 || this.$store.getters.xt_user.template_info.org_id == 10480 || this.$store.getters.xt_user.template_info.org_id == 10599 || this.$store.getters.xt_user.template_info.org_id == 10597  || this.$store.getters.xt_user.template_info.org_id == 10610) &&this.$store.getters.xt_user.template_info.org_id!=10387 " width="76px" > 超滤量(ml)</th>
19
-          <th v-if=" isShow('超滤量') && (template_id != 6 && template_id != 9 && template_id != 10 && template_id != 11 && template_id != 13 && template_id != 17 && template_id != 18 && template_id != 19 && template_id != 20 && template_id != 21 && template_id != 22 && template_id != 23 && template_id != 24 && template_id != 26 && template_id !=27 && template_id!=28 && template_id!=29 && template_id!=30 && template_id!=31 && template_id!=32 && template_id!=34 && template_id!=35 && template_id!=36 && template_id!=38 && template_id != 39 && template_id != 40  && template_id != 41 && template_id != 43 && template_id != 44 && template_id != 46  && template_id != 47 && template_id != 48 && template_id != 53  && template_id != 54  && template_id != 56  && template_id != 60 && template_id != 65 && this.$store.getters.xt_user.template_info.org_id != 9555 &&  this.$store.getters.xt_user.template_info.org_id != 10340 && this.$store.getters.xt_user.template_info.org_id!=10432  && this.$store.getters.xt_user.template_info.org_id!=10445 && this.$store.getters.xt_user.template_info.org_id!=10410 && this.$store.getters.xt_user.template_info.org_id!=10485  && this.$store.getters.xt_user.template_info.org_id!=10375 && this.$store.getters.xt_user.template_info.org_id!=10480 && this.$store.getters.xt_user.template_info.org_id!=10599  && this.$store.getters.xt_user.template_info.org_id!=10597 && this.$store.getters.xt_user.template_info.org_id!=10610) || this.$store.getters.xt_user.template_info.org_id == 10387"  width="76px"> 超滤量(L) </th>
20
-          <th v-if="isShow('超滤率') && (template_id ==6 || template_id == 65 || template_id == 10 || template_id == 11 || template_id == 12 || template_id == 13 || template_id == 17 || template_id == 18 || template_id == 19 || template_id == 20 || template_id == 21 || template_id == 22 || template_id == 23 || template_id == 24 || template_id == 26 || template_id == 29 || template_id == 30 || template_id == 31 || template_id == 34 || template_id == 35 || template_id == 38 || template_id == 41 || template_id == 43 || template_id == 44 || template_id == 46 || template_id == 47  || template_id == 48  || template_id == 53 || template_id == 54 || template_id == 56  || template_id == 60 || this.$store.getters.xt_user.template_info.org_id == 10432 || this.$store.getters.xt_user.template_info.org_id == 10445 || this.$store.getters.xt_user.template_info.org_id == 10410 || this.$store.getters.xt_user.template_info.org_id == 10485 || this.$store.getters.xt_user.template_info.org_id == 10375 || this.$store.getters.xt_user.template_info.org_id == 10480 || this.$store.getters.xt_user.template_info.org_id == 10597 || this.$store.getters.xt_user.template_info.org_id == 10599  || this.$store.getters.xt_user.template_info.org_id == 10610) && this.$store.getters.xt_user.template_info.org_id!=10387" width="50px"> 超滤率 <br />(ml/h) </th>
21
-          <th v-if="isShow('超滤率') && (template_id !=6 && template_id !=65 && template_id !=10 && template_id !=11 && template_id !=12 && template_id !=13 && template_id !=17 && template_id !=18 && template_id !=19 && template_id !=20 && template_id !=21 && template_id !=22 && template_id !=23 && template_id !=24 && template_id !=26 && template_id !=29 && template_id !=30 && template_id !=31 && template_id !=34 && template_id !=35 && template_id !=38  && template_id !=41 && template_id !=43 && template_id !=44 && template_id !=46 && template_id !=47 &&  template_id !=48 &&  template_id !=53 &&  template_id !=54 &&  template_id !=56 &&  template_id !=60 && this.$store.getters.xt_user.template_info.org_id!=10432  && this.$store.getters.xt_user.template_info.org_id!=10445 && this.$store.getters.xt_user.template_info.org_id!=10410 &&this.$store.getters.xt_user.template_info.org_id!=10485 &&this.$store.getters.xt_user.template_info.org_id!=10375 && this.$store.getters.xt_user.template_info.org_id!=10480 && this.$store.getters.xt_user.template_info.org_id!=10597 && this.$store.getters.xt_user.template_info.org_id!=10599 && this.$store.getters.xt_user.template_info.org_id!=10610 ) || this.$store.getters.xt_user.template_info.org_id==10387" width="50px"> 超滤率 <br />(L/h) </th>
18
+          <th v-if=" isShow('超滤量') &&(template_id == 6 || template_id == 9 || template_id == 10 || template_id == 11 || template_id == 13 || template_id == 17 || template_id == 18 || template_id == 19 || template_id == 20 || template_id == 21 || template_id == 22 || template_id == 23 || template_id == 24 || template_id == 26 || template_id == 27 || template_id == 28 || template_id == 29 || template_id == 30 || template_id == 31 || template_id == 32 || template_id == 34 || template_id == 35 || template_id == 36 || template_id == 38 || template_id == 39 || template_id == 40  || template_id == 41 || template_id == 43 || template_id == 44 || template_id == 46 || template_id == 47 || template_id == 48 || this.$store.getters.xt_user.template_info.org_id == 9555 || template_id == 53 || template_id == 54 || template_id == 56 || template_id == 60 || template_id == 65 || this.$store.getters.xt_user.template_info.org_id == 10340  || this.$store.getters.xt_user.template_info.org_id == 10432 || this.$store.getters.xt_user.template_info.org_id == 10445 || this.$store.getters.xt_user.template_info.org_id == 10410 || this.$store.getters.xt_user.template_info.org_id == 10485 || this.$store.getters.xt_user.template_info.org_id == 10375 || this.$store.getters.xt_user.template_info.org_id == 10480 || this.$store.getters.xt_user.template_info.org_id == 10599 || this.$store.getters.xt_user.template_info.org_id == 10597  || this.$store.getters.xt_user.template_info.org_id == 10612) &&this.$store.getters.xt_user.template_info.org_id!=10387 " width="76px" > 超滤量(ml)</th>
19
+          <th v-if=" isShow('超滤量') && (template_id != 6 && template_id != 9 && template_id != 10 && template_id != 11 && template_id != 13 && template_id != 17 && template_id != 18 && template_id != 19 && template_id != 20 && template_id != 21 && template_id != 22 && template_id != 23 && template_id != 24 && template_id != 26 && template_id !=27 && template_id!=28 && template_id!=29 && template_id!=30 && template_id!=31 && template_id!=32 && template_id!=34 && template_id!=35 && template_id!=36 && template_id!=38 && template_id != 39 && template_id != 40  && template_id != 41 && template_id != 43 && template_id != 44 && template_id != 46  && template_id != 47 && template_id != 48 && template_id != 53  && template_id != 54  && template_id != 56  && template_id != 60 && template_id != 65 && this.$store.getters.xt_user.template_info.org_id != 9555 &&  this.$store.getters.xt_user.template_info.org_id != 10340 && this.$store.getters.xt_user.template_info.org_id!=10432  && this.$store.getters.xt_user.template_info.org_id!=10445 && this.$store.getters.xt_user.template_info.org_id!=10410 && this.$store.getters.xt_user.template_info.org_id!=10485  && this.$store.getters.xt_user.template_info.org_id!=10375 && this.$store.getters.xt_user.template_info.org_id!=10480 && this.$store.getters.xt_user.template_info.org_id!=10599  && this.$store.getters.xt_user.template_info.org_id!=10597 && this.$store.getters.xt_user.template_info.org_id!=10612) || this.$store.getters.xt_user.template_info.org_id == 10387"  width="76px"> 超滤量(L) </th>
20
+          <th v-if="isShow('超滤率') && (template_id ==6 || template_id == 65 || template_id == 10 || template_id == 11 || template_id == 12 || template_id == 13 || template_id == 17 || template_id == 18 || template_id == 19 || template_id == 20 || template_id == 21 || template_id == 22 || template_id == 23 || template_id == 24 || template_id == 26 || template_id == 29 || template_id == 30 || template_id == 31 || template_id == 34 || template_id == 35 || template_id == 38 || template_id == 41 || template_id == 43 || template_id == 44 || template_id == 46 || template_id == 47  || template_id == 48  || template_id == 53 || template_id == 54 || template_id == 56  || template_id == 60 || this.$store.getters.xt_user.template_info.org_id == 10432 || this.$store.getters.xt_user.template_info.org_id == 10445 || this.$store.getters.xt_user.template_info.org_id == 10410 || this.$store.getters.xt_user.template_info.org_id == 10485 || this.$store.getters.xt_user.template_info.org_id == 10375 || this.$store.getters.xt_user.template_info.org_id == 10480 || this.$store.getters.xt_user.template_info.org_id == 10597 || this.$store.getters.xt_user.template_info.org_id == 10599  || this.$store.getters.xt_user.template_info.org_id == 10612) && this.$store.getters.xt_user.template_info.org_id!=10387" width="50px"> 超滤率 <br />(ml/h) </th>
21
+          <th v-if="isShow('超滤率') && (template_id !=6 && template_id !=65 && template_id !=10 && template_id !=11 && template_id !=12 && template_id !=13 && template_id !=17 && template_id !=18 && template_id !=19 && template_id !=20 && template_id !=21 && template_id !=22 && template_id !=23 && template_id !=24 && template_id !=26 && template_id !=29 && template_id !=30 && template_id !=31 && template_id !=34 && template_id !=35 && template_id !=38  && template_id !=41 && template_id !=43 && template_id !=44 && template_id !=46 && template_id !=47 &&  template_id !=48 &&  template_id !=53 &&  template_id !=54 &&  template_id !=56 &&  template_id !=60 && this.$store.getters.xt_user.template_info.org_id!=10432  && this.$store.getters.xt_user.template_info.org_id!=10445 && this.$store.getters.xt_user.template_info.org_id!=10410 &&this.$store.getters.xt_user.template_info.org_id!=10485 &&this.$store.getters.xt_user.template_info.org_id!=10375 && this.$store.getters.xt_user.template_info.org_id!=10480 && this.$store.getters.xt_user.template_info.org_id!=10597 && this.$store.getters.xt_user.template_info.org_id!=10599 && this.$store.getters.xt_user.template_info.org_id!=10612 ) || this.$store.getters.xt_user.template_info.org_id==10387" width="50px"> 超滤率 <br />(L/h) </th>
22 22
           <th v-if="isShow('钠浓度')" width="92px">钠浓度(mmol/L)</th>
23 23
           <th v-if="isShow('透析液温度')" width="92px">透析液温度(℃)</th>
24 24
           <th v-if=" isShow('置换率') && (template_id == 6 || template_id == 10 || template_id == 11 || template_id == 20 || template_id == 26 || template_id == 29 || template_id == 46  || template_id == 48 || template_id == 53  || template_id == 54 || template_id == 56 || org_id == 10432 || org_id == 10445 || org_id == 10410) && org_id!=10558" width="92px" > 置换率(ml/min) </th>

+ 27 - 12
src/xt_pages/dialysis/template/DialysisPrintOrderSix.vue ファイルの表示

@@ -1606,7 +1606,7 @@
1606 1606
                           置换量<br />(ml)
1607 1607
                         </td>
1608 1608
                         <td width="50" v-if="org_id == 3877 || org_id == 0 || org_id == 10449">滤前压(mmHg)</td>
1609
-                        <td width="50" v-if="org_id == 9538 || org_id ==10600">KT/V</td>
1609
+                        <td width="50" v-if="org_id == 9538 || org_id ==10600 || org_id ==10587">KT/V</td>
1610 1610
                         <td width="50" v-if="org_id == 9919">在线尿素监测</td>  
1611 1611
                         <td width="50" v-if="org_id == 9671">在线尿素监测</td>  
1612 1612
                         <td width="50" v-if="org_id == 9538 || org_id == 9919 || org_id== 9671">血容量<br />(L)</td>
@@ -1735,7 +1735,7 @@
1735 1735
                           </span>
1736 1736
                         </td>
1737 1737
                         <td width="50" v-if="org_id == 3877 || org_id == 0 || org_id == 10449">{{ monitor.filter_pressure?monitor.filter_pressure:""}}</td>
1738
-                        <td width="50" v-if="org_id == 9919 || org_id == 9538 || org_id == 9671 || org_id ==10600">
1738
+                        <td width="50" v-if="org_id == 9919 || org_id == 9538 || org_id == 9671 || org_id ==10600 || org_id ==10587">
1739 1739
                           {{ monitor.ktv?monitor.ktv:"" }}
1740 1740
                         </td>
1741 1741
                         <td width="50" v-if="org_id == 9538 || org_id == 9919 || org_id == 9671">
@@ -3554,7 +3554,7 @@
3554 3554
 import CheckBox from "../batch_print/option_check_box";
3555 3555
 import { getDialysisRecord } from "@/api/dialysis";
3556 3556
 import { getDataConfig } from "@/utils/data";
3557
-import { jsGetAge, uParseTime } from "@/utils/tools";
3557
+import { jsGetAge, uParseTime,jsGetAgeOne } from "@/utils/tools";
3558 3558
 
3559 3559
 import LabelBox from "../printItem/LabelBox";
3560 3560
 import BreadCrumb from "@/xt_pages/components/bread-crumb";
@@ -3689,6 +3689,7 @@ export default {
3689 3689
       },
3690 3690
       org_id: 0,
3691 3691
       projectsOne: [],
3692
+      ageDate:""
3692 3693
     };
3693 3694
   },
3694 3695
   methods: {
@@ -4209,6 +4210,7 @@ export default {
4209 4210
         } else {
4210 4211
           this.patientInfo.first_dialysis_date = "";
4211 4212
         }
4213
+        this.ageDate = uParseTime(response.data.data.schedule.schedule_date,"{y}-{m}-{d}");
4212 4214
         this.check = response.data.data.check;
4213 4215
         this.xtdate = response.data.data.xtdate;
4214 4216
         this.predialysis = response.data.data.PredialysisEvaluation;
@@ -4707,15 +4709,28 @@ export default {
4707 4709
         } else {
4708 4710
           birth = val.id_card_no.substr(6, 8)
4709 4711
         }
4710
-        var birthtwo =
4711
-          birth.substr(0, 4) +
4712
-          '-' +
4713
-          birth.substr(4, 2) +
4714
-          '-' +
4715
-          birth.substr(6, 2)
4716
-
4717
-        var age = jsGetAge(birthtwo, '-')
4718
-        return age
4712
+      
4713
+        if(this.org_id == 0){
4714
+          console.log("this.ageDattewowow",this.ageDate)
4715
+          var birthtwo = birth.substr(0, 4)  + birth.substr(4, 2)  + birth.substr(6, 2)
4716
+          var year = birth.substr(0,4) 
4717
+          var month = birth.substr(4, 2)
4718
+          var day = birth.substr(6, 2)
4719
+         
4720
+          var age = jsGetAgeOne(birthtwo,"-",year,month,day)
4721
+          return age
4722
+        }else{
4723
+            var birthtwo =
4724
+            birth.substr(0, 4) +
4725
+            '-' +
4726
+            birth.substr(4, 2) +
4727
+            '-' +
4728
+            birth.substr(6, 2)
4729
+            console.log("brithwo3333",birthtwo)
4730
+            var age = jsGetAge(birthtwo, '-')
4731
+            return age
4732
+        }
4733
+       
4719 4734
       }
4720 4735
     },
4721 4736
     newAdviceGroupObject: function () {

+ 12 - 3
src/xt_pages/dialysis/template/DialysisPrintOrderseventyone.vue ファイルの表示

@@ -444,8 +444,9 @@
444 444
                 <p style="height:15px;line-height:15px">上次透后体重</p>
445 445
               </td>
446 446
               <td style="width:8%;">
447
+              
447 448
                  <span v-if="assessmentafter.weight_after == 0">
448
-                  {{ afterdialysis.last_after_weight ? assessmentafter.last_after_weight : "0" }}kg
449
+                  {{ afterdialysis.last_after_weight ? afterdialysis.last_after_weight : "0" }}kg
449 450
                  </span>
450 451
                  <span v-if="assessmentafter.weight_after>0">
451 452
                   {{ assessmentafter.weight_after ? assessmentafter.weight_after : "0" }}kg
@@ -460,7 +461,7 @@
460 461
                 <span v-if="advice.parent_id > 0">---></span>
461 462
                 <span>{{ advice.advice_name }}</span>
462 463
                 <span v-if="advice && advice.advice_desc">({{ advice.advice_desc }}{{ advice.drug_spec_unit }})</span>
463
-                <span v-if="advice.prescribing_number">&nbsp;&nbsp; {{ advice.prescribing_number }}{{ advice.prescribing_number_unit }}</span>
464
+                <!-- <span v-if="advice.prescribing_number">&nbsp;&nbsp; {{ advice.prescribing_number }}{{ advice.prescribing_number_unit }}</span> -->
464 465
                 <span v-if="advice.single_dose != 0">{{ advice.single_dose }}{{ advice.single_dose_unit }}</span>
465 466
                 <span v-if="advice.parent_id == 0">{{ advice.delivery_way }}</span>
466 467
                 <span v-if="advice.parent_id == 0">{{ advice.execution_frequency }}</span>
@@ -476,7 +477,15 @@
476 477
               <td v-if="advice_index === 0">透前体重</td>
477 478
               <td v-if="advice_index === 0">{{ predialysis.weight_before }}kg</td>
478 479
               <td v-if="advice_index === 1">体重增加量</td>
479
-              <td v-if="advice_index === 1">{{ (predialysis.weight_before - assessmentafter.weight_after).toFixed(1) }}kg</td>
480
+              <td v-if="advice_index === 1">
481
+                <span v-if="assessmentafter.weight_after == 0">
482
+                  {{ (predialysis.weight_before - afterdialysis.last_after_weight ).toFixed(1) }}kg
483
+                 </span>
484
+                 <span v-if="assessmentafter.weight_after>0">
485
+                   {{ (predialysis.weight_before - assessmentafter.weight_after).toFixed(1) }}kg
486
+                 </span>
487
+                 
488
+              </td>
480 489
               <td v-if="advice_index === 2">干体重(DW)</td>
481 490
               <td v-if="advice_index === 2">{{ predialysis.dry_weight }}kg</td>
482 491
               <td v-if="advice_index === 3">较干体重增加量</td>

+ 34 - 13
src/xt_pages/medicalScheduling/index.vue ファイルの表示

@@ -57,7 +57,7 @@
57 57
                                 <div v-if="name==scope.row.user_name&&column_lie =='周一' ? true:false">
58 58
                                   <div class="del_table_btns" v-show="scope.row.user_name=='合计'? false : true" >
59 59
                                     <el-button type="danger" size="mini" icon="el-icon-close" 
60
-                                      circle @click.stop="toClick(scope.row,scope.$index)"   
60
+                                      circle @click.stop="toClick(getClassId(scope.row.user_name,1))"   
61 61
                                     ></el-button>
62 62
                                   </div>
63 63
                                 </div>
@@ -81,7 +81,7 @@
81 81
                               <div v-if="name==scope.row.user_name&&column_lie =='周二' ? true:false">
82 82
                                 <div class="del_table_btns" v-show="scope.row.user_name=='合计'? false : true">
83 83
                                   <el-button type="danger" size="mini" icon="el-icon-close" 
84
-                                    circle @click.stop=""   
84
+                                    circle @click.stop="toClick(getClassId(scope.row.user_name,2))"   
85 85
                                   ></el-button>
86 86
                                 </div>
87 87
                               </div>
@@ -106,7 +106,7 @@
106 106
                                 <div v-if="name==scope.row.user_name&&column_lie =='周三' ? true:false">
107 107
                                   <div class="del_table_btns" v-show="scope.row.user_name=='合计'? false : true">
108 108
                                     <el-button type="danger" size="mini" icon="el-icon-close" 
109
-                                      circle @click.stop=""   
109
+                                      circle @click.stop="toClick(getClassId(scope.row.user_name,3))"   
110 110
                                     ></el-button>
111 111
                                   </div>
112 112
                                 </div>
@@ -130,7 +130,7 @@
130 130
                                 <div v-if="name==scope.row.user_name&&column_lie =='周四' ? true:false">
131 131
                                   <div class="del_table_btns" v-show="scope.row.user_name=='合计'? false : true">
132 132
                                     <el-button type="danger" size="mini" icon="el-icon-close" 
133
-                                      circle @click.stop=""   
133
+                                      circle @click.stop="toClick(getClassId(scope.row.user_name,4))"   
134 134
                                     ></el-button>
135 135
                                   </div>
136 136
                                 </div>
@@ -154,7 +154,7 @@
154 154
                                 <div v-if="name==scope.row.user_name&&column_lie =='周五' ? true:false">
155 155
                                   <div class="del_table_btns" v-show="scope.row.user_name=='合计'? false : true">
156 156
                                     <el-button type="danger" size="mini" icon="el-icon-close" 
157
-                                      circle @click.stop=""   
157
+                                      circle @click.stop="toClick(getClassId(scope.row.user_name,5))"   
158 158
                                     ></el-button>
159 159
                                   </div>
160 160
                                 </div>
@@ -178,7 +178,7 @@
178 178
                                 <div v-if="name==scope.row.user_name&&column_lie =='周六' ? true:false">
179 179
                                   <div class="del_table_btns" v-show="scope.row.user_name=='合计'? false : true">
180 180
                                     <el-button type="danger" size="mini" icon="el-icon-close" 
181
-                                      circle @click.stop=""   
181
+                                      circle @click.stop="toClick(getClassId(scope.row.user_name,6))"   
182 182
                                     ></el-button>
183 183
                                   </div>
184 184
                                 </div>
@@ -202,7 +202,7 @@
202 202
                                 <div v-if="name==scope.row.user_name&&column_lie =='周日' ? true:false">
203 203
                                   <div class="del_table_btns" v-show="scope.row.user_name=='合计'? false : true">
204 204
                                     <el-button type="danger" size="mini" icon="el-icon-close" 
205
-                                      circle @click.stop=""   
205
+                                      circle @click.stop="toClick(getClassId(scope.row.user_name,0))"   
206 206
                                     ></el-button>
207 207
                                   </div>
208 208
                                 </div>
@@ -916,7 +916,7 @@ export default {
916 916
                         sixStr = strSix
917 917
                      }
918 918
                     }
919
-
919
+                   console.log("staffList",staffList)
920 920
                     let tempArr = [], newArr = []
921 921
                     for (let i = 0; i < staffList.length; i++) {
922 922
                         if (tempArr.indexOf(staffList[i].user_name) == -1) {
@@ -927,14 +927,14 @@ export default {
927 927
                                 user_type:staffList[i].doctor_type,
928 928
                                 is_sort:staffList[i].is_sort,
929 929
                                 sort:staffList[i].sort,
930
-                                list: [{class_name:staffList[i].class_name,admin_user_id:staffList[i].admin_user_id,schedule_week:staffList[i].schedule_week,user_type:staffList[i].doctor_type,class_attributes:staffList[i].class_attributes}]
930
+                                list: [{class_name:staffList[i].class_name,admin_user_id:staffList[i].admin_user_id,schedule_week:staffList[i].schedule_week,user_type:staffList[i].doctor_type,class_attributes:staffList[i].class_attributesk,id:staffList[i].id}]
931 931
                             })
932 932
                             tempArr.push(staffList[i].user_name);
933 933
                         } else {
934 934
                             console.log("staffList",staffList[i].user_name)
935 935
                             for (let j = 0; j < newArr.length; j++) {
936 936
                                 if (newArr[j].admin_user_id == staffList[i].admin_user_id) {
937
-                                    newArr[j].list.push({class_name:staffList[i].class_name,admin_user_id:staffList[i].admin_user_id,schedule_week:staffList[i].schedule_week,user_type:staffList[i].doctor_type,class_attributes:staffList[i].class_attributes})
937
+                                    newArr[j].list.push({class_name:staffList[i].class_name,admin_user_id:staffList[i].admin_user_id,schedule_week:staffList[i].schedule_week,user_type:staffList[i].doctor_type,class_attributes:staffList[i].class_attributes,id:staffList[i].id})
938 938
                                 }
939 939
                             }
940 940
                         }
@@ -1051,6 +1051,26 @@ export default {
1051 1051
                 return newClass
1052 1052
             }
1053 1053
 
1054
+        },
1055
+        getClassId(name,index){
1056
+           
1057
+            if(name != undefined){
1058
+                let id = '';
1059
+                this.tableData.map(item => {
1060
+                if(item.user_name == name){
1061
+                    if(item.list){
1062
+                        item.list.map(it => {
1063
+                            if(it.schedule_week == index){
1064
+                                id = it.id
1065
+                            }
1066
+                        })
1067
+                    }
1068
+
1069
+                }
1070
+                })
1071
+                return id
1072
+            }
1073
+
1054 1074
         },
1055 1075
         getClassAttributes(name,index){
1056 1076
             if(name != undefined){
@@ -2051,7 +2071,7 @@ export default {
2051 2071
         return jsonData.map(v => filterVal.map(j => v[j]))
2052 2072
        },
2053 2073
 
2054
-       toClick(row,index){
2074
+       toClick(id,index){
2055 2075
           this.$confirm(
2056 2076
             '是否要清除当前排班? <br>清除后,信息将无法恢复',
2057 2077
             '删除提示',
@@ -2062,8 +2082,9 @@ export default {
2062 2082
                 type: 'warning'
2063 2083
             }
2064 2084
             ).then(()=>{
2065
-
2066
-            DeleteStaffScheduleById(row.id).then(response=>{
2085
+             console.log("rowwoowowow",id)
2086
+           
2087
+            DeleteStaffScheduleById(id).then(response=>{
2067 2088
                 if(response.data.state == 1){
2068 2089
                     var msg =  response.data.data.msg
2069 2090
                     this.$message.success("清除成功")

+ 2 - 2
src/xt_pages/role/admin.vue ファイルの表示

@@ -25,12 +25,12 @@
25 25
         >医药师登记</el-button>
26 26
 
27 27
 
28
-       <el-button
28
+       <!-- <el-button
29 29
           type="primary"
30 30
           size="small"
31 31
           icon="el-icon-circle-plus-outline"
32 32
           style="float:left"
33
-          @click="toJiaBan">首拼</el-button>
33
+          @click="toJiaBan">首拼</el-button> -->
34 34
 
35 35
 
36 36
           <!-- <el-button

+ 1 - 0
src/xt_pages/stock/drugs/cancelDrugStockOrderDetail.vue ファイルの表示

@@ -64,6 +64,7 @@
64 64
           </template>
65 65
         </el-table-column>
66 66
 
67
+       
67 68
 
68 69
       </el-table>
69 70
     </el-row>

+ 12 - 5
src/xt_pages/stock/drugs/components/drugCancelDetail.vue ファイルの表示

@@ -143,6 +143,11 @@
143 143
             {{scope.row.count}}
144 144
           </template>
145 145
         </el-table-column>
146
+        <el-table-column label="单位" align="center">
147
+          <template slot-scope="scope">
148
+            {{scope.row.unit}}
149
+          </template>
150
+        </el-table-column>
146 151
         <el-table-column label="总价" align="center">
147 152
           <template slot-scope="scope">
148 153
             {{scope.row.total_price}}
@@ -472,10 +477,10 @@ export default {
472 477
     exportListOne(){
473 478
       // let obj = {'index':'合计','total_price':0}
474 479
     
475
- 
480
+      console.log("@332322323232332",this.tableList)
476 481
        for(let i=0;i<this.tableList.length;i++){
477 482
           this.tableList[i].index = i+1
478
-          this.tableList[i].unit = this.tableList[i].dose + this.tableList[i].dose_unit + "*"+this.tableList[i].min_number + this.tableList[i].min_unit+"/"+this.tableList[i].max_unit
483
+          this.tableList[i].unit_one = this.tableList[i].dose + this.tableList[i].dose_unit + "*"+this.tableList[i].min_number + this.tableList[i].min_unit+"/"+this.tableList[i].max_unit
479 484
           if(this.tableList[i].drug_type == 1){
480 485
              this.tableList[i].drugtype = "西药"
481 486
           }
@@ -490,11 +495,13 @@ export default {
490 495
 
491 496
         }
492 497
     
493
-      console.log("@332322323232332",this.tableList)
498
+    
499
+
500
+  
494 501
       
495 502
        import('@/vendor/Export2Excel').then(excel => {
496
-       const tHeader = ['序号','单据编号', '药品类型','药品名称', '规格型号','生产厂商','进销商','操作时间','制单人','退货价','数量','总价']
497
-       const filterVal = ['index','order_number','drugtype','drug_name', 'specification_name','manufacturer_name','dealer_name', 'time','user_name','price','count','total_price']
503
+       const tHeader = ['序号','单据编号', '药品类型','药品名称', '规格型号','生产厂商','进销商','操作时间','制单人','退货价','数量','单位','总价']
504
+       const filterVal = ['index','order_number','drugtype','drug_name', 'specification_name','manufacturer_name','dealer_name', 'time','user_name','price','count','unit','total_price']
498 505
 
499 506
        const data = this.formatJson(filterVal, this.tableList)
500 507
 

+ 5 - 0
src/xt_pages/stock/drugs/drugCancelDetailPrint.vue ファイルの表示

@@ -21,6 +21,7 @@
21 21
               <td style="line-height: 50px" width="250">规格型号</td>
22 22
               <td style="line-height: 50px" width="50">单位</td>
23 23
               <td style="line-height: 50px" width="80">数量</td>
24
+              <td style="line-height: 50px" width="80">单位</td>
24 25
               <td style="line-height:50px" width="80">单价</td>
25 26
               <td style="line-height:50px" width="80">总价</td>
26 27
               <td style="line-height: 50px" width="80">备 注</td>
@@ -43,6 +44,10 @@
43 44
               <td style="line-height: 50px">
44 45
                   {{item.count}}
45 46
                
47
+              </td>
48
+              <td style="line-height: 50px">
49
+                  {{item.unit}}
50
+               
46 51
               </td>
47 52
               <td style="line-height:50px">
48 53
                   {{item.price}}

+ 5 - 0
src/xt_pages/stock/drugs/drugStockFlow.vue ファイルの表示

@@ -152,6 +152,11 @@
152 152
              <span > {{getDrugCount(scope.row.over_count,scope.row.BaseDrugLib.max_unit,scope.row.BaseDrugLib.min_unit,scope.row.BaseDrugLib.min_number)}}</span>
153 153
            </template>
154 154
         </el-table-column>
155
+        <el-table-column prop="remark" label="备注" align="center">
156
+           <template slot-scope="scope">
157
+             <span > {{scope.row.remark}}</span>
158
+           </template>
159
+        </el-table-column>
155 160
         <!-- <el-table-column prop="drug_name" label="批号" align="center">
156 161
            <template slot-scope="scope">
157 162
              <span>{{scope.row.batch_number}}</span>

+ 5 - 0
src/xt_pages/stock/stockFlow.vue ファイルの表示

@@ -154,6 +154,11 @@
154 154
              <span > {{scope.row.over_count}}</span>
155 155
            </template>
156 156
         </el-table-column>
157
+        <el-table-column prop="remark" label="备注" align="center">
158
+           <template slot-scope="scope">
159
+             <span > {{scope.row.remark}}</span>
160
+           </template>
161
+        </el-table-column>
157 162
        </el-table>
158 163
        
159 164
       <el-pagination

+ 2 - 2
src/xt_pages/user/Sitemap.vue ファイルの表示

@@ -830,14 +830,14 @@ export default{
830 830
 
831 831
       var fileType = file.type
832 832
       const isJPG = fileType.indexOf('image') > -1
833
-      const isLt2M = file.size / 1024 / 1024 < 5
833
+      const isLt2M = file.size / 1024 / 1024 < 20
834 834
 
835 835
       if (!isJPG) {
836 836
         this.$message.error('只能上传图片')
837 837
         return false
838 838
       }
839 839
       if (!isLt2M) {
840
-        this.$message.error('上传头像图片大小不能超过 5MB!')
840
+        this.$message.error('上传头像图片大小不能超过 20MB!')
841 841
         return false
842 842
       }
843 843