中文 | English
Return
Total: 56 , 1/6
Show Home Prev Next End page: GO
Author:(Xiaoyu TAN)

1.Relationship between changes in plasma GMP-140 and lipid levels in patients with acute pancreatitis and their clinical significance

Wei LI ; Xiaoyu TAN ; Xianjing WU

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

2.Effects of the expression of adhesion molecules on the metastasis of cirrhotic liver cancer in mice

Wenli XU ; Xiaoyu TAN ; Aiqun ZHANG ; Chonghui LI ; Jiahong DONG

Chinese Journal of Hepatobiliary Surgery 2013;(6):441-446

3.Relationship between ACE gene (I/D) polymorphism and familial essential hypertension

Tan XUE ; Jing SHI ; Xiuyan WANG ; Juan LI ; Xiaoyu LIANG

Chinese Journal of cardiovascular Rehabilitation Medicine 2015;24(2):127-130

4.Empirical study of effect of Yiwei Ning on expression of Fas/FasL in rat with endometriosis

Wenguang MA ; Xiaoyu XU ; Wenhua TAN ; Fan QU ; Baozhang MA

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

5.Prevention of acute renal failure in obstructive jaundice patients in perioperative period</a> </h3> <p> <span> <a class="authorAndJournal" href="search/basic?searchField=Author&searchContent=Dong DAI">Dong DAI</a> </span> ; <span> <a class="authorAndJournal" href="search/basic?searchField=Author&searchContent= Xiaoyu TAN"> Xiaoyu TAN</a> </span> ; <span> <a class="authorAndJournal" href="search/basic?searchField=Author&searchContent= Xiancheng ZENG"> Xiancheng ZENG</a> </span> ; <span> <a class="authorAndJournal" href="search/basic?searchField=Author&searchContent= Songtao DU"> Songtao DU</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="519534Abstract" style="display:none"> <p> <b></b> ObjectiveTo investigate the protection of renal function and the prevention of acute renal failue(ARF) in perioperative period in obstructive jaundice(OJ) patients. Methods In experimantal group, short time parenteral nutrition(PN) was given preoperatirely.Small dosage of dopamine was intravenously dripped.and rapid infusion of 20% mannitol periodically was done.In control group routine treatment was done. Postoperative blood BUN and Cr dynamic changes were examined and occurrence rate of ARF were recorded. Results No ARF occurred in the experimental group;but ARF occurred in 5 cases(29.4%)and 2 cases(17.6%) died (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="422694" red="6" type="checkbox" /></label></div> <div class="list_con"> <div class="list_info"> <h3> <span>6.</span><a href="admin/article/articleDetail?WPRIMID=422694&articleId=422694&from=search">Studying and practicing of ultrasound anatomy teaching sample of fetus heart with complex abnormity</a> </h3> <p> <span> <a class="authorAndJournal" href="search/basic?searchField=Author&searchContent=Hongmei XIA">Hongmei XIA</a> </span> ; <span> <a class="authorAndJournal" href="search/basic?searchField=Author&searchContent= Bing REN"> Bing REN</a> </span> ; <span> <a class="authorAndJournal" href="search/basic?searchField=Author&searchContent= Xiaosong LI"> Xiaosong LI</a> </span> ; <span> <a class="authorAndJournal" href="search/basic?searchField=Author&searchContent= Liwen TAN"> Liwen TAN</a> </span> ; <span> <a class="authorAndJournal" href="search/basic?searchField=Author&searchContent= Yan JIANG"> Yan JIANG</a> </span> ; <span> <a class="authorAndJournal" href="search/basic?searchField=Author&searchContent= Xiaoyu LI"> Xiaoyu LI</a> </span> ; <span> <a class="authorAndJournal" href="search/basic?searchField=Author&searchContent= Yunhua GAO"> Yunhua GAO</a> </span> </p> <p style="margin-left:0px;"><a class="authorAndJournal" href="search/basic?searchField=JournalTitleSearch&searchContent=Chinese Journal of Ultrasonography">Chinese Journal of Ultrasonography</a><span class="c_6"> 2011;20(10):875-878</span></p> <div class="articleAbstract" id="422694Abstract" style="display:none"> <p> <b></b> ObjectiveTo make ultrasound anatomy teaching samples of odynopoeia fetus heart with complex abnormity consistent with echocardiographic view,and utilize them in echo teaching.MethodsTen odynopoeia foetus hearts were cutted comparing to different echocardiographic imaging respectively.Results Dissections of fetus heart were obtained including 5 cases of single cardiac ventricle(2 case with interruption of aortic arch),4 cases of double outlet of right ventricular,and 1 case of hypoplastic left heart syndrome with serious coarctation of the aorta.The apical long axis view,the three blood vessel view,as well as the long axis view of the aortic arch were typical views of ultrasound diagnosis and teaching.ConclusionsIt is profit to raise and accurate rate of fetus echocardiography diagnosis by studying dissection of fetus heart anatomic structure with complex abnormity,which would make ultrasound imaging visualization. <br> </p> </div> </div> <div class="icon_list"> <a title="DOI" class="doiClick articleDownload" rel="422694" type="doi" ref="10.3760/cma.j.issn.1004-4477.2011.10.017"><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="438503" red="7" type="checkbox" /></label></div> <div class="list_con"> <div class="list_info"> <h3> <span>7.</span><a href="admin/article/articleDetail?WPRIMID=438503&articleId=438503&from=search">Histological changes and safety of long-term acral nerve root stimulation electrode placement in rabbits</a> </h3> <p> <span> <a class="authorAndJournal" href="search/basic?searchField=Author&searchContent=Peng YAN">Peng YAN</a> </span> ; <span> <a class="authorAndJournal" href="search/basic?searchField=Author&searchContent= Weidong ZHENG"> Weidong ZHENG</a> </span> ; <span> <a class="authorAndJournal" href="search/basic?searchField=Author&searchContent= Jikai ZHANG"> Jikai ZHANG</a> </span> ; <span> <a class="authorAndJournal" href="search/basic?searchField=Author&searchContent= Yunbing TAN"> Yunbing TAN</a> </span> ; <span> <a class="authorAndJournal" href="search/basic?searchField=Author&searchContent= Gaofeng LI"> Gaofeng LI</a> </span> ; <span> <a class="authorAndJournal" href="search/basic?searchField=Author&searchContent= Guangchun LI"> Guangchun LI</a> </span> ; <span> <a class="authorAndJournal" href="search/basic?searchField=Author&searchContent= Cheng SONG"> Cheng SONG</a> </span> ; <span> <a class="authorAndJournal" href="search/basic?searchField=Author&searchContent= Xiaoyu YANG"> Xiaoyu YANG</a> </span> </p> <p style="margin-left:0px;"><a class="authorAndJournal" href="search/basic?searchField=JournalTitleSearch&searchContent=Chinese Journal of Tissue Engineering Research">Chinese Journal of Tissue Engineering Research</a><span class="c_6"> 2013;(37):6587-6593</span></p> <div class="articleAbstract" id="438503Abstract" style="display:none"> <p> <b></b> BACKGROUND:Studies have shown that sacral nerve-root stimulation based on anodes block technique can effectively reconstruct the bladder voiding function of the rabbits with spinal cord injury. But the corresponding technology of stimulating electrode has not been reported so far. <br> OBJECTIVE:To design and develop the stimulating electrodes matching with both rabbit sacral nerve roots and anodal blocking technique, to observe the ultrastructure and morphological change of rabbit sacral nerve roots which implanted in electrode stimulation for a long-term and to assess the safety of stimulating electrodes. <br> METHODS:Thirty New Zealand rabbits were included, 10 rabbits were randomly selected from them and sacrificed after anesthesia, and then cut the anterior roots of bilateral S 2 and S 3 immediately;after measuring the diameter under the light microscope, the sleeve type stimulation electrode matched with the diameter was made. The remaining 20 rabbits were randomly divided into control group and implantation group, with 10 rabbits in each group. In the implantation group, the stimulating electrodes were implanted into the forepart of S 2 and S 3 nerve roots after anesthesia, and then sacrificed after fed for half a year for col ecting the samples. Then ultrastructure change of sacral nerve roots with the implantation was observed. <br> RESULTS AND CONCLUSION:Structure of nerve cel s of sacral nerve roots remained in good condition under a light microscope after long-term implantation of the stimulating electrodes. No obvious degeneration of axons, no inflammatory infiltration and glial scar formation were observed. In the implantation group, myelins arranged closely without demyelination phenomenon, and there was no atrophy of neuronal nuclear, no nuclear sag, no increased nuclear decompression and heterochromatin in neurons under the light microscope. Immunohistochemical analysis showed, compared with the control group, there were no significant differences in the expressions of glial fibril ary acidic protein, Bax, Bcl-2 and Caspase-3 proteins of nerve roots in the implantation group. The stimulation electrode of rabbit sacral nerve root is developed successful y, that is, the implantation is simple and safe as it can be used for long-term implantation without histopathological changes and apoptosis. <br> </p> </div> </div> <div class="icon_list"> <a title="DOI" class="doiClick articleDownload" rel="438503" type="doi" ref="10.3969/j.issn.2095-4344.2013.37.008"><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="413416" red="8" type="checkbox" /></label></div> <div class="list_con"> <div class="list_info"> <h3> <span>8.</span><a href="admin/article/articleDetail?WPRIMID=413416&articleId=413416&from=search">Long-term effect of argon plasma coagulation combined with proton pump inhibitor on Barrett esophagus</a> </h3> <p> <span> <a class="authorAndJournal" href="search/basic?searchField=Author&searchContent=Hanbing XUE">Hanbing XUE</a> </span> ; <span> <a class="authorAndJournal" href="search/basic?searchField=Author&searchContent= Xiaoyu CHEN"> Xiaoyu CHEN</a> </span> ; <span> <a class="authorAndJournal" href="search/basic?searchField=Author&searchContent= Yunjie GAO"> Yunjie GAO</a> </span> ; <span> <a class="authorAndJournal" href="search/basic?searchField=Author&searchContent= Yan SONG"> Yan SONG</a> </span> ; <span> <a class="authorAndJournal" href="search/basic?searchField=Author&searchContent= Yunjia ZHAO"> Yunjia ZHAO</a> </span> ; <span> <a class="authorAndJournal" href="search/basic?searchField=Author&searchContent= Honghong TAN"> Honghong TAN</a> </span> ; <span> <a class="authorAndJournal" href="search/basic?searchField=Author&searchContent= Zhizheng GE"> Zhizheng GE</a> </span> </p> <p style="margin-left:0px;"><a class="authorAndJournal" href="search/basic?searchField=JournalTitleSearch&searchContent=Chinese Journal of Digestive Endoscopy">Chinese Journal of Digestive Endoscopy</a><span class="c_6"> 2011;28(2):76-79</span></p> <div class="articleAbstract" id="413416Abstract" style="display:none"> <p> <b></b> Objective To study the long-term effect of argon plasma coagulation (APC) combined with proton pump inhibitor (PPI) on Barrett esophagus (BE). Methods A total of 36 patients, histologically proven as having BE from 2004 to 2007, were enrolled to underwent a therapy of APC plus PPI. The patients were re-examined on endoscopy at 1, 6 and 12 months after first APC and once a year thereafter.Results A total of 48 APC sessions were given to 36 patients with a mean number at 1. 33 per patient. The effective rate of reversal of BE was 100%. The follow-up was accomplished for all patients in 14-51 months with a median of 36months. The total recurrence rate (RR) of BE reached 16. 7% (6/36). The 1-year and 2-year RRs were 2. 8% (1/36) and 11.1% (4/36), respectively. The logistic regression analysis suggested that 2-year and total RRs were related to APC sessions ( P < 0. 01 ). Conclusion The therapy of APC combined with PPI for BE is safe and of long-term effects. <br> </p> </div> </div> <div class="icon_list"> <a title="DOI" class="doiClick articleDownload" rel="413416" type="doi" ref="10.3760/cma.j.issn.1007-5232.2011.02.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="455208" red="9" type="checkbox" /></label></div> <div class="list_con"> <div class="list_info"> <h3> <span>9.</span><a href="admin/article/articleDetail?WPRIMID=455208&articleId=455208&from=search">Serum interleukin- 20 levels and its clinical significance in asthma patients</a> </h3> <p> <span> <a class="authorAndJournal" href="search/basic?searchField=Author&searchContent=Xiaoyu TAN">Xiaoyu TAN</a> </span> ; <span> <a class="authorAndJournal" href="search/basic?searchField=Author&searchContent= Changchun HOU"> Changchun HOU</a> </span> ; <span> <a class="authorAndJournal" href="search/basic?searchField=Author&searchContent= Yan CHEN"> Yan CHEN</a> </span> ; <span> <a class="authorAndJournal" href="search/basic?searchField=Author&searchContent= Ni FANG"> Ni FANG</a> </span> ; <span> <a class="authorAndJournal" href="search/basic?searchField=Author&searchContent= Tangjuan LIU"> Tangjuan LIU</a> </span> ; <span> <a class="authorAndJournal" href="search/basic?searchField=Author&searchContent= Hongjiang ZHOU"> Hongjiang ZHOU</a> </span> </p> <p style="margin-left:0px;"><a class="authorAndJournal" href="search/basic?searchField=JournalTitleSearch&searchContent=The Journal of Practical Medicine">The Journal of Practical Medicine</a><span class="c_6"> 2014;(16):2591-2594</span></p> <div class="articleAbstract" id="455208Abstract" style="display:none"> <p> <b></b> Objective To detect the pre- and post-treatment levels of serum interleukin (IL-20) in asthmatic patients during the acute exacerbation period and to investigate the role of IL-20 in the pathogenesis of bronchial asthma and relative clinical significance. Methods Forty-five cases of mild to moderate asthma outpatients in the First Affiliated Hospital of Guangxi Medical University from May 2013 to October 2013 were chosen as the asthma group and 32 healthy people who underwent routine physical examination as the control group. All the patients were treated with inhalation salmeterol and fluticasone 50/250 μg/μg (sucking twice a day) together with ventolin if necessary , and even with theophylline sustained-release tablets as the additional treatment in moderate asthma group for 1 week. The serum levels of IL-20 as well as immunoglobulin E (IgE) were detected by ELISA in the asthma group before and after treatment as well as in the control group. Other data including ECP , the number of eosinophil ceils (EOS) and the pulmonary function (FEV1%) were detected as well. The differences of IL-20 levels between the asthma group before and after treatment and the control group were analyzed and the correlation between IL-20 and Ig E, EOS, ECP and FEV1% were analyzed. Results Compared with the healthy control group [(13.58 ± 6.17)pg/L], the levels of IL-20 in the mild and moderate asthma pretreatment group were significantly increased [(23.43 ± 13.60)pg/L and (33.78 ± 22.69)pg/L]. Compared with the mild asthma group, the levels of IL-20 in the moderate asthma pretreatment group were significantly higher. After treatment , the levels of IL-20 [(15.73 ± 8.27)pg/L and (19.64 ± 11.69)pg/L] were decreased respectively in the asthmatic patients. The Pearson correlative analysis showed that there were positive correlations between the levels of 1L-20 and IgE , EOS and ECP respectively and there were negative correlations between IL-20 levels and FEV1%. Conclusion IL-20 may be involved in the pathogenesis of asthma. <br> </p> </div> </div> <div class="icon_list"> <a title="DOI" class="doiClick articleDownload" rel="455208" type="doi" ref="10.3969/j.issn.1006-5725.2014.16.021"><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="462828" red="10" type="checkbox" /></label></div> <div class="list_con"> <div class="list_info"> <h3> <span>10.</span><a href="admin/article/articleDetail?WPRIMID=462828&articleId=462828&from=search">Inducing effect of IL-1βabout the release of HMGB1 in human bronchial epithelial cells</a> </h3> <p> <span> <a class="authorAndJournal" href="search/basic?searchField=Author&searchContent=Xiaoyu TAN">Xiaoyu TAN</a> </span> ; <span> <a class="authorAndJournal" href="search/basic?searchField=Author&searchContent= Changchun HOU"> Changchun HOU</a> </span> ; <span> <a class="authorAndJournal" href="search/basic?searchField=Author&searchContent= Junjian CHEN"> Junjian CHEN</a> </span> ; <span> <a class="authorAndJournal" href="search/basic?searchField=Author&searchContent= Yu LI"> Yu LI</a> </span> ; <span> <a class="authorAndJournal" href="search/basic?searchField=Author&searchContent= Tangjuan LIU"> Tangjuan LIU</a> </span> ; <span> <a class="authorAndJournal" href="search/basic?searchField=Author&searchContent= Hongjiang ZHOU"> Hongjiang ZHOU</a> </span> </p> <p style="margin-left:0px;"><a class="authorAndJournal" href="search/basic?searchField=JournalTitleSearch&searchContent=Chongqing Medicine">Chongqing Medicine</a><span class="c_6"> 2015;(2):151-154</span></p> <div class="articleAbstract" id="462828Abstract" style="display:none"> <p> <b></b> Objective To investigate the effect of IL‐1βon the expression and release of high mobility group box 1 (HMGB1) from normal human bronchiolar epithelial cell (HBE) .Methods HBE135‐E6E7 was developed and methyltetrazolium (MTT) as‐say was used to assess the viability of HBE cell line under different concentration of IL‐1β.The mRNA expression of HMGB1 in HBE after stimulating with IL‐1βwere determined by Real‐time PCR;the level and location of HMGB1 in the cytoplasm ,nucleus and culture medium of HBE after stimulating with IL‐1β were detected by Western blot and ELISA assay .The expression and translocation of HMGB1 of HBE after stimulating with IL‐1β were detected by Immunofluorescence .Results 0 .1 ,1 .0 ,10 .0 ng/mL IL‐1βdid not influence the cell viability of HBE ;IL‐1β increased the mRNA expression of HMGB1 in HBE in does‐and time‐dependent manner and increased the protein expression of HMGB1 in HBE .In comparison with control group ,the levels of HMGB1 in the culture medium significantly increased after stimulation with IL‐1βat 1 .0 ,10 .0 ng/mL for 24 h(P<0 .05)in the dose dependent experiments;and in time dependent experiments ,10 .0 ng/mL IL‐1βsignificantly increased HMGB1 level in the cul‐ture medium after stimulation for both 12 h and 24 h (P< 0 .05) .After stimulation with IL‐1β (10 .0 ng/mL ) for 24 h ,the HMGB1 expression in cytoplasm significantly increased in plasmosin and decreased in nucleus .HMGB1 translocated from nuclei to cytoplasm after stimulation with IL‐1β(10 .0 ng/mL ) for 24 h .Conclusion IL‐1βcould induce HMGB1 expression and release in human bronchial epithelial cells ,which indicates that HMGB1 may involve in IL‐1β‐mediated chronic airway inflammation . <br> </p> </div> </div> <div class="icon_list"> <a title="DOI" class="doiClick articleDownload" rel="462828" type="doi" ref="10.3969/j.issn.1671-8348.2015.02.003"><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="56" 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: 56 , 1/6 </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="6">End</a> <span>page:</span> <input type="number" id="pageNum2" min="1" max="6" 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=A2C505956EE9571A3DBB39BB10C2CD0D"></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("50b250e8-29f6-45a1-a9f7-aeb059ff63be"); // $("#searchContentAnaForm").val(dealSpecialCharacter("Xiaoyu\ TAN")); $("#searchContentAnaForm").val("Xiaoyu TAN"); $("#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=A2C505956EE9571A3DBB39BB10C2CD0D'; if(type == 'doi'){ url = '/admin/article/addArticleDoiClickLog;jsessionid=A2C505956EE9571A3DBB39BB10C2CD0D'; } $.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 = "50b250e8-29f6-45a1-a9f7-aeb059ff63be"; //获取检索后台处理后的检索表达式 $.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("Xiaoyu\ TAN"); var searchContent = "Xiaoyu TAN"; var isFacet = ""; var fromAdvanced = ""; //var advancedSearchContent = ""; var advancedSearchContentUUID = "50b250e8-29f6-45a1-a9f7-aeb059ff63be"; //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 = "56"; 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":"50b250e8-29f6-45a1-a9f7-aeb059ff63be"}, 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":"50b250e8-29f6-45a1-a9f7-aeb059ff63be"}, 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 = "6"; 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 = "56"; 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("50b250e8-29f6-45a1-a9f7-aeb059ff63be"); $("#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("50b250e8-29f6-45a1-a9f7-aeb059ff63be"); $("#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 = "56"; 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("50b250e8-29f6-45a1-a9f7-aeb059ff63be"); $("#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("56"); $("#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("50b250e8-29f6-45a1-a9f7-aeb059ff63be"); $("#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>