private boolean _jspx_meth_permission_005faction_005f1( javax.servlet.jsp.PageContext _jspx_page_context) throws java.lang.Throwable { javax.servlet.jsp.PageContext pageContext = _jspx_page_context; javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut(); // permission:action com.kernal.tags.ActionPermissionTag _jspx_th_permission_005faction_005f1 = (com.kernal.tags.ActionPermissionTag) _005fjspx_005ftagPool_005fpermission_005faction_0026_005fcode.get( com.kernal.tags.ActionPermissionTag.class); _jspx_th_permission_005faction_005f1.setPageContext(_jspx_page_context); _jspx_th_permission_005faction_005f1.setParent(null); // /WEB-INF/jsps/solutions/leasing/invoice_manage/fund_invoice/fund_invoice_plan_confirm.jsp(123,0) name = code type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null _jspx_th_permission_005faction_005f1.setCode("rent_account"); int _jspx_eval_permission_005faction_005f1 = _jspx_th_permission_005faction_005f1.doStartTag(); if (_jspx_eval_permission_005faction_005f1 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) { if (_jspx_eval_permission_005faction_005f1 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) { out = _jspx_page_context.pushBody(); _jspx_th_permission_005faction_005f1.setBodyContent( (javax.servlet.jsp.tagext.BodyContent) out); _jspx_th_permission_005faction_005f1.doInitBody(); } do { out.write("\r\n"); out.write("<script type=\"text/javascript\">\r\n"); out.write("isAdmin=true;\r\n"); out.write("tools='';\r\n"); out.write("</script >\r\n"); int evalDoAfterBody = _jspx_th_permission_005faction_005f1.doAfterBody(); if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN) break; } while (true); if (_jspx_eval_permission_005faction_005f1 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) { out = _jspx_page_context.popBody(); } } if (_jspx_th_permission_005faction_005f1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { _005fjspx_005ftagPool_005fpermission_005faction_0026_005fcode.reuse( _jspx_th_permission_005faction_005f1); return true; } _005fjspx_005ftagPool_005fpermission_005faction_0026_005fcode.reuse( _jspx_th_permission_005faction_005f1); return false; }
private boolean _jspx_meth_permission_005faction_005f2( javax.servlet.jsp.PageContext _jspx_page_context) throws java.lang.Throwable { javax.servlet.jsp.PageContext pageContext = _jspx_page_context; javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut(); // permission:action com.kernal.tags.ActionPermissionTag _jspx_th_permission_005faction_005f2 = (com.kernal.tags.ActionPermissionTag) _005fjspx_005ftagPool_005fpermission_005faction_0026_005fcode.get( com.kernal.tags.ActionPermissionTag.class); _jspx_th_permission_005faction_005f2.setPageContext(_jspx_page_context); _jspx_th_permission_005faction_005f2.setParent(null); // /WEB-INF/jsps/solutions/leasing/invoice_manage/fund_invoice/fund_invoice_plan_confirm.jsp(130,0) name = code type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null _jspx_th_permission_005faction_005f2.setCode("tax_account"); int _jspx_eval_permission_005faction_005f2 = _jspx_th_permission_005faction_005f2.doStartTag(); if (_jspx_eval_permission_005faction_005f2 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) { if (_jspx_eval_permission_005faction_005f2 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) { out = _jspx_page_context.pushBody(); _jspx_th_permission_005faction_005f2.setBodyContent( (javax.servlet.jsp.tagext.BodyContent) out); _jspx_th_permission_005faction_005f2.doInitBody(); } do { out.write("\r\n"); out.write("<script type=\"text/javascript\">\r\n"); out.write("isAdmin=false;\r\n"); out.write("tools=[ {\r\n"); out.write("\thtml : '<font color=\"red\">导出资金开票数据</font>',\r\n"); out.write("\thandler : function(table) {\r\n"); out.write("\t\t\tvar params = getQueryAreaParams(table,false);\r\n"); out.write("\t\t\tvar checkedRowDatas = table.getCheckedRowDatas();\r\n"); out.write("\t\t\tif(0 == checkedRowDatas.length){\r\n"); out.write("\t\t\talert(\"请选择要导出的记录!!\");\r\n"); out.write("\t\t\treturn;\r\n"); out.write("\t\t\t}\r\n"); out.write("\t\t\tvar tempIdArr = [];\r\n"); out.write(" for(var i = 0;i<checkedRowDatas.length;i++){\r\n"); out.write("\t\t\tvar checkedRowdata = checkedRowDatas[i];\r\n"); out.write("\t\t\tvar id = checkedRowdata.id;\r\n"); out.write("\t\t\ttempIdArr.push(\"'\"+id+\"'\");\r\n"); out.write("\t\t}\r\n"); out.write(" \tvar url=\"/acl/expTaxFundInvoice.acl\";\r\n"); out.write(" \tvar fileparames={ids:tempIdArr.join(\",\"),currentLoginRealName:'"); out.write( (java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate( "${sessionScope[\"login_realname\"]}", java.lang.String.class, (javax.servlet.jsp.PageContext) _jspx_page_context, null, false)); out.write( "',url:url,title:\"资金发票计划开票\",twoClassify:'fundinvoiceconfirm',returnType:'file',modelname:'fundinvoiceconfirm'};\r\n"); out.write(" for(var p in params){\r\n"); out.write(" \tfileparames[p]=params[p];\r\n"); out.write("\t }\r\n"); out.write(" attachmentDown(fileparames); \r\n"); out.write("\t},\r\n"); out.write("\ticonCls : 'icon-update'\r\n"); out.write("\t },{\r\n"); out.write("\thtml : '<font color=\"red\">退回开票清单</font>',\r\n"); out.write("\thandler : function(table) {\r\n"); out.write("\t\tvar operType = \"退回\";\r\n"); out.write("\tvar operTitle = \"开票清单\";\r\n"); out.write("\tvar operAction = \"backFundPlanInvoice\";\r\n"); out.write("\t\tvar checkedRowDatas = table.getCheckedRowDatas();\r\n"); out.write("\tvar currentLoadMask = null;\r\n"); out.write(" var params = {};\r\n"); out.write(" var tempIdArr = [];\r\n"); out.write(" for(var i = 0;i<checkedRowDatas.length;i++){\r\n"); out.write("\t\tvar checkedRowdata = checkedRowDatas[i];\r\n"); out.write("\t\tvar id = checkedRowdata.id;\r\n"); out.write("\t\ttempIdArr.push(id);\r\n"); out.write("\t}\r\n"); out.write("\tparams[\"ids\"] = tempIdArr.join(\",\");\r\n"); out.write("\t\tif(0 == checkedRowDatas.length){\r\n"); out.write("\t\talert(\"请选择要\"+operType+\"的记录!!\");\r\n"); out.write("\t\treturn;\r\n"); out.write("\t\t}\r\n"); out.write("\t\tfor(var i =0;i<checkedRowDatas.length;i++){\r\n"); out.write("\t\tvar checkedRawData=checkedRowDatas[i];\r\n"); out.write("\t\tif(\"已确认\"==checkedRawData.invoicestatus){\r\n"); out.write("\t\t\talert(\"该条\"+operTitle+\"已确认,不允许退回!!!\");\r\n"); out.write("\t\t\treturn;\r\n"); out.write("\t\t\t} \r\n"); out.write("\t}\r\n"); out.write( "\tif(!window.confirm((\"确定\"+operType+\"当前\"+checkedRowDatas.length+\"条记录么?\"))) return;\r\n"); out.write("\tvar loadMaskMsg=\"正在\"+operType+operTitle+\" 请稍后... \";\r\n"); out.write("\tvar url=getRootPath()+\"/acl/\"+operAction+\".acl\";\r\n"); out.write("\tcurrentLoadMask = new tracywindyLoadMask(document.body,loadMaskMsg);\r\n"); out.write("\tcurrentLoadMask.show();\r\n"); out.write("\tajaxRequest({\r\n"); out.write(" url:url,\r\n"); out.write(" params:params,\r\n"); out.write(" timeout:30*1000,\r\n"); out.write(" success:function(res){//孙传良 修改 显示出action返回值\r\n"); out.write("\t \t\tres=res.responseText;\r\n"); out.write("\t \t\tres=res.replace(/(^\\s+)|(\\s+$)/g, \"\"); \r\n"); out.write(" \t if(res!=''){\r\n"); out.write("\t \t \talert(res);\r\n"); out.write(" \t }else{\r\n"); out.write(" \t \talert(operType+operTitle+\"成功!!\");\r\n"); out.write(" \t }\r\n"); out.write(" currentLoadMask.hide();\r\n"); out.write(" table.reload();\r\n"); out.write(" //successCallBack(table);\r\n"); out.write(" }\r\n"); out.write(" });\r\n"); out.write("\t},\r\n"); out.write("\ticonCls : 'icon-update'\r\n"); out.write("\t }\r\n"); out.write("];\r\n"); out.write("</script >\r\n"); int evalDoAfterBody = _jspx_th_permission_005faction_005f2.doAfterBody(); if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN) break; } while (true); if (_jspx_eval_permission_005faction_005f2 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) { out = _jspx_page_context.popBody(); } } if (_jspx_th_permission_005faction_005f2.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { _005fjspx_005ftagPool_005fpermission_005faction_0026_005fcode.reuse( _jspx_th_permission_005faction_005f2); return true; } _005fjspx_005ftagPool_005fpermission_005faction_0026_005fcode.reuse( _jspx_th_permission_005faction_005f2); return false; }