中文 | English
Return
Total: 140 , 1/14
Show Home Prev Next End page: GO
Author:(Wei Wei NG)

1.Bile acid induced gut hormones and hepatic glucose metabolism

Hong-wei CAO ; Wei NG JIA

Chinese Journal of Diabetes 2015;(12):1134-1137

2.inical and radiological features of the late-onset methylmalonic aciduria: a review of three cases</a> </h3> <p> <span> <a class="authorAndJournal" href="search/basic?searchField=Author&searchContent=Zhaoxia NG">Zhaoxia NG</a> </span> ; <span> <a class="authorAndJournal" href="search/basic?searchField=Author&searchContent= Wei ZHANG"> Wei ZHANG</a> </span> ; <span> <a class="authorAndJournal" href="search/basic?searchField=Author&searchContent= Yanling YANG"> Yanling YANG</a> </span> ; <span> <a class="authorAndJournal" href="search/basic?searchField=Author&searchContent= Yun YUAN"> Yun YUAN</a> </span> </p> <p style="margin-left:0px;"><a class="authorAndJournal" href="search/basic?searchField=JournalTitleSearch&searchContent=Chinese Journal of Neurology">Chinese Journal of Neurology</a><span class="c_6"> 2000;0(04):-</span></p> <div class="articleAbstract" id="540070Abstract" style="display:none"> <p> <b></b> jective To study the clinical and radiological features of the patients with late-onset methylmalonic aciduria ( MMA). Methods Two men and one woman with MMA were screened and confirmed by urinary organic acid analysis with gas chromatograph/mass spectrometer (GC/MS) at their 26, 18 and 34 years old, respectively. Their clinical features, laboratory findings, radiological manifestations, treatment and outcome were reviewed. Results The clinical features of 3 patients were varied with neurological abnormalities. Case 1 had periodic enuresis for 16 months, progressive dementia and movement disorder for 3 months. Physical examination showed an apparent cognitive decline with psychiatric symptoms. Dysarthria, bilateral weakness and pyramidal signs, rigidity and mild tremor of limbs were observed. Case 2 had a progressive memory deterioration, learning difficulty, walking unstably and decreased vision when he was 13 years old, and a general seizure at an age of 16 years. Diffused abnormalities of EEG and rnild renal defects were found in the above two patients. General white matter hyperintensity and cerebral atrophy on T2-weighted MR images were evident. Additionally, these two patients had hyperhomocystinemia and carnitine deficiency. Case 3 had complained about walking unstably and fatigue over 2 months. Reduced facial movements, deep sensation loss and muscle weakness in lower extremities, marked rigidity and diminished tendon reflexes were detected. Megaloblastic anemia and cobalamin deficiency were found. MRJ performed revealed bilateral symmetric areas having high density involving the globi pallidi, posterior limbs of internal capsule and the cerebral peduncles. Remarkable elevations of urinary methylmalonic and methylcitric acid were confirmed in all 3 patients. After vitamin B12 supplementation, significant improvement was observed. Conclusion Three cases with vitamin BI2 responsive type of late-onset MMA were reported. Two patients were combined with hyperhomocystinemia and the other had only isolated MMA. There might remain prominent differences among MMA subgroups in clinical presentations and neuroradiologic findings. VitaminB12 might be very effective to improve the prognosis of the patients. MMA should be considered as a differential diagnosis for the etiological investigation of adult cerebral metabolic or degenerative diseases. <br> </p> </div> </div> <div class="icon_list"> </div> </div> </div> <div class="list_block"> <div class="list_check"><label><input class="selectArticle" ref="627212" red="3" type="checkbox" /></label></div> <div class="list_con"> <div class="list_info"> <h3> <span>3.</span><a href="admin/article/articleDetail?WPRIMID=627212&articleId=627212&from=search">Antipsychotics And Electrocardiographic Monitoring In Patients With Schizophrenia</a> </h3> <p> <span> <a class="authorAndJournal" href="search/basic?searchField=Author&searchContent=Pamela Mei Yuan Ng">Pamela Mei Yuan Ng</a> </span> ; <span> <a class="authorAndJournal" href="search/basic?searchField=Author&searchContent= Suet Bin Chai"> Suet Bin Chai</a> </span> ; <span> <a class="authorAndJournal" href="search/basic?searchField=Author&searchContent= Ker-Chiah Wei"> Ker-Chiah Wei</a> </span> </p> <p style="margin-left:0px;"><a class="authorAndJournal" href="search/basic?searchField=JournalTitleSearch&searchContent=ASEAN Journal of Psychiatry">ASEAN Journal of Psychiatry</a><span class="c_6"> 2016;17(2):151-159</span></p> <div class="articleAbstract" id="627212Abstract" style="display:none"> <p> <b></b> Objectives: Patients with schizophrenia are more likely to die prematurely than the general population. They have a higher risk of cardiovascular related morbidity and mortality. Antipsychotic medications are also known to be associated with the prolongation of the rate-corrected QT (QTc) interval, which is linked to dangerous arrhythmias. The primary objective of our study is to investigate the practice of electrocardiogram (ECG) monitoring for patients with schizophrenia who were hospitalised. The secondary objective is to evaluate the prevalence of QTc prolongation in this group of patients. Methods: We included patients with schizophrenia who were discharged from the acute general adult psychiatric wards of the Institute of Mental Health in Singapore from 1 July 2014 to 21 July 2014. A retrospective analysis of the medical records was carried out to assess if they had received ECG during their hospitalisation. We also analysed their risk of developing QTc prolongation. Results: We had a sample size of 107 patients. There were 31 patients (29·0%) who received ECG during their hospitalisation. Of the 95 patients who had moderate-to-high risk of developing QTc prolongation, 29 of them received ECG. Of the 31 patients who received ECG, 10 of them (32·3%) had QTc prolongation. Conclusion: The ECG monitoring in the study patients was inadequate, and as a result, we were unable to evaluate the prevalence of prolonged QTc interval with confidence. We recommend performing baseline ECGs for these patients and conducting ECG teachings for clinicians who work in the psychiatric service settings. ASEAN Journal of Psychiatry, Vol. 17 (2): July – December 2016: XX XX. <br> </p> </div> </div> <div class="icon_list"> </div> </div> </div> <div class="list_block"> <div class="list_check"><label><input class="selectArticle" ref="625450" red="4" type="checkbox" /></label></div> <div class="list_con"> <div class="list_info"> <h3> <span>4.</span><a href="admin/article/articleDetail?WPRIMID=625450&articleId=625450&from=search">Fluorescence-Guided versus Conventional Surgical Resection of High Grade Glioma: A Single-Centre, 7-Year, Comparative Effectiveness Study</a> </h3> <p> <span> <a class="authorAndJournal" href="search/basic?searchField=Author&searchContent=Wei Ping Ng">Wei Ping Ng</a> </span> ; <span> <a class="authorAndJournal" href="search/basic?searchField=Author&searchContent= Boon Seng Liew"> Boon Seng Liew</a> </span> ; <span> <a class="authorAndJournal" href="search/basic?searchField=Author&searchContent= Azmin Kass Rosman"> Azmin Kass Rosman</a> </span> </p> <p style="margin-left:0px;"><a class="authorAndJournal" href="search/basic?searchField=JournalTitleSearch&searchContent=Malaysian Journal of Medical Sciences">Malaysian Journal of Medical Sciences</a><span class="c_6"> 2017;24(2):78-86</span></p> <div class="articleAbstract" id="625450Abstract" style="display:none"> <p> <b></b> Background: High grade gliomas (HGGs) are locally invasive brain tumours that carry a dismal prognosis. Although complete resection increases median survival, the difficulty in reliably demonstrating the tumour border intraoperatively is a norm. The Department of Neurosurgery, Hospital Sungai Buloh is the first public hospital in Malaysia to overcome this problem by adopting fluorescence-guided (FG) surgery using 5-aminolevulinic acid (5-ALA). Methods: A total of 74 patients with histologically proven HGGs treated between January 2008 and December 2014, who fulfilled the inclusion criteria, were enrolled. Kaplan-Meier survival estimates and Cox proportional hazard regression were used. Results: Significant longer survival time (months) was observed in the FG group compared with the conventional group (12 months versus 8 months, P < 0.020). Even without adjuvant therapy, HGG patients from FG group survived longer than those from the conventional group (8 months versus 3 months, P = 0.006). No significant differences were seen in postoperative Karnofsky performance scale (KPS) between the groups at 6 weeks and 6 months after surgery compared to pre-operative KPS. Cox proportional hazard regression identified four independent predictors of survival: KPS > 80 (P = 0.010), histology (P < 0.001), surgical method (P < 0.001) and adjuvant therapy (P < 0.001). Conclusion: This study showed a significant clinical benefit for HGG patients in terms of overall survival using FG surgery as it did not result in worsening of post-operative function outcome when compared with the conventional surgical method. We advocate a further multicentered, randomised controlled trial to support these findings before FG surgery can be implemented as a standard surgical adjunct in local practice for the benefit of HGG patients. <br> </p> </div> </div> <div class="icon_list"> </div> </div> </div> <div class="list_block"> <div class="list_check"><label><input class="selectArticle" ref="629438" red="5" type="checkbox" /></label></div> <div class="list_con"> <div class="list_info"> <h3> <span>5.</span><a href="admin/article/articleDetail?WPRIMID=629438&articleId=629438&from=search">Factors deterring registered nurses from pursuing post graduate nursing degree in a private hospital in Penang, Malaysia</a> </h3> <p> <span> <a class="authorAndJournal" href="search/basic?searchField=Author&searchContent=Mei Foong Ng">Mei Foong Ng</a> </span> ; <span> <a class="authorAndJournal" href="search/basic?searchField=Author&searchContent= Bee Yean Ooi"> Bee Yean Ooi</a> </span> ; <span> <a class="authorAndJournal" href="search/basic?searchField=Author&searchContent= Wei Fern Siew"> Wei Fern Siew</a> </span> </p> <p style="margin-left:0px;"><a class="authorAndJournal" href="search/basic?searchField=JournalTitleSearch&searchContent=International e-Journal of Science, Medicine and Education">International e-Journal of Science, Medicine and Education</a><span class="c_6"> 2015;9(3):38-46</span></p> <div class="articleAbstract" id="629438Abstract" style="display:none"> <p> <b></b> Background: In Malaysia the percentage of diploma registered nurses outnumber the percentage of degree registered nurses. Internationally, most registered nurses earn associate degrees or bachelor’s degrees in nursing. Malaysia is in the pipeline of ensuring that its registered nurses are professionally qualified with nursing degree by year 2020. Registered nurses with diploma qualification are feeling the pressure to upgrade their qualification to degree. There are concerns as to why these nurses are not pursuing their post registration nursing degree. Objective: To determine factors that are deterring the registered nurses of a private hospital in Penang from pursuing the post registered nursing degree. Methods: This descriptive study utilised a convenient sample of 150 registered nurses from Lam Wah Ee Hospital in Penang. The instrument of this study was developed based on literature search and the conceptual framework of Force Fields Analysis developed by Kurt Lewin in 1952. Results: The deterring factors for registered nurses not pursuing post registration nursing degree from this hospital were determined through negative mean score, which was valued at less than 2.5. The top 3 deterring factors identified were: high educational cost, with a score of 1.92; financial commitment, with a score of 2.22 and time constraints and high workload, with a score of 2.27. Conclusions: High educational cost, financial commitment, time constraint and high workload were the main factors deterring the registered nurses from this hospital from pursuing their post registration nursing degree. Thus it is timely for the organisational management to consider workable measures to assist and motivate their nurses to upgrade themselves with nursing degree in line with Malaysia’s vision to meet the increasing challenges and complex needs in the care of clients in health services. <br> <a href="search/basic?searchField=MeSH&searchContent=Education, Nursing"><span style="color:#2773a2;font-size:13.55px;" class="meshItem">Education, Nursing</span></a> </p> </div> </div> <div class="icon_list"> </div> </div> </div> <div class="list_block"> <div class="list_check"><label><input class="selectArticle" ref="671593" red="6" type="checkbox" /></label></div> <div class="list_con"> <div class="list_info"> <h3> <span>6.</span><a href="admin/article/articleDetail?WPRIMID=671593&articleId=671593&from=search">Association of vascular calcification and gremlin expression in radial arteries of patients with stage 5 of chronic kidney disease</a> </h3> <p> <span> <a class="authorAndJournal" href="search/basic?searchField=Author&searchContent=Li-feng GONG">Li-feng GONG</a> </span> ; <span> <a class="authorAndJournal" href="search/basic?searchField=Author&searchContent= Jing-kui LU"> Jing-kui LU</a> </span> ; <span> <a class="authorAndJournal" href="search/basic?searchField=Author&searchContent= Wei-gang TANG"> Wei-gang TANG</a> </span> ; <span> <a class="authorAndJournal" href="search/basic?searchField=Author&searchContent= Wei NG JIA"> Wei NG JIA</a> </span> ; <span> <a class="authorAndJournal" href="search/basic?searchField=Author&searchContent= Gui-xiang MA"> Gui-xiang MA</a> </span> </p> <p style="margin-left:0px;"><a class="authorAndJournal" href="search/basic?searchField=JournalTitleSearch&searchContent=Chinese Journal of Nephrology">Chinese Journal of Nephrology</a><span class="c_6"> 2011;27(11):807-810</span></p> <div class="articleAbstract" id="671593Abstract" style="display:none"> <p> <b></b> Objective To study the association of the expression of bone morphogenetic protein (BMP) antagonist gremlin and vascular calcification in radial arteries of patients with stage 5 of chronic kidney disease (CKD).Methods Radial arteries of 40 patients with stage 5 of CKD were collected as specimens of the study group,which were trimmed off during arterial venous fistula operations.Splenic trabecular arteries were collected as specimens of the control group,which were removed from 38 patients with simple traumatic splenic rupture.All the arteries were examined histologically for calcification with yon Kossa stain.Expressions of gremlin and BMP-2,-7were detected by immunohistochemistry and their serum concentrations were detected by ELISA.Images of histological sections were semi-quantitatively analyzed by Image-Pro Plus 6.0.SPSS 19.0software was used to perform statistical analysis.Results Significantly positive von Kossa stain was found in radial arteries from 12 of 40 patients (30%) in study group,which located in the layer of medial smooth muscle cells.However,there was no obvious positive stain in control group.Additionally,in study group,significant expressions of gremlin and BMP-2 were detected in those radial arteries of positive yon Kossa stain,which also located in the layer of medial smooth muscle cells.Positive correlations were found among gremlin expression level,BMP-2 expression level and yon Kossa stain intensity.However,the BMP-7 expression intensity in arteries of study group was much weaker as compared to control group.Conclusions Both gremlin and BMP-2 may be involved in the process that the smooth muscle cells of radial arteries in patients with stage 5 of CKD phenotypically transform into osteoblast-like cells.However,BMP-7 possibly prevents this process. <br> </p> </div> </div> <div class="icon_list"> <a title="DOI" class="doiClick articleDownload" rel="671593" type="doi" ref="10.3760/cma.j.issn.1001-7097.2011.11.003"><img src="static/new/images/DOI_2.png"></a> </div> </div> </div> <div class="list_block"> <div class="list_check"><label><input class="selectArticle" ref="671562" red="7" type="checkbox" /></label></div> <div class="list_con"> <div class="list_info"> <h3> <span>7.</span><a href="admin/article/articleDetail?WPRIMID=671562&articleId=671562&from=search">The perioperative myocardial protection of high-dose atorvastatin to acute coronary syndrome patients during percutaneous coronary artery interventional therapy</a> </h3> <p> <span> <a class="authorAndJournal" href="search/basic?searchField=Author&searchContent=Wei ZHANG">Wei ZHANG</a> </span> ; <span> <a class="authorAndJournal" href="search/basic?searchField=Author&searchContent= Ming ZHAO"> Ming ZHAO</a> </span> ; <span> <a class="authorAndJournal" href="search/basic?searchField=Author&searchContent= Xiao-hong LI"> Xiao-hong LI</a> </span> ; <span> <a class="authorAndJournal" href="search/basic?searchField=Author&searchContent= Xiao-feng WANG"> Xiao-feng WANG</a> </span> ; <span> <a class="authorAndJournal" href="search/basic?searchField=Author&searchContent= Hong-bin NG ZHA"> Hong-bin NG ZHA</a> </span> ; <span> <a class="authorAndJournal" href="search/basic?searchField=Author&searchContent= Ping SUN"> Ping SUN</a> </span> ; <span> <a class="authorAndJournal" href="search/basic?searchField=Author&searchContent= Jian-guo NG YA"> Jian-guo NG YA</a> </span> </p> <p style="margin-left:0px;"><a class="authorAndJournal" href="search/basic?searchField=JournalTitleSearch&searchContent=Chinese Journal of Postgraduates of Medicine">Chinese Journal of Postgraduates of Medicine</a><span class="c_6"> 2011;34(19):29-31</span></p> <div class="articleAbstract" id="671562Abstract" style="display:none"> <p> <b></b> Objective To observe the perioperative myocardial protection of high-dose atorvastatin to acute coronary syndrome(ACS) patients during percutaneous coronary artery interventional therapy(PCI).Methods One hundred and twenty patients with ACS undergoing elective PCI were divided into group A and group B with different oral dose of atorvastatin ( 80 mg/d and 20 mg/d ) for 3 days before operation by random digits table. Troponin I (cTnI), creatine kinase isozyme MB (CK-MB), high sensitive C-reactive protein (hs-CRP), interleukin (IL)-6 levels were measured before operation, 6 hours, 12 hours after operation and total cholesterol (TC), triglyeride (TG), low desity lipeprotein cholesterol (LDL-C), high density lipeprotein cholesterol (HDL-C) levels were measured before operation and 3 days after operation.Results cTnI,CK-MB,hs-CRP and IL-6 levels in the two groups were increased significandy 6 hours and 12 hours after operation (P <0.05). Six hours after operation, cTnI and CK-MB levels in group A were significantly lower than those in group B [(0.35±0. 18 ) μg/L vs. (0.48±0. 16 ) μg/L, ( 3.78±0.45 )μg/Lvs. (4.56±0.55 )μg/L] (P < 0.05 ). Twelve hours after operation , hs-CRP and IL-6 levels in group A were significantly lower than those in group B [(4.53±0.98 ) mg/L vs. (7.03±0.88 ) mg/L, ( 30.6±11.2) <span class="highlight">ng</span>/L vs.(43.8±12.1) <span class="highlight">ng</span>/L] (P <0.05). TC, TG, LDL-C, HDL-C levels in the two groups did not change significantly before and after operation (P >0.05). Conclusions Myocardial protective effects of ACS patients treated with atorvastatin 80 mg/d for 3 days are better than those treated with oral atorvastatin 20 mg/d. High-dose atorvastatin can produce more beneficial effects. <br> </p> </div> </div> <div class="icon_list"> <a title="DOI" class="doiClick articleDownload" rel="671562" type="doi" ref="10.3760/cma.j.issn.1673-4904.2011.19.010"><img src="static/new/images/DOI_2.png"></a> </div> </div> </div> <div class="list_block"> <div class="list_check"><label><input class="selectArticle" ref="349322" red="8" type="checkbox" /></label></div> <div class="list_con"> <div class="list_info"> <h3> <span>8.</span><a href="admin/article/articleDetail?WPRIMID=349322&articleId=349322&from=search">Pancreatic Panniculitis Sans Pancreatitis in a Patient with Diabetic Ketoacidosis.</a> </h3> <p> <span> <a class="authorAndJournal" href="search/basic?searchField=Author&searchContent=Wei Liang KOH">Wei Liang KOH</a> </span> ; <span> <a class="authorAndJournal" href="search/basic?searchField=Author&searchContent=Yong Kwang TAY">Yong Kwang TAY</a> </span> ; <span> <a class="authorAndJournal" href="search/basic?searchField=Author&searchContent=Victor Wl NG">Victor Wl NG</a> </span> </p> <p style="margin-left:0px;"><a class="authorAndJournal" href="search/basic?searchField=JournalTitleSearch&searchContent=Annals of the Academy of Medicine, Singapore">Annals of the Academy of Medicine, Singapore</a><span class="c_6"> 2017;46(6):252-253</span></p> <div class="articleAbstract" id="349322Abstract" style="display:none"> <p> <br> </p> </div> </div> <div class="icon_list"> </div> </div> </div> <div class="list_block"> <div class="list_check"><label><input class="selectArticle" ref="349345" red="9" type="checkbox" /></label></div> <div class="list_con"> <div class="list_info"> <h3> <span>9.</span><a href="admin/article/articleDetail?WPRIMID=349345&articleId=349345&from=search">Too Old for Surgery? Outcomes of Hip Fracture Surgery in Centenarians.</a> </h3> <p> <span> <a class="authorAndJournal" href="search/basic?searchField=Author&searchContent=Wei Xiang NG">Wei Xiang NG</a> </span> ; <span> <a class="authorAndJournal" href="search/basic?searchField=Author&searchContent=Ernest Bk KWEK">Ernest Bk KWEK</a> </span> </p> <p style="margin-left:0px;"><a class="authorAndJournal" href="search/basic?searchField=JournalTitleSearch&searchContent=Annals of the Academy of Medicine, Singapore">Annals of the Academy of Medicine, Singapore</a><span class="c_6"> 2017;46(3):115-117</span></p> <div class="articleAbstract" id="349345Abstract" style="display:none"> <p> <br> </p> </div> </div> <div class="icon_list"> </div> </div> </div> <div class="list_block"> <div class="list_check"><label><input class="selectArticle" ref="671633" red="10" type="checkbox" /></label></div> <div class="list_con"> <div class="list_info"> <h3> <span>10.</span><a href="admin/article/articleDetail?WPRIMID=671633&articleId=671633&from=search">The effect of blocking the janus kinase signal transducers and activators of transcription signal pathway on the activity of Caspase-3 in the synovial tissue of rheumatoid arthritis rats</a> </h3> <p> <span> <a class="authorAndJournal" href="search/basic?searchField=Author&searchContent=Wei GAO">Wei GAO</a> </span> ; <span> <a class="authorAndJournal" href="search/basic?searchField=Author&searchContent= Rong ZHANG"> Rong ZHANG</a> </span> ; <span> <a class="authorAndJournal" href="search/basic?searchField=Author&searchContent= Li-juan ZHAO"> Li-juan ZHAO</a> </span> ; <span> <a class="authorAndJournal" href="search/basic?searchField=Author&searchContent= Jing LU"> Jing LU</a> </span> ; <span> <a class="authorAndJournal" href="search/basic?searchField=Author&searchContent= Pin-ting NG YA"> Pin-ting NG YA</a> </span> </p> <p style="margin-left:0px;"><a class="authorAndJournal" href="search/basic?searchField=JournalTitleSearch&searchContent=Chinese Journal of Rheumatology">Chinese Journal of Rheumatology</a><span class="c_6"> 2011;15(10):703-706</span></p> <div class="articleAbstract" id="671633Abstract" style="display:none"> <p> <b></b> ObjectiveTo explore the effect of blocking the JAK/STAT signal pathway on the activity of Caspase-3 in the synovial tissue of rheumatoid arthritis rats.MethodsFifty rat models of collageninduced arthritis,which had arthritis index more than 2 were divided into the model group,the low dosage of AG490 group,the medium dosage of AG490 group and high dosage of AG490 group.Inaddition,6 rats were treated as normal control group.Normal saline,AG490 1,5,10 mg·kg-1 ·d-1 were given by intraperitoneal injection.Then the volume claws and pathologic scores of the rat models were recorded and the activity of Caspase-3 in the synovial tissue were compared.The results were analyzed by one-way ANOVA and LSD-t or Tamhane's T2 test.ResultsThe arthritis of the CIA models progressed fast,the volume of the claws and the pathological score of them were significantly higher than those of the control group.At the same time,no Caspase-3 positive express could be detected in the control group,whilethe model group had slightly increased expression.After different dosages of AG490 were applied,the swollen of joints was significantly improved compared with the model group.The histopathological score of the medium AG490 dosage of group and high dosage group(2.7±0.8,1.8+0.9) were remarkably decreased than those of the model group(4.3+1.2),the differences were statistically significant (P<0.01).In addition,the Caspase-3 expression in the low,medium and high AG490 dosage group ( 1.90±0.15,3.13±0.33,3.56+0.34) was significantly higher than that of the model group(1.48±0.18)(P<0.05 or P<0.01 ).ConclusionBlocking JAK/STAT signal pathway can increase the activity of Caspase-3,reduce the excessive proliferation of synovial tissue,and improve arthritis symptoms. <br> </p> </div> </div> <div class="icon_list"> <a title="DOI" class="doiClick articleDownload" rel="671633" type="doi" ref="10.3760/cma.j.issn.1007-7480.2011.10.011"><img src="static/new/images/DOI_2.png"></a> </div> </div> </div> <div id="doiDiv" style="position:fixed;left:0px;top:97%;width:300px;height:25px;padding:2px 2px;background-color:#F2F2F2;display:none;z-index:99;"></div> <form action="http://dx.doi.org/" target="_blank" method="post" id="doiForm"> <input type="hidden" name="hdl" id="doiInput"> </form> </div> <div class="main_r_r"> <div class="sort"> <span>Sort by</span> <select id="orderSelect" style="font-size:12px;"> <option selected value="relevance">Relevance</option> <option value="PubYear">PubYear</option> <option value="JournalTitle">JournalTitle</option> </select> <a href="javascript:;" id="resultAnalyzeBtn"><img src="static/new/images/load.png" />Result Analysis</a> </div> <form action="search/analyze" method="post" id="analyzeForm"> <input type="hidden" name="advancedSearchContentUUID" id="advancedSearchContentAnaForm"> <input type="hidden" name="searchContent" id="searchContentAnaForm"> <input type="hidden" name="searchField" id="searchFieldAnaForm"> <input type="hidden" name="fromAdvanced" id="fromAdvancedAnaForm"> <input type="hidden" name="fromAnalyze" id="fromAnalyzeAnaForm"> <input type="hidden" name="newSearchParam" id="newSearchParamAnaForm"> <input type="hidden" name="isFacet" id="isFacetAnaForm"> <input type="hidden" name="originalSearchHistory" id="originalSearchHistoryAnaForm"> </form> <div class="mode"> <h3>Display Mode</h3> <div> <label class="mt_10"><input class="displayMode" mode="brief" type="radio" name="re" checked id="briefInput" />Brief</label> <label><input class="displayMode" mode="abstract" type="radio" name="re" id="abstractInput" />Abstract</label> </div> <div class="mt_10"> <a href="javascript:;" id="selectedRecordsDisplayMode">Selected Records</a> <a href="javascript:;" id="allRecordsDisplayMode">All Records</a> </div> </div> <div class="output"> <h3>Output Records</h3> <label><input class="recordsSelect" mode="all" type="radio" name="ra" checked="checked" />All Records(≤500)</label><br /> <label><input class="recordsSelect" mode="select" type="radio" name="ra" />Selected Records</label><br /> <label><input class="recordsSelect" mode="page" type="radio" name="ra" />All Records on Page</label><br /> <label><input class="recordsSelect" mode="fromto" type="radio" name="ra" />Records <input type="number" min="1" max="140" id="selectFrom" class="txt"/> To <input type="number" min="1" max="20" id="selectTo" class="txt"/>(≤500)</label> </div> <div class="file"> <h3>File Type</h3> <label><input class="fileType" mode="normal" type="radio" name="rad" checked="checked" />Normal</label><br /> <label><input class="fileType" mode="noteExpress" type="radio" name="rad" />NoteExpress</label><br /> <label><input class="fileType" mode="refWorks" type="radio" name="rad" />Refworks</label><br /> <label><input class="fileType" mode="endNote" type="radio" name="rad" />EndNote</label><br /> <label><input class="fileType" mode="xml" type="radio" name="rad" />XML</label> </div> <div class="butt"> <a href="javascript:;" id="printBtn"><img src="static/new/images/print.png" />Print</a> <a href="javascript:;" id="saveBtn"><img src="static/new/images/sav.png" class="save"/>Save</a> <a href="javascript:;" id="emailBtn"><img src="static/new/images/Email.png" class="email"/>E-mail</a> </div> <div id="emailDiv" style="margin-top:5px;display:none"> <input id="emailInput" type="email" class="emailInput" placeholder="Input your email address" style="margin-top:2px;"> <img id="sendBtn" src="static/new/myimages/send.gif" style="cursor:pointer;margin-top:1px;"> </div> <!-- width="51" height="23" size="21" --> </div> </div> </div> <div class="main_t"> <div class="main_t_r" style="margin-bottom:50px;"> <span class="main_t_l" style="font-weight:normal;margin-right:520px">Total: 140 , 1/14 </span> <span>Show</span> <select class="pageSizeSelect" id="pageSizeSelect"> <option>10</option> <option >20</option> <option >50</option> <option >100</option> </select> <a href="javascript:;" class="pageChangeBtn" ref="1">Home</a> <a href="javascript:;" class="pageChangeBtn" ref="1">Prev</a> <a href="javascript:;" class="pageChangeBtn" ref="2">Next</a> <a href="javascript:;" class="pageChangeBtn" ref="14">End</a> <span>page:</span> <input type="number" id="pageNum2" min="1" max="14" id="pageNumContent" value="1" /> <a href="javascript:;" class="jumpToPageBtn">GO</a> </div> </div> </div> </div> </div> <!--footer--> <div class="footer"> <div class="foot_box"> <p class="copy">©2019 - Present World Health Organization Regional Office for the Western Pacific. All Rights Reserved.</p> </div> </div> <form action="search/print" method="post" id="printForm"> <input type="hidden" name="records" id="recordsPrintFormInput"> <input type="hidden" name="advancedSearchContentUUID" id="advancedSearchContentPrintFormInput"> <input type="hidden" name="searchField" id="searchFieldPrintFormInput"> <input type="hidden" name="searchContent" id="searchContentPrintFormInput"> <input type="hidden" name="displayMode" id="displayModePrintFormInput"> <input type="hidden" name="order" id="orderPrintFormInput"> <input type="hidden" name="isFacet" id="isFacetPrintFormInput"> <input type="hidden" name="newSearchParam" id="newSearchParamPrintFormInput"> <input type="hidden" name="fromAdvanced" id="fromAdvancedPrintFormInput"> <input type="hidden" name="from" id="fromPrintFormInput"> <input type="hidden" name="to" id="toPrintFormInput"> </form> <form action="search/export" method="post" id="saveForm"> <input type="hidden" name="records" id="recordsSaveFormInput"> <input type="hidden" name="advancedSearchContentUUID" id="advancedSearchContentSaveFormInput"> <input type="hidden" name="searchField" id="searchFieldSaveFormInput"> <input type="hidden" name="searchContent" id="searchContentSaveFormInput"> <input type="hidden" name="displayMode" id="displayModeSaveFormInput"> <input type="hidden" name="order" id="orderSaveFormInput"> <input type="hidden" name="isFacet" id="isFacetSaveFormInput"> <input type="hidden" name="newSearchParam" id="newSearchParamSaveFormInput"> <input type="hidden" name="fromAdvanced" id="fromAdvancedSaveFormInput"> <input type="hidden" name="from" id="fromSaveFormInput"> <input type="hidden" name="to" id="toSaveFormInput"> <input type="hidden" name="fileType" id="fileTypeSaveFormInput"> <input type="hidden" name="pageNum" id="pageNumSaveFormInput"> <input type="hidden" name="pageSize" id="pageSizeSaveFormInput"> </form> <script src="static/js/jquery-3.3.1.min.js"></script> <script src="static/js/jquery-migrate-3.0.0.min.js"></script> <script type="text/javascript" src="/common/js/changelanguage.js"></script> <script> $(function(){ //处理检索内容中的特殊字符函数 function dealSpecialCharacter(source){ var result = ""; var sourceArray = source.split(""); for(var i = 0; i < source.length; i++){ var c = sourceArray[i]; if(c == '\\' || c == '+' || c == '-' || c == '!' || c == '(' || c == ')' || c == ':' || c == '^' || c == '[' || c == ']' || c == '\"' || c == '{' || c == '}' || c == '~' || c == '*' || c == '?' || c == '|' || c == '&' || c == ';' || c == '/' || c == ' '){ result += '\\'; } result += c; } return result; } //检索结果分析按钮触发 $("#resultAnalyzeBtn").click(function(){ //$("#advancedSearchContentAnaForm").val(""); $("#advancedSearchContentAnaForm").val("9cca43a2-184a-41a6-99ca-248c4b47b04d"); // $("#searchContentAnaForm").val(dealSpecialCharacter("Wei\ Wei\ NG")); $("#searchContentAnaForm").val("Wei Wei NG"); $("#searchFieldAnaForm").val("Author"); $("#fromAdvancedAnaForm").val(""); $("#fromAnalyzeAnaForm").val(""); $("#newSearchParamAnaForm").val(""); $("#isFacetAnaForm").val(""); $("#originalSearchHistoryAnaForm").val(""); $("#analyzeForm").submit(); }); //触发全文链接日志添加线程 /* $(".articleDownload").click(function(){ var articleId = $(this).attr("rel"); $.ajax({ url:"admin/article/addArticleDownloadLog", data:{"articleId":articleId}, type:"post" }); }); */ //触发全文链接日志添加线程 $(".articleDownload").click(function(){ var articleId = $(this).attr("rel"); var type = $(this).attr("type"); var url = '/admin/article/addArticleUrlClickLog'; if(type == 'doi'){ url = '/admin/article/addArticleDoiClickLog'; } $.ajax({ url:url, data:{"articleId":articleId}, type:"post" }); }); //高级检索跳转过来的结果页,重新检索时重置fromAdvanced参数,转换为基本检索 $("#searchForm").keydown(function(e){ var keyCode = e.keyCode; if(keyCode == 13){ $("#pageNumInput").val(""); $("#fromAdvanced").val(""); $("#isFacet").val(""); $("#newSearchParam").val(""); $("#advancedSearchContent").val(""); } }); //检索结果页添加检索内容到检索历史 var addSearchContentToHistory = function(){ var searchContent; var searchInputContent = $("#searchContent").val(); var searchField = $("#searchField").val(); var isFacet = ""; var fromAdvanced = ""; var newSearchParam= ""; //var advancedSearchContent = ""; var advancedSearchContentUUID = "9cca43a2-184a-41a6-99ca-248c4b47b04d"; //获取检索后台处理后的检索表达式 $.ajax({ async:false, url:"search/getFinalSearchParam", type:"post", data:{"searchContent":searchInputContent, "searchField":searchField, "isFacet":isFacet, "fromAdvanced":fromAdvanced, "newSearchParam":newSearchParam, "advancedSearchContentUUID":advancedSearchContentUUID}, success:function(data){ searchContent = data.finalSearchParam; } }); //请求数据并添加到检索历史 $.ajax({ url:"search/getItemsFound", data:{"searchContent":searchContent}, type:"post", success:function(data){ var itemsFound = data.itemsFound; var nowDate = new Date(); var nowHours = nowDate.getHours(); var nowMinutes = nowDate.getMinutes(); var nowSeconds = nowDate.getSeconds(); nowHours = nowHours > 9 ? nowHours : "0" + nowHours; nowMinutes = nowMinutes > 9 ? nowMinutes : "0" + nowMinutes; nowSeconds = nowSeconds > 9 ? nowSeconds : "0" + nowSeconds; var historyTime = nowHours+ ":" + nowMinutes + ":" + nowSeconds; //原始检索式存储起来,在检索历史中展示使用 var originalSearchContent = searchField + ":" + searchInputContent; var searchHistory = searchContent + "#" + itemsFound + "#" + historyTime + "#" + originalSearchContent; var localHistory = localStorage.searchHistory; if(localHistory == null || localHistory == ""){ localStorage.searchHistory = searchHistory; }else{ //将检索历史条数限制到100条 var historySize = localHistory.split(";").length; if(historySize >= 100){ //如果超过100条,保留最新,冲掉最旧的 localStorage.searchHistory = localHistory.substring(localHistory.indexOf(";") + 1) + ";" + searchHistory; }else{ localStorage.searchHistory = localHistory + ";" + searchHistory; } } } }); } //检索按钮触发添加检索历史动作 $("#searchBtn").click(function(){ $("#fromAdvanced").val(""); $("#isFacet").val(""); $("#newSearchParam").val(""); $("#advancedSearchContent").val(""); $("#pageNumInput").val(""); $("#searchForm").submit(); }); //进入页面后,如果地址栏参数displayMode为1,则显示摘要 var displayMode = ""; if(displayMode == "1"){ $(".articleAbstract").show(); $("#abstractInput").click(); } //分类导航后,如果重新编辑了检索框内容,则清除分类导航标识 $("#searchContent").keyup(function(){ $("#isFacet").val(""); }); $("#searchContent").change(function(){ var searchContent = $("#searchContent").val(); if(searchContent == null || searchContent == ""){ $("#isFacet").val(""); } }); //定义特殊页码跳转按钮动作 $(".homePageChangeBtn").click(function(){ var currentPageNum = ""; if(currentPageNum != "" && currentPageNum != "1"){ $("#pageNumInput").val("1"); $("#searchForm").submit(); } }); //鼠标悬浮doi图标时,浏览器右下角显示doi链接信息 $(".doiClick").mouseover(function(){ var doi = $(this).attr("ref"); $("#doiDiv").text(doi); $("#doiDiv").toggle(); }); $(".doiClick").mouseout(function(){ $("#doiDiv").toggle(); }); $(function(){ //异步加载分面导航数据 var searchField = "Author"; //var searchContent = dealSpecialCharacter("Wei\ Wei\ NG"); var searchContent = "Wei Wei NG"; var isFacet = ""; var fromAdvanced = ""; //var advancedSearchContent = ""; var advancedSearchContentUUID = "9cca43a2-184a-41a6-99ca-248c4b47b04d"; //var advancedSearchContent = encodeURIComponent(""); var newSearchParam= ""; $.ajax({ url:"search/getFacetResult", type:"post", data:{"searchField":searchField,"searchContent":searchContent,"isFacet":isFacet,"fromAdvanced":fromAdvanced,"advancedSearchContentUUID":advancedSearchContentUUID,"newSearchParam":""}, success:function(data){ var result = data.facetResult; //加载全文数量 var fullTextCount = result.AVAILABLEFULLTEXTCOUNT; if(newSearchParam.indexOf("$fullText$")>=0){ $("#classifiedNavigation").append($('<h3><a href="javascript:;" class="toggleFacet">Full text</a></h3><div><label><input type="checkbox" value="availableFullText" checked="checked" />Available<span>  (' + fullTextCount + ')</span></label></div>')); }else{ $("#classifiedNavigation").append($('<h3><a href="javascript:;" class="toggleFacet">Full text</a></h3><div><label><input type="checkbox" value="availableFullText" />Available<span>  (' + fullTextCount + ')</span></label></div>')); } //加载分面数据 var facetResult = result.FACETRESULT; var paramArray = newSearchParam.split("@*"); //alert(newSearchParam); for(var index in facetResult){ var facetItem = facetResult[index]; var facetName = facetItem.KEY; var facetValue = facetItem.VALUE; var toAppendFacet = ""; toAppendFacet += '<h3 class="mt_10"><a href="javascript:;" class="toggleFacet">' + facetName + '</a></h3><div>'; for(var index2 in facetValue){ var facet = facetValue[index2]; var oname = facet.ONAME; var name = facet.NAME; var count = facet.COUNT; var showName; if((name + '').length > 25){ showName = name.substring(0,22) + "..."; }else{ showName = name; } //复选框选中效果 var checkedFlagO = ""; var checkedFlag = ""; if(paramArray.length > 1 ||(paramArray.length == 1 && paramArray[0] != "")){ /* for(var i=0;i<paramArray.length;i++){ if(paramArray[i].length>0){ var faceAndValue = paramArray[i].split("@^"); if(faceAndValue.length>1 && faceAndValue[1]==oname){ checkedFlagO = ' checked="checked" '; break; } } } */ if(facetName == "Main Subject"){ for(var i=0;i<paramArray.length;i++){ if(paramArray[i].length>0){ var faceAndValue = paramArray[i].split("@^"); if(faceAndValue.length>1 && faceAndValue[0]=="MeSH_facet" && faceAndValue[1]==name){ checkedFlag = ' checked="checked" '; break; } } } } if(facetName == "Language"){ for(var i=0;i<paramArray.length;i++){ if(paramArray[i].length>0){ var faceAndValue = paramArray[i].split("@^"); if(faceAndValue.length>1 && faceAndValue[0]=="Language" && faceAndValue[1]==name){ checkedFlag = ' checked="checked" '; break; } } } } if(facetName == "Journal"){ for(var i=0;i<paramArray.length;i++){ if(paramArray[i].length>0){ var faceAndValue = paramArray[i].split("@^"); if(faceAndValue.length>1 && faceAndValue[0]=="JournalTitle" && faceAndValue[1]==name){ checkedFlag = ' checked="checked" '; break; } } } } if(facetName == "Year"){ for(var i=0;i<paramArray.length;i++){ if(paramArray[i].length>0){ var faceAndValue = paramArray[i].split("@^"); if(faceAndValue.length>1 && faceAndValue[0]=="PubYear" && faceAndValue[1]==name){ checkedFlag = ' checked="checked" '; break; } } } } if(facetName == "Country"){ for(var i=0;i<paramArray.length;i++){ if(paramArray[i].length>0){ var faceAndValue = paramArray[i].split("@^"); if(faceAndValue.length>1 && faceAndValue[0]=="Country_facet" && faceAndValue[1]==name){ checkedFlag = ' checked="checked" '; break; } } } } /* for(var i=0;i<paramArray.length;i++){ if(paramArray[i].length>0){ var faceAndValue = paramArray[i].split("@^"); if(faceAndValue.length>1 && faceAndValue[1]==name){ checkedFlag = ' checked="checked" '; break; } } } */ } if(index2 < 3){ toAppendFacet += '<label> <input type="checkbox" value="' + name + '" '+checkedFlag+' /><a title="' + name + '">' + showName + '</a><span>  (' + count + ')</span></label>'; } if(index2 == 3){ toAppendFacet += '<p><a style="color:black;" href="javascript:;" class="showMoreBtn">Show more...</a></p>'; } if(index2 > 2 && index2 < 10){ if(showName != ""){ toAppendFacet += '<label style="display:none"> <input type="checkbox" value="' + name + '"'+checkedFlag+' /><a title="' + name + '">' + showName + '</a><span>  (' + count + ')</span></label>'; } } /* if(index2 < 3){ if(facetName == "Main Subject" || facetName == "Publishing Place"){ toAppendFacet += '<label> <input type="checkbox" value="' + oname + '" '+checkedFlagO+' /><a title="' + name + '">' + showName + '</a><span>  (' + count + ')</span></label>'; }else{ toAppendFacet += '<label> <input type="checkbox" value="' + name + '" '+checkedFlag+' /><a title="' + name + '">' + showName + '</a><span>  (' + count + ')</span></label>'; } } if(index2 == 3){ toAppendFacet += '<p><a style="color:black;" href="javascript:;" class="showMoreBtn">Show more...</a></p>'; } if(index2 > 2 && index2 < 10){ if(facetName == "Main Subject" || facetName == "Publishing Place"){ toAppendFacet += '<label style="display:none"> <input type="checkbox" value="' + oname + '"'+checkedFlagO+' /><a title="' + name + '">' + showName + '</a><span>  (' + count + ')</span></label>'; }else{ if(showName != ""){ toAppendFacet += '<label style="display:none"> <input type="checkbox" value="' + name + '"'+checkedFlag+' /><a title="' + name + '">' + showName + '</a><span>  (' + count + ')</span></label>'; } } } */ } toAppendFacet += '</div>'; $("#classifiedNavigation").append($(toAppendFacet)); } } });//-end ajax /* var url = window.location.href; if(url.indexOf("searchField=") != -1 && url.indexOf("pageNum") != -1){ var realSearchContent = url.substring(parseInt(url.indexOf("searchContent=")) + 14,url.indexOf("&pageNum")); $("#searchContent").val(decodeURIComponent(realSearchContent)); } if(url.indexOf("searchField=") == -1 && url.indexOf("pageNum") == -1){ var realSearchContent = url.substring(parseInt(url.indexOf("searchContent=")) + 14); $("#searchContent").val(decodeURIComponent(realSearchContent)); } */ //根据地址栏检索参数显示检索条件输出框或者国家、语言选择框 var searchField = "Author"; if(searchField == "Country"){ $("#searchInputDiv").hide(); $("#searchSelectLanguageDiv").hide(); $("#searchSelectCountryDiv").show(); }else if(searchField == "Language") { $("#searchInputDiv").hide(); $("#searchSelectCountryDiv").hide(); $("#searchSelectLanguageDiv").show(); } //解决浏览器后退按钮后searchField显示异常问题,手动校正searchField值 var paramSearchField = "Author"; if(paramSearchField == ""){ $("#searchField").val("default"); }else{ $("#searchField").val(paramSearchField); } //检索完成后添加检索历史,但分面导航的除外,高级检索由于原始检索表达式获取不到,所以在高级检索页面完成 if("" != "1" && "" != "1"){ addSearchContentToHistory(); } }); //doi图标点击触发 $(".doiClick").click(function(){ var doi = $(this).attr("ref"); $("#doiInput").val(doi); $("#doiForm").submit(); }); //发送检索结果邮件按钮触发功能 $("#sendBtn").click(function(){ var order = $("#orderInput").val(); //检查邮件是否填写 var email = $("#emailInput").val(); if(email == 'undefined' || email == null){ alert("Please check your email address first!"); }else{ //检查选择检索结果的模式,并获取指定检索结果目标 var recordsMode,displayMode; $(".recordsSelect").each(function(){ if(this.checked){ recordsMode = $(this).attr("mode"); } }); $(".displayMode").each(function(){ if(this.checked){ displayMode = $(this).attr("mode"); } }); if(recordsMode == "select"){ var recordIdArray = new Array(); var recordIndexArray = new Array(); $(".selectArticle").each(function(){ if(this.checked){ recordIdArray[recordIdArray.length] = $(this).attr("ref"); recordIndexArray[recordIndexArray.length] = $(this).attr("red"); } }); if(recordIdArray.length == 0){ alert("Please select your target articles first."); }else{ $.ajax({ url:"admin/email/export?records=" + recordIdArray + "&order=" + order + "&recordsIndex=" + recordIndexArray, data:{"displayMode":displayMode,"email":email}, success:function(){ $("#emailDiv").hide(); alert("E-mail sent successfully, please check your inbox."); } }); } }else if(recordsMode == "page"){ var recordIdArray = new Array(); var recordIndexArray = new Array(); $(".selectArticle").each(function(){ recordIdArray[recordIdArray.length] = $(this).attr("ref"); recordIndexArray[recordIndexArray.length] = $(this).attr("red"); }); if(recordIdArray.length == 0){ alert("Please select your target articles first."); }else{ $.ajax({ url:"admin/email/export?records=" + recordIdArray + "&order=" + order + "&recordsIndex=" + recordIndexArray, data:{"displayMode":displayMode,"email":email}, success:function(){ $("#emailDiv").hide(); alert("E-mail sent successfully, please check your inbox."); } }); } }else if(recordsMode == "all"){ //检查发送到邮件的结果数量,如果大于500,则提示选择其他方式 var totalRow = "140"; if(parseInt(totalRow) > 500){ alert("Too many articles selected."); }else{ var searchField = $("#searchField").val(); var searchContent = $("#searchContent").val(); $.ajax({ url:"admin/email/export", type:"post", data:{"records":"all","displayMode":displayMode,"email":email,"searchField":searchField,"searchContent":searchContent,"order":order,"isFacet":"","newSearchParam":"","fromAdvanced":"","advancedSearchContentUUID":"9cca43a2-184a-41a6-99ca-248c4b47b04d"}, success:function(){ $("#emailDiv").hide(); alert("E-mail sent successfully, please check your inbox."); } }); } }else if(recordsMode == "fromto"){ //修改为实际检索全部内容的导出范围 if($.trim($("#selectFrom").val()) == "" || $.trim($("#selectTo").val()) == ""){ alert("Pleast input start record and end record."); return; } var selectFrom = parseInt($("#selectFrom").val()); var selectTo = parseInt($("#selectTo").val()); var searchField = $("#searchField").val(); var searchContent = $("#searchContent").val(); if(selectFrom > selectTo){ alert("Pleast input the correct range."); return; }else if(selectTo-selectFrom>500){ alert("Too many articles selected."); return; }else{ /* var recordIdArray = new Array(); $(".selectArticle").each(function(index,element){ var index2 = parseInt($(element).attr("red")); if(index2 >= selectFrom && index2 <= selectTo){ recordIdArray[recordIdArray.length] = $(element).attr("ref"); } }); if(recordIdArray.length == 0){ alert("Please select the right range."); }else{ */ $.ajax({ url:"admin/email/export", type:"post", data:{"displayMode":displayMode,"email":email,"order":order,"records":"fromto","from":selectFrom,"to":selectTo,"searchField":searchField,"searchContent":searchContent,"isFacet":"","newSearchParam":"","fromAdvanced":"","advancedSearchContentUUID":"9cca43a2-184a-41a6-99ca-248c4b47b04d"}, success:function(){ $("#emailDiv").hide(); alert("E-mail sent successfully, please check your inbox."); } }); /* } */ } } } }); //切换显示/隐藏发送结果邮件框 $("#emailBtn").click(function(){ var emailDivDisplay = $("#emailDiv").css("display"); if(emailDivDisplay == "none"){ $("#emailDiv").css("display", "flex"); }else if(emailDivDisplay == "flex"){ $("#emailDiv").css("display", "none"); } }); //获取当前选择的展示模式 var displayMode; function getDisplayMode(){ $(".displayMode").each(function(index,element){ if(this.checked){ displayMode = $(element).attr("mode"); } }); } //切换Brief/Abstract两种结果展示形式 $("#selectedRecordsDisplayMode").click(function(){ getDisplayMode(); $("#displayModeInput").val("0"); if(displayMode == "brief"){ $(".selectArticle").each(function(index,element){ if(this.checked){ var articleId = $(element).attr("ref"); $("#" + articleId + "Abstract").hide(); } }); }else{ $(".selectArticle").each(function(index,element){ if(this.checked){ var articleId = $(element).attr("ref"); $("#" + articleId + "Abstract").show(); } }); } }); //选择全部结果切换Brief/Abstract展示形式 $("#allRecordsDisplayMode").click(function(){ getDisplayMode(); if(displayMode == "brief"){ $("#displayModeInput").val("0"); $(".articleAbstract").hide(); }else{ $("#displayModeInput").val("1"); $(".articleAbstract").show(); } }); //分面导航 $("body").delegate("#classifiedNavigation input","click",function(){ if(this.checked){ var newSearchParam = ""; var inputValue = $(this).val(); var parentDiv = $(this).parent().parent(); var field = parentDiv.prev().find("a").text(); if(field == "Main Subject"){ field = "MeSH_facet"; }else if(field == "Journal"){ field = "JournalTitle" }else if(field == "Year"){ field = "PubYear"; }else if(field == "Country"){ field = "Country_facet"; } if(inputValue == "availableFullText"){ newSearchParam += '$fullText$'; }else{ newSearchParam += field + '@^' + inputValue; } var paramSearchParam= ""; newSearchParam = paramSearchParam + "@*" + newSearchParam; $("#newSearchParam").val(newSearchParam); //添加分面导航标记 $("#isFacet").val("1"); //重置页码 $("#pageNumInput").val("1"); $("#searchForm").submit(); }else{ var newSearchParam = ""; var inputValue = $(this).val(); var parentDiv = $(this).parent().parent(); var field = parentDiv.prev().find("a").text(); if(field == "Main Subject"){ field = "MeSH_facet"; }else if(field == "Journal"){ field = "JournalTitle" }else if(field == "Year"){ field = "PubYear"; }else if(field == "Country"){ field = "Country_facet"; } if(inputValue == "availableFullText"){ newSearchParam += '$fullText$'; }else{ newSearchParam += field + '@^' + inputValue; } var paramSearchParam= ""; newSearchParam = paramSearchParam.replace("@*" + newSearchParam,"") ; $("#newSearchParam").val(newSearchParam); //添加分面导航标记 $("#isFacet").val("1"); //重置页码 $("#pageNumInput").val("1"); $("#searchForm").submit(); } }); //分类导航显示更多按钮出发动作 $("body").delegate(".showMoreBtn","click",function(){ $(this).parent().nextAll().toggle(); var toggleText = $(this).text(); if(toggleText == "Show more..."){ $(this).text("Hide"); }else{ $(this).text("Show more..."); } }); //点击分类导航各类目大标题进行子导航内容的隐藏/显示切换 $("body").delegate(".toggleFacet","click",function(){ $(this).parent().next().toggle(120); }) //跳转到某页 $(".jumpToPageBtn").click(function(){ var inputPageNum = $(this).prev().val(); //检测填写页码是否合法 if(inputPageNum.length > 8){ alert("Wrong page number!"); }else{ //如果检索结果页从高级检索历史命中数跳转,则添加fromAdvanced=1参数 var fromAdvanced = ""; if(fromAdvanced == "1"){ $("#fromAdvanced").val("1"); } $("#pageNumInput").val(inputPageNum); $("#searchForm").submit(); } }); //翻页按钮动作触发 $(".pageChangeBtn").click(function(){ var targetPageNum = $(this).attr("ref"); var totalPage = "14"; var currentPageNum = "1"; if(parseInt(targetPageNum) >= 1 && parseInt(targetPageNum) <= parseInt(totalPage) && targetPageNum != currentPageNum){ $("#pageNumInput").val(targetPageNum); $("#searchForm").submit(); } }); //切换结果显示条数 $(".pageSizeSelect").change(function(){ $("#pageSizeInput").val($(this).val()); $("#isFacet").val(""); $("#pageNumInput").val("1"); //如果检索结果页从高级检索历史命中数跳转,则添加fromAdvanced=1参数 var fromAdvanced = ""; if(fromAdvanced == "1"){ $("#fromAdvanced").val("1"); } $("#searchForm").submit(); }); //切换结果排序方式 $("#orderSelect").change(function(){ $("#orderInput").val($(this).val()); //重新排序后,返回第一页 $("#pageNumInput").val("1"); //如果检索结果页从高级检索历史命中数跳转,则添加fromAdvanced=1参数 var fromAdvanced = ""; if(fromAdvanced == "1"){ $("#fromAdvanced").val("1"); } $("#searchForm").submit(); }); //Print按钮打印检索结果 $("#printBtn").click(function(){ var order = $("#orderInput").val(); var displayMode; $(".displayMode").each(function(){ if(this.checked){ displayMode = $(this).attr("mode"); } }); var recordsMode; $(".recordsSelect").each(function(){ if(this.checked){ recordsMode = $(this).attr("mode"); } }); if(recordsMode == "all"){ var totalRow = "140"; if(parseInt(totalRow) > 500){ alert("Too many articles selected."); }else{ var searchField = $("#searchField").val(); var searchContent = $("#searchContent").val(); /* window.open("search/print?records=all&advancedSearchContent=&searchField=" + searchField + "&searchContent=" + searchContent + "&displayMode=" + displayMode + "&order=" + order + "&isFacet=&newSearchParam=&fromAdvanced="); */ //修改为表单post方式提交请求 $("#recordsPrintFormInput").val("all"); $("#advancedSearchContentPrintFormInput").val("9cca43a2-184a-41a6-99ca-248c4b47b04d"); $("#searchFieldPrintFormInput").val(searchField); $("#searchContentPrintFormInput").val(searchContent); $("#displayModePrintFormInput").val(displayMode); $("#orderPrintFormInput").val(order); $("#isFacetPrintFormInput").val(""); $("#newSearchParamPrintFormInput").val(""); $("#fromAdvancedPrintFormInput").val(""); $("#printForm").submit(); } }else if(recordsMode == "select"){ var recordIdArray = new Array(); var recordIndexArray = new Array(); $(".selectArticle").each(function(){ if(this.checked){ recordIdArray[recordIdArray.length] = $(this).attr("ref"); recordIndexArray[recordIndexArray.length] = $(this).attr("red"); } }); if(recordIdArray.length > 0){ window.open("search/print?records=" + recordIdArray + "&displayMode=" + displayMode + "&order=" + order + "&recordsIndex=" + recordIndexArray); }else{ alert("Please select your target articles first."); } }else if(recordsMode == "page"){ var recordIdArray = new Array(); var recordIndexArray = new Array(); $(".selectArticle").each(function(){ recordIdArray[recordIdArray.length] = $(this).attr("ref"); recordIndexArray[recordIndexArray.length] = $(this).attr("red"); }); if(recordIdArray.length == 0){ alert("No result to print."); }else{ window.open("search/print?records=" + recordIdArray + "&displayMode=" + displayMode + "&order=" + order + "&recordsIndex=" + recordIndexArray); } }else if(recordsMode == "fromto"){ if($.trim($("#selectFrom").val()) == "" || $.trim($("#selectTo").val()) == ""){ alert("Pleast input start record and end record."); return; } var from = parseInt($("#selectFrom").val()); var to = parseInt($("#selectTo").val()); var searchField = $("#searchField").val(); var searchContent = $("#searchContent").val(); if(from > to){ alert("Pleast input the correct range."); return; }else if(to-from>500){ alert("Too many articles selected."); return; }else{ /* window.open("search/print?records=fromto&advancedSearchContent=&displayMode=" + displayMode + "&order=" + order + "&searchField=" + searchField + "&searchContent=" + searchContent + "&from=" + from + "&to=" + to + "&isFacet=&newSearchParam=&fromAdvanced="); */ //修改为表单post方式提交请求 $("#recordsPrintFormInput").val("fromto"); $("#advancedSearchContentPrintFormInput").val("9cca43a2-184a-41a6-99ca-248c4b47b04d"); $("#searchFieldPrintFormInput").val(searchField); $("#searchContentPrintFormInput").val(searchContent); $("#displayModePrintFormInput").val(displayMode); $("#orderPrintFormInput").val(order); $("#isFacetPrintFormInput").val(""); $("#newSearchParamPrintFormInput").val(""); $("#fromAdvancedPrintFormInput").val(""); $("#fromPrintFormInput").val(from); $("#toPrintFormInput").val(to); $("#printForm").submit(); /* var recordIdArray = new Array(); $(".selectArticle").each(function(index,item){ var articlePosition = parseInt($(item).attr("red")); if(articlePosition >= from && articlePosition <= to){ recordIdArray[recordIdArray.length] = $(item).attr("ref"); } }); if(recordIdArray.length == 0){ alert("No result to print."); }else{ window.open("search/print?records=" + recordIdArray + "&displayMode=" + displayMode + "&order=" + order); } */ } } }); //Save按钮保存检索结果 $("#saveBtn").click(function(){ var order = $("#orderInput").val(); var recordsMode,fileType,displayMode; //获取页码和每页显示记录数量 var pageNum = $("#pageNum2").val(); var pageSize = $("#pageSizeSelect").val(); $(".recordsSelect").each(function(){ if(this.checked){ recordsMode = $(this).attr("mode"); } }); $(".fileType").each(function(){ if(this.checked){ fileType = $(this).attr("mode"); } }); $(".displayMode").each(function(){ if(this.checked){ displayMode = $(this).attr("mode"); } }); //选择模式 if(recordsMode == "select"){ var recordIdArray = new Array(); var recordIndexArray = new Array(); $(".selectArticle").each(function(){ if(this.checked){ recordIdArray[recordIdArray.length] = $(this).attr("ref"); recordIndexArray[recordIndexArray.length] = $(this).attr("red"); } }); if(recordIdArray.length == 0){ alert("Please select your target articles first."); }else{ window.open("search/export?records=" + recordIdArray + "&fileType=" + fileType + "&displayMode=" + displayMode + "&order=" + order +"&pageNum=" + pageNum + "&pageSize=" + pageSize + "&recordsIndex=" + recordIndexArray); } }else if(recordsMode == "page"){ var recordIdArray = new Array(); var recordIndexArray = new Array(); $(".selectArticle").each(function(){ recordIdArray[recordIdArray.length] = $(this).attr("ref"); recordIndexArray[recordIndexArray.length] = $(this).attr("red"); }); if(recordIdArray.length == 0){ alert("Please select your target articles first."); }else{ window.open("search/export?records=" + recordIdArray + "&fileType=" + fileType + "&displayMode=" + displayMode + "&order=" + order +"&pageNum=" + pageNum + "&pageSize=" + pageSize + "&recordsIndex=" + recordIndexArray); } }else if(recordsMode == "all"){ //选择保存所有检索结果的文件时,限制数量500 var totalRow = "140"; if(parseInt(totalRow) > 500){ alert("Too many articles selected."); }else{ var searchField = $("#searchField").val(); var searchContent = $("#searchContent").val(); /* window.open("search/export?records=all&advancedSearchContent=&searchField=" + searchField + "&searchContent=" + searchContent + "&fileType=" + fileType + "&displayMode=" + displayMode + "&order=" + order +"&pageNum=" + pageNum + "&pageSize=" + pageSize + "&isFacet=&newSearchParam=&fromAdvanced="); */ //修改为表单post方式提交请求 $("#recordsSaveFormInput").val("all"); $("#advancedSearchContentSaveFormInput").val("9cca43a2-184a-41a6-99ca-248c4b47b04d"); $("#searchFieldSaveFormInput").val(searchField); $("#searchContentSaveFormInput").val(searchContent); $("#displayModeSaveFormInput").val(displayMode); $("#orderSaveFormInput").val(order); $("#isFacetSaveFormInput").val(""); $("#newSearchParamSaveFormInput").val(""); $("#fromAdvancedSaveFormInput").val(""); $("#fileTypeSaveFormInput").val(fileType); $("#pageNumSaveFormInput").val(pageNum); $("#pageSizeSaveFormInput").val(pageSize); $("#fromSaveFormInput").val("1"); $("#toSaveFormInput").val("140"); $("#saveForm").submit(); } }else if(recordsMode == "fromto"){ if($.trim($("#selectFrom").val()) == "" || $.trim($("#selectTo").val()) == ""){ alert("Pleast input start record and end record."); return; } var selectFrom = parseInt($("#selectFrom").val()); var selectTo = parseInt($("#selectTo").val()); var searchField = $("#searchField").val(); var searchContent = $("#searchContent").val(); if(selectFrom > selectTo){ alert("Pleast input the correct range."); return; }else if(selectTo-selectFrom>500){ alert("Too many articles selected."); return; }else{ /* window.open("search/export?records=fromto&advancedSearchContent=&fileType=" + fileType + "&displayMode=" + displayMode + "&order=" + order +"&pageNum=" + pageNum + "&pageSize=" + pageSize + "&searchField=" + searchField + "&searchContent=" + searchContent + "&from=" + selectFrom + "&to=" + selectTo + "&isFacet=&newSearchParam=&fromAdvanced="); */ //修改为表单post方式提交请求 $("#recordsSaveFormInput").val("fromto"); $("#advancedSearchContentSaveFormInput").val("9cca43a2-184a-41a6-99ca-248c4b47b04d"); $("#searchFieldSaveFormInput").val(searchField); $("#searchContentSaveFormInput").val(searchContent); $("#displayModeSaveFormInput").val(displayMode); $("#orderSaveFormInput").val(order); $("#isFacetSaveFormInput").val(""); $("#newSearchParamSaveFormInput").val(""); $("#fromAdvancedSaveFormInput").val(""); $("#fileTypeSaveFormInput").val(fileType); $("#pageNumSaveFormInput").val(pageNum); $("#pageSizeSaveFormInput").val(pageSize); $("#fromSaveFormInput").val(selectFrom); $("#toSaveFormInput").val(selectTo); $("#saveForm").submit(); /* var recordIdArray = new Array(); $(".selectArticle").each(function(index,element){ var index2 = parseInt($(element).attr("red")); if(index2 >= selectFrom && index2 <= selectTo){ recordIdArray[recordIdArray.length] = $(element).attr("ref"); } }); if(recordIdArray.length == 0){ alert("Please select the right range."); }else{ window.open("search/export?records=" + recordIdArray + "&fileType=" + fileType + "&displayMode=" + displayMode + "&order=" + order +"&pageNum=" + pageNum + "&pageSize=" + pageSize); } */ } } }); //基本检索选择国家或语言时,输出框转换为选择框 $("#searchField").change(function(){ var searchFieldValue = $(this).val(); if(searchFieldValue == "Country") { $("#searchInputDiv").hide(); $("#searchSelectLanguageDiv").hide(); $("#searchSelectCountryDiv").show(); }else if(searchFieldValue == "Language") { $("#searchInputDiv").hide(); $("#searchSelectCountryDiv").hide(); $("#searchSelectLanguageDiv").show(); }else{ $("#searchSelectCountryDiv").hide(); $("#searchSelectLanguageDiv").hide(); $("#searchInputDiv").show(); } }); //检索条件进行国家选择 $("#countryValue").change(function(){ $("#searchContent").val($(this).val()); }); //检索条件进行语言选择 $("#languageValue").change(function(){ $("#searchContent").val($(this).val()); }); }); </script> </body> </html>