中文 | English
Return
Total: 50 , 1/5
Show Home Prev Next End page: GO
Author:(Linyan WANG)

1.Psychological Characteristics and Influencing Factors of Impulsivity of Children with Attention Deficit Hyperactivity Disorder

Yaoguo GENG ; Linyan SU ; Hong WANG

Chinese Journal of Clinical Psychology 1993;0(02):-

2.The study on prevalence rate of diabetes mellitus in Dawor race in Qiqihar.

Linyan FU ; Limin WANG ; Jiqing FAN

Chinese Journal of Practical Internal Medicine 2001;0(04):-

3.Experimental and clinical study on diagnosis of acute intestinal ischemia in early stage</a> </h3> <p> <span> <a class="authorAndJournal" href="search/basic?searchField=Author&searchContent=Shiwen WANG">Shiwen WANG</a> </span> ; <span> <a class="authorAndJournal" href="search/basic?searchField=Author&searchContent= Jinchun HE"> Jinchun HE</a> </span> ; <span> <a class="authorAndJournal" href="search/basic?searchField=Author&searchContent= Ailin SONG"> Ailin SONG</a> </span> ; <span> <a class="authorAndJournal" href="search/basic?searchField=Author&searchContent= Linyan WANG"> Linyan WANG</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="519531Abstract" style="display:none"> <p> <b></b> ObjectiveTo study the diagnostic value of alteration of serum enzyme in acute intestinal ischemia(AII). MethodsChanges of serum levels of CPK, CKMB, LDH, LA, CRP and CO2CP of venous blood of 40 rabbits and 53 patients in different ischemia conditions at different time before and after operation were measured to determine the relationship between the changes and ischemia degree of intestine. ResultsThe serum levels of CPK, CKMB, LDH, LA and CRP increased gradually with the severity of AII and decreased with the improvement of AII, but CO2CP was the reverse.The 6 assay values mentioned above in animals of AII compared with the control group, and in patients in pretreatment compared with the control group, and in reversible intestinal necrosis compared with irreversible intestinal necrosis, and in nonoperation group 1 h after hospitalization compared with reversible intestinal necrosis group 2 h before operation(except CO2CP)all had remarkable difference(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="467698" red="4" type="checkbox" /></label></div> <div class="list_con"> <div class="list_info"> <h3> <span>4.</span><a href="admin/article/articleDetail?WPRIMID=467698&articleId=467698&from=search">Rsearch progress on breeding of pullulan high-yield strain without melanin</a> </h3> <p> <span> <a class="authorAndJournal" href="search/basic?searchField=Author&searchContent=Linyan YU">Linyan YU</a> </span> ; <span> <a class="authorAndJournal" href="search/basic?searchField=Author&searchContent= Jinhua ZHANG"> Jinhua ZHANG</a> </span> ; <span> <a class="authorAndJournal" href="search/basic?searchField=Author&searchContent= Fei LIU"> Fei LIU</a> </span> ; <span> <a class="authorAndJournal" href="search/basic?searchField=Author&searchContent= Miao WANG"> Miao WANG</a> </span> ; <span> <a class="authorAndJournal" href="search/basic?searchField=Author&searchContent= Xiqiang ZHU"> Xiqiang ZHU</a> </span> </p> <p style="margin-left:0px;"><a class="authorAndJournal" href="search/basic?searchField=JournalTitleSearch&searchContent=Chinese Journal of Biochemical Pharmaceutics">Chinese Journal of Biochemical Pharmaceutics</a><span class="c_6"> 2015;(6):181-184</span></p> <div class="articleAbstract" id="467698Abstract" style="display:none"> <p> <b></b> Pullulan is a linear glucosic polysaccharide produced by the polymorphic fungus Aureobasidium Pullulans, which has long been applied for various applications in medical and food industry due to its security, stability and low adhesive ability.At present, the two problems in restricting pullulan industrial production are the low polysaccharide production and melanin secreted which is hard to erase completely, giving the following process some problem.As a starting point, this review article collects and analyzes the progress on the breeding of pullulan high-yield strain without melanin in recent years, in order to find more efficient strains breeding methods, laying a foundation for further breeding of pullulan high-yield strain without melanin. <br> </p> </div> </div> <div class="icon_list"> </div> </div> </div> <div class="list_block"> <div class="list_check"><label><input class="selectArticle" ref="486842" red="5" type="checkbox" /></label></div> <div class="list_con"> <div class="list_info"> <h3> <span>5.</span><a href="admin/article/articleDetail?WPRIMID=486842&articleId=486842&from=search">Application of informationalized monitoring processing system in prevention and control of pressure ulcer</a> </h3> <p> <span> <a class="authorAndJournal" href="search/basic?searchField=Author&searchContent=Baojia LUO">Baojia LUO</a> </span> ; <span> <a class="authorAndJournal" href="search/basic?searchField=Author&searchContent= Huijiao CAO"> Huijiao CAO</a> </span> ; <span> <a class="authorAndJournal" href="search/basic?searchField=Author&searchContent= Linyan WANG"> Linyan WANG</a> </span> ; <span> <a class="authorAndJournal" href="search/basic?searchField=Author&searchContent= Huiying QIN"> Huiying QIN</a> </span> </p> <p style="margin-left:0px;"><a class="authorAndJournal" href="search/basic?searchField=JournalTitleSearch&searchContent=Modern Clinical Nursing">Modern Clinical Nursing</a><span class="c_6"> 2016;15(2):38-41</span></p> <div class="articleAbstract" id="486842Abstract" style="display:none"> <p> <b></b> Objective To investigate the effect of informationalized monitoring processing system in prevention and control of pressure ulcer. Methods The informationalized monitoring processing system was constructed to collect information. The nursing department sent it to the ulcer treatment group and they worked together to treat and control the ulcers in patients in a dynamic and real-time way. The effect was compared before and after application. Results After use of the system, the pressure ulcers incidence in the hospital was significantly decreased as compared with pre-construct of the system. The reporting and improvement rates were significantly improved than those before(P<0.05). Conclusion The use of the informationalized monitoring processing system makes the reporting of pressure ulcers timely and accurate, helping control the occurrence and treatment of ulcers dynamically, so that the quality of pressure ulcer prevention and control is improved. <br> </p> </div> </div> <div class="icon_list"> <a title="DOI" class="doiClick articleDownload" rel="486842" type="doi" ref="10.3969/j.issn.1671-8283.2016.02.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="439681" red="6" type="checkbox" /></label></div> <div class="list_con"> <div class="list_info"> <h3> <span>6.</span><a href="admin/article/articleDetail?WPRIMID=439681&articleId=439681&from=search">Research on Model of Chronic Obstructive Pulmonary Disease Combined with ;Pulmonary Interstitial Fibrosis and Its Evaluating Indicators</a> </h3> <p> <span> <a class="authorAndJournal" href="search/basic?searchField=Author&searchContent=Jinxin RUAN">Jinxin RUAN</a> </span> ; <span> <a class="authorAndJournal" href="search/basic?searchField=Author&searchContent= Linyan WANG"> Linyan WANG</a> </span> ; <span> <a class="authorAndJournal" href="search/basic?searchField=Author&searchContent= Yan DING"> Yan DING</a> </span> ; <span> <a class="authorAndJournal" href="search/basic?searchField=Author&searchContent= Yun WEI"> Yun WEI</a> </span> ; <span> <a class="authorAndJournal" href="search/basic?searchField=Author&searchContent= Shuofeng ZHANG"> Shuofeng ZHANG</a> </span> </p> <p style="margin-left:0px;"><a class="authorAndJournal" href="search/basic?searchField=JournalTitleSearch&searchContent=World Science and Technology-Modernization of Traditional Chinese Medicine">World Science and Technology-Modernization of Traditional Chinese Medicine</a><span class="c_6"> 2013;(8):1700-1705</span></p> <div class="articleAbstract" id="439681Abstract" style="display:none"> <p> <b></b> This study was aimed to confirm animal model and evaluating indicators of the chronic obstructive pulmonary disease combined with pulmonary interstitial fibrosis (PIF-COPD). PIF-COPD rats were induced by intratracheal administration of Bleomycin(BLM, 6 mg·kg-1) and cigarette smoke stimulation for 47 days. After that, the lung function and index were measured. Changes of pathomorphism of lung were observed with hematoxylin-eosin staining. Collagen protein I and III were determined by Sirius red staining. The protein antibody microarray chip was employed for serum cytokine expression pattern measurement. The results showed that in the lung function testing, the central airway resistance, tissue damping, dynamic elasticity of model rats increased significantly and the dynamic compliance reduced significantly. The lung index of model rats increased significantly (compared with the control group, P < 0.01). The pathological tests showed that lung tissues of model rats showed emphysema and fibration with inflammatory infiltration, and content of collagen type I and III increasing significantly. The contents of MMP-8, TIMP-1, IL-10, IL-13, PDGF-AA, Beta-NGF of model rats serum increased obviously compared with the control group and RAGE reduced compared with the normal control. It was concluded that rats which were induced by intratracheal administration of BLM (6 mg·kg-1) and cigarette smoke stimulation for 47 days can be used as animal model establishment of PIF-COPD. The respiratory function and serum levels of MMP-8, TIMP-1, IL-13, PDGF and NGF can be used as evaluating indicators of PIF-COPD model. <br> </p> </div> </div> <div class="icon_list"> <a title="DOI" class="doiClick articleDownload" rel="439681" type="doi" ref="10.11842/wst.2013.08.005"><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="564330" red="7" type="checkbox" /></label></div> <div class="list_con"> <div class="list_info"> <h3> <span>7.</span><a href="admin/article/articleDetail?WPRIMID=564330&articleId=564330&from=search">Primary nephrotic syndrome in children:a clinical analysis of 964 cases</a> </h3> <p> <span> <a class="authorAndJournal" href="search/basic?searchField=Author&searchContent=Li WANG">Li WANG</a> </span> ; <span> <a class="authorAndJournal" href="search/basic?searchField=Author&searchContent= Qiu LI"> Qiu LI</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= Linyan LIU"> Linyan LIU</a> </span> </p> <p style="margin-left:0px;"><a class="authorAndJournal" href="search/basic?searchField=JournalTitleSearch&searchContent=Journal of Third Military Medical University">Journal of Third Military Medical University</a><span class="c_6"> 2003;0(19):-</span></p> <div class="articleAbstract" id="564330Abstract" style="display:none"> <p> <b></b> Objective To summarize clinical characteristics of primary nephrotic syndrome (PNS) in children. Methods The clinical and laboratory data of 964 children with PNS (including 747 new cases) were retrospectively analyzed,who were admitted between 1 August,1996 to 31 July,2006. Results Of 747 cases,568 were males and 179 females,with a median age of 4.7 years (0.3-17.3). The total number of children with PNS aged from 1 to 5 years was 385 (51.5%). Compared with children with nephritic type nephrotic syndrome (NNS),children with simple type nephrotic syndrome (SNS) had lower albumin (P0.05); Compared with normal values,children with PNS had lower IgG (P0.05). Main motivation of PNS relapse in children was upper respiratory infection,followed by irregular administration of glucocorticoids. Conclusion Children aged from 1 to 5 years are susceptible to PNS. There is humoral immunological dysfunction in PNS children. In the treatment of PNS,to relieve hyperlipidemia and to prevent and control infections is the key point. To strengthen propaganda and guidance about PNS is important as well. <br> </p> </div> </div> <div class="icon_list"> </div> </div> </div> <div class="list_block"> <div class="list_check"><label><input class="selectArticle" ref="621259" red="8" type="checkbox" /></label></div> <div class="list_con"> <div class="list_info"> <h3> <span>8.</span><a href="admin/article/articleDetail?WPRIMID=621259&articleId=621259&from=search">Clinical effect of endoscopic implantation of accurate and slow-release particles for advanced esophageal carcinoma</a> </h3> <p> <span> <a class="authorAndJournal" href="search/basic?searchField=Author&searchContent=Li WANG">Li WANG</a> </span> ; <span> <a class="authorAndJournal" href="search/basic?searchField=Author&searchContent= Linyan LI"> Linyan LI</a> </span> ; <span> <a class="authorAndJournal" href="search/basic?searchField=Author&searchContent= Dan HUANG"> Dan HUANG</a> </span> ; <span> <a class="authorAndJournal" href="search/basic?searchField=Author&searchContent= Dongmei DENG"> Dongmei DENG</a> </span> ; <span> <a class="authorAndJournal" href="search/basic?searchField=Author&searchContent= Liming WEN"> Liming WEN</a> </span> </p> <p style="margin-left:0px;"><a class="authorAndJournal" href="search/basic?searchField=JournalTitleSearch&searchContent=China Journal of Endoscopy">China Journal of Endoscopy</a><span class="c_6"> 2016;22(9):30-34</span></p> <div class="articleAbstract" id="621259Abstract" style="display:none"> <p> <b></b> Objective To observe the clinical effects by endoscopic implantation of accurate and slow-release particles for advanced esophageal carcinoma. Methods Under endoscopy, we dividing the whole focus into several layers by each 1.0 cm and implanting one slow-release particles (about 10 mg) in each point whose interval is 1.0 cm. One course of treatment includes three-time implantation and each treatment needs four weeks, by the way the details depend on the state of illness. In this research, all of patients complete the treatment smoothly. By comparing the patients’ situation before treatment, three-month treatment and six-month treatment, which include the remission of clinical symptom, the changing of focus area, the improvement of swallow function, untoward effect and life quality, et al. Results The results show several test indexes changed a lot. When treated for 3 months and 6 months, the levels of focus area and swallow difficulty classification were decreased significantly (P < 0.05) as compared with those before treatment; but the patients’ life quality didn’t have significant statistical difference (P > 0.05), by the way there isn’t individual difference appearing because of a little short of testing time and a few of samples. In addition, the WBC had a significant statistical difference between before treatment and three-month treatment (P < 0.05), and the ratio of complication didn’t have a significant change. Conclusions Endoscopic implantation of 5-Fu slow-release particles for the treatment of advanced esophageal carcinoma is a safety, high efficacy, low toxic and good tolerant palliative treatment. <br> </p> </div> </div> <div class="icon_list"> <a title="DOI" class="doiClick articleDownload" rel="621259" type="doi" ref="10.3969/j.issn.1007-1989.2016.09.007"><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="617485" red="9" type="checkbox" /></label></div> <div class="list_con"> <div class="list_info"> <h3> <span>9.</span><a href="admin/article/articleDetail?WPRIMID=617485&articleId=617485&from=search">Research Progress in Nano Preparations of Artemisinin and its Derivatives in Anti-tumor Fields</a> </h3> <p> <span> <a class="authorAndJournal" href="search/basic?searchField=Author&searchContent=Yang GUAN">Yang GUAN</a> </span> ; <span> <a class="authorAndJournal" href="search/basic?searchField=Author&searchContent= Linyan WANG"> Linyan WANG</a> </span> ; <span> <a class="authorAndJournal" href="search/basic?searchField=Author&searchContent= Bingqian HE"> Bingqian HE</a> </span> ; <span> <a class="authorAndJournal" href="search/basic?searchField=Author&searchContent= Songwei TAN"> Songwei TAN</a> </span> </p> <p style="margin-left:0px;"><a class="authorAndJournal" href="search/basic?searchField=JournalTitleSearch&searchContent=China Pharmacist">China Pharmacist</a><span class="c_6"> 2017;20(7):1275-1278</span></p> <div class="articleAbstract" id="617485Abstract" style="display:none"> <p> <b></b> Artemisinin and its derivatives have shown the potential application value in anti-tumor fields.But their applications are limited due to poor solubility, short half-life and so on;therefore, many scholars devoted themselves to developing and studying relative pharmaceutical preparations.Nano drug delivery system is a new drug delivery tool.Compared with the traditional dosage forms, such as tablets, suppositories and injections, nano drug delivery system has such advantages as good stability, targeted drug release and combined drug delivery.In this review, nano drug delivery carriers for artemisinin were summarized, including nanoparticles, liposomes, micelles, nanomicroemulsions and so on.The research results and characteristics of artemisinin-containing nano formulas in tumor therapy, as well as the co-delivery system of artemisinin and transferrin, were discussed. <br> </p> </div> </div> <div class="icon_list"> </div> </div> </div> <div class="list_block"> <div class="list_check"><label><input class="selectArticle" ref="390444" red="10" type="checkbox" /></label></div> <div class="list_con"> <div class="list_info"> <h3> <span>10.</span><a href="admin/article/articleDetail?WPRIMID=390444&articleId=390444&from=search">Construction and practice of the diabetes management program with the goal of behavior changes</a> </h3> <p> <span> <a class="authorAndJournal" href="search/basic?searchField=Author&searchContent=Yulan XU">Yulan XU</a> </span> ; <span> <a class="authorAndJournal" href="search/basic?searchField=Author&searchContent= Hongdi YUAN"> Hongdi YUAN</a> </span> ; <span> <a class="authorAndJournal" href="search/basic?searchField=Author&searchContent= Qingqing LOU"> Qingqing LOU</a> </span> ; <span> <a class="authorAndJournal" href="search/basic?searchField=Author&searchContent= Guoxing WANG"> Guoxing WANG</a> </span> ; <span> <a class="authorAndJournal" href="search/basic?searchField=Author&searchContent= Li WANG"> Li WANG</a> </span> ; <span> <a class="authorAndJournal" href="search/basic?searchField=Author&searchContent= Linyan YAO"> Linyan YAO</a> </span> </p> <p style="margin-left:0px;"><a class="authorAndJournal" href="search/basic?searchField=JournalTitleSearch&searchContent=Chinese Journal of Practical Nursing">Chinese Journal of Practical Nursing</a><span class="c_6"> 2010;26(8):27-29</span></p> <div class="articleAbstract" id="390444Abstract" style="display:none"> <p> <b></b> objective To explore the effect of diabetes management program with the goal of behavior changes on behavior change and metabolic index of patients with type 2 diabetes mellitus.Methods By setting up the diabetes management team,establishing personalized management file,carrying out education program,setting the goal of behavior changes and evaluating goal's trace,One-year management was carried out for 56 cases of type 2 diabetic patients.Patients' behavior changes were evaluated after six months management and one year later the metabolic indexes were contrasted.Results After 6 months management,the rate of goal achievement was 96%,the rate of one year behavior stabilization was 92%,the body mass index (BMI),fasting and postprandial blood glucose,glycosylated hemoglobin (HbAlc) one year later were decreased dramatically.Conclusions There is important significance of diabetes management program with the goal of behavior changes for behavior changes and metabolic indexes control in type 2 diabetic patients. <br> </p> </div> </div> <div class="icon_list"> <a title="DOI" class="doiClick articleDownload" rel="390444" type="doi" ref="10.3760/cma.j.issn.1672-7088.2010.03.045"><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="50" 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: 50 , 1/5 </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="5">End</a> <span>page:</span> <input type="number" id="pageNum2" min="1" max="5" 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;jsessionid=B9401581F25A074E8BA4E96923B5CBB8"></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("db159b05-02a9-4d2f-8b6b-886a33c91b22"); // $("#searchContentAnaForm").val(dealSpecialCharacter("Linyan\ WANG")); $("#searchContentAnaForm").val("Linyan WANG"); $("#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;jsessionid=B9401581F25A074E8BA4E96923B5CBB8'; if(type == 'doi'){ url = '/admin/article/addArticleDoiClickLog;jsessionid=B9401581F25A074E8BA4E96923B5CBB8'; } $.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 = "db159b05-02a9-4d2f-8b6b-886a33c91b22"; //获取检索后台处理后的检索表达式 $.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("Linyan\ WANG"); var searchContent = "Linyan WANG"; var isFacet = ""; var fromAdvanced = ""; //var advancedSearchContent = ""; var advancedSearchContentUUID = "db159b05-02a9-4d2f-8b6b-886a33c91b22"; //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 = "50"; 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":"db159b05-02a9-4d2f-8b6b-886a33c91b22"}, 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":"db159b05-02a9-4d2f-8b6b-886a33c91b22"}, 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 = "5"; 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 = "50"; 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("db159b05-02a9-4d2f-8b6b-886a33c91b22"); $("#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("db159b05-02a9-4d2f-8b6b-886a33c91b22"); $("#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 = "50"; 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("db159b05-02a9-4d2f-8b6b-886a33c91b22"); $("#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("50"); $("#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("db159b05-02a9-4d2f-8b6b-886a33c91b22"); $("#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>