|
@@ -58,7 +58,11 @@
|
58
|
58
|
ref="tab"
|
59
|
59
|
>
|
60
|
60
|
<el-table-column prop="name" label="姓名" width='89'>
|
61
|
|
- <template slot-scope="scope">{{ scope.row.name }}</template>
|
|
61
|
+ <template slot-scope="scope">
|
|
62
|
+ <span>{{ scope.row.name }}</span>
|
|
63
|
+ <span class="futou" v-if="scope.row.patient_type==4">腹</span>
|
|
64
|
+ <!-- v-if="scope.row.patient_type==1" -->
|
|
65
|
+ </template>
|
62
|
66
|
</el-table-column>
|
63
|
67
|
<el-table-column prop="name" label="就诊号" width="110">
|
64
|
68
|
<template slot-scope="scope">{{ scope.row.number ? scope.row.number : '' }}
|
|
@@ -74,7 +78,10 @@
|
74
|
78
|
ref="tab"
|
75
|
79
|
>
|
76
|
80
|
<el-table-column prop="name" label="姓名" width='89'>
|
77
|
|
- <template slot-scope="scope">{{ scope.row.name }}</template>
|
|
81
|
+ <template slot-scope="scope">
|
|
82
|
+ <span>{{ scope.row.name }}</span>
|
|
83
|
+ <span class="futou" v-if="scope.row.patient_type==4">腹</span>
|
|
84
|
+ </template>
|
78
|
85
|
</el-table-column>
|
79
|
86
|
<el-table-column prop="name" label="就诊号" width="110">
|
80
|
87
|
<template slot-scope="scope">{{ scope.row.number ? scope.row.number : '' }}
|
|
@@ -90,7 +97,10 @@
|
90
|
97
|
ref="tab"
|
91
|
98
|
>
|
92
|
99
|
<el-table-column prop="name" label="姓名" width='89'>
|
93
|
|
- <template slot-scope="scope">{{ scope.row.name }}</template>
|
|
100
|
+ <template slot-scope="scope">
|
|
101
|
+ <span>{{ scope.row.name }}</span>
|
|
102
|
+ <span class="futou" v-if="scope.row.patient_type==4">腹</span>
|
|
103
|
+ </template>
|
94
|
104
|
</el-table-column>
|
95
|
105
|
<el-table-column prop="name" label="就诊号" width="110">
|
96
|
106
|
<template slot-scope="scope">{{ scope.row.number ? scope.row.number : '' }}
|
|
@@ -934,6 +944,8 @@ export default {
|
934
|
944
|
return false
|
935
|
945
|
} else {
|
936
|
946
|
//挂号
|
|
947
|
+ console.log('response.data.data',response.data.data);
|
|
948
|
+
|
937
|
949
|
for (let i = 0; i < response.data.data.list.length; i++) {
|
938
|
950
|
for (let b = 0; b < response.data.data.list[i].his_patient.length; b++) {
|
939
|
951
|
//未就诊
|
|
@@ -942,7 +954,8 @@ export default {
|
942
|
954
|
name: response.data.data.list[i].his_patient[b].name,
|
943
|
955
|
number: response.data.data.list[i].his_patient[b].number,
|
944
|
956
|
id: response.data.data.list[i].id,
|
945
|
|
- his_patient_id: response.data.data.list[i].his_patient[b].id
|
|
957
|
+ his_patient_id: response.data.data.list[i].his_patient[b].id,
|
|
958
|
+ // patient_type:
|
946
|
959
|
}
|
947
|
960
|
this.un_cure_data.push(obj)
|
948
|
961
|
}
|
|
@@ -1157,7 +1170,8 @@ export default {
|
1157
|
1170
|
number: response.data.data.list[i].his_patient[b].number,
|
1158
|
1171
|
id: response.data.data.list[i].id,
|
1159
|
1172
|
his_patient_id: response.data.data.list[i].his_patient[b].id,
|
1160
|
|
- first_letter: response.data.data.list[i].first_letter
|
|
1173
|
+ first_letter: response.data.data.list[i].first_letter,
|
|
1174
|
+ patient_type: response.data.data.list[i].patient_type
|
1161
|
1175
|
}
|
1162
|
1176
|
this.un_cure_data.push(obj)
|
1163
|
1177
|
console.log('vvvvv', this.un_cure_data)
|
|
@@ -1169,7 +1183,8 @@ export default {
|
1169
|
1183
|
number: response.data.data.list[i].his_patient[b].number,
|
1170
|
1184
|
id: response.data.data.list[i].id,
|
1171
|
1185
|
his_patient_id: response.data.data.list[i].his_patient[b].id,
|
1172
|
|
- first_letter: response.data.data.list[i].first_letter
|
|
1186
|
+ first_letter: response.data.data.list[i].first_letter,
|
|
1187
|
+ patient_type: response.data.data.list[i].patient_type
|
1173
|
1188
|
}
|
1174
|
1189
|
this.cure_data.push(obj)
|
1175
|
1190
|
}
|
|
@@ -1187,7 +1202,8 @@ export default {
|
1187
|
1202
|
number: response.data.data.list_two[i].his_patient.number,
|
1188
|
1203
|
id: response.data.data.list_two[i].id,
|
1189
|
1204
|
his_patient_id: response.data.data.list_two[i].his_patient.id,
|
1190
|
|
- first_letter: response.data.data.list_two[i].first_letter
|
|
1205
|
+ first_letter: response.data.data.list_two[i].first_letter,
|
|
1206
|
+ patient_type: response.data.data.list_two[i].patient_type
|
1191
|
1207
|
}
|
1192
|
1208
|
this.un_cure_data.push(obj)
|
1193
|
1209
|
// console.log('aaaaa',this.un_cure_data);
|
|
@@ -1200,7 +1216,8 @@ export default {
|
1200
|
1216
|
number: response.data.data.list_two[i].his_patient.number,
|
1201
|
1217
|
id: response.data.data.list_two[i].id,
|
1202
|
1218
|
his_patient_id: response.data.data.list_two[i].his_patient.id,
|
1203
|
|
- first_letter: response.data.data.list_two[i].first_letter
|
|
1219
|
+ first_letter: response.data.data.list_two[i].first_letter,
|
|
1220
|
+ patient_type: response.data.data.list_two[i].patient_type
|
1204
|
1221
|
}
|
1205
|
1222
|
this.cure_data.push(obj)
|
1206
|
1223
|
}
|
|
@@ -1787,7 +1804,7 @@ export default {
|
1787
|
1804
|
this.$message.error(response.data.msg)
|
1788
|
1805
|
return false
|
1789
|
1806
|
} else {
|
1790
|
|
- console.log('getSchedulePatientList', response.data.data.list_two)
|
|
1807
|
+ console.log('getSchedulePatientList', response.data.data)
|
1791
|
1808
|
//排班
|
1792
|
1809
|
for (let i = 0; i < response.data.data.list_two.length; i++) {
|
1793
|
1810
|
//未就诊
|
|
@@ -1797,7 +1814,8 @@ export default {
|
1797
|
1814
|
number: response.data.data.list_two[i].his_patient.number,
|
1798
|
1815
|
id: response.data.data.list_two[i].id,
|
1799
|
1816
|
his_patient_id: response.data.data.list_two[i].his_patient.id,
|
1800
|
|
- first_letter: response.data.data.list_two[i].first_letter
|
|
1817
|
+ first_letter: response.data.data.list_two[i].first_letter,
|
|
1818
|
+ patient_type: response.data.data.list_two[i].patient_type
|
1801
|
1819
|
}
|
1802
|
1820
|
// console.log('6666',obj);
|
1803
|
1821
|
this.un_cure_data.push(obj)
|
|
@@ -1810,7 +1828,8 @@ export default {
|
1810
|
1828
|
number: response.data.data.list_two[i].his_patient.number,
|
1811
|
1829
|
id: response.data.data.list_two[i].id,
|
1812
|
1830
|
his_patient_id: response.data.data.list_two[i].his_patient.id,
|
1813
|
|
- first_letter: response.data.data.list_two[i].first_letter
|
|
1831
|
+ first_letter: response.data.data.list_two[i].first_letter,
|
|
1832
|
+ patient_type: response.data.data.list_two[i].patient_type
|
1814
|
1833
|
}
|
1815
|
1834
|
this.cure_data.push(obj)
|
1816
|
1835
|
}
|
|
@@ -1826,7 +1845,8 @@ export default {
|
1826
|
1845
|
number: response.data.data.list[i].his_patient[b].number,
|
1827
|
1846
|
id: response.data.data.list[i].id,
|
1828
|
1847
|
his_patient_id: response.data.data.list[i].his_patient[b].id,
|
1829
|
|
- first_letter: response.data.data.list[i].first_letter
|
|
1848
|
+ first_letter: response.data.data.list[i].first_letter,
|
|
1849
|
+ patient_type: response.data.data.list[i].patient_type
|
1830
|
1850
|
}
|
1831
|
1851
|
// console.log('8888',obj);
|
1832
|
1852
|
this.un_cure_data.push(obj)
|
|
@@ -1838,7 +1858,8 @@ export default {
|
1838
|
1858
|
number: response.data.data.list[i].his_patient[b].number,
|
1839
|
1859
|
id: response.data.data.list[i].id,
|
1840
|
1860
|
his_patient_id: response.data.data.list[i].his_patient[b].id,
|
1841
|
|
- first_letter: response.data.data.list[i].first_letter
|
|
1861
|
+ first_letter: response.data.data.list[i].first_letter,
|
|
1862
|
+ patient_type: response.data.data.list[i].patient_type
|
1842
|
1863
|
}
|
1843
|
1864
|
this.cure_data.push(obj)
|
1844
|
1865
|
}
|
|
@@ -1861,7 +1882,8 @@ export default {
|
1861
|
1882
|
|
1862
|
1883
|
this.all_data = this.all_data.concat(this.cure_data)
|
1863
|
1884
|
this.all_data = this.all_data.concat(this.un_cure_data)
|
1864
|
|
-
|
|
1885
|
+
|
|
1886
|
+
|
1865
|
1887
|
this.cure_data_two = this.cure_data
|
1866
|
1888
|
this.un_cure_data_two = this.un_cure_data
|
1867
|
1889
|
this.all_data_two = this.all_data
|
|
@@ -1874,6 +1896,7 @@ export default {
|
1874
|
1896
|
this.oldCurrentRow = this.un_cure_data[0]
|
1875
|
1897
|
this.getPatientInfo(this.un_cure_data[0])
|
1876
|
1898
|
}
|
|
1899
|
+ console.log('1111111this.all_data',this.cure_data);
|
1877
|
1900
|
}
|
1878
|
1901
|
})
|
1879
|
1902
|
},
|
|
@@ -6541,6 +6564,17 @@ p {
|
6541
|
6564
|
display: flex;
|
6542
|
6565
|
justify-content: space-between;
|
6543
|
6566
|
}
|
|
6567
|
+.futou{
|
|
6568
|
+ display: inline-block;
|
|
6569
|
+ width: 20px;
|
|
6570
|
+ height: 20px;
|
|
6571
|
+ border-radius: 50px;
|
|
6572
|
+ background: #38d7d7;
|
|
6573
|
+ color: white;
|
|
6574
|
+ text-align: center;
|
|
6575
|
+ position: absolute;
|
|
6576
|
+ right: 5px;
|
|
6577
|
+}
|
6544
|
6578
|
</style>
|
6545
|
6579
|
|
6546
|
6580
|
<style lang="scss">
|