使用PS开发工具打开该HTML,在里面添加一下代码:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105
| 以下代码需要添加到 PT_COMMON这个HTML里 %include(PT_JQUERY_2_X_JS); ptjq2x(document).ready(function($) { $(document.getElementById('#ICMatchCase')).prop({"checked":true}); });
var gFocusId = null; var bLocalModal = false; function PT_createStandardObjects() { browserInfoObj2 = new PT_browserInfo(); browserInfoObj2.init(); ptCommonObj2 = new PT_common(); ptConsole2 = new PT_console(); ptRC2 = new PT_RC(); ptLongEditCounter = new PT_LONGEDIT_COUNTER(); ptSearchObj = new PT_Search(); }
%include(PT_AJAX_CONSOLE); %include(PT_BROWSERINFO); %include(PT_COMMON_BASE); %include(PT_RC); %include(PT_LONGEDIT_COUNTER); %include(PT_SEARCH_FACET); %include(PT_PROCESSING);
if (typeof(ptCommonObj2) === "undefined") { var browserInfoObj2; var ptCommonObj2; var ptConsole2; var ptRC2; var ptSearchObj;
var gSrchRsltPageNum = 1;
var srchUrls = new Array(10);
for (var i = 0; i < 10; i++) { srchUrls[i] = new Array(10); for (var j = 0; j < 10; j++) srchUrls[i][j] = ""; }
var raFormatedString1 = ""; var raFormatedString2 = ""; var raFormatedString3 = ""; var raFormatedString4 = ""; var raFormatedString5 = ""; var raFormatedString6 = ""; var raFormatedString7 = ""; var raFormatedString8 = ""; var raFormatedString9 = ""; var raFormatedString10 = "";
var gSrchRaFldId = ""; var g_bAccessibilityMode = false;
PT_createStandardObjects(); }
%include(PT_EVENT); %include(PT_UTIL); %include(PT_RTE); %include(PT_DOCTYPE); %include(PT_MODAL); %include(PT_SEARCH_UNINAV); %include(PT_IWC); %include(PT_GLOBJTR_FOR_RA); %include(PT_URL_UTIL); %include(PT_COOKIE_UTIL); %include(PT_BREADCRUMB); %include(PT_HISTORY); %include(PT_WEBSOCKET); %include(PT_TABNAV); %include(PT_BACKNAV);
%include(PT_JQUERY_2_X_JS);
ptjq2x(document).ready(function($) {
$("select[name='EMPL_SRCH_COR3_C_EMPL_NUM$op']").val("8"); $("select[name='EMPL_SRCH_COR3_NAME$op']").val("8"); $("select[name='EMPL_SRCH_COR3_DESCR2$op']").val("8"); $("select[name='EMPL_SRCH_COR2_C_EMPL_NUM$op']").val("8"); $("select[name='EMPL_SRCH_COR2_NAME_DISPLAY_SRCH$op']").val("8"); $("select[name='PERALL_SEC_SRCH_EMPLID$op']").val("8"); $("select[name='PERALL_SEC_SRCH_NAME_DISPLAY_SRCH$op']").val("8"); $("select[name='C_DEPT_UNIT_VW_DESCR$op']").val("8"); $("select[name='C_COST_TBL_C_LONG_DESCR$op']").val("8"); $("select[name='C_PSNCUR_SEC_VW_C_EMPL_NUM$op']").val("8"); $("select[name='C_PSNCUR_SEC_VW_NAME$op']").val("8"); $("select[name='C_PSNCUR_ALL_VW_NAME$op']").val("8"); $("select[name='C_CONT_SRCH_VW_C_EMPL_NUM$op']").val("8"); $("select[name='C_CONT_SRCH_VW_NAME$op']").val("8"); $("select[name='C_PRH_SEC_VW_COMPANY_DESCR$op']").val("8"); $("select[name='C_PRH_SEC_VW_DESCR$op']").val("8"); });
|