|
...
|
...
|
@@ -43,7 +43,7 @@ class OnlineCheckLogic extends BaseLogic |
|
|
|
if($info['optimist_status'] != 1){
|
|
|
|
$this->fail('请先优化师审核');
|
|
|
|
}
|
|
|
|
if($info['qa_mid'] != $this->manager['id']){
|
|
|
|
if($info['qa_mid'] != 0 && $info['qa_mid'] != $this->manager['id']){
|
|
|
|
$this->fail('你无权限提交审核');
|
|
|
|
}
|
|
|
|
if(isset($this->param['project_type']) && !empty($this->param['project_type'])){
|
|
...
|
...
|
@@ -74,7 +74,7 @@ class OnlineCheckLogic extends BaseLogic |
|
|
|
}else{
|
|
|
|
$projectModel = new Project();
|
|
|
|
//提交审核修改状态为审核中
|
|
|
|
$projectModel->edit(['status'=>$projectModel::STATUS_ONE],['id'=>$this->param['id']]);
|
|
|
|
$projectModel->edit(['status'=>1],['id'=>$this->param['id']]);
|
|
|
|
//组装数据
|
|
|
|
$data = [
|
|
|
|
'project_id' => $this->param['id'],
|
...
|
...
|
|