1
This commit is contained in:
@@ -161,7 +161,7 @@ function formateAuthor($list){
|
||||
$flag = '';
|
||||
if (count($list)<=3){
|
||||
foreach ($list as $v){
|
||||
$flag .= $v['given_name']." ".$v['surname'].", ";
|
||||
$flag .= (isset($v['given_name'])?$v['given_name']:"")." ".(isset($v['surname'])?$v['surname']:"").", ";
|
||||
}
|
||||
$flag = trim(trim($flag),",");
|
||||
}else{
|
||||
|
||||
@@ -195,6 +195,35 @@ class Journal extends Controller
|
||||
return jsonSuccess($re);
|
||||
}
|
||||
|
||||
public function getJournalStageLXForSubmission(){
|
||||
$data = $this->request->post();
|
||||
$rule = new Validate([
|
||||
"issn"=>"require"
|
||||
]);
|
||||
if(!$rule->check($data)){
|
||||
return jsonError($rule->getError());
|
||||
}
|
||||
$journal_info = $this->journal_obj->where("issn",$data['issn'])->find();
|
||||
$stage = $this->journal_stage_obj->where("journal_id",$journal_info['journal_id'])->where("stage_year",date("Y"))->find();
|
||||
|
||||
$re['detail'] = $stage;
|
||||
return jsonSuccess($re);
|
||||
}
|
||||
|
||||
public function getJournalStageArticlesForSubmission(){
|
||||
$data = $this->request->post();
|
||||
$rule = new Validate([
|
||||
"issn"=>"require"
|
||||
]);
|
||||
if(!$rule->check($data)){
|
||||
return jsonError($rule->getError());
|
||||
}
|
||||
$journal_info = $this->journal_obj->where("issn",$data['issn'])->find();
|
||||
$list = $this->article_obj->where("journal_id",$journal_info['journal_id'])->where("lx_online",0)->select();
|
||||
$re['list'] = $list;
|
||||
|
||||
return jsonSuccess($re);
|
||||
}
|
||||
|
||||
public function getCiteListForSubmission(){
|
||||
$data = $this->request->post();
|
||||
|
||||
Reference in New Issue
Block a user