|
@@ -642,7 +642,8 @@ export default {
|
642
|
642
|
tableData1: [],
|
643
|
643
|
arr: [],
|
644
|
644
|
newName: '',
|
645
|
|
- newTime: ''
|
|
645
|
+ newTime: '',
|
|
646
|
+ scheudle_mode:""
|
646
|
647
|
}
|
647
|
648
|
},
|
648
|
649
|
created() {
|
|
@@ -878,18 +879,19 @@ export default {
|
878
|
879
|
if (resp.state == 1) {
|
879
|
880
|
var patient = resp.data.patient // 患者信息
|
880
|
881
|
var schedual = resp.data.schedual // 患者排班信息
|
|
882
|
+ // console.log("患者排班信息99999999",schedual)
|
881
|
883
|
var prescription = resp.data.prescription // 透析处方
|
882
|
884
|
if (prescription != null) {
|
883
|
885
|
if (prescription.body_fluid == -2) {
|
884
|
886
|
prescription.body_fluid = 0
|
885
|
887
|
}
|
886
|
888
|
}
|
887
|
|
- console.log('透析处方', prescription)
|
|
889
|
+ // console.log('透析处方', prescription)
|
888
|
890
|
var solution = resp.data.solution // 透析方案
|
889
|
891
|
var receiver_treatment_access = resp.data.receiver_treatment_access // 接诊评估
|
890
|
|
- console.log('receiver_treatment_access', receiver_treatment_access)
|
|
892
|
+ // console.log('receiver_treatment_access', receiver_treatment_access)
|
891
|
893
|
var predialysis_evaluation = resp.data.predialysis_evaluation // 透前评估
|
892
|
|
- console.log('透前评估22222', predialysis_evaluation)
|
|
894
|
+ // console.log('透前评估22222', predialysis_evaluation)
|
893
|
895
|
|
894
|
896
|
if (predialysis_evaluation != null) {
|
895
|
897
|
if (predialysis_evaluation.blood_access_part_id == -2) {
|
|
@@ -920,7 +922,7 @@ export default {
|
920
|
922
|
var aliquid_info = resp.data.aliquid_info
|
921
|
923
|
|
922
|
924
|
var lastPredialysisEvaluation = resp.data.lastPredialysisEvaluation
|
923
|
|
- console.log('上次透前评估', lastPredialysisEvaluation)
|
|
925
|
+ // console.log('上次透前评估', lastPredialysisEvaluation)
|
924
|
926
|
if (lastPredialysisEvaluation != null) {
|
925
|
927
|
if (lastPredialysisEvaluation.blood_access_part_id == -2) {
|
926
|
928
|
lastPredialysisEvaluation.blood_access_part_id = 0
|
|
@@ -931,7 +933,7 @@ export default {
|
931
|
933
|
resp.data.lastAssessmentAfterDislysis
|
932
|
934
|
var lastDialysisPrescribe = resp.data.lastDialysisPrescribe
|
933
|
935
|
var lastDryWeightDislysis = resp.data.lastDryWeightDislysis
|
934
|
|
- console.log("最后一次干体重",lastDryWeightDislysis)
|
|
936
|
+ // console.log("最后一次干体重",lastDryWeightDislysis)
|
935
|
937
|
var system_prescribe = resp.data.system_prescribe
|
936
|
938
|
|
937
|
939
|
this.$refs.nav.setLastRecord(
|
|
@@ -953,9 +955,8 @@ export default {
|
953
|
955
|
this.lastDialysisPrescribe = lastDialysisPrescribe
|
954
|
956
|
this.lastDryWeightDislysis = lastDryWeightDislysis
|
955
|
957
|
this.headNurses = headNurses
|
956
|
|
- this.system_prescribe = system_prescribe
|
957
|
|
-
|
958
|
|
-
|
|
958
|
+ this.system_prescribe = system_prescribe
|
|
959
|
+
|
959
|
960
|
|
960
|
961
|
|
961
|
962
|
this.niprocart_info = []
|
|
@@ -1214,7 +1215,6 @@ export default {
|
1214
|
1215
|
})
|
1215
|
1216
|
},
|
1216
|
1217
|
changePatient(schedual) {
|
1217
|
|
- console.log(schedual)
|
1218
|
1218
|
this.patient_id = schedual.patient_id
|
1219
|
1219
|
this.date = schedual.schedule_date
|
1220
|
1220
|
// this.getScheduleDetail();
|
|
@@ -1232,7 +1232,6 @@ export default {
|
1232
|
1232
|
})
|
1233
|
1233
|
},
|
1234
|
1234
|
handleClick(type) {
|
1235
|
|
- console.log(99999999999,type)
|
1236
|
1235
|
sessionStorage.setItem('nameActive', type.name);
|
1237
|
1236
|
this.getData()
|
1238
|
1237
|
},
|
|
@@ -1246,7 +1245,7 @@ export default {
|
1246
|
1245
|
if (patientArr[i].schedules.length > 0 && patientArr[i].schedules[j].dialysis_order != null) {
|
1247
|
1246
|
// 删除元素后改变i的值
|
1248
|
1247
|
|
1249
|
|
- console.log('候诊区', patientArr[i].schedules[j])
|
|
1248
|
+ // console.log('候诊区', patientArr[i].schedules[j])
|
1250
|
1249
|
patientArr[i].schedules.splice(j--, 1)
|
1251
|
1250
|
}
|
1252
|
1251
|
}
|
|
@@ -1265,7 +1264,7 @@ export default {
|
1265
|
1264
|
}
|
1266
|
1265
|
}
|
1267
|
1266
|
}
|
1268
|
|
- console.log('执行1', arr)
|
|
1267
|
+ // console.log('执行1', arr)
|
1269
|
1268
|
arr1 = arr
|
1270
|
1269
|
} else if (this.patientStateVal == 2) {
|
1271
|
1270
|
let arr = []
|
|
@@ -1278,7 +1277,7 @@ export default {
|
1278
|
1277
|
}
|
1279
|
1278
|
}
|
1280
|
1279
|
}
|
1281
|
|
- console.log('执行2', arr)
|
|
1280
|
+ // console.log('执行2', arr)
|
1282
|
1281
|
arr1 = arr
|
1283
|
1282
|
}
|
1284
|
1283
|
|
|
@@ -1362,7 +1361,7 @@ export default {
|
1362
|
1361
|
})
|
1363
|
1362
|
newArr.sort(this.compare('created_time'))
|
1364
|
1363
|
}
|
1365
|
|
- console.log('排序',newArr)
|
|
1364
|
+ // console.log('排序',newArr)
|
1366
|
1365
|
this.tableData = newArr
|
1367
|
1366
|
const name = this.$route.query.patient_name
|
1368
|
1367
|
this.tableData.map((item, index) => {
|