中文 | English
Return
Total: 15 , 1/2
Show Home Prev Next End page: GO
Author:(Peimin YANG)

1.Comparison of catalpol and 5-hydroxymethyl-furfural in Radix Rehmanniae at different processing times

Peimin YANG

China Journal of Traditional Chinese Medicine and Pharmacy 2005;0(07):-

2.Total mesorectal excision in radical operation of rectal carcinoma:a report of 126 cases

Bin ZHAO ; Peimin YANG

Chinese Journal of General Surgery 2000;0(12):-

3.Content Determination of Hypericin in Guanye Jinsitao Drop Pills by HPLC

Guangshang CAO ; Peimin YANG ; Fang LI

Chinese Journal of Information on Traditional Chinese Medicine 2014;(7):67-68

4.Perioperative intravenous nutritional treatment on the cellular immune function in patients with gastric carcinoma</a> </h3> <p> <span> <a class="authorAndJournal" href="search/basic?searchField=Author&searchContent=Peimin YANG">Peimin YANG</a> </span> ; <span> <a class="authorAndJournal" href="search/basic?searchField=Author&searchContent= Bin ZHAO"> Bin ZHAO</a> </span> ; <span> <a class="authorAndJournal" href="search/basic?searchField=Author&searchContent= Minhao LU"> Minhao LU</a> </span> </p> <p style="margin-left:0px;"><a class="authorAndJournal" href="search/basic?searchField=JournalTitleSearch&searchContent=Chinese Journal of General Surgery">Chinese Journal of General Surgery</a><span class="c_6"> 2001;0(08):-</span></p> <div class="articleAbstract" id="519539Abstract" style="display:none"> <p> <b></b> ObjectiveTo investigate the influence of perioperative intravenouse nutritional support on the cellular immune function in patients with gastric carcinoma(GC). Methods57 patients with GC were randomly divided into the experimental group(n=28) and the control group(n=29). Patients in the experiment group, intravenous nutrition was given 1 week before operation and the first week after operation. The total lymphocyte count, T cell subgroup(CD3+,CD4+,CD8+)and CD4+/ CD8+ ratio were observed and compared in the 2 groups. Results The cellular immune function of the experimental group was significantly better than that of the control group(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="487498" red="5" type="checkbox" /></label></div> <div class="list_con"> <div class="list_info"> <h3> <span>5.</span><a href="admin/article/articleDetail?WPRIMID=487498&articleId=487498&from=search">Research Progress in Active Constituents of Polysaccharides and Flavones from Herba Hedyotis Diffusae</a> </h3> <p> <span> <a class="authorAndJournal" href="search/basic?searchField=Author&searchContent=Shuang LU">Shuang LU</a> </span> ; <span> <a class="authorAndJournal" href="search/basic?searchField=Author&searchContent= Peimin YANG"> Peimin YANG</a> </span> ; <span> <a class="authorAndJournal" href="search/basic?searchField=Author&searchContent= Guangshang CAO"> Guangshang CAO</a> </span> </p> <p style="margin-left:0px;"><a class="authorAndJournal" href="search/basic?searchField=JournalTitleSearch&searchContent=Chinese Journal of Information on Traditional Chinese Medicine">Chinese Journal of Information on Traditional Chinese Medicine</a><span class="c_6"> 2016;23(3):122-125</span></p> <div class="articleAbstract" id="487498Abstract" style="display:none"> <p> <b></b> Herba Hedyotis Diffusae has many kinds of pharmacological activities such as anti-tumor, antioxidant, immune regulation and so on. This article collected and reported the related literature at home and abroad in recent years, found that pharmacological active ingredients of Herba Hedyotis Diffusae show consistency of polysaccharides and flavonoids to varying degrees, and summarized the pharmacological effects and extraction and purification process. The author believed that, the study about Herba Hedyotis Diffusae has made relatively great achievements, but the research mainly focused on polysaccharides or flavonoids, and efficacy of Herba Hedyotis Diffusae was not in enough in-depth exploration. The indicator of extraction and purification process is relatively single. This study estimated the mechanism of Herba Hedyotis Diffusae from the aspects of absorption and metabolism of intestinal flora and relationship between medicine structure and exert efficacy, hoping to optimize the extracting processes by multiple indexes, and provided references for further exploitation and utilization of Herba Hedyotis Diffusae. <br> </p> </div> </div> <div class="icon_list"> <a title="DOI" class="doiClick articleDownload" rel="487498" type="doi" ref="10.3969/j.issn.1005-5304.2016.03.037"><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="495226" red="6" type="checkbox" /></label></div> <div class="list_con"> <div class="list_info"> <h3> <span>6.</span><a href="admin/article/articleDetail?WPRIMID=495226&articleId=495226&from=search">Study on the Metabolism of Hedyotis Diffusa Flavonoid Extract by Intestinal Bacteria in Vitro</a> </h3> <p> <span> <a class="authorAndJournal" href="search/basic?searchField=Author&searchContent=Fang LI">Fang LI</a> </span> ; <span> <a class="authorAndJournal" href="search/basic?searchField=Author&searchContent= Peimin YANG"> Peimin YANG</a> </span> ; <span> <a class="authorAndJournal" href="search/basic?searchField=Author&searchContent= Guangshang CAO"> Guangshang CAO</a> </span> ; <span> <a class="authorAndJournal" href="search/basic?searchField=Author&searchContent= Shuang LU"> Shuang LU</a> </span> </p> <p style="margin-left:0px;"><a class="authorAndJournal" href="search/basic?searchField=JournalTitleSearch&searchContent=Herald of Medicine">Herald of Medicine</a><span class="c_6"> 2016;35(8):809-813</span></p> <div class="articleAbstract" id="495226Abstract" style="display:none"> <p> <b></b> Objective To study and compare the metabolism of Hedyotis diffusa flavonoid extract in intestinal flora from human, normal rats and pseudo germ-free rats in vitro. Methods Intestinal flora of human, normal rats and pseudo germ-free rats were incubated with Hedyotis diffusa extract, rutosid, isoquercitrin and quercitrin under anaerobic conditions at 37℃.High-performance liquid chromatography with diode-array detection ( HPLC-DAD ) was used for the analysis of components and metabolic products.The trends of metabolic transformation of the various components were analyzed according to the changes in chromatographic peak areas at different incubation time points. Results The components of Hedyotis diffusa extract and its monomer were quickly metabolized by human and normal rat intestinal flora and the main metabolite was quercetin.However, they were hardly metabolized by intestinal flora from pseudo germ-free rats. The metabolism effect of intestinal flora was weaker on components than on the corresponding monomers. Conclusion By comparing flavonoids metabolism in intestinal flora from human, normal rats and pseudo germ-free rats, the important role of intestinal microflora in the metabolism of flavonoids is further confirmed. <br> </p> </div> </div> <div class="icon_list"> <a title="DOI" class="doiClick articleDownload" rel="495226" type="doi" ref="10.3870/j.issn.1004-0781.2016.08.002"><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="529183" red="7" type="checkbox" /></label></div> <div class="list_con"> <div class="list_info"> <h3> <span>7.</span><a href="admin/article/articleDetail?WPRIMID=529183&articleId=529183&from=search">Drug Counseling in Our Hospital:Comprehensive Analysis of 483 Cases</a> </h3> <p> <span> <a class="authorAndJournal" href="search/basic?searchField=Author&searchContent=Jihong YANG">Jihong YANG</a> </span> ; <span> <a class="authorAndJournal" href="search/basic?searchField=Author&searchContent= Zhichang ZHENG"> Zhichang ZHENG</a> </span> ; <span> <a class="authorAndJournal" href="search/basic?searchField=Author&searchContent= Li FENG"> Li FENG</a> </span> ; <span> <a class="authorAndJournal" href="search/basic?searchField=Author&searchContent= Weimin SUN"> Weimin SUN</a> </span> ; <span> <a class="authorAndJournal" href="search/basic?searchField=Author&searchContent= Peimin WANG"> Peimin WANG</a> </span> </p> <p style="margin-left:0px;"><a class="authorAndJournal" href="search/basic?searchField=JournalTitleSearch&searchContent=China Pharmacy">China Pharmacy</a><span class="c_6"> 2005;0(16):-</span></p> <div class="articleAbstract" id="529183Abstract" style="display:none"> <p> <b></b> OBJECTIVE:To promote rational drug use and improve medical quality.METHODS:A comprehensive analysis was performed on the contents of drug counseling problems presented by 483 patients and medical staff.RESULTS:The use of cardio-cerebral-vascular drugs,anti-bacterial drugs and digestive system drugs were the most common drugs inquired by patients,and their questions focused on the action and clinical use,adverse reactions,administration and dosage etc of drugs.However,anti-bacterial drugs were the leading drugs inquired by medical staff,and their questions focused on drugs available for choice and combined use of drugs etc.CONCLUSIONS:Drug counseling can help promote rational drug use,improve medical quality and patients' awareness toward medical care,besides,it is conducive to the publicity for hospital pharmacists. <br> </p> </div> </div> <div class="icon_list"> </div> </div> </div> <div class="list_block"> <div class="list_check"><label><input class="selectArticle" ref="1148136" red="8" type="checkbox" /></label></div> <div class="list_con"> <div class="list_info"> <h3> <span>8.</span><a href="admin/article/articleDetail?WPRIMID=1099934&articleId=1148136&from=search">Arsenic trioxide induces multiple myeloma cell apoptosis viadisruption of mitochondrial transmembrane potentials and activation of caspase-3</a> </h3> <p> <span> <a class="authorAndJournal" href="search/basic?searchField=Author&searchContent=Peimin JIA">Peimin JIA</a> </span> ; <span> <a class="authorAndJournal" href="search/basic?searchField=Author&searchContent=Guoqiang CHEN">Guoqiang CHEN</a> </span> ; <span> <a class="authorAndJournal" href="search/basic?searchField=Author&searchContent=Xiaojun HUANG">Xiaojun HUANG</a> </span> ; <span> <a class="authorAndJournal" href="search/basic?searchField=Author&searchContent=Xun CAI">Xun CAI</a> </span> ; <span> <a class="authorAndJournal" href="search/basic?searchField=Author&searchContent=Jie YANG">Jie YANG</a> </span> ; <span> <a class="authorAndJournal" href="search/basic?searchField=Author&searchContent=Long WANG">Long WANG</a> </span> ; <span> <a class="authorAndJournal" href="search/basic?searchField=Author&searchContent=Yuhong ZHOU">Yuhong ZHOU</a> </span> ; <span> <a class="authorAndJournal" href="search/basic?searchField=Author&searchContent=Yulei SHEN">Yulei SHEN</a> </span> ; <span> <a class="authorAndJournal" href="search/basic?searchField=Author&searchContent=Li ZHOU">Li ZHOU</a> </span> ; <span> <a class="authorAndJournal" href="search/basic?searchField=Author&searchContent=Yun YU">Yun YU</a> </span> ; <span> <a class="authorAndJournal" href="search/basic?searchField=Author&searchContent=Saijuan CHEN">Saijuan CHEN</a> </span> ; <span> <a class="authorAndJournal" href="search/basic?searchField=Author&searchContent=Xueguang ZHANG">Xueguang ZHANG</a> </span> ; <span> <a class="authorAndJournal" href="search/basic?searchField=Author&searchContent=Zhenyi WANG">Zhenyi WANG</a> </span> </p> <p style="margin-left:0px;"><a class="authorAndJournal" href="search/basic?searchField=JournalTitleSearch&searchContent=Chinese Medical Journal">Chinese Medical Journal</a><span class="c_6"> 2001;114(1):19-24</span></p> <div class="articleAbstract" id="1148136Abstract" style="display:none"> <p> <b></b> Objective To investigate the response of multiple myeloma (MM) cells to arsenic trioxide (As2O3) and their possible mechanisms. Methods Two MM-derived cell lines RPMI8226 and U266 cells were used as in vitro models. Cell apoptosis was assessed by morphology, flow cytometry, and DNA gel electrophoresis. Mitochondrial transmembrane potentials (△Ψm) were evaluated by measuring cellular Rhodamine 123 staining intensity. Protein expression was analyzed using Western blot. Results Zero point one to 0.5?μmol/L As2O3 inhibited cell proliferation and 2.0?μmol/L As2O3 induced cell apoptosis, while 1.0?μmol/L As2O3 inhibited proliferation with a weak degree of apoptosis induction in RPMI8226 and U266 cell lines. As2O3-induced apoptosis was accompanied by mitochondrial transmembrane potentials (△Ψm) collapse and caspase-3 activation in the presence of intact membrane. Glutathione depleter buthionine sulfoximine enhanced, while disulfide bond-reducing agent dithiothreitol partially antagonized As2O3-induced △Ψm collapse and apoptosis in MM cells. All-trans retinoic acid (ATRA) could also induce apoptosis in RPMI8226 cells, but it did not show any cooperative effects with As2O3. Conclusion As2O3 exerts apoptosis-inducing and growth-inhibiting effects on MM cells, and mitochondrium is a pivotal and common target of As2O3 for apoptosis induction. <br> </p> </div> </div> <div class="icon_list"> <a title="DOI" class="doiClick articleDownload" rel="1148136" type="doi" ref="10.3760/j.issn:0366-6999.2001.01.004"><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="1167985" red="9" type="checkbox" /></label></div> <div class="list_con"> <div class="list_info"> <h3> <span>9.</span><a href="admin/article/articleDetail?WPRIMID=1115701&articleId=1167985&from=search">A prospective before-after self-control study of the scenario simulation teaching of junior nurses in a burns department on the fluid resuscitation care of massive burn patients during shock stage</a> </h3> <p> <span> <a class="authorAndJournal" href="search/basic?searchField=Author&searchContent=Lin XIE">Lin XIE</a> </span> ; <span> <a class="authorAndJournal" href="search/basic?searchField=Author&searchContent=Yin ZHANG">Yin ZHANG</a> </span> ; <span> <a class="authorAndJournal" href="search/basic?searchField=Author&searchContent=Jiayu WANG">Jiayu WANG</a> </span> ; <span> <a class="authorAndJournal" href="search/basic?searchField=Author&searchContent=Dingting YANG">Dingting YANG</a> </span> ; <span> <a class="authorAndJournal" href="search/basic?searchField=Author&searchContent=Peimin TENG">Peimin TENG</a> </span> ; <span> <a class="authorAndJournal" href="search/basic?searchField=Author&searchContent=Wenliang WANG">Wenliang WANG</a> </span> ; <span> <a class="authorAndJournal" href="search/basic?searchField=Author&searchContent=Yi HUANG">Yi HUANG</a> </span> </p> <p style="margin-left:0px;"><a class="authorAndJournal" href="search/basic?searchField=JournalTitleSearch&searchContent=Chinese Journal of Burns">Chinese Journal of Burns</a><span class="c_6"> 2021;37(8):781-787</span></p> <div class="articleAbstract" id="1167985Abstract" style="display:none"> <p> <b></b> Objective:To explore the effects of scenario simulation teaching of junior nurses in a burns department on the fluid resuscitation care of massive burn patients during shock stage.Methods:From March 2018 to July 2019, 25 junior nurses fixed in the Department of Burn of Ruijin Hospital Affiliated to Shanghai Jiao Tong University School of Medicine met the inclusion criteria and were recruited in this prospective before-after self-control study, including 21 females and 4 males, aged 23 to 26 years. They had a work experience of 1.0 (1.0, 2.0) years in the Department of Burn. Three teaching scenarios were made according to the three major problems in the fluid resuscitation nursing of extensive burn patients during shock stage. The teaching plans were written based on the theoretical framework of Jeffrie's nursing simulation teaching. The high feasibility and practicability of the teaching plans was verified through expert consultation and evaluation by junior nurses. According to the three scenarios in the teaching plan, the junior nurses were performed with scenario simulation teaching, with 2 hours for each scenario, 6 hours in total. In one month before and after the teaching (hereinafter referred to as before and after teaching), the comprehensive ability of junior nurses was evaluated by the teachers using the self-designed junior nurse comprehensive ability evaluation scale, and their behaviors were evaluated by themselves with Performance Self-rating Scale for Nursing Students on High Simulation Training. Data were statistically analyzed with paired sample t test. Results:After teaching, the scores on communication skills, patient admissions, condition assessments, fluid resuscitation, emergency treatment, drug management, nursing skills, instrument use, teamwork, and humanitarian care and total score in the comprehensive ability evaluation of junior nurses as evaluated by teachers were significantly higher than those before teaching ( t=-8.060, -11.421, -17.232, -24.800, -4.670, -11.916, -12.131, -11.606, -14.632, -13.325, -25.068, P<0.01), with 4 items including fluid resuscitation, condition assessment, nursing skills, and equipment operation having higher scores. After teaching, the nurses' self-rating scores on communication, division of labor and cooperation, clinical decision-making, professional knowledge and skills, and professional development and critical thinking and total score were (4.6±0.4), (4.8±0.3), (4.6±0.3), (4.6±0.4), (4.6±0.4), and (23.2±1.5) points respectively, which were significantly higher than the corresponding scores of (4.1±0.7), (4.2±0.7), (3.9±0.5), (3.7±0.6), (3.9±0.5), and (18.8±2.6) points before teaching ( t=-3.361, -5.721, -6.987, -7.923, -7.922, -7.367, P<0.01). Conclusions:With solving the practical problems in nursing works of fluid resuscitation care of massive burn patients during shock stage as entry point, scenario simulation teaching aims to train the clinical practice ability and adaptability of junior nurses, thereby improving junior nurses' comprehensive ability of clinical practice in the fluid resuscitation care of massive burn patients during shock stage, enhancing their self-confidence and critical thinking ability. <br> </p> </div> </div> <div class="icon_list"> <a title="DOI" class="doiClick articleDownload" rel="1167985" type="doi" ref="10.3760/cma.j.cn501120-20201105-00456"><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="1029965" red="10" type="checkbox" /></label></div> <div class="list_con"> <div class="list_info"> <h3> <span>10.</span><a href="admin/article/articleDetail?WPRIMID=1014760&articleId=1029965&from=search"> Duration time and effectiveness of 0.25%ropivacaine for sciatic nerve block in patients with diabetes </a> </h3> <p> <span> <a class="authorAndJournal" href="search/basic?searchField=Author&searchContent=Hongyu DAI">Hongyu DAI</a> </span> ; <span> <a class="authorAndJournal" href="search/basic?searchField=Author&searchContent=Kun YANG">Kun YANG</a> </span> ; <span> <a class="authorAndJournal" href="search/basic?searchField=Author&searchContent=Ruchun HU">Ruchun HU</a> </span> ; <span> <a class="authorAndJournal" href="search/basic?searchField=Author&searchContent=Hongmei ZHOU">Hongmei ZHOU</a> </span> ; <span> <a class="authorAndJournal" href="search/basic?searchField=Author&searchContent=Peimin MA">Peimin MA</a> </span> ; <span> <a class="authorAndJournal" href="search/basic?searchField=Author&searchContent=Qian HAO">Qian HAO</a> </span> </p> <p style="margin-left:0px;"><a class="authorAndJournal" href="search/basic?searchField=JournalTitleSearch&searchContent=Chinese Journal of Clinical Pharmacology and Therapeutics">Chinese Journal of Clinical Pharmacology and Therapeutics</a><span class="c_6"> 2022;27(11):1278-1284</span></p> <div class="articleAbstract" id="1029965Abstract" style="display:none"> <p> <b></b> AlM: To compare the duration of 0.25% ropivacaine used for sciatic nerve block between type 2 diabetic patients and non-diabetic patients, and to explore the factors affecting the duration of nerve block. METHODS: Sixty eight patients with unilateral lateral malleolus fracture who were to be treated with open reduction and internal fixation were selected from January 2021 to January 2022, aged 20-80 years old, ASA I-III, including 28 diabetic patients and 40 non-diabetic patients. All patients were given 0.25% ropivacaine 20 mL to the superior popliteal sciatic nerve under the guidance of ultrasound. The onset and duration of sensory block were evaluated by blunt needle stimulation. The onset and duration of motor block were evaluated by dorsiflexion and plantar flexion of the operated foot. The interval between the end of the operation and the patientls first request for analgesia was taken as the duration of nerve block analgesia. RESULTS: Compared with non-diabetic patients, the duration of sciatic nerve sensation, motor block and analgesia in diabetic patients were prolonged (P < 0.05). There was no significant difference in the onset time of sciatic nerve sensation and motor block between the two groups (P > 0.05). Linear regression analysis showed that diabetes mellitus, duration of diabetes mellitus, fasting blood glucose and glycosylated hemoglobin were factors affecting the duration of nerve block, and fasting blood glucose was not related to the duration of analgesia. CONCLUSlON: 0.25% ropivacaine can prolong the duration of sciatic nerve block in diabetic patients. The duration of diabetes, diabetes, fasting blood glucose and glycosylated hemoglobin are positively correlated with the duration of block. <br> </p> </div> </div> <div class="icon_list"> <a title="DOI" class="doiClick articleDownload" rel="1029965" type="doi" ref="10.12092/j.issn.1009-2501.2022.11.010"><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="15" 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: 15 , 1/2 </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="2">End</a> <span>page:</span> <input type="number" id="pageNum2" min="1" max="2" 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("8498f98d-4871-4c4e-befc-565b2a7e8da2"); // $("#searchContentAnaForm").val(dealSpecialCharacter("Peimin\ YANG")); $("#searchContentAnaForm").val("Peimin YANG"); $("#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 = "8498f98d-4871-4c4e-befc-565b2a7e8da2"; //获取检索后台处理后的检索表达式 $.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("Peimin\ YANG"); var searchContent = "Peimin YANG"; var isFacet = ""; var fromAdvanced = ""; //var advancedSearchContent = ""; var advancedSearchContentUUID = "8498f98d-4871-4c4e-befc-565b2a7e8da2"; //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 = "15"; 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":"8498f98d-4871-4c4e-befc-565b2a7e8da2"}, 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":"8498f98d-4871-4c4e-befc-565b2a7e8da2"}, 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 = "2"; 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 = "15"; 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("8498f98d-4871-4c4e-befc-565b2a7e8da2"); $("#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("8498f98d-4871-4c4e-befc-565b2a7e8da2"); $("#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 = "15"; 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("8498f98d-4871-4c4e-befc-565b2a7e8da2"); $("#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("15"); $("#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("8498f98d-4871-4c4e-befc-565b2a7e8da2"); $("#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>