|
@@ -675,8 +675,23 @@
|
675
|
675
|
<span v-if="patient.prescription!=null&&patient.prescription&&patient.prescription.anticoagulant == 16">iu</span>
|
676
|
676
|
<span v-if="patient.prescription==null&&patient.dialysis_solution&&patient.dialysis_solution.anticoagulant == 16">iu</span>
|
677
|
677
|
|
678
|
|
- <span v-if="patient.prescription!=null&&patient.prescription&&patient.prescription.anticoagulant == 17">mg</span>
|
679
|
|
- <span v-if="patient.prescription==null&&patient.dialysis_solution&&patient.dialysis_solution.anticoagulant == 17">mg</span>
|
|
678
|
+ <span v-if="patient.prescription!=null&&patient.prescription&&patient.prescription.anticoagulant == 17">
|
|
679
|
+ <span v-if="$store.getters.user.template_info.org_id !=10644"> mg</span>
|
|
680
|
+ <span v-if="$store.getters.user.template_info.org_id ==10644"> U</span>
|
|
681
|
+ </span>
|
|
682
|
+ <span v-if="patient.prescription==null&&patient.dialysis_solution&&patient.dialysis_solution.anticoagulant == 17">
|
|
683
|
+ <span v-if="$store.getters.user.template_info.org_id !=10644"> mg</span>
|
|
684
|
+ <span v-if="$store.getters.user.template_info.org_id ==10644"> U</span>
|
|
685
|
+ </span>
|
|
686
|
+
|
|
687
|
+ <span v-if="patient.prescription!=null&&patient.prescription&&patient.prescription.anticoagulant == 14">
|
|
688
|
+ <span v-if="$store.getters.user.template_info.org_id !=10644"> mg</span>
|
|
689
|
+ <span v-if="$store.getters.user.template_info.org_id ==10644"> iu</span>
|
|
690
|
+ </span>
|
|
691
|
+ <span v-if="patient.prescription==null&&patient.dialysis_solution&&patient.dialysis_solution.anticoagulant == 14">
|
|
692
|
+ mg
|
|
693
|
+ </span>
|
|
694
|
+
|
680
|
695
|
|
681
|
696
|
维持: {{patient.prescription!=null&&patient.prescription&&patient.prescription.anticoagulant_weichi?patient.prescription&&patient.prescription.anticoagulant_weichi:"" }}
|
682
|
697
|
{{patient.prescription==null&&patient.dialysis_solution&&patient.dialysis_solution.anticoagulant_weichi?patient.dialysis_solution&&patient.dialysis_solution.anticoagulant_weichi:"" }}
|
|
@@ -718,8 +733,23 @@
|
718
|
733
|
<span v-if="patient.prescription!=null&&patient.prescription&&patient.prescription.anticoagulant == 16">iu</span>
|
719
|
734
|
<span v-if="patient.prescription==null&&patient.dialysis_solution&&patient.dialysis_solution.anticoagulant == 16">iu</span>
|
720
|
735
|
|
721
|
|
- <span v-if="patient.prescription!=null&&patient.prescription&&patient.prescription.anticoagulant == 17">mg</span>
|
722
|
|
- <span v-if="patient.prescription==null&&patient.dialysis_solution&&patient.dialysis_solution.anticoagulant == 17">mg</span>
|
|
736
|
+ <span v-if="patient.prescription!=null&&patient.prescription&&patient.prescription.anticoagulant == 17">
|
|
737
|
+ <span v-if="$store.getters.user.template_info.org_id !=10644"> mg/h</span>
|
|
738
|
+ <span v-if="$store.getters.user.template_info.org_id ==10644"> U/h</span>
|
|
739
|
+ </span>
|
|
740
|
+ <span v-if="patient.prescription==null&&patient.dialysis_solution&&patient.dialysis_solution.anticoagulant == 17">
|
|
741
|
+ <span v-if="$store.getters.user.template_info.org_id !=10644"> mg/h</span>
|
|
742
|
+ <span v-if="$store.getters.user.template_info.org_id ==10644"> U/h</span>
|
|
743
|
+ </span>
|
|
744
|
+
|
|
745
|
+ <span v-if="patient.prescription!=null&&patient.prescription&&patient.prescription.anticoagulant == 14">
|
|
746
|
+ <span v-if="$store.getters.user.template_info.org_id !=10644"> mg/h</span>
|
|
747
|
+ <span v-if="$store.getters.user.template_info.org_id ==10644"> iu/h</span>
|
|
748
|
+ </span>
|
|
749
|
+ <span v-if="patient.prescription==null&&patient.dialysis_solution&&patient.dialysis_solution.anticoagulant == 14">
|
|
750
|
+ <span v-if="$store.getters.user.template_info.org_id !=10644"> mg/h</span>
|
|
751
|
+ <span v-if="$store.getters.user.template_info.org_id ==10644"> iu/h</span>
|
|
752
|
+ </span>
|
723
|
753
|
|
724
|
754
|
总量:
|
725
|
755
|
{{ patient.prescription!=null&&patient.prescription&&patient.prescription.anticoagulant_zongliang?patient.prescription&&patient.prescription.anticoagulant_zongliang:"" }}
|
|
@@ -762,8 +792,23 @@
|
762
|
792
|
<span v-if="patient.prescription!=null&&patient.prescription&&patient.prescription.anticoagulant == 16">iu</span>
|
763
|
793
|
<span v-if="patient.prescription==null&&patient.dialysis_solution&&patient.dialysis_solution.anticoagulant == 16">iu</span>
|
764
|
794
|
|
765
|
|
- <span v-if="patient.prescription!=null&&patient.prescription&&patient.prescription.anticoagulant == 17">mg</span>
|
766
|
|
- <span v-if="patient.prescription==null&&patient.dialysis_solution&&patient.dialysis_solution.anticoagulant == 17">mg</span>
|
|
795
|
+ <span v-if="patient.prescription!=null&&patient.prescription&&patient.prescription.anticoagulant == 17">
|
|
796
|
+ <span v-if="$store.getters.user.template_info.org_id !=10644"> mg</span>
|
|
797
|
+ <span v-if="$store.getters.user.template_info.org_id ==10644">U</span>
|
|
798
|
+ </span>
|
|
799
|
+ <span v-if="patient.prescription==null&&patient.dialysis_solution&&patient.dialysis_solution.anticoagulant == 17">
|
|
800
|
+ <span v-if="$store.getters.user.template_info.org_id !=10644"> mg</span>
|
|
801
|
+ <span v-if="$store.getters.user.template_info.org_id ==10644">U</span>
|
|
802
|
+ </span>
|
|
803
|
+
|
|
804
|
+ <span v-if="patient.prescription!=null&&patient.prescription&&patient.prescription.anticoagulant == 14">
|
|
805
|
+ <span v-if="$store.getters.user.template_info.org_id !=10644"> mg</span>
|
|
806
|
+ <span v-if="$store.getters.user.template_info.org_id ==10644"> iu</span>
|
|
807
|
+ </span>
|
|
808
|
+ <span v-if="patient.prescription==null&&patient.dialysis_solution&&patient.dialysis_solution.anticoagulant == 14">
|
|
809
|
+ <span v-if="$store.getters.user.template_info.org_id !=10644"> mg</span>
|
|
810
|
+ <span v-if="$store.getters.user.template_info.org_id ==10644"> iu</span>
|
|
811
|
+ </span>
|
767
|
812
|
|
768
|
813
|
|
769
|
814
|
</p>
|
|
@@ -901,13 +946,36 @@
|
901
|
946
|
<li>
|
902
|
947
|
<span class="iconfont"></span>
|
903
|
948
|
床位号 :
|
904
|
|
- {{
|
|
949
|
+ <span v-if="$store.getters.user.template_info.org_id ==10340">
|
|
950
|
+ <span style="color:blue" v-if="patient.dialysis_order && patient.dialysis_order.device_number!=undefined && (patient.dialysis_order.device_number.id == 4414 || patient.dialysis_order && patient.dialysis_order.device_number.id == 4449 || patient.dialysis_order && patient.dialysis_order.device_number.id == 4456 || patient.dialysis_order && patient.dialysis_order.device_number.id == 4416 || patient.dialysis_order && patient.dialysis_order.device_number.id == 4448 || patient.dialysis_order && patient.dialysis_order.device_number.id == 4468 || patient.dialysis_order && patient.dialysis_order.device_number.id == 4451 || patient.dialysis_order && patient.dialysis_order.device_number.id == 4457 || patient.dialysis_order && patient.dialysis_order.device_number.id == 4495)">
|
|
951
|
+
|
|
952
|
+ {{
|
|
953
|
+ patient.dialysis_order &&
|
|
954
|
+ patient.dialysis_order.device_number &&
|
|
955
|
+ patient.dialysis_order.device_number.number.length > 0
|
|
956
|
+ ? patient.dialysis_order.device_number.number
|
|
957
|
+ : patient.device_number.number
|
|
958
|
+ }}
|
|
959
|
+ </span>
|
|
960
|
+ <span v-else>
|
|
961
|
+ {{
|
|
962
|
+ patient.dialysis_order &&
|
|
963
|
+ patient.dialysis_order.device_number &&
|
|
964
|
+ patient.dialysis_order.device_number.number.length > 0
|
|
965
|
+ ? patient.dialysis_order.device_number.number
|
|
966
|
+ : patient.device_number.number
|
|
967
|
+ }}
|
|
968
|
+ </span>
|
|
969
|
+ </span>
|
|
970
|
+ <span v-if="$store.getters.user.template_info.org_id!=10340">
|
|
971
|
+ {{
|
905
|
972
|
patient.dialysis_order &&
|
906
|
973
|
patient.dialysis_order.device_number &&
|
907
|
974
|
patient.dialysis_order.device_number.number.length > 0
|
908
|
975
|
? patient.dialysis_order.device_number.number
|
909
|
976
|
: patient.device_number.number
|
910
|
977
|
}}
|
|
978
|
+ </span>
|
911
|
979
|
</li>
|
912
|
980
|
<li>
|
913
|
981
|
<span class="iconfont"></span>
|
|
@@ -1055,7 +1123,7 @@
|
1055
|
1123
|
|
1056
|
1124
|
<!-- 消毒弹窗 -->
|
1057
|
1125
|
<van-popup
|
1058
|
|
- v-if="$store.getters.user.template_info.org_id!=9671"
|
|
1126
|
+ v-if="$store.getters.user.template_info.org_id==9671"
|
1059
|
1127
|
title="消毒时间"
|
1060
|
1128
|
v-model="showPlan"
|
1061
|
1129
|
class="appPopup"
|
|
@@ -1143,7 +1211,7 @@
|
1143
|
1211
|
|
1144
|
1212
|
|
1145
|
1213
|
<van-popup
|
1146
|
|
- v-if="$store.getters.user.template_info.org_id==9671"
|
|
1214
|
+ v-if="$store.getters.user.template_info.org_id!=9671"
|
1147
|
1215
|
title="消毒时间"
|
1148
|
1216
|
v-model="showPlan"
|
1149
|
1217
|
class="appPopup"
|
|
@@ -1256,7 +1324,7 @@
|
1256
|
1324
|
</div>
|
1257
|
1325
|
|
1258
|
1326
|
<div class="item">
|
1259
|
|
- <h2 class="name">床位更换:</h2>
|
|
1327
|
+ <h2 class="name">床单位更换:</h2>
|
1260
|
1328
|
<div class="content" @click="showPicker5 = true">
|
1261
|
1329
|
<span
|
1262
|
1330
|
class="text"
|
|
@@ -1267,6 +1335,43 @@
|
1267
|
1335
|
</div>
|
1268
|
1336
|
</div>
|
1269
|
1337
|
|
|
1338
|
+ <div class="item">
|
|
1339
|
+ <h2 class="name">透析机消毒液(更换):</h2>
|
|
1340
|
+ <div class="content" @click="showPicker6 = true">
|
|
1341
|
+ <span
|
|
1342
|
+ class="text"
|
|
1343
|
+ style="width: 100px"
|
|
1344
|
+ >{{ kuangvalue6 }}</span
|
|
1345
|
+ >
|
|
1346
|
+ <span class="iconfont"></span>
|
|
1347
|
+ </div>
|
|
1348
|
+ </div>
|
|
1349
|
+
|
|
1350
|
+
|
|
1351
|
+ <div class="item">
|
|
1352
|
+ <h2 class="name">空气滤网清洁:</h2>
|
|
1353
|
+ <div class="content" @click="showPicker7 = true">
|
|
1354
|
+ <span
|
|
1355
|
+ class="text"
|
|
1356
|
+ style="width: 100px"
|
|
1357
|
+ >{{ kuangvalue7 }}</span
|
|
1358
|
+ >
|
|
1359
|
+ <span class="iconfont"></span>
|
|
1360
|
+ </div>
|
|
1361
|
+ </div>
|
|
1362
|
+
|
|
1363
|
+ <div class="item">
|
|
1364
|
+ <h2 class="name">细菌过滤器(更换):</h2>
|
|
1365
|
+ <div class="content" @click="showPicker8 = true">
|
|
1366
|
+ <span
|
|
1367
|
+ class="text"
|
|
1368
|
+ style="width: 100px"
|
|
1369
|
+ >{{ kuangvalue8 }}</span
|
|
1370
|
+ >
|
|
1371
|
+ <span class="iconfont"></span>
|
|
1372
|
+ </div>
|
|
1373
|
+ </div>
|
|
1374
|
+
|
1270
|
1375
|
|
1271
|
1376
|
</div>
|
1272
|
1377
|
|
|
@@ -1332,6 +1437,33 @@
|
1332
|
1437
|
@confirm="onConfirmFour"
|
1333
|
1438
|
/>
|
1334
|
1439
|
</van-popup>
|
|
1440
|
+
|
|
1441
|
+ <van-popup v-model:show="showPicker6" round position="bottom">
|
|
1442
|
+ <van-picker
|
|
1443
|
+ show-toolbar
|
|
1444
|
+ :columns="listOne"
|
|
1445
|
+ @cancel="showPicker6=false"
|
|
1446
|
+ @confirm="onConfirmFive"
|
|
1447
|
+ />
|
|
1448
|
+ </van-popup>
|
|
1449
|
+
|
|
1450
|
+ <van-popup v-model:show="showPicker7" round position="bottom">
|
|
1451
|
+ <van-picker
|
|
1452
|
+ show-toolbar
|
|
1453
|
+ :columns="listTwo"
|
|
1454
|
+ @cancel="showPicker7=false"
|
|
1455
|
+ @confirm="onConfirmSix"
|
|
1456
|
+ />
|
|
1457
|
+ </van-popup>
|
|
1458
|
+
|
|
1459
|
+ <van-popup v-model:show="showPicker8" round position="bottom">
|
|
1460
|
+ <van-picker
|
|
1461
|
+ show-toolbar
|
|
1462
|
+ :columns="listThree"
|
|
1463
|
+ @cancel="showPicker8=false"
|
|
1464
|
+ @confirm="onConfirmSeven"
|
|
1465
|
+ />
|
|
1466
|
+ </van-popup>
|
1335
|
1467
|
</div>
|
1336
|
1468
|
</van-popup>
|
1337
|
1469
|
</div>
|
|
@@ -1356,9 +1488,9 @@ import {
|
1356
|
1488
|
getDialysisRecordOrde
|
1357
|
1489
|
} from '@/api/dialysis'
|
1358
|
1490
|
const moment = require('moment')
|
1359
|
|
-import { getDisInfectionTime, SaveDisinfetionInfo } from '@/api/manage'
|
|
1491
|
+import { getDisInfectionTime, SaveDisinfetionInfo,SaveDisinfetionInfoOne } from '@/api/manage'
|
1360
|
1492
|
import { GetRemindLongAdviceOne } from '@/api/advice'
|
1361
|
|
-import { Console } from 'console'
|
|
1493
|
+import { Console, info } from 'console'
|
1362
|
1494
|
export default {
|
1363
|
1495
|
name: 'PatientBox',
|
1364
|
1496
|
components: {
|
|
@@ -1403,6 +1535,8 @@ export default {
|
1403
|
1535
|
showPicker4:false,
|
1404
|
1536
|
showPicker5:false,
|
1405
|
1537
|
showPicker6:false,
|
|
1538
|
+ showPicker7:false,
|
|
1539
|
+ showPicker8:false,
|
1406
|
1540
|
receiver_treatment_access: {}, // 接诊评估
|
1407
|
1541
|
predialysis_evaluation: {}, // 透前评估
|
1408
|
1542
|
last_predialysis_evaluation: {}, // 上次透前评估
|
|
@@ -1484,6 +1618,8 @@ export default {
|
1484
|
1618
|
kuangvalue4:"",
|
1485
|
1619
|
kuangvalue5:"",
|
1486
|
1620
|
kuangvalue6:"",
|
|
1621
|
+ kuangvalue7:"",
|
|
1622
|
+ kuangvalue8:"",
|
1487
|
1623
|
// 机表消毒方式
|
1488
|
1624
|
disinfectType: [
|
1489
|
1625
|
{ value: 0, text: "/" },
|
|
@@ -1497,7 +1633,9 @@ export default {
|
1497
|
1633
|
{ value: 2, text: "500mg/l含氯消毒剂" },
|
1498
|
1634
|
{ value: 3, text: "1000mg/l含氯消毒剂" },
|
1499
|
1635
|
{ value: 4, text: "1500mg/l含氯消毒剂" },
|
1500
|
|
- { value: 5, text:"消毒湿巾"}
|
|
1636
|
+ { value: 5, text:"消毒湿巾"},
|
|
1637
|
+ { value: 6, text:"1.85g/L季铵盐"},
|
|
1638
|
+ { value:7, text:"2000mg/l含氯消毒剂"}
|
1501
|
1639
|
],
|
1502
|
1640
|
// 夜路消毒方式
|
1503
|
1641
|
sterilizeType: [
|
|
@@ -1523,6 +1661,7 @@ export default {
|
1523
|
1661
|
{ value: 8, text: "50%冰醋酸" },
|
1524
|
1662
|
{ value: 9, text: "5%次氯酸钠" },
|
1525
|
1663
|
{ value: 10,text:"25%的柠檬酸+5%次氯酸钠"},
|
|
1664
|
+ { value: 11,text:"20%柠檬酸+5%次氯酸钠"}
|
1526
|
1665
|
],
|
1527
|
1666
|
// 床单位更换
|
1528
|
1667
|
bedType: [
|
|
@@ -1531,6 +1670,20 @@ export default {
|
1531
|
1670
|
{ value: 2, text: "被套" },
|
1532
|
1671
|
{ value: 3, text: "枕套" },
|
1533
|
1672
|
|
|
1673
|
+ ],
|
|
1674
|
+
|
|
1675
|
+ // 床单位更换
|
|
1676
|
+ listOne: [
|
|
1677
|
+ { value: 1, text: "更换" },
|
|
1678
|
+ { value:2,text:"未更换"},
|
|
1679
|
+ ],
|
|
1680
|
+ listTwo: [
|
|
1681
|
+ { value: 1, text: "清洁" },
|
|
1682
|
+ { value: 2, text:"未清洁"},
|
|
1683
|
+ ],
|
|
1684
|
+ listThree: [
|
|
1685
|
+ { value: 1, text: "更换" },
|
|
1686
|
+ { value: 2, text:"未更换"},
|
1534
|
1687
|
],
|
1535
|
1688
|
timenow:0,
|
1536
|
1689
|
last_befor:{},
|
|
@@ -2587,7 +2740,7 @@ export default {
|
2587
|
2740
|
this.zone_id = schedual.device_number.zone.id
|
2588
|
2741
|
this.patient_id = schedual.patient_id
|
2589
|
2742
|
this.mode_id = schedual.mode_id
|
2590
|
|
- if (this.$store.getters.user.template_info.org_id == 9671 || this.$store.getters.user.template_info.org_id == 9675 || this.$store.getters.user.template_info.org_id == 10340 || this.$store.getters.user.template_info.org_id == 9829 || this.$store.getters.user.template_info.org_id == 10490) {
|
|
2743
|
+ if (this.$store.getters.user.template_info.org_id == 9671 || this.$store.getters.user.template_info.org_id == 9675 || this.$store.getters.user.template_info.org_id == 10340 || this.$store.getters.user.template_info.org_id == 9829 || this.$store.getters.user.template_info.org_id == 10490 || this.$store.getters.user.template_info.org_id == 10318) {
|
2591
|
2744
|
console.log('下机时间', schedual.dialysis_order.end_time)
|
2592
|
2745
|
if (schedual && schedual.dialysis_order != null) {
|
2593
|
2746
|
this.start_time_str = this.getTimeTwo(schedual.dialysis_order.end_time)
|
|
@@ -2600,7 +2753,7 @@ export default {
|
2600
|
2753
|
schedule_date: schedual.schedule_date
|
2601
|
2754
|
}
|
2602
|
2755
|
console.log('params23232323', params)
|
2603
|
|
- if (this.$store.getters.user.template_info.org_id == 9671 || this.$store.getters.user.template_info.org_id == 9675 || this.$store.getters.user.template_info.org_id == 10340 || this.$store.getters.user.template_info.org_id == 9829 || this.$store.getters.user.template_info.org_id == 10490 || this.$store.getters.user.template_info.org_id == 10101) {
|
|
2756
|
+ if (this.$store.getters.user.template_info.org_id == 9671 || this.$store.getters.user.template_info.org_id == 9675 || this.$store.getters.user.template_info.org_id == 10340 || this.$store.getters.user.template_info.org_id == 9829 || this.$store.getters.user.template_info.org_id == 10490 || this.$store.getters.user.template_info.org_id == 10101 || this.$store.getters.user.template_info.org_id == 10318) {
|
2604
|
2757
|
getDialysisRecordOrde(params).then((response) => {
|
2605
|
2758
|
if (response.data.state == 1) {
|
2606
|
2759
|
var order = response.data.data.order
|
|
@@ -2678,16 +2831,18 @@ export default {
|
2678
|
2831
|
})
|
2679
|
2832
|
},
|
2680
|
2833
|
commitInfoOne () {
|
|
2834
|
+
|
2681
|
2835
|
var way = 0
|
2682
|
2836
|
for(let i=0;i<this.disinfectType.length;i++){
|
2683
|
2837
|
if(this.kuangvalue == this.disinfectType[i].text){
|
2684
|
|
- way = this.disinfectType.value
|
|
2838
|
+ way = this.disinfectType[i].value
|
2685
|
2839
|
}
|
2686
|
2840
|
}
|
|
2841
|
+
|
2687
|
2842
|
var machine_disinfectant =0
|
2688
|
2843
|
for(let i=0;i<this.disinfectantType.length;i++){
|
2689
|
|
- if(this.kuangvalue2 == this.disinfectType[i].text){
|
2690
|
|
- machine_disinfectant = this.disinfectType[i].value
|
|
2844
|
+ if(this.kuangvalue2 == this.disinfectantType[i].text){
|
|
2845
|
+ machine_disinfectant = this.disinfectantType[i].value
|
2691
|
2846
|
}
|
2692
|
2847
|
}
|
2693
|
2848
|
|
|
@@ -2705,13 +2860,41 @@ export default {
|
2705
|
2860
|
}
|
2706
|
2861
|
}
|
2707
|
2862
|
|
|
2863
|
+ console.log("bedType",this.bedType)
|
2708
|
2864
|
var bed_way =0
|
2709
|
2865
|
for(let i=0;i<this.bedType.length;i++){
|
2710
|
2866
|
if(this.kuangvalue5 == this.bedType[i].text){
|
2711
|
|
- bed_way== this.fluidPathType[i].bedType
|
|
2867
|
+ bed_way = this.bedType[i].value
|
2712
|
2868
|
}
|
2713
|
2869
|
}
|
2714
|
2870
|
|
|
2871
|
+ var dialysis_checked =0
|
|
2872
|
+
|
|
2873
|
+ if(this.kuangvalue6 == "更换"){
|
|
2874
|
+ dialysis_checked = 1
|
|
2875
|
+ }
|
|
2876
|
+ if(this.kuangvalue6 == "未更换"){
|
|
2877
|
+ dialysis_checked = 0
|
|
2878
|
+ }
|
|
2879
|
+
|
|
2880
|
+ var clean =0
|
|
2881
|
+
|
|
2882
|
+ if(this.kuangvalue7 == "清洁"){
|
|
2883
|
+ clean = 1
|
|
2884
|
+ }
|
|
2885
|
+ if(this.kuangvalue7 == "未清洁"){
|
|
2886
|
+ clean = 0
|
|
2887
|
+ }
|
|
2888
|
+
|
|
2889
|
+ var germ_checked =0
|
|
2890
|
+ if(this.kuangvalue8 == "更换"){
|
|
2891
|
+ germ_checked =1
|
|
2892
|
+ }
|
|
2893
|
+ if(this.kuangvalue8 == "未更换"){
|
|
2894
|
+ germ_checked =0
|
|
2895
|
+ }
|
|
2896
|
+ console.log("kuangvalue",this.kuangvalue5)
|
|
2897
|
+
|
2715
|
2898
|
const params = {
|
2716
|
2899
|
bed_id: this.bed_id,
|
2717
|
2900
|
start_time: this.start_time_str,
|
|
@@ -2727,7 +2910,11 @@ export default {
|
2727
|
2910
|
disinfectant_way:disinfectant_way,
|
2728
|
2911
|
disinfectant:disinfectant,
|
2729
|
2912
|
bed_way:bed_way,
|
|
2913
|
+ dialysis_checked:dialysis_checked,
|
|
2914
|
+ clean:clean,
|
|
2915
|
+ germ_checked:germ_checked,
|
2730
|
2916
|
}
|
|
2917
|
+
|
2731
|
2918
|
if (this.disinfec_time == '') {
|
2732
|
2919
|
this.$toast('消毒时长不能为空!')
|
2733
|
2920
|
return false
|
|
@@ -2737,8 +2924,8 @@ export default {
|
2737
|
2924
|
return false
|
2738
|
2925
|
}
|
2739
|
2926
|
console.log('params', params)
|
2740
|
|
-
|
2741
|
|
- SaveDisinfetionInfo(params).then((response) => {
|
|
2927
|
+
|
|
2928
|
+ SaveDisinfetionInfoOne(params).then((response) => {
|
2742
|
2929
|
if (response.data.state == 1) {
|
2743
|
2930
|
var information = response.data.data.information
|
2744
|
2931
|
|
|
@@ -2793,6 +2980,69 @@ export default {
|
2793
|
2980
|
var u = navigator.userAgent
|
2794
|
2981
|
var isAndroid = u.indexOf('Android') > -1 || u.indexOf('Adr') > -1 // android终端
|
2795
|
2982
|
var isiOS = !!u.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/) // ios终端
|
|
2983
|
+
|
|
2984
|
+ var way = 0
|
|
2985
|
+ for(let i=0;i<this.disinfectType.length;i++){
|
|
2986
|
+ if(this.kuangvalue == this.disinfectType[i].text){
|
|
2987
|
+ way = this.disinfectType[i].value
|
|
2988
|
+ }
|
|
2989
|
+ }
|
|
2990
|
+
|
|
2991
|
+ var machine_disinfectant =0
|
|
2992
|
+ for(let i=0;i<this.disinfectantType.length;i++){
|
|
2993
|
+ if(this.kuangvalue2 == this.disinfectantType[i].text){
|
|
2994
|
+ machine_disinfectant = this.disinfectantType[i].value
|
|
2995
|
+ }
|
|
2996
|
+ }
|
|
2997
|
+
|
|
2998
|
+ var disinfectant_way = 0
|
|
2999
|
+ for(let i=0;i<this.sterilizeType.length;i++){
|
|
3000
|
+ if(this.kuangvalue3 == this.sterilizeType[i].text){
|
|
3001
|
+ disinfectant_way = this.sterilizeType[i].value
|
|
3002
|
+ }
|
|
3003
|
+ }
|
|
3004
|
+
|
|
3005
|
+ var disinfectant=0
|
|
3006
|
+ for(let i=0;i<this.fluidPathType.length;i++){
|
|
3007
|
+ if(this.kuangvalue4 == this.fluidPathType[i].text){
|
|
3008
|
+ disinfectant = this.fluidPathType[i].value
|
|
3009
|
+ }
|
|
3010
|
+ }
|
|
3011
|
+
|
|
3012
|
+ console.log("bedType",this.bedType)
|
|
3013
|
+ var bed_way =0
|
|
3014
|
+ for(let i=0;i<this.bedType.length;i++){
|
|
3015
|
+ if(this.kuangvalue5 == this.bedType[i].text){
|
|
3016
|
+ bed_way = this.bedType[i].value
|
|
3017
|
+ }
|
|
3018
|
+ }
|
|
3019
|
+
|
|
3020
|
+ var dialysis_checked =0
|
|
3021
|
+
|
|
3022
|
+ if(this.kuangvalue6 == "更换"){
|
|
3023
|
+ dialysis_checked = 1
|
|
3024
|
+ }
|
|
3025
|
+ if(this.kuangvalue6 == "未更换"){
|
|
3026
|
+ dialysis_checked = 0
|
|
3027
|
+ }
|
|
3028
|
+
|
|
3029
|
+ var clean =0
|
|
3030
|
+
|
|
3031
|
+ if(this.kuangvalue7 == "清洁"){
|
|
3032
|
+ clean = 1
|
|
3033
|
+ }
|
|
3034
|
+ if(this.kuangvalue7 == "未清洁"){
|
|
3035
|
+ clean = 0
|
|
3036
|
+ }
|
|
3037
|
+
|
|
3038
|
+ var germ_checked =0
|
|
3039
|
+ if(this.kuangvalue8 == "更换"){
|
|
3040
|
+ germ_checked =1
|
|
3041
|
+ }
|
|
3042
|
+ if(this.kuangvalue8 == "未更换"){
|
|
3043
|
+ germ_checked =0
|
|
3044
|
+ }
|
|
3045
|
+ console.log("kuangvalue",this.kuangvalue5)
|
2796
|
3046
|
const params = {
|
2797
|
3047
|
bed_id: this.bed_id,
|
2798
|
3048
|
start_time: this.start_time_str,
|
|
@@ -2802,14 +3052,22 @@ export default {
|
2802
|
3052
|
zone_id: this.zone_id,
|
2803
|
3053
|
patient_id: this.patient_id,
|
2804
|
3054
|
mode_id: this.mode_id,
|
2805
|
|
- schedule_type: this.schedule_type
|
|
3055
|
+ schedule_type: this.schedule_type,
|
|
3056
|
+ way:way,
|
|
3057
|
+ machine_disinfectant:machine_disinfectant,
|
|
3058
|
+ disinfectant_way:disinfectant_way,
|
|
3059
|
+ disinfectant:disinfectant,
|
|
3060
|
+ bed_way:bed_way,
|
|
3061
|
+ dialysis_checked:dialysis_checked,
|
|
3062
|
+ clean:clean,
|
|
3063
|
+ germ_checked:germ_checked,
|
2806
|
3064
|
}
|
2807
|
3065
|
if (this.disinfec_time == '') {
|
2808
|
3066
|
this.$toast('消毒时长不能为空!')
|
2809
|
3067
|
return false
|
2810
|
3068
|
}
|
2811
|
3069
|
// console.log("params",params)
|
2812
|
|
- SaveDisinfetionInfo(params).then((response) => {
|
|
3070
|
+ SaveDisinfetionInfoOne(params).then((response) => {
|
2813
|
3071
|
if (response.data.state == 1) {
|
2814
|
3072
|
var information = response.data.data.information
|
2815
|
3073
|
|
|
@@ -2880,49 +3138,62 @@ export default {
|
2880
|
3138
|
|
2881
|
3139
|
this.disinfec_time = plan
|
2882
|
3140
|
|
2883
|
|
- // var planObj = response.data.data.planObj
|
2884
|
|
- // if(planObj!="" && planObj!=undefined){
|
2885
|
|
- // var way = ""
|
2886
|
|
- // for(let i=0;i<this.disinfectType.length;i++){
|
2887
|
|
- // if(planObj.way == this.disinfectType[i].value){
|
2888
|
|
- // way = this.disinfectantType[i].text
|
2889
|
|
- // }
|
2890
|
|
- // }
|
2891
|
|
- // this.kuangvalue =way
|
2892
|
|
-
|
2893
|
|
- // var machine_disinfectant = ""
|
2894
|
|
- // for(let i=0;i<this.disinfectantType.length;i++){
|
2895
|
|
- // if(planObj.device_type == this.disinfectType[i].value){
|
2896
|
|
- // machine_disinfectant = this.disinfectType[i].text
|
2897
|
|
- // }
|
2898
|
|
- // }
|
2899
|
|
- // this.kuangvalue2 = machine_disinfectant
|
2900
|
|
-
|
2901
|
|
- // var disinfectant_way = ""
|
2902
|
|
- // for(let i=0;i<this.sterilizeType.length;i++){
|
2903
|
|
- // if(planObj.sterilizeType == this.sterilizeType[i].text){
|
2904
|
|
- // disinfectant_way = this.sterilizeType[i].text
|
2905
|
|
- // }
|
2906
|
|
- // }
|
2907
|
|
- // this.kuangvalue3 = disinfectant_way
|
2908
|
|
-
|
2909
|
|
- // var disinfectant=""
|
2910
|
|
- // for(let i=0;i<this.fluidPathType.length;i++){
|
2911
|
|
- // if(planObj.disinfectant == this.fluidPathType[i].value){
|
2912
|
|
- // disinfectant = this.fluidPathType[i].text
|
2913
|
|
- // }
|
2914
|
|
- // }
|
2915
|
|
- // this.kuangvalue4 = disinfectant
|
2916
|
|
-
|
2917
|
|
- // var bed_type = ""
|
2918
|
|
- // for(let i=0;i<this.bedType.length;i++){
|
2919
|
|
- // if(planObj.bed_way == this.bedType[i].value){
|
2920
|
|
- // bed_type = this.bedType[i].text
|
2921
|
|
- // }
|
2922
|
|
- // }
|
2923
|
|
- // this.kuangvalue5 =bed_type
|
2924
|
|
-
|
2925
|
|
- // }
|
|
3141
|
+ var planObj = response.data.data.planObj
|
|
3142
|
+
|
|
3143
|
+ console.log("plaobj",planObj)
|
|
3144
|
+ // 机表(床单元、床旁桌)消毒方式
|
|
3145
|
+ if(planObj!="" && planObj!=undefined){
|
|
3146
|
+ var way = ""
|
|
3147
|
+ for(let i=0;i<this.disinfectType.length;i++){
|
|
3148
|
+ if(planObj.way == this.disinfectType[i].value){
|
|
3149
|
+ way = this.disinfectType[i].text
|
|
3150
|
+ }
|
|
3151
|
+ }
|
|
3152
|
+ this.kuangvalue =way
|
|
3153
|
+
|
|
3154
|
+
|
|
3155
|
+ //机表(床单元、床旁桌)消毒液
|
|
3156
|
+ var machine_disinfectant = ""
|
|
3157
|
+ for(let i=0;i<this.disinfectantType.length;i++){
|
|
3158
|
+ if(planObj.machine_disinfectant == this.disinfectantType[i].value){
|
|
3159
|
+ machine_disinfectant = this.disinfectantType[i].text
|
|
3160
|
+ }
|
|
3161
|
+ }
|
|
3162
|
+ console.log("machine_disinfectant",machine_disinfectant)
|
|
3163
|
+ this.kuangvalue2 = machine_disinfectant
|
|
3164
|
+
|
|
3165
|
+
|
|
3166
|
+ // 夜路消毒方式
|
|
3167
|
+ var disinfectant_way = ""
|
|
3168
|
+ for(let i=0;i<this.sterilizeType.length;i++){
|
|
3169
|
+ if(planObj.disinfectan_way == this.sterilizeType[i].value){
|
|
3170
|
+ disinfectant_way = this.sterilizeType[i].text
|
|
3171
|
+ }
|
|
3172
|
+ }
|
|
3173
|
+ console.log("machine_disinfectant",disinfectant_way)
|
|
3174
|
+ this.kuangvalue3 = disinfectant_way
|
|
3175
|
+
|
|
3176
|
+ //液路消毒液
|
|
3177
|
+ var disinfectant=""
|
|
3178
|
+ for(let i=0;i<this.fluidPathType.length;i++){
|
|
3179
|
+ if(planObj.disinfectant == this.fluidPathType[i].value){
|
|
3180
|
+ disinfectant = this.fluidPathType[i].text
|
|
3181
|
+ }
|
|
3182
|
+ }
|
|
3183
|
+ console.log("machine_disinfectant",disinfectant)
|
|
3184
|
+ this.kuangvalue4 = disinfectant
|
|
3185
|
+
|
|
3186
|
+ // 床单位更换
|
|
3187
|
+ var bed_type = ""
|
|
3188
|
+ for(let i=0;i<this.bedType.length;i++){
|
|
3189
|
+ if(planObj.bed_way == this.bedType[i].value){
|
|
3190
|
+ bed_type = this.bedType[i].text
|
|
3191
|
+ }
|
|
3192
|
+ }
|
|
3193
|
+ console.log("machine_disinfectant",bed_type)
|
|
3194
|
+ this.kuangvalue5 =bed_type
|
|
3195
|
+
|
|
3196
|
+ }
|
2926
|
3197
|
var total = 60 * parseInt(this.disinfec_time) + new Date(this.start_time_str).valueOf() / 1000
|
2927
|
3198
|
console.log('total', total)
|
2928
|
3199
|
this.select_time_str = this.getTimeTwo(total)
|
|
@@ -2968,6 +3239,85 @@ export default {
|
2968
|
3239
|
'{y}-{m}-{d} {h}:{i}'
|
2969
|
3240
|
)
|
2970
|
3241
|
this.disinfec_time = infomation.long_time
|
|
3242
|
+
|
|
3243
|
+
|
|
3244
|
+ if(infomation!="" && infomation!=undefined){
|
|
3245
|
+ var way = ""
|
|
3246
|
+ for(let i=0;i<this.disinfectType.length;i++){
|
|
3247
|
+ if(infomation.disinfect_type == this.disinfectType[i].value){
|
|
3248
|
+ way = this.disinfectType[i].text
|
|
3249
|
+ }
|
|
3250
|
+ }
|
|
3251
|
+ this.kuangvalue =way
|
|
3252
|
+
|
|
3253
|
+
|
|
3254
|
+ //机表(床单元、床旁桌)消毒液
|
|
3255
|
+ var machine_disinfectant = ""
|
|
3256
|
+ for(let i=0;i<this.disinfectantType.length;i++){
|
|
3257
|
+ if(infomation.disinfectant_type == this.disinfectantType[i].value){
|
|
3258
|
+ machine_disinfectant = this.disinfectantType[i].text
|
|
3259
|
+ }
|
|
3260
|
+ }
|
|
3261
|
+
|
|
3262
|
+ this.kuangvalue2 = machine_disinfectant
|
|
3263
|
+
|
|
3264
|
+
|
|
3265
|
+ // 夜路消毒方式
|
|
3266
|
+ var disinfectant_way = ""
|
|
3267
|
+ for(let i=0;i<this.sterilizeType.length;i++){
|
|
3268
|
+ if(infomation.fluid_path == this.sterilizeType[i].value){
|
|
3269
|
+ disinfectant_way = this.sterilizeType[i].text
|
|
3270
|
+ }
|
|
3271
|
+ }
|
|
3272
|
+ console.log("machine_disinfectant",disinfectant_way)
|
|
3273
|
+ this.kuangvalue3 = disinfectant_way
|
|
3274
|
+
|
|
3275
|
+ //液路消毒液
|
|
3276
|
+ var disinfectant=""
|
|
3277
|
+ for(let i=0;i<this.fluidPathType.length;i++){
|
|
3278
|
+ if(infomation.disinfectant == this.fluidPathType[i].value){
|
|
3279
|
+ disinfectant = this.fluidPathType[i].text
|
|
3280
|
+ }
|
|
3281
|
+ }
|
|
3282
|
+ console.log("machine_disinfectant",disinfectant)
|
|
3283
|
+ this.kuangvalue4 = disinfectant
|
|
3284
|
+
|
|
3285
|
+ // 床单位更换
|
|
3286
|
+ var bed_type = ""
|
|
3287
|
+ for(let i=0;i<this.bedType.length;i++){
|
|
3288
|
+ if(infomation.bed_way == this.bedType[i].value){
|
|
3289
|
+ bed_type = this.bedType[i].text
|
|
3290
|
+ }
|
|
3291
|
+ }
|
|
3292
|
+ console.log("machine_disinfectant",bed_type)
|
|
3293
|
+ this.kuangvalue5 =bed_type
|
|
3294
|
+
|
|
3295
|
+
|
|
3296
|
+ if(infomation.dialysis_checked == 1){
|
|
3297
|
+ this.kuangvalue6 = "更换"
|
|
3298
|
+ }
|
|
3299
|
+
|
|
3300
|
+ if(infomation.dialysis_checked == 2){
|
|
3301
|
+ this.kuangvalue6 = "未更换"
|
|
3302
|
+ }
|
|
3303
|
+
|
|
3304
|
+ if(infomation.germ_checked == 1){
|
|
3305
|
+ this.kuangvalue8 = "更换"
|
|
3306
|
+ }
|
|
3307
|
+
|
|
3308
|
+ if(infomation.germ_checked == 2){
|
|
3309
|
+ this.kuangvalue8 = "未更换"
|
|
3310
|
+ }
|
|
3311
|
+
|
|
3312
|
+ if(infomation.clean == 1){
|
|
3313
|
+ this.kuangvalue7 = "清洁"
|
|
3314
|
+ }
|
|
3315
|
+
|
|
3316
|
+ if(infomation.clean == 2){
|
|
3317
|
+ this.kuangvalue7 = "未清洁"
|
|
3318
|
+ }
|
|
3319
|
+
|
|
3320
|
+ }
|
2971
|
3321
|
}
|
2972
|
3322
|
} else {
|
2973
|
3323
|
this.planStatus = 1
|
|
@@ -3094,9 +3444,35 @@ export default {
|
3094
|
3444
|
}
|
3095
|
3445
|
}
|
3096
|
3446
|
this.showPicker5=false
|
|
3447
|
+ },
|
|
3448
|
+ onConfirmFive(val){
|
|
3449
|
+ for(let i=0;i<this.listOne.length;i++){
|
|
3450
|
+ if(val.id==this.listOne[i].id){
|
|
3451
|
+ this.kuangvalue6=val.text
|
|
3452
|
+ }
|
|
3453
|
+ }
|
|
3454
|
+ this.showPicker6=false
|
|
3455
|
+ },
|
|
3456
|
+ onConfirmSix(val){
|
|
3457
|
+ for(let i=0;i<this.listTwo.length;i++){
|
|
3458
|
+ if(val.id==this.listTwo[i].id){
|
|
3459
|
+ this.kuangvalue7=val.text
|
|
3460
|
+ }
|
|
3461
|
+ }
|
|
3462
|
+ this.showPicker7=false
|
|
3463
|
+ },
|
|
3464
|
+ onConfirmSeven(val){
|
|
3465
|
+ for(let i=0;i<this.listThree.length;i++){
|
|
3466
|
+ if(val.id==this.listThree[i].id){
|
|
3467
|
+ this.kuangvalue8=val.text
|
|
3468
|
+ }
|
|
3469
|
+ }
|
|
3470
|
+ this.showPicker8=false
|
3097
|
3471
|
}
|
3098
|
3472
|
|
3099
|
3473
|
|
|
3474
|
+
|
|
3475
|
+
|
3100
|
3476
|
},
|
3101
|
3477
|
created () {
|
3102
|
3478
|
|
|
@@ -3113,7 +3489,7 @@ export default {
|
3113
|
3489
|
|
3114
|
3490
|
var arrDateTwo = (timeStampOne/1000)-28800
|
3115
|
3491
|
|
3116
|
|
- console.log("时间搓2222",arrDateTwo)
|
|
3492
|
+ // console.log("时间搓2222",arrDateTwo)
|
3117
|
3493
|
|
3118
|
3494
|
this.timenow = arrDateTwo
|
3119
|
3495
|
},
|