作者 景龙
1 个管道 的构建 通过 耗费 12 秒

修改后台甲方乙方数据

... ... @@ -83,7 +83,8 @@ class AdminPartAController extends AdminBaseController
}
}else if($value['identity'] == 1){
//领导
if($uid == $c_value['u_l_id']){
$u_l_ids = explode(',',trim($c_value['u_l_id'],','));
if(in_array($uid,$u_l_ids)){
$value['company_name'] = $c_value['company_name'];
//是否有子企业
if($c_value['is_children'] == 1){
... ...
... ... @@ -76,7 +76,8 @@ class AdminPartBController extends AdminBaseController
}
}else if($value['identity'] == 1){
//领导
if($uid == $c_value['u_l_id']){
$u_l_ids = explode(',',trim($c_value['u_l_id'],','));
if(in_array($uid,$u_l_ids)){
$value['company_name'] = $c_value['company_name'];
}
}else{
... ...
... ... @@ -64,7 +64,8 @@ class AdminPartCController extends AdminBaseController
foreach($staff_B as $c_value){
if($value['identity'] == 1){
//领导
if($uid == $c_value['u_l_id']){
$u_l_ids = explode(',',trim($c_value['u_l_id'],','));
if(in_array($uid,$u_l_ids)){
$value['company_name'] = $c_value['company_name'];
//是否有子企业
if($c_value['is_children'] == 1){
... ...