ソースを参照

Merge branch '20201109_pc_vue_new_branch' of http://git.shengws.com/csx/Vue_New into 20201109_pc_vue_new_branch

XMLWAN 3 年 前
コミット
170c545f29
共有1 個のファイルを変更した5 個の追加4 個の削除を含む
  1. 5 4
      src/xt_pages/outpatientDoctorStation/doctorDesk.vue

+ 5 - 4
src/xt_pages/outpatientDoctorStation/doctorDesk.vue ファイルの表示

@@ -437,10 +437,10 @@
437 437
             case 0:
438 438
               this.all_data = this.all_data_two
439 439
               break
440
-            case 1:
440
+            case 2:
441 441
               this.cure_data = this.cure_data_two
442 442
               break
443
-            case 2:
443
+            case 1:
444 444
               this.un_cure_data = this.un_cure_data_two
445 445
               break
446 446
           }
@@ -452,12 +452,13 @@
452 452
               for (let i = 0; i < this.all_data.length; i++) {
453 453
                 if (this.all_data[i].name.indexOf(this.search_input) != -1 || this.all_data[i].number.indexOf(this.search_input) != -1) {
454 454
                   arr = arr.concat(this.all_data[i])
455
+                  console.log(arr)
455 456
                 }
456 457
               }
457 458
               this.all_data = arr
458 459
 
459 460
               break
460
-            case 1:
461
+            case 2:
461 462
               let arr2 = []
462 463
               for (let i = 0; i < this.cure_data.length; i++) {
463 464
                 if (this.cure_data[i].name.indexOf(this.search_input) != -1 || this.cure_data[i].number.indexOf(this.search_input) != -1) {
@@ -467,7 +468,7 @@
467 468
               this.cure_data = arr2
468 469
 
469 470
               break
470
-            case 2:
471
+            case 1:
471 472
               let arr3 = []
472 473
               for (let i = 0; i < this.un_cure_data.length; i++) {
473 474
                 if (this.un_cure_data[i].name.indexOf(this.search_input) != -1 || this.un_cure_data[i].number.indexOf(this.search_input) != -1) {