作者 lyh

gx

... ... @@ -34,8 +34,8 @@ class OptimizeController extends BaseController
$manager = new Manage();
foreach ($lists['list'] as $k => $v){
$v['plan'] = $project::planMap()[$v['plan']];
$v['optimist_mid_name'] = $manager->read(['id'=>$v['optimist_mid']])['name'];
$v['tech_mid_name'] = $manager->read(['id'=>$v['tech_mid']])['name'];
// $v['optimist_mid_name'] = $manager->read(['id'=>$v['optimist_mid']])['name'];
// $v['tech_mid_name'] = $manager->read(['id'=>$v['tech_mid']])['name'];
$v['autologin_code'] = getAutoLoginCode($v['id']);
$lists['list'][$k] = $v;
}
... ...
... ... @@ -77,6 +77,39 @@ class ProjectController extends BaseController
}
/**
* @remark :项目列表
* @name :lists
* @author :lyh
* @method :post
* @time :2023/8/30 10:11
*/
public function lists(){
}
/**
* @remark :type类型
* @name :searchType
* @author :lyh
* @method :post
* @time :2023/8/30 10:14
*/
public function searchType($type){
if(isset($this->param['type']) && $this->param['type'] == Project::TYPE_ZERO){
$this->param['type'] = Project::TYPE_ZERO;
}
if(isset($this->param['type']) && $this->param['type'] == Project::TYPE_THREE){
$this->param['type'] = ['in',[Project::TYPE_FOUR,Project::TYPE_SIX]];
}
if(isset($this->param['type']) && $this->param['type'] == Project::TYPE_TWO){
$this->param['type'] = ['in',[Project::TYPE_TWO,Project::TYPE_THREE]];
}
if(isset($this->param['type']) && $this->param['type'] == Project::TYPE_ONE){
$this->param['type'] = Project::TYPE_ONE;
}
}
/**
* @remark :获取数据详情
* @name :info
* @author :lyh
... ...