|
@@ -1127,18 +1127,6 @@ export default {
|
1127
|
1127
|
}
|
1128
|
1128
|
|
1129
|
1129
|
|
1130
|
|
- if(cityNameList!=null && cityNameList.length>0){
|
1131
|
|
- for(let i=0;i<cityNameList.length;i++){
|
1132
|
|
- cityNameList[i].sort = 0
|
1133
|
|
- cityNameList[i].sort = cityNameList[i].device_number.sort
|
1134
|
|
- }
|
1135
|
|
- }
|
1136
|
|
-
|
1137
|
|
- this.newPatient = []
|
1138
|
|
- this.newPatient = cityNameList.sort(function (a, b) {
|
1139
|
|
- return a.sort > b.sort
|
1140
|
|
- })
|
1141
|
|
-
|
1142
|
1130
|
|
1143
|
1131
|
let firstName = {}
|
1144
|
1132
|
this.FirstPin.forEach(item => {
|
|
@@ -1202,18 +1190,20 @@ export default {
|
1202
|
1190
|
cityNameList.push(zoneArr[p])
|
1203
|
1191
|
}
|
1204
|
1192
|
|
|
1193
|
+ console.log("所有患者的数据=========================",cityNameList)
|
1205
|
1194
|
|
1206
|
|
- if(cityNameList!=null && cityNameList.length>0){
|
1207
|
|
- for(let i=0;i<cityNameList.length;i++){
|
1208
|
|
- cityNameList[i].sort = 0
|
1209
|
|
- cityNameList[i].sort = cityNameList[i].device_number.sort
|
1210
|
|
- }
|
1211
|
|
- }
|
|
1195
|
+
|
|
1196
|
+ // if(cityNameList!=null && cityNameList.length>0){
|
|
1197
|
+ // for(let i=0;i<cityNameList.length;i++){
|
|
1198
|
+ // cityNameList[i].sort = 0
|
|
1199
|
+ // cityNameList[i].sort = cityNameList[i].device_number.sort
|
|
1200
|
+ // }
|
|
1201
|
+ // }
|
1212
|
1202
|
|
1213
|
|
- this.newPatient = []
|
1214
|
|
- this.newPatient = cityNameList.sort(function (a, b) {
|
1215
|
|
- return a.sort > b.sort
|
1216
|
|
- })
|
|
1203
|
+ // this.newPatient = []
|
|
1204
|
+ // this.newPatient = cityNameList.sort(function (a, b) {
|
|
1205
|
+ // return a.sort > b.sort
|
|
1206
|
+ // })
|
1217
|
1207
|
|
1218
|
1208
|
|
1219
|
1209
|
|
|
@@ -1256,6 +1246,21 @@ export default {
|
1256
|
1246
|
for (let p in arr) {
|
1257
|
1247
|
cityNameList.push(arr[p])
|
1258
|
1248
|
}
|
|
1249
|
+
|
|
1250
|
+ // //解决溪康排序问题 我的病人列表
|
|
1251
|
+ if(cityNameList!=null && cityNameList.length>0){
|
|
1252
|
+ for(let i=0;i<cityNameList.length;i++){
|
|
1253
|
+ cityNameList[i].sort = 0
|
|
1254
|
+ cityNameList[i].sort = cityNameList[i].device_number.sort
|
|
1255
|
+ }
|
|
1256
|
+ }
|
|
1257
|
+
|
|
1258
|
+ this.myPatientsOne = []
|
|
1259
|
+ this.myPatientsOne = cityNameList.sort(function (a, b) {
|
|
1260
|
+ return a.sort > b.sort
|
|
1261
|
+ })
|
|
1262
|
+
|
|
1263
|
+
|
1259
|
1264
|
let firstName = {}
|
1260
|
1265
|
this.FirstPin.forEach(item => {
|
1261
|
1266
|
firstName[item] = []
|
|
@@ -1286,6 +1291,22 @@ export default {
|
1286
|
1291
|
for (let p in arr) {
|
1287
|
1292
|
cityNameList.push(arr[p])
|
1288
|
1293
|
}
|
|
1294
|
+
|
|
1295
|
+
|
|
1296
|
+ // //解决溪康排序问题 我的病人列表
|
|
1297
|
+ if(cityNameList!=null && cityNameList.length>0){
|
|
1298
|
+ for(let i=0;i<cityNameList.length;i++){
|
|
1299
|
+ cityNameList[i].sort = 0
|
|
1300
|
+ cityNameList[i].sort = cityNameList[i].device_number.sort
|
|
1301
|
+ }
|
|
1302
|
+ }
|
|
1303
|
+
|
|
1304
|
+ this.myPatientsOne = []
|
|
1305
|
+ this.myPatientsOne = cityNameList.sort(function (a, b) {
|
|
1306
|
+ return a.sort > b.sort
|
|
1307
|
+ })
|
|
1308
|
+
|
|
1309
|
+
|
1289
|
1310
|
let firstName = {}
|
1290
|
1311
|
this.FirstPin.forEach(item => {
|
1291
|
1312
|
firstName[item] = []
|