Browse Source

3月25日

yq1 11 months ago
parent
commit
3a0e84e949
1 changed files with 10 additions and 2 deletions
  1. 10 2
      src/pages/new_Patientscheduling/new_content.vue

+ 10 - 2
src/pages/new_Patientscheduling/new_content.vue View File

695
                   var jihaoobj = {
695
                   var jihaoobj = {
696
                     cut: device.number,
696
                     cut: device.number,
697
                     jihao_id: device.id,
697
                     jihao_id: device.id,
698
-                    zone_id:device.zone_id
698
+                    zone_id:device.zone_id,
699
+                    sort: device.sort
699
                   }
700
                   }
700
                   device.schedule.forEach(function(item){
701
                   device.schedule.forEach(function(item){
701
 
702
 
760
                 })
761
                 })
761
               }
762
               }
762
             })
763
             })
764
+
765
+            for(let i in jihao){
766
+              jihao[i].sort.sort(function(a,b){
767
+                return a-b
768
+              })
769
+            }
770
+              
763
               this.fenqu_arr=fenqu_arr
771
               this.fenqu_arr=fenqu_arr
764
               this.jihao_arr = jihao
772
               this.jihao_arr = jihao
765
               this.jihao_arr2 = jihao
773
               this.jihao_arr2 = jihao
766
-              // console.log("3445555557777777",this.jihao_arr);
774
+              console.log("3445555557777777",jihao);
767
             // console.log("34455555566666",this.schedulingVal);
775
             // console.log("34455555566666",this.schedulingVal);
768
             if(this.area_type=='全部病区'){
776
             if(this.area_type=='全部病区'){
769
               scheduleZone =arr
777
               scheduleZone =arr