中文 | English
Return
Total: 711 , 1/72
Show Home Prev Next End page: GO
Author:(He-ping CHEN)

1.Levels of interleukin-6 and CRP in patients with chronic obstructive pulmonary disease and its significance

Zhihui HE ; Ping CHEN

Chinese Journal of Practical Internal Medicine 2006;0(13):-

2.Expressions and clinical significance of MTA1 mRNA and ki67 in breast cancer tissue

Chunlan HE ; Ping CHEN

Chinese Journal of Current Advances in General Surgery 2009;0(09):-

3.Diagnosis and treatment of primary duodenal papilla neoplasm</a> </h3> <p> <span> <a class="authorAndJournal" href="search/basic?searchField=Author&searchContent=Chunlan HE">Chunlan HE</a> </span> ; <span> <a class="authorAndJournal" href="search/basic?searchField=Author&searchContent= Ping CHEN"> Ping CHEN</a> </span> ; <span> <a class="authorAndJournal" href="search/basic?searchField=Author&searchContent= Yun TANG"> Yun TANG</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="519533Abstract" style="display:none"> <p> <b></b> ObjectiveTo study the diagnosis and treatment of primary duodenal papilla neoplasm(PDPN). MethodsThe clinical data of 64 patients with PDPN were analysed retrospectively. Results Among 38 cases received deodunscopy, PDPN were found in 32 cases (84.2%). Tumors were found in 49 of 51 cases received ERCP. There were 2 cases of benign tumor and 62 of maligancies in this series. 4 of 46 cases survived 4 years after Whipple operation,and 4 of 11 cases underwent lacal resection of PDPN suvived 4~6 years. ConclusionsTEndoscopy and ERCP are main methods for the diagnosis of PDPN; It is essential to use the rationale operation to improve the results of surgical treatment. <br> </p> </div> </div> <div class="icon_list"> </div> </div> </div> <div class="list_block"> <div class="list_check"><label><input class="selectArticle" ref="519619" red="4" type="checkbox" /></label></div> <div class="list_con"> <div class="list_info"> <h3> <span>4.</span><a href="admin/article/articleDetail?WPRIMID=519619&articleId=519619&from=search">The diagnosis and treatment of primary carcinoma of the duodenum:a report of 45 cases</a> </h3> <p> <span> <a class="authorAndJournal" href="search/basic?searchField=Author&searchContent=Ping HE">Ping HE</a> </span> ; <span> <a class="authorAndJournal" href="search/basic?searchField=Author&searchContent= Jingsen SHI"> Jingsen SHI</a> </span> ; <span> <a class="authorAndJournal" href="search/basic?searchField=Author&searchContent= Wuke CHEN"> Wuke CHEN</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(09):-</span></p> <div class="articleAbstract" id="519619Abstract" style="display:none"> <p> <b></b> ObjectiveTo improve the diagnosis and treatment of primary duodenal carcinoma.MethodThe clinical data of 45 patients with primary carcinoma of the duodenum from 1987 to 2000 were analyzed retrospectively.ResultAccording to the site of cancer, tumors around, below and above the duodenal papilla accounted for 64%, 22% and 13% of all cases. The diagnosis rate of duodenoscopy was 71%(15/21). Pancreatoduodenectomy was performed in 22 cases, segmental duodenectomy in 2 cases, simple tumor resection in 3 cases, gastroenterostomy or choledochojejunostomy in 12 cases and simple laparotomy in 4 cases. In patients of curative resection, the postoperative 3 and 5 years′ survival rate was 41 4% and 23 6%. In those with gastroenterostomy or choledochojejunostomy, the average survival time was 6~15 months. All cases undergoing biopsy only died within six months.ConclusionPrimary duodenal carcinoma mainly occurs around duodenal papilla. The long time survival of Whipple′s procedure is favourable. <br> </p> </div> </div> <div class="icon_list"> </div> </div> </div> <div class="list_block"> <div class="list_check"><label><input class="selectArticle" ref="547741" red="5" type="checkbox" /></label></div> <div class="list_con"> <div class="list_info"> <h3> <span>5.</span><a href="admin/article/articleDetail?WPRIMID=547741&articleId=547741&from=search">Explortation of the clinical application of total thyroidectomy</a> </h3> <p> <span> <a class="authorAndJournal" href="search/basic?searchField=Author&searchContent=Chunlan HE">Chunlan HE</a> </span> ; <span> <a class="authorAndJournal" href="search/basic?searchField=Author&searchContent= Ping CHEN"> Ping CHEN</a> </span> ; <span> <a class="authorAndJournal" href="search/basic?searchField=Author&searchContent= Jianguo ZHAO"> Jianguo ZHAO</a> </span> </p> <p style="margin-left:0px;"><a class="authorAndJournal" href="search/basic?searchField=JournalTitleSearch&searchContent=Chinese Journal of Current Advances in General Surgery">Chinese Journal of Current Advances in General Surgery</a><span class="c_6"> 2009;0(07):-</span></p> <div class="articleAbstract" id="547741Abstract" style="display:none"> <p> <b></b> Objective:To discuss the method of surgery treatment for nodular goiter,Graves disease,Hashimoto thyroiditis and differentiated thyroid carcinoma. Methods:A retrospective analysis of the clinical records of 76 patients undergoing total thyroidectomy was analyzed for the method of surgery treatment for thyroid diseases from resection extent,operative techniques,intraoperative and postoperative complications. Results:Five patients(78.4%)of all the patients accepted total thyroidectomy in first operation had transient or short-term completely recovered hypocalcemia postoperatively,and there were no cases with injury of recurrent laryngeal nerve. 4 patients(33.3%) had one-sided recurrent laryngeal nerve injury and temporary hypoparathyroidism in recurrent patient,and one of the cases had permanent hypoparathyroidism. Conclusion:Total thyroidectomy could be served as the routine operative method for multinodular goiter,Graves disease,Hashimoto thyroiditis and differentiated thyroid carcinoma. <br> </p> </div> </div> <div class="icon_list"> </div> </div> </div> <div class="list_block"> <div class="list_check"><label><input class="selectArticle" ref="498712" red="6" type="checkbox" /></label></div> <div class="list_con"> <div class="list_info"> <h3> <span>6.</span><a href="admin/article/articleDetail?WPRIMID=498712&articleId=498712&from=search">Therapeutic Observation of Acupuncture-moxibustion for Postsurgical Gastroparesis and Effect on Gastrin and Motilin</a> </h3> <p> <span> <a class="authorAndJournal" href="search/basic?searchField=Author&searchContent=Jun CHEN">Jun CHEN</a> </span> ; <span> <a class="authorAndJournal" href="search/basic?searchField=Author&searchContent= Ping HE"> Ping HE</a> </span> ; <span> <a class="authorAndJournal" href="search/basic?searchField=Author&searchContent= Liping SHEN"> Liping SHEN</a> </span> </p> <p style="margin-left:0px;"><a class="authorAndJournal" href="search/basic?searchField=JournalTitleSearch&searchContent=Shanghai Journal of Acupuncture and Moxibustion">Shanghai Journal of Acupuncture and Moxibustion</a><span class="c_6"> 2016;35(9):1083-1086</span></p> <div class="articleAbstract" id="498712Abstract" style="display:none"> <p> <b></b> Objective To observe the clinical efficacy of acupuncture-moxibustion in treating postsurgical gastroparesis syndrome (PGS) and the effect on gastrin (GAS) and motilin (MTL).Method Fifty PGS patients were randomized into a treatment group and a control group, 25 cases in each group. The control group was intervened by conventional medication, including effective gastrointestinal decompression, nutrition support, and psychotherapy; the treatment group was by acupuncture-moxibustion therapy in addition to the intervention given to the control group. The time of restoring gastric motility, the distention and fullness grading score, and serum GAS and MTL levels were observed, and the clinical efficacies were also compared.Result The total effective rate was 100.0% in the treatment group versus 92.0% in the control group, and the between-group difference was statistically insignificant (P>0.05). According to statistical analysis, there was a significant difference in comparing the time of restoring gastric motility between the two groups (P<0.01). The distention and fullness grading scores, GAS and MTL levels were significantly changed after intervention in both groups (P<0.01). The distention and fullness grading score, GAS and MTL levels of the treatment group were significantly different from that of the control group after intervention (P<0.01).Conclusion Acupuncture- moxibustion plus medication is an effective approach in treating PGS, and it can up-regulate the GAS and MTL levels. <br> </p> </div> </div> <div class="icon_list"> <a title="DOI" class="doiClick articleDownload" rel="498712" type="doi" ref="10.13460/j.issn.1005-0957.2016.09.1083"><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="500229" red="7" type="checkbox" /></label></div> <div class="list_con"> <div class="list_info"> <h3> <span>7.</span><a href="admin/article/articleDetail?WPRIMID=500229&articleId=500229&from=search">A Theoretical Model for Targeting Therapy With the Particles of the Paramagnetic Nanometers-iron Nuclide Guided by Outside Magnetic Field</a> </h3> <p> <span> <a class="authorAndJournal" href="search/basic?searchField=Author&searchContent=Ping GUO">Ping GUO</a> </span> ; <span> <a class="authorAndJournal" href="search/basic?searchField=Author&searchContent= Ping XIONG"> Ping XIONG</a> </span> ; <span> <a class="authorAndJournal" href="search/basic?searchField=Author&searchContent= Changqing GUO"> Changqing GUO</a> </span> ; <span> <a class="authorAndJournal" href="search/basic?searchField=Author&searchContent= You CHEN"> You CHEN</a> </span> ; <span> <a class="authorAndJournal" href="search/basic?searchField=Author&searchContent= Jishan HE"> Jishan HE</a> </span> </p> <p style="margin-left:0px;"><a class="authorAndJournal" href="search/basic?searchField=JournalTitleSearch&searchContent=Chinese Journal of Medical Physics">Chinese Journal of Medical Physics</a><span class="c_6"> 2006;23(6):458-461</span></p> <div class="articleAbstract" id="500229Abstract" style="display:none"> <p> <b></b> A theoretical model for the magnetic forces on ferromagnetic drug particles in a guiding magnetic field is established with the consideration of the electromagnetic field theory. Our model shows that the ferromagnetic drug particles can concentrate on the targeted area with the guidance of the outside magnetic field. Both the distribution of the intensity of the guiding magnetic field and the forces on ferromagnetic drug particles are studied numerically. The theoretical results are in good agreement with the experimental results reported recently. <br> </p> </div> </div> <div class="icon_list"> <a title="DOI" class="doiClick articleDownload" rel="500229" type="doi" ref="10.3969/j.issn.1005-202X.2006.06.018"><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="514244" red="8" type="checkbox" /></label></div> <div class="list_con"> <div class="list_info"> <h3> <span>8.</span><a href="admin/article/articleDetail?WPRIMID=514244&articleId=514244&from=search">Serum biomarkers in chronic obstructive pulmonary disease</a> </h3> <p> <span> <a class="authorAndJournal" href="search/basic?searchField=Author&searchContent=Xue HE">Xue HE</a> </span> ; <span> <a class="authorAndJournal" href="search/basic?searchField=Author&searchContent= Tiao LI"> Tiao LI</a> </span> ; <span> <a class="authorAndJournal" href="search/basic?searchField=Author&searchContent= Yating PENG"> Yating PENG</a> </span> ; <span> <a class="authorAndJournal" href="search/basic?searchField=Author&searchContent= Ping CHEN"> Ping CHEN</a> </span> ; <span> <a class="authorAndJournal" href="search/basic?searchField=Author&searchContent= Yan CHEN"> Yan CHEN</a> </span> </p> <p style="margin-left:0px;"><a class="authorAndJournal" href="search/basic?searchField=JournalTitleSearch&searchContent=Journal of Chinese Physician">Journal of Chinese Physician</a><span class="c_6"> 2017;19(2):314-318</span></p> <div class="articleAbstract" id="514244Abstract" style="display:none"> <p> <b></b> Chronic obstructive pulmonary disease (COPD) is a chronic airway diseases,which leads to heavy social and economic burden to our country.We can use serum biomarkers to evaluate diagnosis,classification,treatment and prognosis of COPD.The change of biomarkers provides lots of valuable clinical information.A variety of biomarkers are associated with the severity of lung function,which can be used to judge disease severity.Some indicators are related to the diagnosis of acute exacerbation or hospitalization risk.Some serum markers would guide therapy and can be effectively applied to clinical work.Study of COPD serum biomarkers would provide more reference information for clinical physicians in diagnosis,treatment and prognosis of COPD. <br> </p> </div> </div> <div class="icon_list"> <a title="DOI" class="doiClick articleDownload" rel="514244" type="doi" ref="10.3760/cma.j.issn.1008-1372.2017.02.046"><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="637286" red="9" type="checkbox" /></label></div> <div class="list_con"> <div class="list_info"> <h3> <span>9.</span><a href="admin/article/articleDetail?WPRIMID=637286&articleId=637286&from=search">Analysis of the results detected by ultrasound biomicroscopy before patients with rhegmatogenous retinal detachment perform pars plana vitrectomy</a> </h3> <p> <span> <a class="authorAndJournal" href="search/basic?searchField=Author&searchContent=Juan, CHEN">Juan, CHEN</a> </span> ; <span> <a class="authorAndJournal" href="search/basic?searchField=Author&searchContent= Zhong-Ping, CHEN"> Zhong-Ping, CHEN</a> </span> ; <span> <a class="authorAndJournal" href="search/basic?searchField=Author&searchContent= Qi-Chang, WANG"> Qi-Chang, WANG</a> </span> ; <span> <a class="authorAndJournal" href="search/basic?searchField=Author&searchContent= Xin, HE"> Xin, HE</a> </span> </p> <p style="margin-left:0px;"><a class="authorAndJournal" href="search/basic?searchField=JournalTitleSearch&searchContent=International Eye Science">International Eye Science</a><span class="c_6"> 2015;(5):900-903</span></p> <div class="articleAbstract" id="637286Abstract" style="display:none"> <p> <b></b> ?AlM: To analyze the result of ultrasound biomicroscopy ( UBM ) of patients with rhegmatogenous retinal detachment ( RRD ) who need to perform pars plana vitrectomy ( PPV ) to explore the value of clinical application of UBM at preoperation. <br> ?METHODS:Patients who underwent PPV for RRD in our hospital from January to December 2014 were selected. The preoperative results of UBM were recorded and the positive findings of UBM were analyzed, the value of preoperative application of UBM was investigated. <br> ?RESULTS:Totally 356 cases (357 eyes) of patients with RRD were received PPV. All patients were examined by UBM, 122 eyes ( 34. 17%) were positive, 56 eyes were ciliochoroidal detachment, 28 eyes were narrow anterior chamber angle, 6 eyes were chamber angle-closure, 28 eyes were ciliary body cyst, 4 eyes were iris cyst, 11 eyes were anterior proliferative vitreoretinopathy, 1 eye was retinal cyst. There were 12 eyes existing two lesions at the same times. ln this study, patients with choroidal detachment was detected by UBM in 56 eyes, the positive rate was 15. 7%, while 25 eyes was detected by B -ultrasonography, the positive was 7. 0%. The difference was statistical significant(χ2=13. 382, P<0. 05). <br> ?CONCLUSlON: The patients with RRD have underwent PPV for the condition of illness, preoperative UBM can be examined to detect the condition of anterior chamber angle, iris, ciliary and anterior choroid, which is significant for comprehensively understanding the preoperative condition of patients, estimating the difficulty of the operation, and guiding operation and the postoperative follow-up. <br> </p> </div> </div> <div class="icon_list"> <a title="DOI" class="doiClick articleDownload" rel="637286" type="doi" ref="10.3980/j.issn.1672-5123.2015.5.44"><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="402365" red="10" type="checkbox" /></label></div> <div class="list_con"> <div class="list_info"> <h3> <span>10.</span><a href="admin/article/articleDetail?WPRIMID=402365&articleId=402365&from=search">Clinical analysis of critically ill patients with H1N1 influenza</a> </h3> <p> <span> <a class="authorAndJournal" href="search/basic?searchField=Author&searchContent=Zhihui HE">Zhihui HE</a> </span> ; <span> <a class="authorAndJournal" href="search/basic?searchField=Author&searchContent= Guobao WU"> Guobao WU</a> </span> ; <span> <a class="authorAndJournal" href="search/basic?searchField=Author&searchContent= Ping CHEN"> Ping CHEN</a> </span> ; <span> <a class="authorAndJournal" href="search/basic?searchField=Author&searchContent= Ruoyun OUYANG"> Ruoyun OUYANG</a> </span> ; <span> <a class="authorAndJournal" href="search/basic?searchField=Author&searchContent= Jinxiu LI"> Jinxiu LI</a> </span> </p> <p style="margin-left:0px;"><a class="authorAndJournal" href="search/basic?searchField=JournalTitleSearch&searchContent=Journal of Central South University(Medical Sciences)">Journal of Central South University(Medical Sciences)</a><span class="c_6"> 2010;35(7):655-661</span></p> <div class="articleAbstract" id="402365Abstract" style="display:none"> <p> <b></b> Objective To determine the clinical characteristic, main treatment, and prognosis for the sake of more effective treatments for critically ill patients with H1N1 influenza. Methods Eight critically ill patients with H1N1 influenza in intensive care unit were retrospectively studied, including clinical characteristics, indexex of correlation, and prognosis. Results The acute physiology and chronic health evaluationⅡ score was 19.0±7.8. Five patients died, 4 of whom were caused by respiratory failure. The number of platelets in dead patient was lower than that in healing and improved ones(χ2=8.000,P<0.05).All the 4 patients treated with glucocorticoid died, 5 out of the 6 patients received invasive mechanical ventilation rather than noninvasive mechanical ventilation, and 3 of them who complicated barotraumas in the lung died at last. Conclusion Critically ill patients with H1N1 influenza have high mortality. Respiratory failure is the main cause of death. Critically ill patients with H1N1 influenza should not be treated with glucocorticoid. Patients who need mechanical ventilation should be treated with invasive mechanical ventilation with low tidal volume and low positive end-expiratory pressure. <br> </p> </div> </div> <div class="icon_list"> <a title="DOI" class="doiClick articleDownload" rel="402365" type="doi" ref="10.3969/j.issn.1672-7347.2010.07.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="711" 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: 711 , 1/72 </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="72">End</a> <span>page:</span> <input type="number" id="pageNum2" min="1" max="72" 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=2A268A2208094F0356BEBA4C3A3E85ED"></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("c369bad3-effa-4882-bac4-f1bdc1b1642e"); // $("#searchContentAnaForm").val(dealSpecialCharacter("He\-ping\ CHEN")); $("#searchContentAnaForm").val("He-ping CHEN"); $("#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=2A268A2208094F0356BEBA4C3A3E85ED'; if(type == 'doi'){ url = '/admin/article/addArticleDoiClickLog;jsessionid=2A268A2208094F0356BEBA4C3A3E85ED'; } $.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 = "c369bad3-effa-4882-bac4-f1bdc1b1642e"; //获取检索后台处理后的检索表达式 $.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("He\-ping\ CHEN"); var searchContent = "He-ping CHEN"; var isFacet = ""; var fromAdvanced = ""; //var advancedSearchContent = ""; var advancedSearchContentUUID = "c369bad3-effa-4882-bac4-f1bdc1b1642e"; //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 = "711"; 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":"c369bad3-effa-4882-bac4-f1bdc1b1642e"}, 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":"c369bad3-effa-4882-bac4-f1bdc1b1642e"}, 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 = "72"; 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 = "711"; 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("c369bad3-effa-4882-bac4-f1bdc1b1642e"); $("#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("c369bad3-effa-4882-bac4-f1bdc1b1642e"); $("#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 = "711"; 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("c369bad3-effa-4882-bac4-f1bdc1b1642e"); $("#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("711"); $("#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("c369bad3-effa-4882-bac4-f1bdc1b1642e"); $("#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>