Browse Source

医护排班

XMLWAN 4 years ago
parent
commit
1b80152e14
1 changed files with 11 additions and 12 deletions
  1. 11 12
      src/xt_pages/medicalScheduling/index.vue

+ 11 - 12
src/xt_pages/medicalScheduling/index.vue View File

@@ -246,13 +246,12 @@ export default {
246 246
        }) 
247 247
      },
248 248
      hangdleClick(val,index){
249
-      console.log("val=====",val)
250 249
       this.docobj = val
251 250
      },
252 251
      clickThis(row, column, cell, event){
253
-        console.log("row",row)
254
-        console.log("column",column)
255
-        console.log("日期",this.weekDayArr)
252
+        // console.log("row",row)
253
+        // console.log("column",column)
254
+        // console.log("日期",this.weekDayArr)
256 255
         var week = (column.label).split('');
257 256
         var weeks = week[0]+week[1]
258 257
         console.log("weeks",weeks)
@@ -397,7 +396,7 @@ export default {
397 396
         }
398 397
     },
399 398
 
400
-    //获取所有排班数据
399
+    //获取所有医护排班数据
401 400
     getStaffScheduleList(){
402 401
         const params = {
403 402
           start_time:this.getTimestamp(this.weekDayArr[0]),
@@ -429,13 +428,13 @@ export default {
429 428
                staffList[i].class_index = 6
430 429
             }
431 430
            }
432
-           console.log("staffList--------",staffList)
433
-           if(staffList.length == 0){
434
-             this.tableData = this.doctorlist
435
-           }else{
436
-             this.tableData = []
437
-             this.tableData = staffList
438
-           }
431
+        //    console.log("staffList--------",staffList)
432
+        //    if(staffList.length == 0){
433
+        //      this.tableData = this.doctorlist
434
+        //    }else{
435
+        //      this.tableData = []
436
+        //      this.tableData = staffList
437
+        //    }
439 438
            
440 439
          }
441 440
       })