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
 
29
 
30
     // host: 'xt.test.sgjyun.com',
30
     // host: 'xt.test.sgjyun.com',
31
     //  host: 'xt.kuyicloud.com',
31
     //  host: 'xt.kuyicloud.com',
32
-   // host: 'xt.test.sgjyun.com',
32
+    // host: 'xt.test.sgjyun.com',
33
     host: 'localhost',
33
     host: 'localhost',
34
     port: 9528, // can be overwritten by process.env.PORT, if port is in use, a free one will be determined
34
     port: 9528, // can be overwritten by process.env.PORT, if port is in use, a free one will be determined
35
     autoOpenBrowser: true,
35
     autoOpenBrowser: true,

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

39
                 display: inline-block;
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
             </div>
49
             </div>
44
           </div>
50
           </div>
45
           <div class="row">
51
           <div class="row">
1021
                         ml/min
1027
                         ml/min
1022
                       </div>
1028
                       </div>
1023
                     </div>
1029
                     </div>
1030
+
1024
                     <div class="row" style="padding: 2px 0; line-height: 23px">
1031
                     <div class="row" style="padding: 2px 0; line-height: 23px">
1025
                       <div class="inline_block">
1032
                       <div class="inline_block">
1026
                         抗凝剂:
1033
                         抗凝剂:
1171
                         </div>
1178
                         </div>
1172
                       </div>
1179
                       </div>
1173
                     </div>
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
                   </td>
1232
                   </td>
1175
                 </tr>
1233
                 </tr>
1176
                 <tr>
1234
                 <tr>
1224
                           >
1282
                           >
1225
                             SpO₂<br />(%)
1283
                             SpO₂<br />(%)
1226
                           </td>
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
                           <td
1287
                           <td
1229
                             v-if="
1288
                             v-if="
1230
                               record.prescription.mode_id == 2 ||
1289
                               record.prescription.mode_id == 2 ||
1235
                           >
1294
                           >
1236
                             置换量<br />(ml)
1295
                             置换量<br />(ml)
1237
                           </td>
1296
                           </td>
1238
-
1297
+                          <td v-if="org_id == 3877 || org_id == 0 || org_id == 10449" width="50">滤前压(mmHg)</td>
1239
                           <td
1298
                           <td
1240
                             width="50"
1299
                             width="50"
1241
                             v-if="
1300
                             v-if="
1390
                                 : ""
1449
                                 : ""
1391
                             }}
1450
                             }}
1392
                           </td>
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
                           <td
1459
                           <td
1394
                             width="50"
1460
                             width="50"
1395
                             v-if="
1461
                             v-if="
1820
                   display: inline-block;
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
               </div>
1896
               </div>
1825
             </div>
1897
             </div>
1826
             <div class="row">
1898
             <div class="row">

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

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

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

1330
         return age
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
     getAge: function(val) {
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
     printAction: function() {
1370
     printAction: function() {
1349
       const style =
1371
       const style =
1350
         '@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;}';
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
           <span class="content">{{this.prescription.sodium_curve}}</span>
572
           <span class="content">{{this.prescription.sodium_curve}}</span>
573
         </li>
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
         <li v-if="isShow('病情处理')">
590
         <li v-if="isShow('病情处理')">
576
           <label>病情处理: </label>
591
           <label>病情处理: </label>
577
           <span class="content">{{this.prescription.treatment_remark}}</span>
592
           <span class="content">{{this.prescription.treatment_remark}}</span>

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

1011
                     </el-col>
1011
                     </el-col>
1012
                 </el-row>
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
               <el-row :gutter="20">
1035
               <el-row :gutter="20">
1015
                     <el-col :span="24"  v-if="isShows('病情处理')">
1036
                     <el-col :span="24"  v-if="isShows('病情处理')">
1016
                         <el-form-item  label="病情处理: ">
1037
                         <el-form-item  label="病情处理: ">
1559
           prescription_sodium:"",
1580
           prescription_sodium:"",
1560
           start_sodium:"",
1581
           start_sodium:"",
1561
           sodium_curve:"",
1582
           sodium_curve:"",
1583
+          dialysis_fluid_flow:"",
1584
+          sodium_bicarbonate_flow:"",
1562
         },
1585
         },
1563
 
1586
 
1564
         anticoagulant: {
1587
         anticoagulant: {
2318
             } else if (schedual.schedule_type == 3) {
2341
             } else if (schedual.schedule_type == 3) {
2319
               this.start_time = year + '-' + month + '-' + day + ' ' + '18:00'
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
            }else if(this.$store.getters.xt_user.org.id == 9829){
2352
            }else if(this.$store.getters.xt_user.org.id == 9829){
2322
               if (schedual.schedule_type == 1) {
2353
               if (schedual.schedule_type == 1) {
2323
               this.start_time = year + '-' + month + '-' + day + ' ' + '6:30'
2354
               this.start_time = year + '-' + month + '-' + day + ' ' + '6:30'

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

832
             </template>
832
             </template>
833
           </el-table-column>
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
           <el-table-column
847
           <el-table-column
836
             prop="heparin"
848
             prop="heparin"
837
             align="center"
849
             align="center"
1523
             </el-form-item>
1535
             </el-form-item>
1524
           </el-col>
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
           <!-- </el-row>
1544
           <!-- </el-row>
1527
 
1545
 
1528
           <el-row :gutter="20"> -->
1546
           <el-row :gutter="20"> -->
1737
         blood_monitor: "",
1755
         blood_monitor: "",
1738
         heparin_amount: "", //肝素量
1756
         heparin_amount: "", //肝素量
1739
         dehydration: "",
1757
         dehydration: "",
1758
+        filter_pressure:"",
1740
       },
1759
       },
1741
 
1760
 
1742
       table_current_row: null,
1761
       table_current_row: null,
1962
       
1981
       
1963
         this.form.temperature = ""
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
         // this.form.breathing_rated =  resp.monitor.breathing_rated ? resp.monitor.breathing_rated : '';
1985
         // this.form.breathing_rated =  resp.monitor.breathing_rated ? resp.monitor.breathing_rated : '';
1967
         this.form.systolic_bp = ""; // this.last_monitor_record.systolic_blood_pressure;
1986
         this.form.systolic_bp = ""; // this.last_monitor_record.systolic_blood_pressure;
1968
         this.form.diastolic_bp = ""; // this.last_monitor_record.diastolic_blood_pressure;
1987
         this.form.diastolic_bp = ""; // this.last_monitor_record.diastolic_blood_pressure;
1976
           this.form.venous_pressure = ""; // this.last_monitor_record.venous_pressure;
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
         this.form.venous_pressure_type = resp.monitor.venous_pressure_type? resp.monitor.venous_pressure_type: 1;
2004
         this.form.venous_pressure_type = resp.monitor.venous_pressure_type? resp.monitor.venous_pressure_type: 1;
1980
         if(this.org_id == 9671 || this.org_id == 9675 || this.org_id == 10340 || this.org_id == 10387){
2005
         if(this.org_id == 9671 || this.org_id == 9675 || this.org_id == 10340 || this.org_id == 10387){
1981
            this.form.arterial_pressure = resp.monitor.arterial_pressure? resp.monitor.arterial_pressure: "-100"; // this.last_monitor_record.arterial_pressure;
2006
            this.form.arterial_pressure = resp.monitor.arterial_pressure? resp.monitor.arterial_pressure: "-100"; // this.last_monitor_record.arterial_pressure;
2168
         this.form.blood_monitor = "";
2193
         this.form.blood_monitor = "";
2169
         this.form.dehydration = "";
2194
         this.form.dehydration = "";
2170
         this.form.heparin_amount = "";
2195
         this.form.heparin_amount = "";
2196
+        this.form.filter_pressure =""
2171
       } else {
2197
       } else {
2172
         (this.form.id = monitor.id),
2198
         (this.form.id = monitor.id),
2173
           // this.form.operate_date = monitor.operate_date
2199
           // this.form.operate_date = monitor.operate_date
2278
         this.form.heparin_amount = monitor.heparin_amount
2304
         this.form.heparin_amount = monitor.heparin_amount
2279
           ? monitor.heparin_amount
2305
           ? monitor.heparin_amount
2280
           : "";
2306
           : "";
2307
+        this.form.filter_pressure = monitor.filter_pressure
2308
+        ? monitor.filter_pressure
2309
+        : "";  
2281
         // 设置三个下拉框的值,直接调用事件偷懒
2310
         // 设置三个下拉框的值,直接调用事件偷懒
2282
         this.symptomTextareaBlur();
2311
         this.symptomTextareaBlur();
2283
         this.disposeTextareaBlur();
2312
         this.disposeTextareaBlur();
2421
         parseFloat(this.form.dehydration) == NaN
2450
         parseFloat(this.form.dehydration) == NaN
2422
           ? 0
2451
           ? 0
2423
           : parseFloat(this.form.dehydration);
2452
           : parseFloat(this.form.dehydration);
2453
+      this.form.filter_pressure = this.form.filter_pressure?this.form.filter_pressure:""
2424
       let mode = "1";
2454
       let mode = "1";
2425
       if (this.form.id > 0) {
2455
       if (this.form.id > 0) {
2426
         mode = "2";
2456
         mode = "2";

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

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

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

27
                 <tr>
27
                 <tr>
28
                   <td width="50">序号</td>
28
                   <td width="50">序号</td>
29
                   <td width="100">区域</td>
29
                   <td width="100">区域</td>
30
-                  <td width="100">责护</td>
30
+                  <!-- <td width="100">责护</td> -->
31
                   <td width="100">透析模式</td>
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
                      {{item.advice_name}}
33
                      {{item.advice_name}}
34
                   </td>
34
                   </td>
35
                 </tr>
35
                 </tr>
41
                     <span v-if="item.is_total ==0">总计</span>
41
                     <span v-if="item.is_total ==0">总计</span>
42
                   </td>
42
                   </td>
43
                   <td>
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
                   </td>
48
                   </td>
46
-                  <td>
49
+                  <!-- <td>
47
                     <span v-if="item.is_total == 1"> {{getAdminUserName(item.execution_staff)}}</span>
50
                     <span v-if="item.is_total == 1"> {{getAdminUserName(item.execution_staff)}}</span>
48
-                  </td>
51
+                  </td> -->
49
                   <td>
52
                   <td>
50
                     <span v-if="item.is_total == 1"> {{getModeId(item.child)}}</span>
53
                     <span v-if="item.is_total == 1"> {{getModeId(item.child)}}</span>
51
                   </td>
54
                   </td>
52
                   <td v-for="(it,i) in tabHead"  :key="i">
55
                   <td v-for="(it,i) in tabHead"  :key="i">
53
                     <span v-if="item.is_total == 1">
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
                     </span>
63
                     </span>
56
                     <span v-if="item.is_total == 0">
64
                     <span v-if="item.is_total == 0">
57
                       {{getAllSumCount(it.advice_name)}}
65
                       {{getAllSumCount(it.advice_name)}}
113
           tabHead:[],
121
           tabHead:[],
114
           tableDataList:[],
122
           tableDataList:[],
115
           adminUserList:[],
123
           adminUserList:[],
124
+          doctorMap:[],
116
         }
125
         }
117
       },
126
       },
118
       components: {
127
       components: {
181
                 this.tabHead = arr
190
                 this.tabHead = arr
182
                 console.log("arr---------------------",this.tabHead)
191
                 console.log("arr---------------------",this.tabHead)
183
               }
192
               }
184
-
193
+              
194
+              this.doctorMap = []
185
               if(doctorList!=null && doctorList.length > 0){
195
               if(doctorList!=null && doctorList.length > 0){
186
-                
187
                 let dataInfo = {}
196
                 let dataInfo = {}
188
                   doctorList.forEach((item, index) => {
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
                       child: [],
205
                       child: [],
194
                       count:0,
206
                       count:0,
195
                       sort:item.sort,
207
                       sort:item.sort,
200
                 if(newArr!=null && newArr.length >0){
212
                 if(newArr!=null && newArr.length >0){
201
                   for(let i=0;i<newArr.length;i++){
213
                   for(let i=0;i<newArr.length;i++){
202
                     for(let j=0;j<doctorList.length;j++){
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
                          newArr[i].child.push(doctorList[j])
216
                          newArr[i].child.push(doctorList[j])
205
                       }
217
                       }
206
                     }
218
                     }
515
 
527
 
516
       getAllSumCount(advice_name){
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
   </script>
592
   </script>

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

638
           width="100"
638
           width="100"
639
         >
639
         >
640
           <template slot-scope="scope" >
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
           </template>
645
           </template>
643
 
646
 
644
         </el-table-column>
647
         </el-table-column>
645
-       <el-table-column
648
+       <!-- <el-table-column
646
           align="center"
649
           align="center"
647
           prop="name"
650
           prop="name"
648
           label="责护"
651
           label="责护"
654
             </span>
657
             </span>
655
           </template>
658
           </template>
656
 
659
 
657
-        </el-table-column>
660
+        </el-table-column> -->
658
 
661
 
659
         <el-table-column
662
         <el-table-column
660
           align="center"
663
           align="center"
680
           <template slot-scope="scope">
683
           <template slot-scope="scope">
681
             <span v-if="scope.row.is_total ==1">
684
             <span v-if="scope.row.is_total ==1">
682
               <span v-if="scope.row.child[index]!=null">{{getDrugCount(scope.row.child,item.advice_name)}}</span>
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
             </span>
689
             </span>
684
             <span v-if="scope.row.is_total == 0">
690
             <span v-if="scope.row.is_total == 0">
685
                  {{getAllSumCount(item.advice_name)}}
691
                  {{getAllSumCount(item.advice_name)}}
794
       tabHead:[],
800
       tabHead:[],
795
       tableDataList:[],
801
       tableDataList:[],
796
       adminUserList:[],
802
       adminUserList:[],
803
+      doctorMap:[],
797
     };
804
     };
798
   },
805
   },
799
   created() {
806
   created() {
829
       });
836
       });
830
     },
837
     },
831
     clickCurrent(val) {
838
     clickCurrent(val) {
832
-      console.log(val);
839
+      //console.log(val);
833
       this.$router.push({
840
       this.$router.push({
834
         path: "/dialysis/details",
841
         path: "/dialysis/details",
835
         query: { patient_id: val.patient_id, date: val.sch_time_int,mode_id:val.mode_id }
842
         query: { patient_id: val.patient_id, date: val.sch_time_int,mode_id:val.mode_id }
1865
                 console.log("tabHead",this.tabHead)
1872
                 console.log("tabHead",this.tabHead)
1866
               }
1873
               }
1867
 
1874
 
1875
+              this.doctorMap = []
1868
               if(doctorList!=null && doctorList.length > 0){
1876
               if(doctorList!=null && doctorList.length > 0){
1869
-
1870
                 let dataInfoOne = {}
1877
                 let dataInfoOne = {}
1871
                   doctorList.forEach((item, index) => {
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
                       child: [],
1886
                       child: [],
1877
                       count:0,
1887
                       count:0,
1878
                       sort:item.sort,
1888
                       sort:item.sort,
1883
                 if(newArr!=null && newArr.length >0){
1893
                 if(newArr!=null && newArr.length >0){
1884
                   for(let i=0;i<newArr.length;i++){
1894
                   for(let i=0;i<newArr.length;i++){
1885
                     for(let j=0;j<doctorList.length;j++){
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
                          newArr[i].child.push(doctorList[j])
1897
                          newArr[i].child.push(doctorList[j])
1888
                       }
1898
                       }
1889
                     }
1899
                     }
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
                 newList.push(obj)
1911
                 newList.push(obj)
1902
                 this.tableDataList = newList
1912
                 this.tableDataList = newList
1903
                 console.log("999999999999999999-------",this.tableDataList)
1913
                 console.log("999999999999999999-------",this.tableDataList)
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
      getSpecification(id){
1961
      getSpecification(id){
1917
         var specification_name = ""
1962
         var specification_name = ""
1918
         for(let i=0;i<this.druglist.length;i++){
1963
         for(let i=0;i<this.druglist.length;i++){
2289
       GetMobileScheduleList().then(response=>{
2334
       GetMobileScheduleList().then(response=>{
2290
         if(response.data.state == 1){
2335
         if(response.data.state == 1){
2291
           var schedule = response.data.data.schedule
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
             {{ orgname }}
19
             {{ orgname }}
20
           </div>
20
           </div>
21
           <div
21
           <div
22
+            v-if="org_id!=0 && org_id!=10449 && org_id!=3877 && org_id!=9671"
22
             class="order-title"
23
             class="order-title"
23
             style="
24
             style="
24
               letter-spacing: 0;
25
               letter-spacing: 0;
29
           >
30
           >
30
             血液净化治疗记录单
31
             血液净化治疗记录单
31
           </div>
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
         </div>
47
         </div>
33
         <div class="row">
48
         <div class="row">
34
           <div class="inline_block">
49
           <div class="inline_block">
1207
                       </div>
1222
                       </div>
1208
                     </div>
1223
                     </div>
1209
                   </div>
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
                   <div
1289
                   <div
1211
                     class="row"
1290
                     class="row"
1212
                     style="padding: 2px 0; line-height: 23px; display: flex"
1291
                     style="padding: 2px 0; line-height: 23px; display: flex"
1288
                         <td width="60" v-if="org_id!=9836&&org_id!=9919&&org_id!=9671">透析液温度(°C)</td>
1367
                         <td width="60" v-if="org_id!=9836&&org_id!=9919&&org_id!=9671">透析液温度(°C)</td>
1289
                         <td width="50" v-if="org_id != 10121">电导度<br />(ms/cm)</td>
1368
                         <td width="50" v-if="org_id != 10121">电导度<br />(ms/cm)</td>
1290
                         <td width="50" v-if="org_id == 10121">SpO₂<br />(%)</td>
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
                         <td
1372
                         <td
1293
                           v-if="
1373
                           v-if="
1294
                             prescription.mode_id == 2 ||
1374
                             prescription.mode_id == 2 ||
1299
                         >
1379
                         >
1300
                           置换量<br />(ml)
1380
                           置换量<br />(ml)
1301
                         </td>
1381
                         </td>
1382
+                        <td width="50" v-if="org_id == 3877 || org_id == 0 || org_id == 10449">滤前压(mmHg)</td>
1302
                         <td width="50" v-if="org_id == 9538">KT/V</td>
1383
                         <td width="50" v-if="org_id == 9538">KT/V</td>
1303
                         <td width="50" v-if="org_id == 9919">在线尿素监测</td>  
1384
                         <td width="50" v-if="org_id == 9919">在线尿素监测</td>  
1304
                         <td width="50" v-if="org_id == 9671">在线尿素监测</td>  
1385
                         <td width="50" v-if="org_id == 9671">在线尿素监测</td>  
1409
                             }}
1490
                             }}
1410
                           </span>
1491
                           </span>
1411
                         </td>
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
                         <td width="50" v-if="org_id == 9919 || org_id == 9538 || org_id == 9671">
1494
                         <td width="50" v-if="org_id == 9919 || org_id == 9538 || org_id == 9671">
1413
                           {{ monitor.ktv }}
1495
                           {{ monitor.ktv }}
1414
                         </td>
1496
                         </td>
1675
                 display: inline-block;
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
             </div>
1766
             </div>
1680
           </div>
1767
           </div>
1681
           <div class="row">
1768
           <div class="row">

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

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

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

1806
         }
1806
         }
1807
         return ''
1807
         return ''
1808
       },
1808
       },
1809
+      // getAge: function(val) {
1810
+      //   if (val.birthday != 0) {
1811
+      //     return jsGetAge(val.birth, '-')
1812
+      //   }
1813
+      //   return ''
1814
+      // },
1809
       getAge: function(val) {
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
       newAdviceGroupObject: function() {
1837
       newAdviceGroupObject: function() {
1816
         return Object.assign(
1838
         return Object.assign(

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

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

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

1772
 
1772
 
1773
 
1773
 
1774
 
1774
 
1775
+                           
1776
+                            <el-divider></el-divider>
1777
+                         </div>     
1778
+                             
1779
+                        
1775
                             <span style="margin-bottom: 20px;display: block;">有毒化合物检测</span>
1780
                             <span style="margin-bottom: 20px;display: block;">有毒化合物检测</span>
1776
                             <el-form ref="qualityFormFour" :model="qualityFormFour" :rules="diaRules">
1781
                             <el-form ref="qualityFormFour" :model="qualityFormFour" :rules="diaRules">
1777
                               <el-row>
1782
                               <el-row>
1895
                               </el-row>
1900
                               </el-row>
1896
                             </el-form>
1901
                             </el-form>
1897
                             <el-divider></el-divider>
1902
                             <el-divider></el-divider>
1898
-                         </div>     
1899
-                             
1900
-
1901
-                             
1902
 
1903
 
1903
 
1904
 
1904
 
1905
 
2031
 
2032
 
2032
 
2033
 
2033
                                <span style="margin-bottom: 20px;display: block;">水游离氯检测</span>
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
                                   <el-col :span="8">
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
                                   </el-col>
2076
                                   </el-col>
2049
                                   <el-col :span="8">
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
                                   </el-col>
2081
                                   </el-col>
2082
+                                </el-row>
2083
+                                <el-row>
2056
                                   <el-col :span="8">
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
                                   </el-col>
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
                                   <el-col :span="8">
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
                                   </el-col>
2103
                                   </el-col>
2104
+                                
2117
                                   <el-col :span="8">
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
                                   </el-col>
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
                               </el-row>
2125
                               </el-row>
2139
-                              <!-- <el-row>
2126
+                                <el-row>
2140
                                   <el-col :span="24">
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
                                   </el-col>
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
                             <el-divider></el-divider>
2156
                             <el-divider></el-divider>
2156
 
2157
 
2157
                            
2158
                            
3355
         this.tabIndex = index
3356
         this.tabIndex = index
3356
       },
3357
       },
3357
       handleCurrentChange(val) {
3358
       handleCurrentChange(val) {
3358
-        console.log("Val222222222",val)
3359
+        console.log("val-------------------------",val)
3360
+        // 通过设备型号区分质量控制
3359
         this.device_type = val.device_type
3361
         this.device_type = val.device_type
3360
         this.unitType = val.unit_type
3362
         this.unitType = val.unit_type
3361
         this.currentRow = val
3363
         this.currentRow = val

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

14
     </template>
14
     </template>
15
 
15
 
16
     <div class='dialysisPage' style="padding-top:40px;">
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
       <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>
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
       <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>
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
       <print-two10265  v-if="org_id == 10265  " :list="list" :patient="patient" :order="order" :admin="admin" :hospital_record="hospital_record"></print-two10265>
22
       <print-two10265  v-if="org_id == 10265  " :list="list" :patient="patient" :order="order" :admin="admin" :hospital_record="hospital_record"></print-two10265>
22
     </div>
23
     </div>
23
   </div>
24
   </div>
35
   import PrintThree from './listTemplate/printThree'
36
   import PrintThree from './listTemplate/printThree'
36
   import ListPrintTwo from './listTemplate/listPrintTwo'
37
   import ListPrintTwo from './listTemplate/listPrintTwo'
37
   import PrintTwo10265 from "./listTemplate/printTwo10265";
38
   import PrintTwo10265 from "./listTemplate/printTwo10265";
39
+  import ListPrintThree from "./listTemplate/listPrintThree";
38
 
40
 
39
   export default {
41
   export default {
40
     name: 'listPrint',
42
     name: 'listPrint',
41
     components: {
43
     components: {
44
+      ListPrintThree,
42
       PrintTwo10265,
45
       PrintTwo10265,
43
       ListPrintTwo,
46
       ListPrintTwo,
44
       PrintThree,
47
       PrintThree,

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

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

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

18
           <tr>
18
           <tr>
19
             <td>患者姓名:{{ patient.name }}</td>
19
             <td>患者姓名:{{ patient.name }}</td>
20
             <td>性别:{{ patient.gender == 1 ? "男" : "女" }}</td>
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
             <td>结算类别:
24
             <td>结算类别:
22
             <span v-if="his_patient!=null&&his_patient.balance_accounts_type >0"> {{ getType(his_patient.balance_accounts_type) }} </span>
25
             <span v-if="his_patient!=null&&his_patient.balance_accounts_type >0"> {{ getType(his_patient.balance_accounts_type) }} </span>
23
             <span v-if="his_record_patient!=null&&his_record_patient.balance_accounts_type >0">{{getType(his_record_patient.balance_accounts_type)}}</span></td>
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
 
167
 
165
 <script>
168
 <script>
166
 import print from "print-js";
169
 import print from "print-js";
167
-import { uParseTime } from "@/utils/tools";
170
+import {jsGetAge, uParseTime } from "@/utils/tools";
168
 import { getHisSummaryDetailList } from "@/api/his/his_tools";
171
 import { getHisSummaryDetailList } from "@/api/his/his_tools";
169
 export default {
172
 export default {
170
   data() {
173
   data() {
190
     };
193
     };
191
   },
194
   },
192
   methods: {
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
     printtpage() {
214
     printtpage() {
194
       const style =
215
       const style =
195
         '@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;}';
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
 
258
 
238
           this.list = list;
259
           this.list = list;
239
           this.patient = response.data.data.patient;
260
           this.patient = response.data.data.patient;
261
+          console.log(this.patient)
240
 
262
 
241
           this.his_patient = response.data.data.his_patient;
263
           this.his_patient = response.data.data.his_patient;
242
 
264
 

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

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

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

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

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

20
           <div class="table_panel">
20
           <div class="table_panel">
21
             <div v-for="(main_collection,index) in scheduleData" :key="index" style="page-break-after: always;">
21
             <div v-for="(main_collection,index) in scheduleData" :key="index" style="page-break-after: always;">
22
               <div class="signPrint" v-if="org_id != 10188 && org_id!=10217  && org_id!=10340 && org_id!=9671 && org_id!=9675">
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
                 <div>
67
                 <div>
24
                  <span v-if="printObj.zone == 1">分区/</span>
68
                  <span v-if="printObj.zone == 1">分区/</span>
25
                  <span v-if="printObj.number == 1">床位号:</span>
69
                  <span v-if="printObj.number == 1">床位号:</span>
78
                 <div v-if="org_id == 10188 || org_id == 10217 || org_id == 10340 || org_id == 9671 || org_id == 9675">透前体重:{{main_collection.assessmentbefor.weight_before}}</div>
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
                 <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>
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
                 <div>用法:静脉注射</div>
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
                 <div>打印时间:{{currentDate}}</div>
138
                 <div>打印时间:{{currentDate}}</div>
82
               </div>
139
               </div>
83
 
140
 
285
        getScheduleList(params).then(response=>{
342
        getScheduleList(params).then(response=>{
286
          if(response.data.state ==1){
343
          if(response.data.state ==1){
287
            var list = response.data.data.list
344
            var list = response.data.data.list
288
-          
345
+           
289
            for(let i=0;i<list.length;i++){
346
            for(let i=0;i<list.length;i++){
290
               list[i].sort = list[i].number.sort
347
               list[i].sort = list[i].number.sort
291
            }
348
            }
292
            var arr = list.sort(this.compare('sort'))
349
            var arr = list.sort(this.compare('sort'))
293
-           
350
+           console.log("arr--------",arr)
294
            this.scheduleData = arr
351
            this.scheduleData = arr
295
 
352
 
296
              let a = response.data.data.day
353
              let a = response.data.data.day