...
|
...
|
@@ -279,7 +279,7 @@ class AdminProjectController extends AdminBaseController |
|
|
$company_a['company_name'] = $data['company_name'];//甲方公司名称
|
|
|
if($data['is_children'] == 1){
|
|
|
$company_a['company_name_head'] = $data['company_name_head'];//甲方总公司名称
|
|
|
$company_a['address'] = $data['address'];//地区
|
|
|
//$company_a['address'] = $data['address'];//地区
|
|
|
}
|
|
|
$company_a['u_s_id'] = $u_s_id;//甲方员工uid
|
|
|
$company_a['is_children'] = $data['is_children'];
|
...
|
...
|
@@ -439,7 +439,7 @@ class AdminProjectController extends AdminBaseController |
|
|
$company_a['license'] = $data['license'];
|
|
|
if($data['is_children'] == 1){
|
|
|
$company_a['company_name_head'] = $data['company_name_head'];//甲方总公司名称
|
|
|
$company_a['address'] = $data['address'];//地区
|
|
|
//$company_a['address'] = $data['address'];//地区
|
|
|
//查询该总领导是否存在
|
|
|
$res = $common->getIsMobile($data['mobile2']);
|
|
|
$userModel = new UserModel();
|
...
|
...
|
@@ -463,7 +463,7 @@ class AdminProjectController extends AdminBaseController |
|
|
}
|
|
|
}else{
|
|
|
$company_a['company_name_head'] = '';//甲方总公司名称
|
|
|
$company_a['address'] = '';//地区
|
|
|
//$company_a['address'] = '';//地区
|
|
|
$company_a['u_ls_id'] = 0;//总领导
|
|
|
}
|
|
|
$companyModel->where('id',$project['a_cid'])->update($company_a);
|
...
|
...
|
|