📄 basicinfo_jsp.java
字号:
String table = (String)appMap.get("basicTable");
boolean basic=exist.findBasic(instanceID,table,0);
boolean text=exist.findBasic(instanceID,table,1);
String title=exist.findTitle(instanceID,table);
System.out.print("in jsp"+new Date());
String temp = exist.getFormAction(instanceID,userID,nodeID);
String[] formAction = temp.split(";");
HashMap actionMap = new HashMap();
for(int i=0;i<formAction.length;i++)
actionMap.put(formAction[i],"");
out.write('\r');
out.write('\n');
out.write(' ');
// html:hidden
org.apache.struts.taglib.html.HiddenTag _jspx_th_html_hidden_6 = (org.apache.struts.taglib.html.HiddenTag) _jspx_tagPool_html_hidden_value_property_nobody.get(org.apache.struts.taglib.html.HiddenTag.class);
_jspx_th_html_hidden_6.setPageContext(_jspx_page_context);
_jspx_th_html_hidden_6.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_html_form_0);
_jspx_th_html_hidden_6.setProperty("label");
_jspx_th_html_hidden_6.setValue(label);
int _jspx_eval_html_hidden_6 = _jspx_th_html_hidden_6.doStartTag();
if (_jspx_th_html_hidden_6.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
return;
_jspx_tagPool_html_hidden_value_property_nobody.reuse(_jspx_th_html_hidden_6);
out.write('\r');
out.write('\n');
out.write(' ');
// html:hidden
org.apache.struts.taglib.html.HiddenTag _jspx_th_html_hidden_7 = (org.apache.struts.taglib.html.HiddenTag) _jspx_tagPool_html_hidden_value_property_nobody.get(org.apache.struts.taglib.html.HiddenTag.class);
_jspx_th_html_hidden_7.setPageContext(_jspx_page_context);
_jspx_th_html_hidden_7.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_html_form_0);
_jspx_th_html_hidden_7.setProperty("appName");
_jspx_th_html_hidden_7.setValue(appName);
int _jspx_eval_html_hidden_7 = _jspx_th_html_hidden_7.doStartTag();
if (_jspx_th_html_hidden_7.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
return;
_jspx_tagPool_html_hidden_value_property_nobody.reuse(_jspx_th_html_hidden_7);
out.write('\r');
out.write('\n');
out.write(' ');
// html:hidden
org.apache.struts.taglib.html.HiddenTag _jspx_th_html_hidden_8 = (org.apache.struts.taglib.html.HiddenTag) _jspx_tagPool_html_hidden_value_property_nobody.get(org.apache.struts.taglib.html.HiddenTag.class);
_jspx_th_html_hidden_8.setPageContext(_jspx_page_context);
_jspx_th_html_hidden_8.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_html_form_0);
_jspx_th_html_hidden_8.setProperty("nodeID");
_jspx_th_html_hidden_8.setValue(nodeID);
int _jspx_eval_html_hidden_8 = _jspx_th_html_hidden_8.doStartTag();
if (_jspx_th_html_hidden_8.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
return;
_jspx_tagPool_html_hidden_value_property_nobody.reuse(_jspx_th_html_hidden_8);
out.write("\r\n");
out.write(" <script src=\"");
out.print(Constant.ROOTPATH);
out.write("/js/checkValue.js\"></script>\r\n");
out.write("\r\n");
out.write(" <table cellpadding=\"0\" cellspacing=\"0\">\r\n");
out.write(" <tr>\r\n");
out.write("\t ");
if(!label.equalsIgnoreCase("basic")){
out.write("\r\n");
out.write("\t <th width=\"12\" class=\"lable_left\"> </th>\r\n");
out.write("\t <th width=\"54\" class=\"lable_middle\"><a href=\"/oa");
out.print(appMap.get("basicActionDo"));
out.write("&label=basic&doKey=");
out.print(instanceID);
out.write("&appName=");
out.print(appName);
out.write("&nodeID=");
out.print(nodeID);
out.write("\">基本信息</a></th>\r\n");
out.write("\t <th width=\"14\" class=\"lable_right\"> </th>\r\n");
out.write("\t ");
}else{
out.write("\r\n");
out.write("\t <th width=\"12\" class=\"activelable_left\"> </th>\r\n");
out.write("\t <th width=\"54\" class=\"activelable_middle\">基本信息</th>\r\n");
out.write("\t <th width=\"14\" class=\"activelable_right\"> </th>\r\n");
out.write("\t ");
}if(!label.equalsIgnoreCase("text")&&!(appName.equals("filereceive")||appName.equals("qingshi"))){
out.write("\r\n");
out.write("\t <th width=\"12\" class=\"lable_left\"> </th>\r\n");
out.write("\t <th width=\"54\" class=\"lable_middle\"><a href=\"/oa/oaweb/gongwen/common/TextAction.do?actionType=query&label=text&$instance_id=");
out.print(instanceID);
out.write("&appName=");
out.print(appName);
out.write("&nodeID=");
out.print(nodeID);
out.write("\" onClick=\"return checkBasic(");
out.print(basic);
out.write(");\">正文</a></th>\r\n");
out.write("\t <th width=\"14\" class=\"lable_right\"> </th>\r\n");
out.write("\t ");
}else if(!label.equalsIgnoreCase("text")&&(appName.equals("filereceive")||appName.equals("qingshi"))){
out.write("\r\n");
out.write("\t <th width=\"12\" class=\"lable_left\"> </th>\r\n");
out.write("\t <th width=\"54\" class=\"lable_middle\"><a href=\"/oa/oaweb/gongwen/shouwen/TextAction.do?actionType=query&label=text&$instance_id=");
out.print(instanceID);
out.write("&appName=");
out.print(appName);
out.write("&nodeID=");
out.print(nodeID);
out.write("\" onClick=\"return checkBasic(");
out.print(basic);
out.write(");\">正文</a></th>\r\n");
out.write("\t <th width=\"14\" class=\"lable_right\"> </th>\r\n");
out.write("\t ");
}else{
out.write("\r\n");
out.write("\t <th width=\"12\" class=\"activelable_left\"> </th>\r\n");
out.write("\t <th width=\"54\" class=\"activelable_middle\"><div align=\"center\">正文</div></th>\r\n");
out.write("\t <th width=\"14\" class=\"activelable_right\"> </th>\r\n");
out.write("\t ");
}if(!label.equalsIgnoreCase("fujian")){
out.write("\r\n");
out.write("\t <th width=\"12\" class=\"lable_left\"> </th>\r\n");
out.write("\t <th width=\"54\" class=\"lable_middle\"><a href=\"/oa/oaweb/gongwen/common/FileAction.do?q_equal_str_instance_id=");
out.print(instanceID);
out.write("&$instance_id=");
out.print(instanceID);
out.write("&actionType=query&label=fujian&appName=");
out.print(appName);
out.write("&nodeID=");
out.print(nodeID);
out.write("\" onClick=\"return checkBasic(");
out.print(basic);
out.write(");\"><div align=\"center\">附件</div></a></th>\r\n");
out.write("\t <th width=\"14\" class=\"lable_right\"> </th>\r\n");
out.write("\t ");
}else{
out.write("\r\n");
out.write("\t <th width=\"12\" class=\"activelable_left\"> </th>\r\n");
out.write("\t <th width=\"54\" class=\"activelable_middle\"><div align=\"center\">附件</div></th>\r\n");
out.write("\t <th width=\"14\" class=\"activelable_right\"> </th>\r\n");
out.write("\t ");
}if(!label.equalsIgnoreCase("comment")){
out.write("\r\n");
out.write("\t <th width=\"12\" class=\"lable_left\"> </th>\r\n");
out.write("\t <th width=\"54\" nowrap class=\"lable_middle\"><a href=\"/oa/oaweb/gongwen/common/CommentAction.do?actionType=query&label=comment&$instance_id=");
out.print(instanceID);
out.write("&appName=");
out.print(appName);
out.write("&nodeID=");
out.print(nodeID);
out.write("\" onClick=\"return checkBasic(");
out.print(basic);
out.write(");\">签批意见</a></th>\r\n");
out.write("\t <th width=\"14\" class=\"lable_right\"> </th>\r\n");
out.write("\t ");
}else{
out.write("\r\n");
out.write("\t <th width=\"12\" class=\"activelable_left\"> </th>\r\n");
out.write("\t <th width=\"54\" nowrap class=\"activelable_middle\">签批意见</th>\r\n");
out.write("\t <th width=\"14\" class=\"activelable_right\"> </th>\r\n");
out.write("\t ");
}if(appName.equals("supervise")&&!label.equalsIgnoreCase("feedback")){
out.write("\r\n");
out.write("\t <th width=\"12\" class=\"lable_left\"> </th>\r\n");
out.write("\t <th width=\"54\" nowrap class=\"lable_middle\"><a href=\"/oa/oaweb/gongwen/supervise/FeedBackAction.do?actionType=read&label=feedback&doKey=");
out.print(instanceID);
out.write("&$instance_id=");
out.print(instanceID);
out.write("&appName=");
out.print(appName);
out.write("&nodeID=");
out.print(nodeID);
out.write("\" onClick=\"return checkBasic(");
out.print(basic);
out.write(");\">反馈单</a></th>\r\n");
out.write("\t <th width=\"14\" class=\"lable_right\"> </th>\r\n");
out.write("\t ");
}else if(appName.equals("supervise")&&label.equalsIgnoreCase("feedback")){
out.write("\r\n");
out.write("\t <th width=\"12\" class=\"activelable_left\"> </th>\r\n");
out.write("\t <th width=\"54\" nowrap class=\"activelable_middle\">反馈单</th>\r\n");
out.write("\t <th width=\"14\" class=\"activelable_right\"> </th>\r\n");
out.write("\t ");
}
out.write("\r\n");
out.write("\t ");
if(appName.equals("qingshi")&&!label.equalsIgnoreCase("chaogao")){
out.write("\r\n");
out.write("\t <th width=\"12\" class=\"lable_left\"> </th>\r\n");
out.write("\t <th width=\"54\" nowrap class=\"lable_middle\"><a href=\"/oa/oaweb/gongwen/qingshi/ChaoGaoAction.do?actionType=read&label=chaogao&$instance_id=");
out.print(instanceID);
out.write("&doKey=");
out.print(instanceID);
out.write("&appName=");
out.print(appName);
out.write("&nodeID=");
out.print(nodeID);
out.write("\" onClick=\"return checkBasic(");
out.print(basic);
out.write(");\">抄告单</a></th>\r\n");
out.write("\t <th width=\"14\" class=\"lable_right\"> </th>\r\n");
out.write("\t ");
}else if(appName.equals("qingshi")&&label.equalsIgnoreCase("chaogao")){
out.write("\r\n");
out.write("\t <th width=\"12\" class=\"activelable_left\"> </th>\r\n");
out.write("\t <th width=\"54\" nowrap class=\"activelable_middle\">抄告单</th>\r\n");
out.write("\t <th width=\"14\" class=\"activelable_right\"> </th>\r\n");
out.write("\t ");
}
out.write("\r\n");
out.write("\t ");
if(appName.equals("qingshi")&&!label.equalsIgnoreCase("return")){
out.write("\r\n");
out.write("\t <th width=\"12\" class=\"lable_left\"> </th>\r\n");
out.write("\t <th width=\"74\" nowrap class=\"lable_middle\"><a href=\"/oa/oaweb/gongwen/qingshi/CGReturnAction.do?actionType=query&q_equal_str_instance_id=");
out.print(instanceID);
out.write("&label=return&$instance_id=");
out.print(instanceID);
out.write("&appName=");
out.print(appName);
out.write("&nodeID=");
out.print(nodeID);
out.write("\" onClick=\"return checkBasic(");
out.print(basic);
out.write(");\">抄告回执单</a></th>\r\n");
out.write("\t <th width=\"14\" class=\"lable_right\"> </th>\r\n");
out.write("\t ");
}else if(appName.equals("qingshi")&&label.equalsIgnoreCase("return")){
out.write("\r\n");
out.write("\t <th width=\"12\" class=\"activelable_left\"> </th>\r\n");
out.write("\t <th width=\"74\" nowrap class=\"activelable_middle\">抄告回执单</th>\r\n");
out.write("\t <th width=\"14\" class=\"activelable_right\"> </th>\r\n");
out.write("\t ");
}
out.write("\r\n");
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -