作者 王智

baoxiu22

@@ -473,25 +473,25 @@ class Api @@ -473,25 +473,25 @@ class Api
473 $Type = 0; 473 $Type = 0;
474 if ($Level == 1) { 474 if ($Level == 1) {
475 //公司分管领导 475 //公司分管领导
476 - if ($Order['price'] == 3 && $Order['status'] == 1) { 476 + if ($Order['price'] == 3 && $Order['status'] == 1 && $Order['type'] != 2) {
477 $Type = 1; 477 $Type = 1;
478 } 478 }
479 } 479 }
480 if ($Level == 2) { 480 if ($Level == 2) {
481 //公司机电负责人 481 //公司机电负责人
482 - if ($Order['price'] == 2 && $Order['status'] == 1) { 482 + if ($Order['price'] == 2 && $Order['status'] == 1 && $Order['type'] != 2) {
483 $Type = 1; 483 $Type = 1;
484 } 484 }
485 } 485 }
486 if ($Level == 3) { 486 if ($Level == 3) {
487 //维修负责人 487 //维修负责人
488 - if ($Order['wx_user_id'] == $UserId && $Order['redio_user_id'] == '') { 488 + if ($Order['wx_user_id'] == $UserId && $Order['redio_user_id'] == '' && $Order['type'] != 2) {
489 $Type = 1; 489 $Type = 1;
490 } 490 }
491 } 491 }
492 if ($Level == 4) { 492 if ($Level == 4) {
493 //维修成员 493 //维修成员
494 - if ($Order['redio_user_id'] == $UserId && $Order['repair_type'] == 0) { 494 + if ($Order['redio_user_id'] == $UserId && $Order['repair_type'] == 0 && $Order['type'] != 2) {
495 $Type = 1; 495 $Type = 1;
496 } 496 }
497 } 497 }