Browse Source

Merge branch '20230223_xt_api_new_branch' of http://git.shengws.com/csx/Vue_New into 20230223_pc_vue_new_branch

28169 2 years ago
parent
commit
6040afbe83

+ 1 - 1
config/index.js View File

@@ -29,7 +29,7 @@ module.exports = {
29 29
 
30 30
     // host: 'xt.test.sgjyun.com',
31 31
     //  host: 'xt.kuyicloud.com',
32
-   // host: 'xt.test.sgjyun.com',
32
+    // host: 'xt.test.sgjyun.com',
33 33
     host: 'localhost',
34 34
     port: 9528, // can be overwritten by process.env.PORT, if port is in use, a free one will be determined
35 35
     autoOpenBrowser: true,

+ 76 - 4
src/xt_pages/dialysis/batch_print/batch_print_order_six.vue View File

@@ -39,7 +39,13 @@
39 39
                 display: inline-block;
40 40
               "
41 41
             >
42
-              血液净化治疗记录单
42
+              <span v-if="org_id != 0 && org_id!=10449 && org_id!=3877">
43
+                血液净化治疗记录单
44
+              </span>
45
+              <span v-if="org_id == 0 || org_id == 3877 || org_id == 10449">
46
+                <span v-if="record&&record.prescription.mode_id!=13">血液净化治疗记录单</span>
47
+                <span v-if="record&&record.prescription.mode_id==13">连续性肾脏替代治疗(CRRT)记录单</span>
48
+              </span>
43 49
             </div>
44 50
           </div>
45 51
           <div class="row">
@@ -1021,6 +1027,7 @@
1021 1027
                         ml/min
1022 1028
                       </div>
1023 1029
                     </div>
1030
+
1024 1031
                     <div class="row" style="padding: 2px 0; line-height: 23px">
1025 1032
                       <div class="inline_block">
1026 1033
                         抗凝剂:
@@ -1171,6 +1178,57 @@
1171 1178
                         </div>
1172 1179
                       </div>
1173 1180
                     </div>
1181
+
1182
+                    <div class="row" style="padding: 2px 0; line-height: 23px" v-if="org_id ==0 ||org_id == 3877 || org_id == 10449">
1183
+                      <div class="inline_block">
1184
+                        置换速度:
1185
+                        <div
1186
+                          class="under_line"
1187
+                          style="width: 50px; text-align: center"
1188
+                        >
1189
+                          {{
1190
+                            record.prescription &&
1191
+                            record.prescription.displace_speed
1192
+                              ? record.prescription.displace_speed
1193
+                              : "/"
1194
+                          }}
1195
+                        </div>
1196
+                        ml/h
1197
+                      </div>
1198
+                      <span>&nbsp;&nbsp;&nbsp;</span>
1199
+                      <div class="inline_block">
1200
+                        透析液流速:
1201
+                        <div
1202
+                          class="under_line"
1203
+                          style="width: 50px; text-align: center"
1204
+                        >
1205
+                          {{
1206
+                            record.prescription &&
1207
+                            record.prescription.dialysis_fluid_flow
1208
+                              ? record.prescription.dialysis_fluid_flow
1209
+                              : "/"
1210
+                          }}
1211
+                        </div>
1212
+                        ml/h
1213
+                      </div>
1214
+                      
1215
+                      <span>&nbsp;&nbsp;&nbsp;</span>
1216
+                      <div class="inline_block">
1217
+                        碳酸氢钠流速:
1218
+                        <div
1219
+                          class="under_line"
1220
+                          style="width: 50px; text-align: center"
1221
+                        >
1222
+                          {{
1223
+                            record.prescription &&
1224
+                            record.prescription.sodium_bicarbonate_flow
1225
+                              ? record.prescription.sodium_bicarbonate_flow
1226
+                              : "/"
1227
+                          }}
1228
+                        </div>
1229
+                        ml/h
1230
+                      </div>
1231
+                    </div>
1174 1232
                   </td>
1175 1233
                 </tr>
1176 1234
                 <tr>
@@ -1224,7 +1282,8 @@
1224 1282
                           >
1225 1283
                             SpO₂<br />(%)
1226 1284
                           </td>
1227
-                          <td width="50">超滤量<br />(ml)</td>
1285
+                          <td width="50" v-if="org_id != 0 && org_id != 3877 && org_id != 10449">超滤量<br />(ml)</td>
1286
+                          <td width="50" v-if="org_id ==0 || org_id ==3877 || org_id ==10449">累计超滤量<br />(ml)</td>
1228 1287
                           <td
1229 1288
                             v-if="
1230 1289
                               record.prescription.mode_id == 2 ||
@@ -1235,7 +1294,7 @@
1235 1294
                           >
1236 1295
                             置换量<br />(ml)
1237 1296
                           </td>
1238
-
1297
+                          <td v-if="org_id == 3877 || org_id == 0 || org_id == 10449" width="50">滤前压(mmHg)</td>
1239 1298
                           <td
1240 1299
                             width="50"
1241 1300
                             v-if="
@@ -1390,6 +1449,13 @@
1390 1449
                                 : ""
1391 1450
                             }}
1392 1451
                           </td>
1452
+                          <td v-if="org_id == 3877 || org_id == 0 || org_id == 10449">
1453
+                            {{
1454
+                              monitor_record.filter_pressure
1455
+                                ? monitor_record.filter_pressure
1456
+                                : ""
1457
+                            }}
1458
+                          </td>
1393 1459
                           <td
1394 1460
                             width="50"
1395 1461
                             v-if="
@@ -1820,7 +1886,13 @@
1820 1886
                   display: inline-block;
1821 1887
                 "
1822 1888
               >
1823
-                血液净化治疗记录单
1889
+                <span v-if="org_id != 0 && org_id!=10449 && org_id!=3877">
1890
+                  血液净化治疗记录单
1891
+                </span>
1892
+                <span v-if="org_id == 0 || org_id == 3877 || org_id == 10449">
1893
+                  <span v-if="record&&record.prescription.mode_id!=13">血液净化治疗记录单</span>
1894
+                  <span v-if="record&&record.prescription.mode_id==13">连续性肾脏替代治疗(CRRT)记录单</span>
1895
+                </span>
1824 1896
               </div>
1825 1897
             </div>
1826 1898
             <div class="row">

+ 1 - 1
src/xt_pages/dialysis/batch_print/batch_print_order_sixtyTwo.vue View File

@@ -398,7 +398,7 @@
398 398
                             :src="
399 399
                               setAdminUserES(
400 400
                                 record.dialysis_order,
401
-                                'start_nurse'
401
+                                'quality_nurse_id'
402 402
                               )
403 403
                             "
404 404
                             alt=""

+ 35 - 13
src/xt_pages/dialysis/batch_print/batch_print_order_twentyFive.vue View File

@@ -1330,21 +1330,43 @@ export default {
1330 1330
         return age
1331 1331
       }
1332 1332
     },
1333
+    // getAge: function(val) {
1334
+    //   val.birth = uParseTime(val.birthday, "{y}-{m}-{d}");
1335
+    //   if (
1336
+    //     this.org_template_info.template_id == 2 ||
1337
+    //     this.org_template_info.template_id == 0
1338
+    //   ) {
1339
+    //     if (val.age == 0) {
1340
+    //       return jsGetAge(val.birth, "-");
1341
+    //     } else {
1342
+    //       return val.age;
1343
+    //     }
1344
+    //   } else {
1345
+    //     return jsGetAge(val.birth, "-");
1346
+    //   }
1347
+    // },
1333 1348
     getAge: function(val) {
1334
-      val.birth = uParseTime(val.birthday, "{y}-{m}-{d}");
1335
-      if (
1336
-        this.org_template_info.template_id == 2 ||
1337
-        this.org_template_info.template_id == 0
1338
-      ) {
1339
-        if (val.age == 0) {
1340
-          return jsGetAge(val.birth, "-");
1341
-        } else {
1342
-          return val.age;
1343
-        }
1344
-      } else {
1345
-        return jsGetAge(val.birth, "-");
1349
+     
1350
+     if (val.id_card_no) {
1351
+       var thisLen = val.id_card_no.length
1352
+
1353
+       var birth = ''
1354
+       if (thisLen == 15) {
1355
+         birth = '19' + val.id_card_no.substr(6, 6)
1356
+       } else {
1357
+         birth = val.id_card_no.substr(6, 8)
1358
+       }
1359
+       var birthtwo =
1360
+         birth.substr(0, 4) +
1361
+         '-' +
1362
+         birth.substr(4, 2) +
1363
+         '-' +
1364
+         birth.substr(6, 2)
1365
+
1366
+       var age = jsGetAge(birthtwo, '-')
1367
+       return age
1346 1368
       }
1347
-    },
1369
+     },
1348 1370
     printAction: function() {
1349 1371
       const style =
1350 1372
         '@media print { .option_panel { margin: 0 5px 0 0; } .option_panel .check_box_panel { white-space: nowrap; outline: none; display: inline-block; line-height: 1; position: relative; vertical-align: middle; } .option_panel .check_box_panel .check_box { display: inline-block; position: relative; border: 1px solid #000; box-sizing: border-box; width: 14px; height: 14px; background-color: #fff; } .check_box_panel .did_checked::after { content: "√"; font-size: 15px; } .print_page_main_content { background-color: white; width:960px; margin:0 auto; padding: 0 0 0 0; page-break-after: always; } .print_page_main_content .order-yy-name { margin: auto; text-align: center; font-size: 20px; letter-spacing: 5px;} .print_page_main_content .order_title { text-align: center; font-size: 23px; line-height: 50px; font-weight: 500; } .row { font-size: 14px; line-height: 20px; padding: 5px 0; } .inline_block { display: inline-block; } .under_line { display: inline-block; border-bottom: 1px solid #999; text-align: center; white-space: nowrap; } .under_line::before { content: "\\00A0"; } .under_line::after { content: "\\00A0"; } .flex { display: -webkit-box; display: -moz-box; display: -ms-flexbox; display: -webkit-flex; display: flex; align-items: center; -webkit-align-items: center; box-align: center; -moz-box-align: center; -webkit-box-align: center; text-align: center; -webkit-justify-content: space-between; justify-content: space-between; -moz-box-pack: space-between; -webkit--moz-box-pack: space-between; box-pack: space-between; } .print_page_main_content .proj_table { width: 100%; border: 1px solid; border-collapse: collapse; padding: 2px; } .print_page_main_content .proj_table tbody tr td { border: 1px solid; font-size: 16px; padding: 10px 8px; line-height: 30px; } .print_page_main_content .proj_table .inside_table { width: 100%; border: hidden; border-collapse: collapse; } .print_page_main_content .proj_table .inside_table tr td { border: 1px solid; text-align: center; font-size: 14px; padding: 8px 5px; line-height: 25px; } }.es-img{height: 20px; }.advice-name{text-align: left !important;line-height: 16px !important;}.advice-children{display:flex;}.did_checke::after {font-size: 8px;margin-left: 2px;margin-top: 2px;position: absolute;}';

+ 15 - 0
src/xt_pages/dialysis/details/DialysisPrescription.vue View File

@@ -572,6 +572,21 @@
572 572
           <span class="content">{{this.prescription.sodium_curve}}</span>
573 573
         </li>
574 574
 
575
+        <li v-if="isShow('开始钠')">
576
+          <label>开始钠: </label>
577
+          <span class="content">{{this.prescription.start_sodium}}</span>
578
+        </li>
579
+
580
+        <li v-if="isShow('透析液流速')">
581
+          <label>透析液流速(ml/h): </label>
582
+          <span class="content">{{this.prescription.dialysis_fluid_flow}}</span>
583
+        </li>
584
+
585
+        <li v-if="isShow('碳酸氢钠流速')">
586
+          <label>碳酸氢钠流速(ml/h): </label>
587
+          <span class="content">{{this.prescription.sodium_bicarbonate_flow}}</span>
588
+        </li>
589
+
575 590
         <li v-if="isShow('病情处理')">
576 591
           <label>病情处理: </label>
577 592
           <span class="content">{{this.prescription.treatment_remark}}</span>

+ 31 - 0
src/xt_pages/dialysis/details/dialog/dialysisPrescriptionDialog.vue View File

@@ -1011,6 +1011,27 @@
1011 1011
                     </el-col>
1012 1012
                 </el-row>
1013 1013
 
1014
+                <el-row>
1015
+                  <el-col :span="8" v-if="isShows('透析液流速')">
1016
+                        <el-form-item label="透析液流速(ml/h):">
1017
+                            <el-input
1018
+                                  
1019
+                                    v-model="dialysisPrescription.dialysis_fluid_flow"
1020
+                                    :rows="5"
1021
+                            ></el-input>
1022
+                        </el-form-item>
1023
+                    </el-col>
1024
+
1025
+                    <el-col :span="8" v-if="isShows('碳酸氢钠流速')">
1026
+                        <el-form-item label="碳酸氢钠流速(ml/h):">
1027
+                            <el-input
1028
+                                    v-model="dialysisPrescription.sodium_bicarbonate_flow"
1029
+                                    :rows="5"
1030
+                            ></el-input>
1031
+                        </el-form-item>
1032
+                    </el-col>
1033
+                </el-row>
1034
+
1014 1035
               <el-row :gutter="20">
1015 1036
                     <el-col :span="24"  v-if="isShows('病情处理')">
1016 1037
                         <el-form-item  label="病情处理: ">
@@ -1559,6 +1580,8 @@
1559 1580
           prescription_sodium:"",
1560 1581
           start_sodium:"",
1561 1582
           sodium_curve:"",
1583
+          dialysis_fluid_flow:"",
1584
+          sodium_bicarbonate_flow:"",
1562 1585
         },
1563 1586
 
1564 1587
         anticoagulant: {
@@ -2318,6 +2341,14 @@ mu
2318 2341
             } else if (schedual.schedule_type == 3) {
2319 2342
               this.start_time = year + '-' + month + '-' + day + ' ' + '18:00'
2320 2343
             }
2344
+           }else if(this.$store.getters.xt_user.org.id == 10440){
2345
+              if (schedual.schedule_type == 1) {
2346
+              this.start_time = year + '-' + month + '-' + day + ' ' + '7:00'
2347
+            } else if (schedual.schedule_type == 2) {
2348
+              this.start_time = year + '-' + month + '-' + day + ' ' + '11:00'
2349
+            } else if (schedual.schedule_type == 3) {
2350
+              this.start_time = year + '-' + month + '-' + day + ' ' + '15:00'
2351
+            }
2321 2352
            }else if(this.$store.getters.xt_user.org.id == 9829){
2322 2353
               if (schedual.schedule_type == 1) {
2323 2354
               this.start_time = year + '-' + month + '-' + day + ' ' + '6:30'

+ 31 - 1
src/xt_pages/dialysis/details/dialog/monitor_dialog.vue View File

@@ -832,6 +832,18 @@
832 832
             </template>
833 833
           </el-table-column>
834 834
 
835
+          <el-table-column
836
+            prop="heparin"
837
+            align="center"
838
+            label="滤前压(mmHg)"
839
+            width="140"
840
+            v-if="isShow('滤前压')"
841
+          >
842
+            <template slot-scope="scope">
843
+              {{ scope.row.filter_pressure }}
844
+            </template>
845
+          </el-table-column>
846
+
835 847
           <el-table-column
836 848
             prop="heparin"
837 849
             align="center"
@@ -1523,6 +1535,12 @@
1523 1535
             </el-form-item>
1524 1536
           </el-col>
1525 1537
 
1538
+          <el-col :span="8" v-if="isShow('滤前压')">
1539
+            <el-form-item label="滤前压(mmHg):">
1540
+              <el-input v-model="form.filter_pressure"></el-input>
1541
+            </el-form-item>
1542
+          </el-col>
1543
+
1526 1544
           <!-- </el-row>
1527 1545
 
1528 1546
           <el-row :gutter="20"> -->
@@ -1737,6 +1755,7 @@ export default {
1737 1755
         blood_monitor: "",
1738 1756
         heparin_amount: "", //肝素量
1739 1757
         dehydration: "",
1758
+        filter_pressure:"",
1740 1759
       },
1741 1760
 
1742 1761
       table_current_row: null,
@@ -1962,7 +1981,7 @@ export default {
1962 1981
       
1963 1982
         this.form.temperature = ""
1964 1983
 
1965
-        this.form.pulse_frequency = ""; // this.last_monitor_record.pulse_frequency;
1984
+        // this.last_monitor_record.pulse_frequency;
1966 1985
         // this.form.breathing_rated =  resp.monitor.breathing_rated ? resp.monitor.breathing_rated : '';
1967 1986
         this.form.systolic_bp = ""; // this.last_monitor_record.systolic_blood_pressure;
1968 1987
         this.form.diastolic_bp = ""; // this.last_monitor_record.diastolic_blood_pressure;
@@ -1976,6 +1995,12 @@ export default {
1976 1995
           this.form.venous_pressure = ""; // this.last_monitor_record.venous_pressure;
1977 1996
         }
1978 1997
 
1998
+        if(this.org_id == 10440){
1999
+           this.form.pulse_frequency = 80
2000
+        }else{
2001
+           this.form.pulse_frequency = ""
2002
+        }
2003
+
1979 2004
         this.form.venous_pressure_type = resp.monitor.venous_pressure_type? resp.monitor.venous_pressure_type: 1;
1980 2005
         if(this.org_id == 9671 || this.org_id == 9675 || this.org_id == 10340 || this.org_id == 10387){
1981 2006
            this.form.arterial_pressure = resp.monitor.arterial_pressure? resp.monitor.arterial_pressure: "-100"; // this.last_monitor_record.arterial_pressure;
@@ -2168,6 +2193,7 @@ export default {
2168 2193
         this.form.blood_monitor = "";
2169 2194
         this.form.dehydration = "";
2170 2195
         this.form.heparin_amount = "";
2196
+        this.form.filter_pressure =""
2171 2197
       } else {
2172 2198
         (this.form.id = monitor.id),
2173 2199
           // this.form.operate_date = monitor.operate_date
@@ -2278,6 +2304,9 @@ export default {
2278 2304
         this.form.heparin_amount = monitor.heparin_amount
2279 2305
           ? monitor.heparin_amount
2280 2306
           : "";
2307
+        this.form.filter_pressure = monitor.filter_pressure
2308
+        ? monitor.filter_pressure
2309
+        : "";  
2281 2310
         // 设置三个下拉框的值,直接调用事件偷懒
2282 2311
         this.symptomTextareaBlur();
2283 2312
         this.disposeTextareaBlur();
@@ -2421,6 +2450,7 @@ export default {
2421 2450
         parseFloat(this.form.dehydration) == NaN
2422 2451
           ? 0
2423 2452
           : parseFloat(this.form.dehydration);
2453
+      this.form.filter_pressure = this.form.filter_pressure?this.form.filter_pressure:""
2424 2454
       let mode = "1";
2425 2455
       if (this.form.id > 0) {
2426 2456
         mode = "2";

+ 2 - 0
src/xt_pages/dialysis/details/dialysisMonitoring.vue View File

@@ -43,6 +43,7 @@
43 43
           <th v-if="isShow('血压监测')" width="92px">血压监测</th>
44 44
           <th v-if="isShow('肝素量')" width="92px">肝素量(mg)</th>
45 45
           <th v-if="isShow('脱水')" width="92px">脱水(L)</th>
46
+          <th v-if="isShow('滤前压')" width="92px">滤前压(mmHg)</th>
46 47
           <th v-if="isShow('KT/V') && (org_id == 9987 || org_id == 10215 || org_id ==  9800)" width="92px">KT/V</th>
47 48
           <th v-if="isShow('病情变化')" width="92px">病情变化</th>
48 49
 
@@ -91,6 +92,7 @@
91 92
           <th v-if="isShow('血压监测')" width="92px">{{monitor.blood_monitor ? monitor.blood_monitor : ""}}</th>
92 93
           <th v-if="isShow('肝素量')" width="92px">{{monitor.heparin_amount ? monitor.heparin_amount : ""}}</th>
93 94
           <th v-if="isShow('脱水')" width="92px">{{monitor.dehydration ? monitor.dehydration : ""}}</th>
95
+          <th v-if="isShow('滤前压')" width="92px">{{monitor.filter_pressure ? monitor.filter_pressure : ""}}</th>
94 96
           <td v-if="isShow('KT/V') && (org_id == 9987 || org_id == 10215 || org_id ==  9800)">{{ monitor.ktv?monitor.ktv:""}}</td>
95 97
           <td v-if="isShow('病情变化')">{{ monitor.symptom }}</td>
96 98
           <td v-if="isShow('处理')">{{ monitor.dispose }}</td>

+ 81 - 33
src/xt_pages/dialysis/doctorNewAdviceStaticPrint.vue View File

@@ -27,9 +27,9 @@
27 27
                 <tr>
28 28
                   <td width="50">序号</td>
29 29
                   <td width="100">区域</td>
30
-                  <td width="100">责护</td>
30
+                  <!-- <td width="100">责护</td> -->
31 31
                   <td width="100">透析模式</td>
32
-                  <td  v-for="(item,index) in tabHead"  :key="index" :label="item.advice_name" width="150">
32
+                  <td  v-for="(item,index) in tabHead"  :key="index" :label="item.advice_name" width="200">
33 33
                      {{item.advice_name}}
34 34
                   </td>
35 35
                 </tr>
@@ -41,17 +41,25 @@
41 41
                     <span v-if="item.is_total ==0">总计</span>
42 42
                   </td>
43 43
                   <td>
44
-                    <span v-if="item.is_total == 1">{{getZoneName(item.child)}}</span> 
44
+                    <span v-if="item.is_total == 1">
45
+                      <!-- {{getZoneName(item.child)}} -->
46
+                      {{item.zone_name}}
47
+                    </span> 
45 48
                   </td>
46
-                  <td>
49
+                  <!-- <td>
47 50
                     <span v-if="item.is_total == 1"> {{getAdminUserName(item.execution_staff)}}</span>
48
-                  </td>
51
+                  </td> -->
49 52
                   <td>
50 53
                     <span v-if="item.is_total == 1"> {{getModeId(item.child)}}</span>
51 54
                   </td>
52 55
                   <td v-for="(it,i) in tabHead"  :key="i">
53 56
                     <span v-if="item.is_total == 1">
54
-                      <span v-if="item.child[i]!=null">{{getDrugCount(item.child,it.advice_name)}}</span>
57
+                      <span v-if="item.child[i]!=null">
58
+                        {{getDrugCount(item.child,it.advice_name)}}
59
+                      </span>
60
+                      <span v-if="it&&it.advice_name == '肝素钠注射剂'">
61
+                        {{getDrugAdviceCount(it.advice_name,item.zone_name)}}  
62
+                      </span>
55 63
                     </span>
56 64
                     <span v-if="item.is_total == 0">
57 65
                       {{getAllSumCount(it.advice_name)}}
@@ -113,6 +121,7 @@
113 121
           tabHead:[],
114 122
           tableDataList:[],
115 123
           adminUserList:[],
124
+          doctorMap:[],
116 125
         }
117 126
       },
118 127
       components: {
@@ -181,15 +190,18 @@
181 190
                 this.tabHead = arr
182 191
                 console.log("arr---------------------",this.tabHead)
183 192
               }
184
-
193
+              
194
+              this.doctorMap = []
185 195
               if(doctorList!=null && doctorList.length > 0){
186
-                
187 196
                 let dataInfo = {}
188 197
                   doctorList.forEach((item, index) => {
189
-                  let { execution_staff } = item
190
-                  if (!dataInfo[execution_staff])  {
191
-                    dataInfo[execution_staff] = {
192
-                      execution_staff:item.execution_staff,
198
+                  if(item.advice_name == "肝素钠注射剂"){
199
+                    this.doctorMap.push(item)
200
+                  } 
201
+                  let { zone_name } = item
202
+                  if (!dataInfo[zone_name])  {
203
+                    dataInfo[zone_name] = {
204
+                      zone_name:item.zone_name,
193 205
                       child: [],
194 206
                       count:0,
195 207
                       sort:item.sort,
@@ -200,7 +212,7 @@
200 212
                 if(newArr!=null && newArr.length >0){
201 213
                   for(let i=0;i<newArr.length;i++){
202 214
                     for(let j=0;j<doctorList.length;j++){
203
-                      if(newArr[i].execution_staff == doctorList[j].execution_staff){
215
+                      if(newArr[i].zone_name == doctorList[j].zone_name){
204 216
                          newArr[i].child.push(doctorList[j])
205 217
                       }
206 218
                     }
@@ -515,30 +527,66 @@
515 527
 
516 528
       getAllSumCount(advice_name){
517 529
        
518
-       var hisNewArr =[]
519
-      if(this.tabHead.length!=null && this.tabHead.length >0){
520
-        for(let i=0;i<this.tabHead.length;i++){
521
-          if(this.tabHead[i].advice_name == advice_name){
522
-            hisNewArr.push(this.tabHead[i])
530
+        var hisNewArr =[]
531
+        if(this.tabHead.length!=null && this.tabHead.length >0){
532
+          for(let i=0;i<this.tabHead.length;i++){
533
+            if(this.tabHead[i].advice_name == advice_name){
534
+              hisNewArr.push(this.tabHead[i])
535
+            }
523 536
           }
524 537
         }
525
-      }
526
-      
527
-      var total = 0
528
-      if(hisNewArr!=null && hisNewArr.length > 0){
529
-        for(let i=0;i<hisNewArr.length;i++){
530
-         for(let j=0;j<hisNewArr[i].child.length;j++){
531
-            total += parseInt(hisNewArr[i].child[j].prescribing_number)
532
-         }
538
+        
539
+        var total = 0
540
+        if(hisNewArr!=null && hisNewArr.length > 0){
541
+          for(let i=0;i<hisNewArr.length;i++){
542
+          for(let j=0;j<hisNewArr[i].child.length;j++){
543
+              total += parseInt(hisNewArr[i].child[j].prescribing_number)
544
+          }
545
+          }
546
+        }
547
+        if (total > 0) {
548
+          return total
549
+        }else{
550
+          return 0
533 551
         }
534
-      }
535
-      if (total > 0) {
536
-        return total
537
-      }else{
538
-        return 0
539
-      }
540 552
 
541
-     }
553
+     },
554
+     getDrugAdviceCount(advice_name,zone_name){
555
+        var str = ""
556
+        var arr =[]
557
+        var arrOne = []
558
+        if(this.doctorMap!=null && this.doctorMap.length>0){
559
+
560
+           for(let i=0;i<this.doctorMap.length;i++){
561
+            if(this.doctorMap[i].advice_name!="" || this.doctorMap[i].advice_name!=undefined){
562
+                this.doctorMap[i].advice_name = this.doctorMap[i].advice_name.replace(/\s/g,"")
563
+            }
564
+             if(this.doctorMap[i].advice_name == advice_name && this.doctorMap[i].zone_name == zone_name && this.doctorMap[i].delivery_way =="导管封管"){
565
+                arr.push(this.doctorMap[i])
566
+             }
567
+
568
+             if(this.doctorMap[i].advice_name == advice_name && this.doctorMap[i].zone_name == zone_name && this.doctorMap[i].delivery_way.indexOf("泵入")!=-1){
569
+                arrOne.push(this.doctorMap[i])
570
+             }
571
+           }
572
+        }
573
+
574
+        if(arr!=null && arr.length >0){
575
+            var total = 0
576
+           for(let i=0;i<arr.length;i++){
577
+              total +=arr[i].prescribing_number
578
+           }
579
+          str =  "封管" +"("+total+")"
580
+        }
581
+        if(arrOne!=null && arrOne.length >0){
582
+            var total_one = 0
583
+           for(let i=0;i<arrOne.length;i++){
584
+             total_one +=arrOne[i].prescribing_number
585
+           }
586
+          str = str + "泵入" +"("+total_one+")"
587
+        }
588
+        return str
589
+      },
542 590
      }
543 591
     }
544 592
   </script>

+ 87 - 41
src/xt_pages/dialysis/newDoctorAdvice.vue View File

@@ -638,11 +638,14 @@
638 638
           width="100"
639 639
         >
640 640
           <template slot-scope="scope" >
641
-            <span v-if="scope.row.is_total ==1">{{getZoneName(scope.row.child)}}</span>
641
+            <span v-if="scope.row.is_total ==1">
642
+              <!-- {{getZoneName(scope.row.child)}} -->
643
+              {{scope.row.zone_name }}
644
+           </span>
642 645
           </template>
643 646
 
644 647
         </el-table-column>
645
-       <el-table-column
648
+       <!-- <el-table-column
646 649
           align="center"
647 650
           prop="name"
648 651
           label="责护"
@@ -654,7 +657,7 @@
654 657
             </span>
655 658
           </template>
656 659
 
657
-        </el-table-column>
660
+        </el-table-column> -->
658 661
 
659 662
         <el-table-column
660 663
           align="center"
@@ -680,6 +683,9 @@
680 683
           <template slot-scope="scope">
681 684
             <span v-if="scope.row.is_total ==1">
682 685
               <span v-if="scope.row.child[index]!=null">{{getDrugCount(scope.row.child,item.advice_name)}}</span>
686
+              <span v-if="item&&item.advice_name == '肝素钠注射剂'">
687
+                 {{getDrugAdviceCount(item.advice_name,scope.row.zone_name)}}
688
+              </span>
683 689
             </span>
684 690
             <span v-if="scope.row.is_total == 0">
685 691
                  {{getAllSumCount(item.advice_name)}}
@@ -794,6 +800,7 @@ export default {
794 800
       tabHead:[],
795 801
       tableDataList:[],
796 802
       adminUserList:[],
803
+      doctorMap:[],
797 804
     };
798 805
   },
799 806
   created() {
@@ -829,7 +836,7 @@ export default {
829 836
       });
830 837
     },
831 838
     clickCurrent(val) {
832
-      console.log(val);
839
+      //console.log(val);
833 840
       this.$router.push({
834 841
         path: "/dialysis/details",
835 842
         query: { patient_id: val.patient_id, date: val.sch_time_int,mode_id:val.mode_id }
@@ -1865,14 +1872,17 @@ export default {
1865 1872
                 console.log("tabHead",this.tabHead)
1866 1873
               }
1867 1874
 
1875
+              this.doctorMap = []
1868 1876
               if(doctorList!=null && doctorList.length > 0){
1869
-
1870 1877
                 let dataInfoOne = {}
1871 1878
                   doctorList.forEach((item, index) => {
1872
-                  let { execution_staff } = item
1873
-                  if (!dataInfoOne[execution_staff])  {
1874
-                    dataInfoOne[execution_staff] = {
1875
-                      execution_staff:item.execution_staff,
1879
+                    if(item.advice_name == "肝素钠注射剂"){
1880
+                      this.doctorMap.push(item)
1881
+                    }
1882
+                  let { zone_name } = item
1883
+                  if (!dataInfoOne[zone_name])  {
1884
+                    dataInfoOne[zone_name] = {
1885
+                      zone_name:item.zone_name,
1876 1886
                       child: [],
1877 1887
                       count:0,
1878 1888
                       sort:item.sort,
@@ -1883,7 +1893,7 @@ export default {
1883 1893
                 if(newArr!=null && newArr.length >0){
1884 1894
                   for(let i=0;i<newArr.length;i++){
1885 1895
                     for(let j=0;j<doctorList.length;j++){
1886
-                      if(newArr[i].execution_staff == doctorList[j].execution_staff){
1896
+                      if(newArr[i].zone_name == doctorList[j].zone_name){
1887 1897
                          newArr[i].child.push(doctorList[j])
1888 1898
                       }
1889 1899
                     }
@@ -1897,7 +1907,7 @@ export default {
1897 1907
                   }
1898 1908
                 }
1899 1909
 
1900
-                var obj = {is_total:0,count:0,execution_staff:0,child:[]}
1910
+                var obj = {is_total:0,count:0,execution_staff:0,child:[],zone_name:""}
1901 1911
                 newList.push(obj)
1902 1912
                 this.tableDataList = newList
1903 1913
                 console.log("999999999999999999-------",this.tableDataList)
@@ -1912,7 +1922,42 @@ export default {
1912 1922
         })
1913 1923
 
1914 1924
       },
1925
+      getDrugAdviceCount(advice_name,zone_name){
1926
+        var str = ""
1927
+        var arr =[]
1928
+        var arrOne = []
1929
+        if(this.doctorMap!=null && this.doctorMap.length>0){
1930
+
1931
+           for(let i=0;i<this.doctorMap.length;i++){
1932
+            if(this.doctorMap[i].advice_name!="" || this.doctorMap[i].advice_name!=undefined){
1933
+                this.doctorMap[i].advice_name = this.doctorMap[i].advice_name.replace(/\s/g,"")
1934
+            }
1935
+             if(this.doctorMap[i].advice_name == advice_name && this.doctorMap[i].zone_name == zone_name && this.doctorMap[i].delivery_way =="导管封管"){
1936
+                arr.push(this.doctorMap[i])
1937
+             }
1915 1938
 
1939
+             if(this.doctorMap[i].advice_name == advice_name && this.doctorMap[i].zone_name == zone_name && this.doctorMap[i].delivery_way.indexOf("泵入")!=-1){
1940
+                arrOne.push(this.doctorMap[i])
1941
+             }
1942
+           }
1943
+        }
1944
+
1945
+        if(arr!=null && arr.length >0){
1946
+            var total = 0
1947
+           for(let i=0;i<arr.length;i++){
1948
+              total +=arr[i].prescribing_number
1949
+           }
1950
+          str =  "封管" +"("+total+")"
1951
+        }
1952
+        if(arrOne!=null && arrOne.length >0){
1953
+            var total_one = 0
1954
+           for(let i=0;i<arrOne.length;i++){
1955
+             total_one +=arrOne[i].prescribing_number
1956
+           }
1957
+          str = str + "泵入" +"("+total_one+")"
1958
+        }
1959
+        return str
1960
+      },
1916 1961
      getSpecification(id){
1917 1962
         var specification_name = ""
1918 1963
         for(let i=0;i<this.druglist.length;i++){
@@ -2289,36 +2334,37 @@ export default {
2289 2334
       GetMobileScheduleList().then(response=>{
2290 2335
         if(response.data.state == 1){
2291 2336
           var schedule = response.data.data.schedule
2292
-          console.log("schedule---------------",schedule)
2293
-          var arr = []
2294
-          for(let i=0;i<schedule.length;i++){
2295
-            if(schedule[i].monitor_record.ultrafiltration_volume!=schedule[i].xt_assesment_after_dislysis.actual_ultrafiltration){
2296
-              arr.push(schedule[i])
2297
-            }
2298
-          }
2299
-
2300
-
2301
-          import('@/vendor/Export2Excel').then(excel => {
2302
-
2303
-         if(arr!=null && arr.length > 0){
2304
-           for(let i=0;i<arr.length;i++){
2305
-             arr[i].patient_name = arr[i].patient.name
2306
-             arr[i].target_ultrafiltration = arr[i].dialysis_prescription.target_ultrafiltration
2307
-             arr[i].ultrafiltration_volume = arr[i].monitor_record.ultrafiltration_volume
2308
-             arr[i].actual_ultrafiltration = arr[i].xt_assesment_after_dislysis.actual_ultrafiltration
2309
-             arr[i].start_time =  this.getTimeSix(arr[i].schedule_date)
2310
-           }
2311
-         }
2312
-         const tHeader = ['序号','日期','患者姓名','目标超滤量','监测超滤量','实际超滤量']
2313
-         const filterVal = ['index','start_time','patient_name','target_ultrafiltration','ultrafiltration_volume','actual_ultrafiltration']
2314
-
2315
-         const data = this.formatJson(filterVal, arr)
2316
-         excel.export_json_to_excel({
2317
-           header: tHeader,
2318
-           data,
2319
-           filename: '监测数据统计'
2320
-          })
2321
-         })
2337
+          this.$message.success("保存成功!")
2338
+        //   console.log("schedule---------------",schedule)
2339
+        //   var arr = []
2340
+        //   for(let i=0;i<schedule.length;i++){
2341
+        //     if(schedule[i].monitor_record.ultrafiltration_volume!=schedule[i].xt_assesment_after_dislysis.actual_ultrafiltration){
2342
+        //       arr.push(schedule[i])
2343
+        //     }
2344
+        //   }
2345
+
2346
+
2347
+        //   import('@/vendor/Export2Excel').then(excel => {
2348
+
2349
+        //  if(arr!=null && arr.length > 0){
2350
+        //    for(let i=0;i<arr.length;i++){
2351
+        //      arr[i].patient_name = arr[i].patient.name
2352
+        //      arr[i].target_ultrafiltration = arr[i].dialysis_prescription.target_ultrafiltration
2353
+        //      arr[i].ultrafiltration_volume = arr[i].monitor_record.ultrafiltration_volume
2354
+        //      arr[i].actual_ultrafiltration = arr[i].xt_assesment_after_dislysis.actual_ultrafiltration
2355
+        //      arr[i].start_time =  this.getTimeSix(arr[i].schedule_date)
2356
+        //    }
2357
+        //  }
2358
+        //  const tHeader = ['序号','日期','患者姓名','目标超滤量','监测超滤量','实际超滤量']
2359
+        //  const filterVal = ['index','start_time','patient_name','target_ultrafiltration','ultrafiltration_volume','actual_ultrafiltration']
2360
+
2361
+        //  const data = this.formatJson(filterVal, arr)
2362
+        //  excel.export_json_to_excel({
2363
+        //    header: tHeader,
2364
+        //    data,
2365
+        //    filename: '监测数据统计'
2366
+        //   })
2367
+        //  })
2322 2368
         }
2323 2369
       })
2324 2370
     }

+ 89 - 2
src/xt_pages/dialysis/template/DialysisPrintOrderSix.vue View File

@@ -19,6 +19,7 @@
19 19
             {{ orgname }}
20 20
           </div>
21 21
           <div
22
+            v-if="org_id!=0 && org_id!=10449 && org_id!=3877 && org_id!=9671"
22 23
             class="order-title"
23 24
             style="
24 25
               letter-spacing: 0;
@@ -29,6 +30,20 @@
29 30
           >
30 31
             血液净化治疗记录单
31 32
           </div>
33
+
34
+          <div
35
+            v-if="org_id ==0 || org_id ==10449 || org_id ==3877 || org_id ==9671"
36
+            class="order-title"
37
+            style="
38
+              letter-spacing: 0;
39
+              font-weight: 600;
40
+              font-size: 22px;
41
+              display: inline-block;
42
+            "
43
+          >
44
+           <span v-if="prescription.mode_id!=13">血液净化治疗记录单</span>
45
+           <span v-if="prescription.mode_id==13">连续性肾脏替代治疗(CRRT)记录单</span>
46
+          </div>
32 47
         </div>
33 48
         <div class="row">
34 49
           <div class="inline_block">
@@ -1207,6 +1222,70 @@
1207 1222
                       </div>
1208 1223
                     </div>
1209 1224
                   </div>
1225
+
1226
+
1227
+                  <div class="row" style="padding: 2px 0; line-height: 23px" v-if="org_id ==0 || org_id == 3877 || org_id ==10449 || org_id == 9671">
1228
+                    <div
1229
+                      class="inline_block"
1230
+                      style="margin-left: 20px"
1231
+                      v-if="prescription.anticoagulant != 5"
1232
+                    >
1233
+                      置换速度:
1234
+                      <div
1235
+                        class="under_line"
1236
+                        style="width: 50px; text-align: center"
1237
+                      >
1238
+                        {{
1239
+                          prescription.displace_speed
1240
+                            ? prescription.displace_speed
1241
+                            : ""
1242
+                        }}
1243
+                      </div>
1244
+                      <span>ml/h</span>
1245
+                   
1246
+                  
1247
+                    </div>
1248
+                    <div
1249
+                      class="inline_block"
1250
+                      style="margin-left: 20px"
1251
+                      v-if="prescription.anticoagulant != 5"
1252
+                    >
1253
+                    透析液流速:
1254
+                      <div
1255
+                        class="under_line"
1256
+                        style="width: 50px; text-align: center"
1257
+                      >
1258
+                        {{
1259
+                          prescription.dialysis_fluid_flow
1260
+                            ? prescription.dialysis_fluid_flow
1261
+                            : ""
1262
+                        }}
1263
+                      </div>
1264
+                      <span>ml/h</span>
1265
+                   
1266
+                  
1267
+                    </div>
1268
+                    <div class="inline_block" style="margin-left: 20px">
1269
+                      碳酸氢钠流速:
1270
+                      <div
1271
+                        class="under_line"
1272
+                        style="width: 50px; text-align: center"
1273
+                      >
1274
+                        {{
1275
+                          prescription.sodium_bicarbonate_flow
1276
+                            ? prescription.sodium_bicarbonate_flow
1277
+                            : ""
1278
+                        }}
1279
+                      </div>
1280
+                     
1281
+                     
1282
+                    </div>
1283
+                    <span>ml/h</span>
1284
+                   
1285
+              
1286
+                  
1287
+                  </div>
1288
+
1210 1289
                   <div
1211 1290
                     class="row"
1212 1291
                     style="padding: 2px 0; line-height: 23px; display: flex"
@@ -1288,7 +1367,8 @@
1288 1367
                         <td width="60" v-if="org_id!=9836&&org_id!=9919&&org_id!=9671">透析液温度(°C)</td>
1289 1368
                         <td width="50" v-if="org_id != 10121">电导度<br />(ms/cm)</td>
1290 1369
                         <td width="50" v-if="org_id == 10121">SpO₂<br />(%)</td>
1291
-                        <td width="50">超滤量<br />(ml)</td>
1370
+                        <td width="50" v-if="org_id != 3877 && org_id != 10449 && org_id != 0">超滤量<br />(ml)</td>
1371
+                        <td width="50" v-if="org_id ==3877 || org_id == 10449 || org_id ==0">累计超滤量<br />(ml)</td>
1292 1372
                         <td
1293 1373
                           v-if="
1294 1374
                             prescription.mode_id == 2 ||
@@ -1299,6 +1379,7 @@
1299 1379
                         >
1300 1380
                           置换量<br />(ml)
1301 1381
                         </td>
1382
+                        <td width="50" v-if="org_id == 3877 || org_id == 0 || org_id == 10449">滤前压(mmHg)</td>
1302 1383
                         <td width="50" v-if="org_id == 9538">KT/V</td>
1303 1384
                         <td width="50" v-if="org_id == 9919">在线尿素监测</td>  
1304 1385
                         <td width="50" v-if="org_id == 9671">在线尿素监测</td>  
@@ -1409,6 +1490,7 @@
1409 1490
                             }}
1410 1491
                           </span>
1411 1492
                         </td>
1493
+                        <td width="50" v-if="org_id == 3877 || org_id == 0 || org_id == 10449">{{ monitor.filter_pressure?monitor.filter_pressure:""}}</td>
1412 1494
                         <td width="50" v-if="org_id == 9919 || org_id == 9538 || org_id == 9671">
1413 1495
                           {{ monitor.ktv }}
1414 1496
                         </td>
@@ -1675,7 +1757,12 @@
1675 1757
                 display: inline-block;
1676 1758
               "
1677 1759
             >
1678
-              血液净化治疗记录单
1760
+             <span v-if="org_id!=3877 && org_id!=0 && org_id!=10449">血液净化治疗记录单</span>
1761
+             <span v-if="org_id == 3877 || org_id == 0 || org_id == 10449">
1762
+              <span v-if="prescription.mode_id!=13">血液净化治疗记录单</span>
1763
+              <span v-if="prescription.mode_id==13">连续性肾脏替代治疗(CRRT)记录单</span>
1764
+             </span>
1765
+            
1679 1766
             </div>
1680 1767
           </div>
1681 1768
           <div class="row">

+ 5 - 5
src/xt_pages/dialysis/template/DialysisPrintOrderSixtyTwo.vue View File

@@ -390,7 +390,7 @@
390 390
             </td>
391 391
           </tr>
392 392
           <tr>
393
-            <!-- <td style="text-align: left" colspan="1">
393
+            <td style="text-align: left" colspan="1">
394 394
               <span style="display: inline-block; margin-left: 15px">
395 395
                 责任护士:
396 396
                 <span
@@ -401,7 +401,7 @@
401 401
                   <img style="height:30px;" :src="setAdminUserES(dialysisOrder.quality_nurse_id)" alt srcset />
402 402
                 </span>
403 403
               </span>
404
-            </td> -->
404
+            </td>
405 405
             <td style="text-align: left" colspan="1">
406 406
               <span style="display: inline-block; margin-left: 15px">
407 407
                 <span
@@ -957,10 +957,10 @@
957 957
               超滤率
958 958
               <br />ml/h
959 959
             </td>
960
-            <td style="min-width: 60px">
960
+            <!-- <td style="min-width: 60px">
961 961
               超滤量
962 962
               <br />ml
963
-            </td>
963
+            </td> -->
964 964
             <td style="min-width: 60px">
965 965
               电导度
966 966
               <br />
@@ -993,7 +993,7 @@
993 993
             </td>
994 994
             <td>{{ monitor.transmembrane_pressure }}</td>
995 995
             <td>{{ monitor.ultrafiltration_rate }}</td>
996
-            <td>{{ monitor.ultrafiltration_volume }}</td>
996
+            <!-- <td>{{ monitor.ultrafiltration_volume }}</td> -->
997 997
             <td>{{ monitor.conductivity ? monitor.conductivity : "" }}</td>
998 998
             <td>
999 999
               <span style="line-height: 18px; display: block">

+ 25 - 3
src/xt_pages/dialysis/template/DialysisPrintOrderTwentyFive.vue View File

@@ -1806,11 +1806,33 @@ export default {
1806 1806
         }
1807 1807
         return ''
1808 1808
       },
1809
+      // getAge: function(val) {
1810
+      //   if (val.birthday != 0) {
1811
+      //     return jsGetAge(val.birth, '-')
1812
+      //   }
1813
+      //   return ''
1814
+      // },
1809 1815
       getAge: function(val) {
1810
-        if (val.birthday != 0) {
1811
-          return jsGetAge(val.birth, '-')
1816
+     
1817
+      if (val.id_card_no) {
1818
+        var thisLen = val.id_card_no.length
1819
+
1820
+        var birth = ''
1821
+        if (thisLen == 15) {
1822
+          birth = '19' + val.id_card_no.substr(6, 6)
1823
+        } else {
1824
+          birth = val.id_card_no.substr(6, 8)
1812 1825
         }
1813
-        return ''
1826
+        var birthtwo =
1827
+          birth.substr(0, 4) +
1828
+          '-' +
1829
+          birth.substr(4, 2) +
1830
+          '-' +
1831
+          birth.substr(6, 2)
1832
+
1833
+        var age = jsGetAge(birthtwo, '-')
1834
+        return age
1835
+       }
1814 1836
       },
1815 1837
       newAdviceGroupObject: function() {
1816 1838
         return Object.assign(

+ 4 - 2
src/xt_pages/management/components/QualityForm.vue View File

@@ -2907,7 +2907,7 @@ export default {
2907 2907
             }
2908 2908
           }
2909 2909
           this.tableFour = devicePh
2910
-          console.log("deviceph",devicePh)
2910
+        
2911 2911
          
2912 2912
 
2913 2913
         }
@@ -2966,6 +2966,7 @@ export default {
2966 2966
       }
2967 2967
     },
2968 2968
     changeTable(val) {
2969
+      
2969 2970
       if (val === 1) {
2970 2971
         this.showOne = false;
2971 2972
         this.showTwo = false;
@@ -3649,10 +3650,11 @@ export default {
3649 3650
               dialyste[index].sampling_locationb = "反渗水末端取样口";
3650 3651
             }
3651 3652
           }
3653
+
3652 3654
           this.table = dialyste;
3653 3655
 
3654 3656
           var ions = response.data.data.ions;
3655
-          console.log("ions",ions)
3657
+         
3656 3658
           this.tableDatas = ions;
3657 3659
           var oxygenates =  response.data.data.oxygenates
3658 3660
           for (let index = 0; index < oxygenates.length; index++) {

+ 115 - 113
src/xt_pages/management/home.vue View File

@@ -1772,6 +1772,11 @@
1772 1772
 
1773 1773
 
1774 1774
 
1775
+                           
1776
+                            <el-divider></el-divider>
1777
+                         </div>     
1778
+                             
1779
+                        
1775 1780
                             <span style="margin-bottom: 20px;display: block;">有毒化合物检测</span>
1776 1781
                             <el-form ref="qualityFormFour" :model="qualityFormFour" :rules="diaRules">
1777 1782
                               <el-row>
@@ -1895,10 +1900,6 @@
1895 1900
                               </el-row>
1896 1901
                             </el-form>
1897 1902
                             <el-divider></el-divider>
1898
-                         </div>     
1899
-                             
1900
-
1901
-                             
1902 1903
 
1903 1904
 
1904 1905
 
@@ -2031,127 +2032,127 @@
2031 2032
 
2032 2033
 
2033 2034
                                <span style="margin-bottom: 20px;display: block;">水游离氯检测</span>
2034
-                            <el-form ref="qualityFormSix" :model="qualityFormSix" :rules="diaRules">
2035
-                              <el-row>
2035
+                              <el-form ref="qualityFormSix" :model="qualityFormSix" :rules="diaRules">
2036
+                                <el-row>
2037
+                                    <el-col :span="8">
2038
+                                      <el-form-item label="取样日期:">
2039
+                                          <el-date-picker
2040
+                                            v-model="qualityFormSix.sampling_date"
2041
+                                            prefix-icon="none"
2042
+                                            type="date"
2043
+                                            placeholder="请选择"
2044
+                                            format="yyyy-MM-dd"
2045
+                                            value-format="yyyy-MM-dd"
2046
+                                            style="width:150px">
2047
+                                          </el-date-picker>
2048
+                                      </el-form-item>
2049
+                                    </el-col>
2050
+                                    <el-col :span="8">
2051
+                                        <el-form-item label="取样标本:">
2052
+                                            <el-select style="width:150px"  v-model="qualityFormSix.specimenb" @change="changeSpecimen">
2053
+                                              <el-option v-for="item in samplingSpecimen" :key="item.id" :label="item.name" :value="item.id"></el-option>
2054
+                                            </el-select>
2055
+                                        </el-form-item>
2056
+                                    </el-col>
2057
+                                    <el-col :span="8">
2058
+                                      <el-form-item label="A浓缩液批号:">
2059
+                                        <el-input style="width:150px" v-model="qualityFormSix.concentrate_noc" :disabled="disable"></el-input>
2060
+                                      </el-form-item>
2061
+                                    </el-col>
2062
+
2063
+                                </el-row>
2064
+                                <el-row>
2036 2065
                                   <el-col :span="8">
2037
-                                     <el-form-item label="取样日期:">
2038
-                                        <el-date-picker
2039
-                                          v-model="qualityFormSix.sampling_date"
2040
-                                          prefix-icon="none"
2041
-                                          type="date"
2042
-                                          placeholder="请选择"
2043
-                                          format="yyyy-MM-dd"
2044
-                                          value-format="yyyy-MM-dd"
2045
-                                          style="width:150px">
2046
-                                        </el-date-picker>
2047
-                                     </el-form-item>
2066
+                                        <el-form-item label="B浓缩液批号:">
2067
+                                            <el-input style="width:150px" v-model ="qualityFormSix.concentrateb_nod" :disabled="diableTwo"></el-input>
2068
+                                        </el-form-item>
2069
+                                    </el-col>
2070
+                                    <el-col :span="8">
2071
+                                    <el-form-item label="采样部位:">
2072
+                                      <el-select style="width:150px"  v-model="qualityFormSix.sampling_locationb">
2073
+                                        <el-option v-for="item in samplingLocation" :key="item.id" :label="item.name" :value="item.id"></el-option>
2074
+                                      </el-select>
2075
+                                    </el-form-item>
2048 2076
                                   </el-col>
2049 2077
                                   <el-col :span="8">
2050
-                                       <el-form-item label="取样标本:">
2051
-                                          <el-select style="width:150px"  v-model="qualityFormSix.specimenb" @change="changeSpecimen">
2052
-                                             <el-option v-for="item in samplingSpecimen" :key="item.id" :label="item.name" :value="item.id"></el-option>
2053
-                                          </el-select>
2054
-                                       </el-form-item>
2078
+                                    <el-form-item label="检测单位:" required prop="detection_unit">
2079
+                                        <el-input style="width:150px" v-model ="qualityFormSix.detection_unit"></el-input>
2080
+                                    </el-form-item>
2055 2081
                                   </el-col>
2082
+                                </el-row>
2083
+                                <el-row>
2056 2084
                                   <el-col :span="8">
2057
-                                     <el-form-item label="A浓缩液批号:">
2058
-                                       <el-input style="width:150px" v-model="qualityFormSix.concentrate_noc" :disabled="disable"></el-input>
2059
-                                     </el-form-item>
2060
-                                  </el-col>
2061
-
2062
-                              </el-row>
2063
-                              <el-row>
2064
-                                 <el-col :span="8">
2065
-                                      <el-form-item label="B浓缩液批号:">
2066
-                                          <el-input style="width:150px" v-model ="qualityFormSix.concentrateb_nod" :disabled="diableTwo"></el-input>
2067
-                                      </el-form-item>
2085
+                                    <el-form-item label="取样者:" required prop="samplerb">
2086
+                                        <el-select style="width:150px"  v-model="qualityFormSix.samplerb">
2087
+                                          <el-option v-for="item in sampling" :key="item.addmin_user_id" :label="item.user_name" :value="item.admin_user_id"></el-option>
2088
+                                        </el-select>
2089
+                                    </el-form-item>
2068 2090
                                   </el-col>
2069
-                                   <el-col :span="8">
2070
-                                  <el-form-item label="采样部位:">
2071
-                                    <el-select style="width:150px"  v-model="qualityFormSix.sampling_locationb">
2072
-                                       <el-option v-for="item in samplingLocation" :key="item.id" :label="item.name" :value="item.id"></el-option>
2073
-                                    </el-select>
2074
-                                   </el-form-item>
2075
-                                </el-col>
2076
-                                <el-col :span="8">
2077
-                                   <el-form-item label="检测单位:" required prop="detection_unit">
2078
-                                      <el-input style="width:150px" v-model ="qualityFormSix.detection_unit"></el-input>
2079
-                                   </el-form-item>
2080
-                                </el-col>
2081
-                              </el-row>
2082
-                              <el-row>
2083
-                                <el-col :span="8">
2084
-                                   <el-form-item label="取样者:" required prop="samplerb">
2085
-                                      <el-select style="width:150px"  v-model="qualityFormSix.samplerb">
2086
-                                        <el-option v-for="item in sampling" :key="item.addmin_user_id" :label="item.user_name" :value="item.admin_user_id"></el-option>
2087
-                                      </el-select>
2088
-                                   </el-form-item>
2089
-                                </el-col>
2090
-                                <el-col :span="8">
2091
-                                  <el-form-item label="出报告日期:" required prop="reporting_dateb">
2092
-                                     <el-date-picker
2093
-                                       v-model="qualityFormSix.reporting_dateb"
2094
-                                       prefix-icon="none"
2095
-                                       type="date"
2096
-                                       placeholder="请选择"
2097
-                                       format="yyyy-MM-dd"
2098
-                                       value-format="yyyy-MM-dd"
2099
-                                       style="width:150px">
2100
-                                    </el-date-picker>
2101
-                                  </el-form-item>
2102
-                                </el-col>
2103
-                               
2104
-                                <el-col :span="8">
2105
-                                  <el-form-item label="顺序号:" required prop="sort">
2106
-                                     <el-input style="width:150px" v-model="qualityFormSix.sort" ></el-input>
2107
-                                  </el-form-item>
2108
-                                </el-col>
2109
-                              </el-row>
2110
-                              <el-row>
2111 2091
                                   <el-col :span="8">
2112
-                                      <el-form-item label="检测合格:" required prop="pass_examination">
2113
-                                        <el-radio v-model="qualityFormSix.pass_examination" label="1">是</el-radio>
2114
-                                        <el-radio v-model="qualityFormSix.pass_examination" label="2">否</el-radio>
2115
-                                      </el-form-item>
2092
+                                    <el-form-item label="出报告日期:" required prop="reporting_dateb">
2093
+                                      <el-date-picker
2094
+                                        v-model="qualityFormSix.reporting_dateb"
2095
+                                        prefix-icon="none"
2096
+                                        type="date"
2097
+                                        placeholder="请选择"
2098
+                                        format="yyyy-MM-dd"
2099
+                                        value-format="yyyy-MM-dd"
2100
+                                        style="width:150px">
2101
+                                      </el-date-picker>
2102
+                                    </el-form-item>
2116 2103
                                   </el-col>
2104
+                                
2117 2105
                                   <el-col :span="8">
2118
-                                      <el-form-item label="修改标志:" required prop="modifications">
2119
-                                        <el-select style="width:150px"  v-model="qualityFormSix.modifications">
2120
-                                          <el-option v-for="item in modifications" :key="item.id" :label="item.name" :value="item.id"></el-option>
2121
-                                        </el-select>
2122
-                                      </el-form-item>
2106
+                                    <el-form-item label="顺序号:" required prop="sort">
2107
+                                      <el-input style="width:150px" v-model="qualityFormSix.sort" ></el-input>
2108
+                                    </el-form-item>
2123 2109
                                   </el-col>
2124
-                             </el-row>
2125
-                              <el-row>
2126
-                                <el-col :span="24">
2127
-                                 <el-form-item label="检测结果:(EU/ml)" label-width="100px">
2128
-                                     <el-input
2129
-                                        type="textarea"
2130
-                                        :rows="2"
2131
-                                         placeholder="请输入内容"
2132
-                                         style="width:600px"
2133
-                                         v-model="qualityFormSix.detection_resultb"
2134
-                                         >
2135
-                                      </el-input>
2136
-                                  </el-form-item>
2137
-                                </el-col>
2110
+                                </el-row>
2111
+                                <el-row>
2112
+                                    <el-col :span="8">
2113
+                                        <el-form-item label="检测合格:" required prop="pass_examination">
2114
+                                          <el-radio v-model="qualityFormSix.pass_examination" label="1">是</el-radio>
2115
+                                          <el-radio v-model="qualityFormSix.pass_examination" label="2">否</el-radio>
2116
+                                        </el-form-item>
2117
+                                    </el-col>
2118
+                                    <el-col :span="8">
2119
+                                        <el-form-item label="修改标志:" required prop="modifications">
2120
+                                          <el-select style="width:150px"  v-model="qualityFormSix.modifications">
2121
+                                            <el-option v-for="item in modifications" :key="item.id" :label="item.name" :value="item.id"></el-option>
2122
+                                          </el-select>
2123
+                                        </el-form-item>
2124
+                                    </el-col>
2138 2125
                               </el-row>
2139
-                              <!-- <el-row>
2126
+                                <el-row>
2140 2127
                                   <el-col :span="24">
2141
-                                    <span style="color:#FF9900">注:水游离氯检测应至少每3个月1次,每台透析机每年至少检测一次</span>
2142
-                                   </el-col>
2143
-                              </el-row> -->
2144
-                              <el-row>
2145
-                                <div class="clearn">
2146
-                                  <el-col :span="4">
2147
-                                    <el-button @click="cleanLincomycin">取消</el-button>
2148
-                                  </el-col>
2149
-                                   <el-col :span="4">
2150
-                                    <el-button type="primary" @click="saveWater('qualityFormSix')">保存</el-button>
2128
+                                  <el-form-item label="检测结果:(EU/ml)" label-width="100px">
2129
+                                      <el-input
2130
+                                          type="textarea"
2131
+                                          :rows="2"
2132
+                                          placeholder="请输入内容"
2133
+                                          style="width:600px"
2134
+                                          v-model="qualityFormSix.detection_resultb"
2135
+                                          >
2136
+                                        </el-input>
2137
+                                    </el-form-item>
2151 2138
                                   </el-col>
2152
-                                </div>
2153
-                              </el-row>
2154
-                            </el-form>
2139
+                                </el-row>
2140
+                                <!-- <el-row>
2141
+                                    <el-col :span="24">
2142
+                                      <span style="color:#FF9900">注:水游离氯检测应至少每3个月1次,每台透析机每年至少检测一次</span>
2143
+                                    </el-col>
2144
+                                </el-row> -->
2145
+                                <el-row>
2146
+                                  <div class="clearn">
2147
+                                    <el-col :span="4">
2148
+                                      <el-button @click="cleanLincomycin">取消</el-button>
2149
+                                    </el-col>
2150
+                                    <el-col :span="4">
2151
+                                      <el-button type="primary" @click="saveWater('qualityFormSix')">保存</el-button>
2152
+                                    </el-col>
2153
+                                  </div>
2154
+                                </el-row>
2155
+                              </el-form>
2155 2156
                             <el-divider></el-divider>
2156 2157
 
2157 2158
                            
@@ -3355,7 +3356,8 @@ export default {
3355 3356
         this.tabIndex = index
3356 3357
       },
3357 3358
       handleCurrentChange(val) {
3358
-        console.log("Val222222222",val)
3359
+        console.log("val-------------------------",val)
3360
+        // 通过设备型号区分质量控制
3359 3361
         this.device_type = val.device_type
3360 3362
         this.unitType = val.unit_type
3361 3363
         this.currentRow = val

+ 5 - 2
src/xt_pages/outpatientCharges/listPrint.vue View File

@@ -14,10 +14,11 @@
14 14
     </template>
15 15
 
16 16
     <div class='dialysisPage' style="padding-top:40px;">
17
-      <printOne v-if="org_id != 10106&&org_id != 10215&&org_id != 10265 && org_id!=9675" :list="list" :patient="patient" :order="order" :admin="admin"></printOne>
17
+      <printOne v-if="org_id != 0 && org_id != 10106&&org_id != 10215&&org_id != 10265 && org_id!=9675" :list="list" :patient="patient" :order="order" :admin="admin"></printOne>
18 18
       <printTwo v-if="org_id == 10106 && this.paramsObj.balance_accounts_type != 2" :info="info" :order_infos="order_infos" :p_admin="p_admin" :charge_admin="charge_admin"></printTwo>
19 19
       <print-three v-if="org_id == 10106 && this.paramsObj.balance_accounts_type == 2" :info="info" :order_infos="order_infos" :p_admin="p_admin" :charge_admin="charge_admin"></print-three>
20
-      <list-print-two v-if="org_id == 10215 || org_id==9675" :list="list" :patient="patient" :order="order" :admin="admin"></list-print-two>
20
+<!--      <list-print-two v-if="org_id == 10215 || org_id==9675" :list="list" :patient="patient" :order="order" :admin="admin"></list-print-two>-->
21
+     <list-print-three v-if="org_id == 0 || org_id == 10215 || org_id==9675" :list="list" :patient="patient" :order="order" :admin="admin"></list-print-three>
21 22
       <print-two10265  v-if="org_id == 10265  " :list="list" :patient="patient" :order="order" :admin="admin" :hospital_record="hospital_record"></print-two10265>
22 23
     </div>
23 24
   </div>
@@ -35,10 +36,12 @@
35 36
   import PrintThree from './listTemplate/printThree'
36 37
   import ListPrintTwo from './listTemplate/listPrintTwo'
37 38
   import PrintTwo10265 from "./listTemplate/printTwo10265";
39
+  import ListPrintThree from "./listTemplate/listPrintThree";
38 40
 
39 41
   export default {
40 42
     name: 'listPrint',
41 43
     components: {
44
+      ListPrintThree,
42 45
       PrintTwo10265,
43 46
       ListPrintTwo,
44 47
       PrintThree,

+ 1 - 1
src/xt_pages/outpatientCharges/listTemplate/listPrintTwo.vue View File

@@ -190,7 +190,7 @@ export default {
190 190
         birth.substr(4, 2) +
191 191
         "-" +
192 192
         birth.substr(6, 2);
193
-      var age = jsGetAge(birthTwo, "-");
193
+      var age = this.jsGetAge(birthTwo, "-");
194 194
       return age;
195 195
     },
196 196
 

+ 23 - 1
src/xt_pages/outpatientTool/detailPrint.vue View File

@@ -18,6 +18,9 @@
18 18
           <tr>
19 19
             <td>患者姓名:{{ patient.name }}</td>
20 20
             <td>性别:{{ patient.gender == 1 ? "男" : "女" }}</td>
21
+            <td>性别:{{patient.id_card_no}}</td>
22
+
23
+            <TD>年龄:{{ getAge(patient.id_card_no)?getAge(patient.id_card_no)+'岁':''}}</TD>
21 24
             <td>结算类别:
22 25
             <span v-if="his_patient!=null&&his_patient.balance_accounts_type >0"> {{ getType(his_patient.balance_accounts_type) }} </span>
23 26
             <span v-if="his_record_patient!=null&&his_record_patient.balance_accounts_type >0">{{getType(his_record_patient.balance_accounts_type)}}</span></td>
@@ -164,7 +167,7 @@
164 167
 
165 168
 <script>
166 169
 import print from "print-js";
167
-import { uParseTime } from "@/utils/tools";
170
+import {jsGetAge, uParseTime } from "@/utils/tools";
168 171
 import { getHisSummaryDetailList } from "@/api/his/his_tools";
169 172
 export default {
170 173
   data() {
@@ -190,6 +193,24 @@ export default {
190 193
     };
191 194
   },
192 195
   methods: {
196
+    getAge(val){
197
+      console.log(val)
198
+      var thisLen = val.length;
199
+      var birth = "";
200
+      if (thisLen == 15) {
201
+        birth = "19" + val.substr(6, 6);
202
+      } else {
203
+        birth = val.substr(6, 8);
204
+      }
205
+      var birthTwo =
206
+        birth.substr(0, 4) +
207
+        "-" +
208
+        birth.substr(4, 2) +
209
+        "-" +
210
+        birth.substr(6, 2);
211
+      var age = jsGetAge(birthTwo, "-");
212
+      return age;
213
+    },
193 214
     printtpage() {
194 215
       const style =
195 216
         '@media print {.list-print{width:960px;margin:0 auto} .listTitle {font-size: 24px;text-align: center;font-weight: bold;margin-bottom: 10px;}.listInfo {display: flex;font-size: 16px;justify-content: space-between;margin: 10px 0;}.listTable {width: 100%;text-align: center;border-collapse: collapse;line-height: 25px;font-size: 14px;border-color: #000;text-align: left;} .listTable tr td {padding: 0 5px;}.tableBottom {font-size: 16px;display: flex;margin-top: 20px;}.tableBottomOne {margin-right: 40px;}';
@@ -237,6 +258,7 @@ export default {
237 258
 
238 259
           this.list = list;
239 260
           this.patient = response.data.data.patient;
261
+          console.log(this.patient)
240 262
 
241 263
           this.his_patient = response.data.data.his_patient;
242 264
 

+ 1 - 1
src/xt_pages/stock/drugs/drugStockInOrderDetailPrint.vue View File

@@ -51,7 +51,7 @@
51 51
                    <span>{{ item.warehousing_count }}</span>
52 52
               </td>
53 53
               <td style="line-height: 18px">
54
-                <span>{{item.max_unit}}</span>
54
+                <span>{{item.limax_unit}}</span>
55 55
               </td>
56 56
               <td style="line-height:18px">
57 57
                   <span>{{(item.warehousing_count * item.price).toFixed(2)}}</span>

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

@@ -196,7 +196,7 @@
196 196
       <el-table-column
197 197
         prop="area"
198 198
         label="分区"
199
-        width="50"
199
+        width="100"
200 200
         align="center"
201 201
         fixed
202 202
       ></el-table-column>

+ 59 - 2
src/xt_pages/workforce/remind_print_setting.vue View File

@@ -20,6 +20,50 @@
20 20
           <div class="table_panel">
21 21
             <div v-for="(main_collection,index) in scheduleData" :key="index" style="page-break-after: always;">
22 22
               <div class="signPrint" v-if="org_id != 10188 && org_id!=10217  && org_id!=10340 && org_id!=9671 && org_id!=9675">
23
+                <div>
24
+                  <span v-if="printObj.mode == 1">透析模式:
25
+                    <span v-if="main_collection.mode_id ==1">HD</span>
26
+                    <span v-if="main_collection.mode_id ==2">HDF</span>
27
+                    <span v-if="main_collection.mode_id ==3">HD+HP</span>
28
+                    <span v-if="main_collection.mode_id ==4">HP</span>
29
+                    <span v-if="main_collection.mode_id ==5">HF</span>
30
+                    <span v-if="main_collection.mode_id ==6">SCUF</span>
31
+                    <span v-if="main_collection.mode_id ==7">IUF</span>
32
+                    <span v-if="main_collection.mode_id ==8">HFHD</span>
33
+                    <span v-if="main_collection.mode_id ==9">HFHD+HP</span>
34
+                    <span v-if="main_collection.mode_id ==10">PHF</span>
35
+                    <span v-if="main_collection.mode_id ==11">HFR</span>
36
+                    <span v-if="main_collection.mode_id ==12">HDF+HP</span>
37
+                    <span v-if="main_collection.mode_id ==13">CRRT</span>
38
+                    <span v-if="main_collection.mode_id ==14">腹水回输</span>
39
+                    <span v-if="main_collection.mode_id ==19">IUF+HD</span>
40
+                    <span v-if="main_collection.mode_id ==20">UF</span>
41
+                    <span v-if="main_collection.mode_id ==21">HD+</span>
42
+                    <span v-if="main_collection.mode_id ==22">血浆胆红素吸附+HDF</span>
43
+                    <span v-if="main_collection.mode_id ==23">血浆胆红素吸附</span>
44
+                    <span v-if="main_collection.mode_id ==24">I-HDF</span>
45
+                    <span v-if="main_collection.mode_id ==25">HD高通</span>
46
+                    <span v-if="main_collection.mode_id ==26">CVVH</span>
47
+                    <span v-if="main_collection.mode_id ==27">CVVHD</span>
48
+                    <span v-if="main_collection.mode_id ==28">CVVHDF</span>
49
+                    <span v-if="main_collection.mode_id ==29">PE</span>
50
+                    <span v-if="main_collection.mode_id ==30">血浆胆红素吸附+HP</span>
51
+                    <span v-if="main_collection.mode_id ==31">HPD</span>
52
+                    <span v-if="main_collection.mode_id ==32">HDP</span>
53
+                  </span>
54
+                </div>
55
+                <div>
56
+                  <span v-if="printObj.week == 1">
57
+                     星期:
58
+                     <span v-if="main_collection.schedule_week ==1">星期一</span>
59
+                     <span v-if="main_collection.schedule_week ==2">星期二</span>
60
+                     <span v-if="main_collection.schedule_week ==3">星期三</span>
61
+                     <span v-if="main_collection.schedule_week ==4">星期四</span>
62
+                     <span v-if="main_collection.schedule_week ==5">星期五</span>
63
+                     <span v-if="main_collection.schedule_week ==6">星期六</span>
64
+                     <span v-if="main_collection.schedule_week ==7">星期日</span>
65
+                  </span>
66
+                </div>
23 67
                 <div>
24 68
                  <span v-if="printObj.zone == 1">分区/</span>
25 69
                  <span v-if="printObj.number == 1">床位号:</span>
@@ -78,6 +122,19 @@
78 122
                 <div v-if="org_id == 10188 || org_id == 10217 || org_id == 10340 || org_id == 9671 || org_id == 9675">透前体重:{{main_collection.assessmentbefor.weight_before}}</div>
79 123
                 <div v-if="org_id == 10188 || org_id == 10217 || org_id == 10340 || org_id == 9671 || org_id == 9675">体重增加:{{(main_collection.assessmentbefor.weight_before - main_collection.assessmentbefor.dry_weight).toFixed(2)}}</div>
80 124
                 <div>用法:静脉注射</div>
125
+                <!-- 透析器灌流器 -->
126
+               
127
+                 <div>
128
+                  <span v-if="printObj.dialyzers == 1 && printObj.perfusion_apparatus == 1">透析器/灌流器:</span>
129
+                  <span v-if="printObj.dialyzers == 1&& main_collection.dialysissolution.dialysis_dialyszers!=''">{{main_collection.dialysissolution.dialysis_dialyszers}}</span>
130
+                  <span v-if="printObj.perfusion_apparatus == 1&& main_collection.dialysissolution.dialysis_dialyszers!=''">{{main_collection.dialysissolution.dialysis_dialyszers}}</span>
131
+                </div>
132
+                <div v-if="printObj.doctor_advice == 1">
133
+                    医嘱:
134
+                   <span v-if="main_collection.doctoradvice!=''">{{getAdvice(main_collection.doctoradvice)}}</span>
135
+                </div>
136
+                
137
+               
81 138
                 <div>打印时间:{{currentDate}}</div>
82 139
               </div>
83 140
 
@@ -285,12 +342,12 @@
285 342
        getScheduleList(params).then(response=>{
286 343
          if(response.data.state ==1){
287 344
            var list = response.data.data.list
288
-          
345
+           
289 346
            for(let i=0;i<list.length;i++){
290 347
               list[i].sort = list[i].number.sort
291 348
            }
292 349
            var arr = list.sort(this.compare('sort'))
293
-           
350
+           console.log("arr--------",arr)
294 351
            this.scheduleData = arr
295 352
 
296 353
              let a = response.data.data.day