|
@@ -61,7 +61,6 @@
|
61
|
61
|
<template slot-scope="scope">
|
62
|
62
|
<span>{{ scope.row.name }}</span>
|
63
|
63
|
<span class="futou" v-if="scope.row.patient_type==4">腹</span>
|
64
|
|
- <!-- v-if="scope.row.patient_type==1" -->
|
65
|
64
|
</template>
|
66
|
65
|
</el-table-column>
|
67
|
66
|
<el-table-column prop="name" label="就诊号" width="110">
|
|
@@ -944,7 +943,7 @@ export default {
|
944
|
943
|
return false
|
945
|
944
|
} else {
|
946
|
945
|
//挂号
|
947
|
|
- console.log('response.data.data',response.data.data);
|
|
946
|
+ console.log('response.data.data12121212134',response.data.data);
|
948
|
947
|
|
949
|
948
|
for (let i = 0; i < response.data.data.list.length; i++) {
|
950
|
949
|
for (let b = 0; b < response.data.data.list[i].his_patient.length; b++) {
|
|
@@ -955,6 +954,7 @@ export default {
|
955
|
954
|
number: response.data.data.list[i].his_patient[b].number,
|
956
|
955
|
id: response.data.data.list[i].id,
|
957
|
956
|
his_patient_id: response.data.data.list[i].his_patient[b].id,
|
|
957
|
+ patient_type: response.data.data.list[i].patient_type
|
958
|
958
|
// patient_type:
|
959
|
959
|
}
|
960
|
960
|
this.un_cure_data.push(obj)
|
|
@@ -965,7 +965,8 @@ export default {
|
965
|
965
|
name: response.data.data.list[i].his_patient[b].name,
|
966
|
966
|
number: response.data.data.list[i].his_patient[b].number,
|
967
|
967
|
id: response.data.data.list[i].id,
|
968
|
|
- his_patient_id: response.data.data.list[i].his_patient[b].id
|
|
968
|
+ his_patient_id: response.data.data.list[i].his_patient[b].id,
|
|
969
|
+ patient_type: response.data.data.list[i].patient_type
|
969
|
970
|
}
|
970
|
971
|
this.cure_data.push(obj)
|
971
|
972
|
}
|
|
@@ -979,7 +980,8 @@ export default {
|
979
|
980
|
name: response.data.data.list_two[i].name,
|
980
|
981
|
number: response.data.data.list_two[i].his_patient.number,
|
981
|
982
|
id: response.data.data.list_two[i].id,
|
982
|
|
- his_patient_id: response.data.data.list_two[i].his_patient.id
|
|
983
|
+ his_patient_id: response.data.data.list_two[i].his_patient.id,
|
|
984
|
+ patient_type: response.data.data.list_two[i].patient_type
|
983
|
985
|
}
|
984
|
986
|
this.un_cure_data.push(obj)
|
985
|
987
|
}
|
|
@@ -990,7 +992,8 @@ export default {
|
990
|
992
|
name: response.data.data.list_two[i].name,
|
991
|
993
|
number: response.data.data.list_two[i].his_patient.number,
|
992
|
994
|
id: response.data.data.list_two[i].id,
|
993
|
|
- his_patient_id: response.data.data.list_two[i].his_patient.id
|
|
995
|
+ his_patient_id: response.data.data.list_two[i].his_patient.id,
|
|
996
|
+ patient_type: response.data.data.list_two[i].patient_type
|
994
|
997
|
}
|
995
|
998
|
this.cure_data.push(obj)
|
996
|
999
|
}
|
|
@@ -5816,7 +5819,6 @@ export default {
|
5816
|
5819
|
} else if (index == 20) {
|
5817
|
5820
|
this.getPrescriptionList(this.patientInfo.id, this.record_date, 2, 3)
|
5818
|
5821
|
}
|
5819
|
|
-
|
5820
|
5822
|
},
|
5821
|
5823
|
|
5822
|
5824
|
// changePatient(val){
|
|
@@ -5834,11 +5836,16 @@ export default {
|
5834
|
5836
|
},
|
5835
|
5837
|
|
5836
|
5838
|
getPrescriptionList(id, record_date, type, checkType) {
|
|
5839
|
+
|
5837
|
5840
|
getPrescriptionList(id, 2, record_date).then(response => {
|
|
5841
|
+ console.log('123456response.data.data',response.data.data,checkType);
|
5838
|
5842
|
if (response.data.state == 1) {
|
|
5843
|
+
|
5839
|
5844
|
if (checkType != 3) {
|
5840
|
5845
|
this.centerDialogVisible = true
|
5841
|
5846
|
var list = response.data.data.list
|
|
5847
|
+
|
|
5848
|
+
|
5842
|
5849
|
let arr1 = []
|
5843
|
5850
|
let arr2 = []
|
5844
|
5851
|
let arr3 = []
|