公共方法新增-类型
This commit is contained in:
@@ -346,6 +346,9 @@ function translateType($type)
|
|||||||
case 'MR':
|
case 'MR':
|
||||||
$frag = 'MINI REVIEW';
|
$frag = 'MINI REVIEW';
|
||||||
break;
|
break;
|
||||||
|
case 'PERSP':
|
||||||
|
$frag = 'PERSPECTIVE';
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
$frag = 'OTHERS';
|
$frag = 'OTHERS';
|
||||||
break;
|
break;
|
||||||
@@ -1161,3 +1164,88 @@ function myPost1($url, $param = array())
|
|||||||
|
|
||||||
return $rst;
|
return $rst;
|
||||||
}
|
}
|
||||||
|
/**
|
||||||
|
* @title 文章类型接口
|
||||||
|
* @description 文章接口
|
||||||
|
*/
|
||||||
|
function getArticleType(){
|
||||||
|
|
||||||
|
$aArticleType = [
|
||||||
|
'base' => [
|
||||||
|
|
||||||
|
['name' => 'ARTICLE','value' => 'A'],
|
||||||
|
['name' => 'REVIEW','value' => 'B'],
|
||||||
|
['name' => 'CASE REPORT','value' => 'C'],
|
||||||
|
['name' => 'RESEARCH PROPOSAL','value' => 'P'],
|
||||||
|
['name' => 'NEWS','value' => 'N'],
|
||||||
|
['name' => 'COMMENT','value' => 'T'],
|
||||||
|
['name' => 'CORRECTION','value' => 'CT'],
|
||||||
|
['name' => 'HYPOTHESIS','value' => 'HT'],
|
||||||
|
['name' => 'PREFACE','value' => 'PF'],
|
||||||
|
['name' => 'EDITORIAL','value' => 'ET'],
|
||||||
|
['name' => 'REPORT','value' => 'RP'],
|
||||||
|
['name' => 'LETTER','value' => 'LR'],
|
||||||
|
['name' => 'EMPIRICAL FORMULA','value' => 'EF'],
|
||||||
|
['name' => 'EXPERT CONSENSUS','value' => 'EC'],
|
||||||
|
['name' => 'LETTER TO EDITOR','value' => 'LTE'],
|
||||||
|
['name' => 'QUESTIONNAIRE INVESTIGATION','value' => 'QI'],
|
||||||
|
['name' => 'CASE SERIES','value' => 'CS'],
|
||||||
|
['name' => 'RETRACTION','value' => 'RT'],
|
||||||
|
['name' => 'MINI REVIEW','value' => 'MR'],
|
||||||
|
['name' => 'PERSPECTIVE','value' => 'PERSP'],
|
||||||
|
['name' => 'OTHERS','value' => 'O']
|
||||||
|
],
|
||||||
|
'supplement' => [
|
||||||
|
['name' => 'EVIDENCE-BASED MEDICINE','value' => 'EM'],
|
||||||
|
['name' => 'PROTOCOL','value' => 'PT'],
|
||||||
|
]
|
||||||
|
];
|
||||||
|
return $aArticleType;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @title 医疗类型接口
|
||||||
|
* @description 文章接口
|
||||||
|
*/
|
||||||
|
function getMedicalType(){
|
||||||
|
|
||||||
|
$aMedicalType = [
|
||||||
|
['label' => 'None','value' => ''],
|
||||||
|
['label' => 'ARTICLE','value' => 'Article'],
|
||||||
|
['label' => 'REVIEW','value' => 'Review'],
|
||||||
|
['label' => 'CASE REPORT','value' => 'Case report'],
|
||||||
|
['label' => 'RESEARCH PROPOSAL','value' => 'Research proposal'],
|
||||||
|
['label' => 'NEWS','value' => 'News'],
|
||||||
|
['label' => 'COMMENT','value' => 'Comment'],
|
||||||
|
['label' => 'CORRECTION','value' => 'Correction'],
|
||||||
|
['label' => 'HYPOTHESIS','value' => 'Hypothesis'],
|
||||||
|
['label' => 'PREFACE','value' => 'Preface'],
|
||||||
|
['label' => 'EDITORIAL','value' => 'Editorial'],
|
||||||
|
['label' => 'REPORT','value' => 'Report'],
|
||||||
|
['label' => 'LETTER','value' => 'Letter'],
|
||||||
|
['label' => 'EMPIRICAL FORMULA','value' => 'Empirical formula'],
|
||||||
|
['label' => 'EVIDENCE-BASED MEDICINE','value' => 'Evidence-based medicine'],
|
||||||
|
['label' => 'EXPERT CONSENSUS','value' => 'Expert consensus'],
|
||||||
|
['label' => 'LETTER TO EDITOR','value' => 'Letter to editor'],
|
||||||
|
['label' => 'QUESTIONNAIRE INVESTIGATION','value' => 'Questionnaire investigation'],
|
||||||
|
['label' => 'PROTOCOL','value' => 'Protocol'],
|
||||||
|
['label' => 'CASE SERIES','value' => 'Case Series'],
|
||||||
|
['label' => 'RETRACTION','value' => 'Retraction'],
|
||||||
|
['label' => 'MINI REVIEW','value' => 'Mini Review'],
|
||||||
|
['label' => '内经难经','value' => '内经难经'],
|
||||||
|
['label' => '伤寒金匮','value' => '伤寒金匮'],
|
||||||
|
['label' => '神农本草经','value' => '神农本草经'],
|
||||||
|
['label' => '温病研究','value' => '温病研究'],
|
||||||
|
['label' => '唐宋方药','value' => '唐宋方药'],
|
||||||
|
['label' => '金元各家','value' => '金元各家'],
|
||||||
|
['label' => '明清经典','value' => '明清经典'],
|
||||||
|
['label' => '中西汇通','value' => '中西汇通'],
|
||||||
|
['label' => '太湖选粹','value' => '太湖选粹'],
|
||||||
|
['label' => '针灸推拿','value' => '针灸推拿'],
|
||||||
|
['label' => '名医名方','value' => '名医名方'],
|
||||||
|
['label' => '新冠肺炎','value' => '新冠肺炎'],
|
||||||
|
['label' => '书评','value' => '书评']
|
||||||
|
];
|
||||||
|
|
||||||
|
return $aMedicalType;
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user