Przeglądaj źródła

Merge remote-tracking branch 'origin/20230223_pc_vue_new_branch' into 20230223_pc_vue_new_branch

yq1 1 rok temu
rodzic
commit
aa4656a2a2

+ 40 - 0
src/xt_pages/dialysis/details/consumable/dialysisParameter.vue Wyświetl plik

786
                  list[i].dialysis_dialyszers_arr = []
786
                  list[i].dialysis_dialyszers_arr = []
787
                  list[i].dialyzer_perfusion_apparatus_arr = []
787
                  list[i].dialyzer_perfusion_apparatus_arr = []
788
                  list[i].dialysis_irrigation_arr = []
788
                  list[i].dialysis_irrigation_arr = []
789
+                 list[i].dialysis_strainer_arr =[]
789
                  if(list[i].dialysis_solution.dialysis_dialyszers!=""){
790
                  if(list[i].dialysis_solution.dialysis_dialyszers!=""){
790
                    list[i].dialysis_dialyszers_arr = list[i].dialysis_solution.dialysis_dialyszers.split(",")
791
                    list[i].dialysis_dialyszers_arr = list[i].dialysis_solution.dialysis_dialyszers.split(",")
791
                  }
792
                  }
795
                  if(list[i].dialysis_solution.dialysis_irrigation!=""){
796
                  if(list[i].dialysis_solution.dialysis_irrigation!=""){
796
                    list[i].dialysis_irrigation_arr = list[i].dialysis_solution.dialysis_irrigation.split(",")
797
                    list[i].dialysis_irrigation_arr = list[i].dialysis_solution.dialysis_irrigation.split(",")
797
                  }
798
                  }
799
+                 if(list[i].dialysis_solution.dialysis_strainer!=""){
800
+                    list[i].dialysis_strainer_arr = list[i].dialysis_solution.dialysis_strainer.split(",")
801
+                 }
798
 
802
 
799
                 
803
                 
800
                  if(list[i].dialysis_solution.anticoagulant == 1){
804
                  if(list[i].dialysis_solution.anticoagulant == 1){
873
             var dialysisDialyszersArr = []
877
             var dialysisDialyszersArr = []
874
             var dialyzerPerfusionApparaArr = []
878
             var dialyzerPerfusionApparaArr = []
875
             var dialysisIrrigationArr = []
879
             var dialysisIrrigationArr = []
880
+
881
+            var dialysisStrainerArr = []
876
             for(let i=0;i<list.length;i++){
882
             for(let i=0;i<list.length;i++){
877
              for(let j=0;j<list[i].dialysis_dialyszers_arr.length;j++){
883
              for(let j=0;j<list[i].dialysis_dialyszers_arr.length;j++){
878
                dialysisDialyszersArr.push(list[i].dialysis_dialyszers_arr[j])  
884
                dialysisDialyszersArr.push(list[i].dialysis_dialyszers_arr[j])  
883
              for(let y=0;y<list[i].dialysis_irrigation_arr.length;y++){
889
              for(let y=0;y<list[i].dialysis_irrigation_arr.length;y++){
884
               dialysisIrrigationArr.push(list[i].dialysis_irrigation_arr[y])
890
               dialysisIrrigationArr.push(list[i].dialysis_irrigation_arr[y])
885
              }
891
              }
892
+             for(let p=0;p<list[i].dialysis_strainer_arr.length;p++){
893
+              dialysisStrainerArr.push(list[i].dialysis_strainer_arr[p])
894
+             }
886
             }
895
             }
887
            let obj = {}
896
            let obj = {}
888
            let objOne = {}
897
            let objOne = {}
889
            let objTwo = {}
898
            let objTwo = {}
899
+           let objThree = {}
890
            for(let i = 0 ; i < dialysisDialyszersArr.length; i++){
900
            for(let i = 0 ; i < dialysisDialyszersArr.length; i++){
891
             if(obj[dialysisDialyszersArr[i]]){
901
             if(obj[dialysisDialyszersArr[i]]){
892
                obj[dialysisDialyszersArr[i]] +=1
902
                obj[dialysisDialyszersArr[i]] +=1
921
               Arr.push(a);
931
               Arr.push(a);
922
             }
932
             }
923
 
933
 
934
+         
935
+
924
            for(let i=0;i<dialysisIrrigationArr.length;i++){
936
            for(let i=0;i<dialysisIrrigationArr.length;i++){
925
             if(objTwo[dialysisIrrigationArr[i]]){
937
             if(objTwo[dialysisIrrigationArr[i]]){
926
               objTwo[dialysisIrrigationArr[i]] +=1
938
               objTwo[dialysisIrrigationArr[i]] +=1
937
               a.specification_name = i
949
               a.specification_name = i
938
               Arr.push(a);
950
               Arr.push(a);
939
             }
951
             }
952
+            console.log("newa",Arr)
953
+
954
+           for (let i in objThree) {
955
+              let a = {};
956
+              a[i] = objThree[i];
957
+              a.name = "滤过器"
958
+              a.count = objThree[i]
959
+              a.specification_name = i
960
+              Arr.push(a);
961
+            }
962
+
963
+            for(let i=0;i<dialysisStrainerArr.length;i++){
964
+            if(objThree[dialysisStrainerArr[i]]){
965
+              objThree[dialysisStrainerArr[i]] +=1
966
+             }else{
967
+              objThree[dialysisStrainerArr[i]] = 1
968
+             }   
969
+           }
970
+
971
+           for (let i in objThree) {
972
+              let a = {};
973
+              a[i] = objThree[i];
974
+              a.name = "滤过器"
975
+              a.count = objThree[i]
976
+              a.specification_name = i
977
+              Arr.push(a);
978
+            }
979
+
940
 
980
 
941
             if(Arr.length >0){
981
             if(Arr.length >0){
942
               for(let i=0;i<Arr.length;i++){
982
               for(let i=0;i<Arr.length;i++){

+ 36 - 0
src/xt_pages/dialysis/details/consumable/dialysisParameterCountPrint.vue Wyświetl plik

141
                  list[i].dialysis_dialyszers_arr = []
141
                  list[i].dialysis_dialyszers_arr = []
142
                  list[i].dialyzer_perfusion_apparatus_arr = []
142
                  list[i].dialyzer_perfusion_apparatus_arr = []
143
                  list[i].dialysis_irrigation_arr = []
143
                  list[i].dialysis_irrigation_arr = []
144
+                 list[i].dialysis_strainer_arr =[]
144
                  if(list[i].dialysis_solution.dialysis_dialyszers!=""){
145
                  if(list[i].dialysis_solution.dialysis_dialyszers!=""){
145
                    list[i].dialysis_dialyszers_arr = list[i].dialysis_solution.dialysis_dialyszers.split(",")
146
                    list[i].dialysis_dialyszers_arr = list[i].dialysis_solution.dialysis_dialyszers.split(",")
146
                  }
147
                  }
150
                  if(list[i].dialysis_solution.dialysis_irrigation!=""){
151
                  if(list[i].dialysis_solution.dialysis_irrigation!=""){
151
                    list[i].dialysis_irrigation_arr = list[i].dialysis_solution.dialysis_irrigation.split(",")
152
                    list[i].dialysis_irrigation_arr = list[i].dialysis_solution.dialysis_irrigation.split(",")
152
                  }
153
                  }
154
+                 if(list[i].dialysis_solution.dialysis_strainer!=""){
155
+                    list[i].dialysis_strainer_arr = list[i].dialysis_solution.dialysis_strainer.split(",")
156
+                 }
153
 
157
 
154
                  if(list[i].dialysis_solution.anticoagulant == 1){
158
                  if(list[i].dialysis_solution.anticoagulant == 1){
155
                     anticoagulantList.push(list[i].dialysis_solution)
159
                     anticoagulantList.push(list[i].dialysis_solution)
227
             var dialysisDialyszersArr = []
231
             var dialysisDialyszersArr = []
228
             var dialyzerPerfusionApparaArr = []
232
             var dialyzerPerfusionApparaArr = []
229
             var dialysisIrrigationArr = []
233
             var dialysisIrrigationArr = []
234
+            var dialysisStrainerArr = []
230
             for(let i=0;i<list.length;i++){
235
             for(let i=0;i<list.length;i++){
231
              for(let j=0;j<list[i].dialysis_dialyszers_arr.length;j++){
236
              for(let j=0;j<list[i].dialysis_dialyszers_arr.length;j++){
232
               
237
               
238
              for(let y=0;y<list[i].dialysis_irrigation_arr.length;y++){
243
              for(let y=0;y<list[i].dialysis_irrigation_arr.length;y++){
239
               dialysisIrrigationArr.push(list[i].dialysis_irrigation_arr[y])
244
               dialysisIrrigationArr.push(list[i].dialysis_irrigation_arr[y])
240
              }
245
              }
246
+             for(let p=0;p<list[i].dialysis_strainer_arr.length;p++){
247
+              dialysisStrainerArr.push(list[i].dialysis_strainer_arr[p])
248
+             }
241
             }
249
             }
242
             console.log("透析器",dialysisDialyszersArr)
250
             console.log("透析器",dialysisDialyszersArr)
243
             console.log("透析器/灌流器",dialyzerPerfusionApparaArr)
251
             console.log("透析器/灌流器",dialyzerPerfusionApparaArr)
246
            let obj = {}
254
            let obj = {}
247
            let objOne = {}
255
            let objOne = {}
248
            let objTwo = {}
256
            let objTwo = {}
257
+           let objThree = {}
249
            for(let i = 0 ; i < dialysisDialyszersArr.length; i++){
258
            for(let i = 0 ; i < dialysisDialyszersArr.length; i++){
250
             if(obj[dialysisDialyszersArr[i]]){
259
             if(obj[dialysisDialyszersArr[i]]){
251
                obj[dialysisDialyszersArr[i]] +=1
260
                obj[dialysisDialyszersArr[i]] +=1
297
               Arr.push(a);
306
               Arr.push(a);
298
             }
307
             }
299
             console.log("newa",Arr)
308
             console.log("newa",Arr)
309
+
310
+
311
+            for (let i in objThree) {
312
+              let a = {};
313
+              a[i] = objThree[i];
314
+              a.name = "滤过器"
315
+              a.count = objThree[i]
316
+              a.specification_name = i
317
+              Arr.push(a);
318
+            }
319
+
320
+            for(let i=0;i<dialysisStrainerArr.length;i++){
321
+            if(objThree[dialysisStrainerArr[i]]){
322
+              objThree[dialysisStrainerArr[i]] +=1
323
+             }else{
324
+              objThree[dialysisStrainerArr[i]] = 1
325
+             }   
326
+           }
327
+
328
+           for (let i in objThree) {
329
+              let a = {};
330
+              a[i] = objThree[i];
331
+              a.name = "滤过器"
332
+              a.count = objThree[i]
333
+              a.specification_name = i
334
+              Arr.push(a);
335
+            }
300
            
336
            
301
          
337
          
302
             if(Arr.length >0){
338
             if(Arr.length >0){

+ 26 - 3
src/xt_pages/dialysis/details/consumable/dialysisParameterPrint.vue Wyświetl plik

170
                 <td width="100"  v-if="dialysisSett.blood_flow_volume==1">
170
                 <td width="100"  v-if="dialysisSett.blood_flow_volume==1">
171
                    <span>{{item.dialysis_solution.blood_flow_volume?item.dialysis_solution.blood_flow_volume:""}}</span> 
171
                    <span>{{item.dialysis_solution.blood_flow_volume?item.dialysis_solution.blood_flow_volume:""}}</span> 
172
                 </td>
172
                 </td>
173
-                <td>
173
+                
174
                 <td>
174
                 <td>
175
                   <span v-if="getBloodAccessOption(item.dialysis_solution.blood_access).indexOf('导管')!==-1">1</span>
175
                   <span v-if="getBloodAccessOption(item.dialysis_solution.blood_access).indexOf('导管')!==-1">1</span>
176
-                </td>
176
+                  <span v-else></span>
177
                 </td>
177
                 </td>
178
                 
178
                 
179
+                
179
                 <td>
180
                 <td>
180
                   {{ item.advice_spc }}
181
                   {{ item.advice_spc }}
181
                 </td>
182
                 </td>
182
                </tr>
183
                </tr>
183
               </tbody>
184
               </tbody>
184
             </table>
185
             </table>
186
+            <span>低分子肝素:{{total_one}}</span>
187
+            <span>促红:{{ total_two }}</span>
188
+            <span>封管液:{{ total_three }}</span>
185
           </div>
189
           </div>
186
         </div>
190
         </div>
187
       </div>
191
       </div>
231
         tableList:[],
235
         tableList:[],
232
         list:[],
236
         list:[],
233
         dialysisSett:{},
237
         dialysisSett:{},
238
+        total_one:0,
239
+        total_two:0,
240
+        total_three:0
234
       }
241
       }
235
     },
242
     },
236
     components: {
243
     components: {
248
          schedule_type:this.$route.query.schedule_type,
255
          schedule_type:this.$route.query.schedule_type,
249
          partition_id:this.$route.query.partion_id,
256
          partition_id:this.$route.query.partion_id,
250
          page:this.$route.query.page,
257
          page:this.$route.query.page,
251
-         limit:this.$route.query.limit,
258
+         limit:500,
252
          ids:this.$route.query.ids,
259
          ids:this.$route.query.ids,
253
        }
260
        }
254
       console.log("params",params)
261
       console.log("params",params)
264
               }
271
               }
265
               list.sort(this.compare('sort'))
272
               list.sort(this.compare('sort'))
266
 
273
 
274
+            var total_one =0
275
+            var total_two=0
276
+            var total_three =0  
277
+            console.log("listoowowowwoww",list)
267
             for(let i=0;i<list.length;i++){
278
             for(let i=0;i<list.length;i++){
268
               list[i].advice_spc =""
279
               list[i].advice_spc =""
269
                 for(let j=0;j<list[i].advice.length;j++){
280
                 for(let j=0;j<list[i].advice.length;j++){
281
+                    total_two +=parseInt(list[i].advice[j].prescribing_number) 
270
                     if((list[i].advice[j].advice_name).indexOf("促红")!=-1){
282
                     if((list[i].advice[j].advice_name).indexOf("促红")!=-1){
271
                       list[i].advice_spc+= (list[i].advice[j].single_dose + "iu"+"/"+ list[i].advice[j].prescribing_number_unit)+","
283
                       list[i].advice_spc+= (list[i].advice[j].single_dose + "iu"+"/"+ list[i].advice[j].prescribing_number_unit)+","
272
                     }
284
                     }
273
                 }
285
                 }
286
+              this.total_two =total_two
287
+              if(list[i].dialysis_solution.anticoagulant == 3){
288
+                  total_one ++
289
+              }
290
+              this.total_one =total_one
291
+              
292
+              if(this.getBloodAccessOption(list[i].dialysis_solution.blood_access).indexOf('导管')!=-1){
293
+                   total_three++
294
+              }
295
+              this.total_three = total_three
296
+             
274
             }
297
             }
275
             this.list = list
298
             this.list = list
276
             this.dialysisSett = response.data.data.dialysisSett
299
             this.dialysisSett = response.data.data.dialysisSett

+ 24 - 0
src/xt_pages/dialysis/details/dialog/adviceDialog/AddGroupAdvice.vue Wyświetl plik

1719
           }
1719
           }
1720
       }
1720
       }
1721
 
1721
 
1722
+      if(this.$store.getters.xt_user.org.id == 10579){
1723
+        var date = new Date()
1724
+          var year = date.getFullYear()
1725
+          var month = date.getMonth() + 1
1726
+          var day = date.getDate()
1727
+
1728
+          var hours = date.getHours()
1729
+          var minites = date.getMinutes()
1730
+
1731
+          if (month < 10) {
1732
+            month = '0' + month
1733
+          }
1734
+          if (day < 10) {
1735
+            day = '0' + day
1736
+          }
1737
+          if (hours < 10) {
1738
+            hours = '0' + hours
1739
+          }
1740
+          if (minites < 10) {
1741
+            minites = '0' + minites
1742
+          }
1743
+          this.groupForm.start_time = year + '-' + month + '-' + day + ' ' + hours + ':' + minites
1744
+      }
1745
+
1722
     },
1746
     },
1723
     selectAllTemplateAdvice(selection) {
1747
     selectAllTemplateAdvice(selection) {
1724
       console.log("params",selection)
1748
       console.log("params",selection)

+ 1 - 1
src/xt_pages/dialysis/details/index.vue Wyświetl plik

1463
           var filtedSchedules = []
1463
           var filtedSchedules = []
1464
           for (let s_i = 0; s_i < originSchedules.length; s_i++) {
1464
           for (let s_i = 0; s_i < originSchedules.length; s_i++) {
1465
             const schedule = originSchedules[s_i]
1465
             const schedule = originSchedules[s_i]
1466
-            if (schedule.patient.name.indexOf(search_keyword) != -1) {
1466
+            if ((schedule.patient.name.indexOf(search_keyword) != -1) || (schedule.patient.first_letter.indexOf(search_keyword) != -1)) {
1467
               filtedSchedules.push(schedule)
1467
               filtedSchedules.push(schedule)
1468
               // break
1468
               // break
1469
             }
1469
             }

+ 1 - 1
src/xt_pages/outpatientCharges/chargeDetailManagement.vue Wyświetl plik

686
           this.$message.error("请选择需要记账的患者")
686
           this.$message.error("请选择需要记账的患者")
687
           return
687
           return
688
         }
688
         }
689
-        var that = this
689
+
690
         let obj = {
690
         let obj = {
691
           patient_id: this.hisPatientInfo.id,
691
           patient_id: this.hisPatientInfo.id,
692
           diagnosis_time: this.record_date,
692
           diagnosis_time: this.record_date,

+ 1 - 5
src/xt_pages/outpatientDoctorStation/components/deskPrescription.vue Wyświetl plik

3786
             console.log("-=======")
3786
             console.log("-=======")
3787
             for (let i = 0; i < this.zuobiao_project.length; i++) {
3787
             for (let i = 0; i < this.zuobiao_project.length; i++) {
3788
               for (let b = 0; b < this.tabProject.length; b++) {
3788
               for (let b = 0; b < this.tabProject.length; b++) {
3789
-                if (this.zuobiao_project[i].bbx01 == this.tabProject[b].bbx01){
3789
+                if (this.zuobiao_project[i].bbx01 == this.tabProject[b].bbx01 &&  this.zuobiao_project[i].bby06 == this.tabProject[b].specification_name){
3790
                   console.log( this.zuobiao_project[i].lsqty)
3790
                   console.log( this.zuobiao_project[i].lsqty)
3791
                   console.log( this.tabProject[b].zuobiao_stock_num)
3791
                   console.log( this.tabProject[b].zuobiao_stock_num)
3792
                   this.tabProject[b].zuobiao_stock_num = this.zuobiao_project[i].lsqty
3792
                   this.tabProject[b].zuobiao_stock_num = this.zuobiao_project[i].lsqty
3793
                   this.tabProject[b].price = this.zuobiao_project[i].price
3793
                   this.tabProject[b].price = this.zuobiao_project[i].price
3794
-
3795
                 }
3794
                 }
3796
               }
3795
               }
3797
             }
3796
             }
3798
           }
3797
           }
3799
-
3800
           this.allProject = this.tabProject
3798
           this.allProject = this.tabProject
3801
-
3802
-
3803
           // console.log('cccc',this.allProject);
3799
           // console.log('cccc',this.allProject);
3804
         }
3800
         }
3805
       })
3801
       })

+ 19 - 11
src/xt_pages/outpatientDoctorStation/doctorDesk.vue Wyświetl plik

1634
 
1634
 
1635
       }
1635
       }
1636
       this.isloading = true
1636
       this.isloading = true
1637
-      console.log('param32323232323323223233232332', params)
1638
       getPatientInfo(params).then(response => {
1637
       getPatientInfo(params).then(response => {
1639
         if (response.data.state == 0) {
1638
         if (response.data.state == 0) {
1640
           this.$message.error(response.data.msg)
1639
           this.$message.error(response.data.msg)
1855
                   preTime = this.getTime(prescription.pre_time, '{y}-{m}-{d} {h}:{i}')
1854
                   preTime = this.getTime(prescription.pre_time, '{y}-{m}-{d} {h}:{i}')
1856
                 }
1855
                 }
1857
               }
1856
               }
1858
-              console.log('is_medicine')
1859
-              console.log(is_medicine)
1857
+
1860
 
1858
 
1861
               let index = i + 1
1859
               let index = i + 1
1862
               let obj = {
1860
               let obj = {
2027
                   obj.med_type = ''
2025
                   obj.med_type = ''
2028
 
2026
 
2029
                 } else {
2027
                 } else {
2030
-
2031
                   obj.med_type = parseInt(prescription.med_type)
2028
                   obj.med_type = parseInt(prescription.med_type)
2032
                 }
2029
                 }
2030
+
2031
+
2033
                 if (obj.med_type == 0 || obj.med_type == '') {
2032
                 if (obj.med_type == 0 || obj.med_type == '') {
2034
-                  if (this.org_id != 10206) {
2033
+                  if (this.org_id != 10206 && this.org_id != 0) {
2035
                     obj.med_type = 14
2034
                     obj.med_type = 14
2036
                   } else {
2035
                   } else {
2037
                     obj.med_type = 1
2036
                     obj.med_type = 1
2055
               }
2054
               }
2056
               if (this.org_id != 10206) {
2055
               if (this.org_id != 10206) {
2057
                 obj.med_type = 14
2056
                 obj.med_type = 14
2057
+              }else{
2058
+
2059
+                obj.med_type = 1
2060
+
2058
               }
2061
               }
2059
               this.prescriptions.push(obj)
2062
               this.prescriptions.push(obj)
2060
 
2063
 
4215
                         med_type: ''
4218
                         med_type: ''
4216
 
4219
 
4217
                       }
4220
                       }
4218
-                      if (this.org_id != 10206) {
4221
+                      if (this.org_id != 10206 && this.org_id != 0) {
4219
                         if (prescription.med_type == 0 || prescription.med_type == '') {
4222
                         if (prescription.med_type == 0 || prescription.med_type == '') {
4220
 
4223
 
4221
                           obj.med_type = ''
4224
                           obj.med_type = ''
4230
 
4233
 
4231
                         }
4234
                         }
4232
                       }else{
4235
                       }else{
4233
-
4234
-                        obj.med_type = prescription.med_type
4235
-
4236
+                        obj.med_type = parseInt(prescription.med_type)
4237
+                        if (obj.med_type == 0 || obj.med_type == '') {
4238
+                          obj.med_type = 1
4239
+                        }
4236
                       }
4240
                       }
4237
                       this.prescriptions.push(obj)
4241
                       this.prescriptions.push(obj)
4238
                     }
4242
                     }
4252
                     if (this.org_id != 10206) {
4256
                     if (this.org_id != 10206) {
4253
                       obj.med_type = 14
4257
                       obj.med_type = 14
4254
                     }else{
4258
                     }else{
4255
-                      obj.med_type = "1"
4259
+                      obj.med_type = 1
4256
                     }
4260
                     }
4257
 
4261
 
4258
                     this.prescriptions.push(obj)
4262
                     this.prescriptions.push(obj)
4921
                       med_type: ''
4925
                       med_type: ''
4922
 
4926
 
4923
                     }
4927
                     }
4924
-                    if (this.org_id != 10206) {
4928
+                    if (this.org_id != 10206 && this.org_id != 0) {
4925
 
4929
 
4926
                       obj.med_type = 14
4930
                       obj.med_type = 14
4931
+                    }else{
4932
+
4933
+                      obj.med_type = 1
4934
+
4927
                     }
4935
                     }
4928
 
4936
 
4929
                     this.prescriptions.push(obj)
4937
                     this.prescriptions.push(obj)

+ 1 - 1
src/xt_pages/outpatientDoctorStation/prescriptionTemplatedetail.vue Wyświetl plik

2036
               console.log("-=======")
2036
               console.log("-=======")
2037
               for (let i = 0; i < this.zuobiao_project.length; i++) {
2037
               for (let i = 0; i < this.zuobiao_project.length; i++) {
2038
                 for (let b = 0; b < this.tabProject.length; b++) {
2038
                 for (let b = 0; b < this.tabProject.length; b++) {
2039
-                  if (this.zuobiao_project[i].bbx01 == this.tabProject[b].bbx01){
2039
+                  if (this.zuobiao_project[i].bbx01 == this.tabProject[b].bbx01 && this.zuobiao_project[i].bby06 == this.tabProject[b].specification_name){
2040
                     this.tabProject[b]["zuobiao_stock_num"] = this.zuobiao_project[i].lsqty
2040
                     this.tabProject[b]["zuobiao_stock_num"] = this.zuobiao_project[i].lsqty
2041
                     this.tabProject[b].price = this.zuobiao_project[i].price
2041
                     this.tabProject[b].price = this.zuobiao_project[i].price
2042
 
2042
 

+ 2 - 0
src/xt_pages/workforce/components/editTableData.vue Wyświetl plik

5545
         this.patientList = this.all_patients;
5545
         this.patientList = this.all_patients;
5546
       } else {
5546
       } else {
5547
         this.patientList = [];
5547
         this.patientList = [];
5548
+        console.log("this.all_patients",this.all_patients)
5548
         for (let i = 0; i < this.all_patients.length; i++) {
5549
         for (let i = 0; i < this.all_patients.length; i++) {
5549
           if (
5550
           if (
5550
               this.all_patients[i].name.indexOf(this.keywords) != -1 ||
5551
               this.all_patients[i].name.indexOf(this.keywords) != -1 ||
5551
               this.all_patients[i].dialysis_no.indexOf(this.keywords) != -1
5552
               this.all_patients[i].dialysis_no.indexOf(this.keywords) != -1
5553
+              ||  this.all_patients[i].first_letter.indexOf(this.keywords) != -1
5552
           ) {
5554
           ) {
5553
             this.patientList.push(this.all_patients[i]);
5555
             this.patientList.push(this.all_patients[i]);
5554
           }
5556
           }