fix:项目管理功能需求
This commit is contained in:
@@ -297,6 +297,15 @@ class Project extends Common
|
||||
$ret = db('project_info')->where('project_id',$param['project_id'])->update($update);
|
||||
return $this->sendSuccess('更新成功');
|
||||
}
|
||||
|
||||
public function UpdateSaleManager()
|
||||
{
|
||||
$param = request()->post();
|
||||
|
||||
$update['sale_manager'] = $param['sale_manager']; //数组转字符串
|
||||
$ret = db('project_info')->where('project_id',$param['project_id'])->update($update);
|
||||
return $this->sendSuccess('更新成功');
|
||||
}
|
||||
|
||||
//添加项目外部成员
|
||||
public function AddProjectExternalMember()
|
||||
|
||||
@@ -42,7 +42,7 @@ class User extends Common
|
||||
->find();
|
||||
if ($ret != null)
|
||||
{
|
||||
$ret['company'] = "苏州维达奇智能科技有限公司";
|
||||
$ret['company'] = "上海诺力智能科技有限公司";
|
||||
}
|
||||
}
|
||||
//客户
|
||||
@@ -318,7 +318,7 @@ class User extends Common
|
||||
->find();
|
||||
if ($ret != null)
|
||||
{
|
||||
$ret['company'] = "苏州维达奇智能科技有限公司";
|
||||
$ret['company'] = "上海诺力智能科技有限公司";
|
||||
}
|
||||
$ret['id'] = $login_id;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user