From 2050b4b8e68c2de49f98dc6bba0c8cc38949149a Mon Sep 17 00:00:00 2001 From: zhanglei Date: Mon, 19 Jul 2021 15:21:01 +0800 Subject: [PATCH] =?UTF-8?q?yc=E5=BE=81=E4=BF=A1=E6=8E=88=E6=9D=83=E7=94=B5?= =?UTF-8?q?=E5=AD=90=E7=AD=BE=E9=A1=B5=E9=9D=A2=E4=BF=AE=E6=94=B9=E4=B8=BA?= =?UTF-8?q?=E6=89=B9=E9=87=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../person/AccountChangePersonInfo.jsp | 4 +- .../alpha/creditAuth/creditAuthList2.jsp | 321 +++++++++++------- .../alpha/CreditAuthActionNewUtils.java | 66 ++-- .../action/alpha/CreditAuthDeleteAction.java | 52 ++- .../action/alpha/CreditAuthTypesMap.java | 27 ++ .../action/alpha/DocListCreditAuth.java | 105 ++++++ .../commcheck/UserCreditAuthCheck.java | 143 ++++++++ 7 files changed, 547 insertions(+), 171 deletions(-) create mode 100644 src/com/tenwa/channelportal/action/alpha/CreditAuthTypesMap.java create mode 100644 src/com/tenwa/channelportal/action/alpha/DocListCreditAuth.java create mode 100644 src_tenwa/com/tenwa/lease/flow/project/commcheck/UserCreditAuthCheck.java diff --git a/WebContent/Tenwa/ChannelPortal/BusinessChangeApply/AccountChange/person/AccountChangePersonInfo.jsp b/WebContent/Tenwa/ChannelPortal/BusinessChangeApply/AccountChange/person/AccountChangePersonInfo.jsp index ea7ef6e75..7cb215c2b 100644 --- a/WebContent/Tenwa/ChannelPortal/BusinessChangeApply/AccountChange/person/AccountChangePersonInfo.jsp +++ b/WebContent/Tenwa/ChannelPortal/BusinessChangeApply/AccountChange/person/AccountChangePersonInfo.jsp @@ -132,7 +132,7 @@ var flag = window.confirm("已经生成过合同,是否重新制作委托扣款授权书"); if(flag==true){ //废除之前生成过的合同 - var resultStatus = RunJavaMethodTrans("com.tenwa.action.channelportal.businesshanding.contractaward.CreditAuthAward","updateDocContractStatusContract","contract_id=<%=ContractId%>,CustomerType=<%=customerType%>,FlowUnid=<%=applyId%>"); + var resultStatus = RunJavaMethodTrans("com.tenwa.action.channelportal.businesshanding.contractaward.ContractAward","updateDocContractStatusContract","contract_id=<%=ContractId%>,CustomerType=<%=customerType%>,FlowUnid=<%=applyId%>"); if("error"==resultStatus){ AsDebug.showMessage("提示","生成合同失败!","","",true); return; @@ -270,7 +270,7 @@ var flag = window.confirm("修改数据会作废已制作或已签约的合同,是否修改"); if(flag==true){ //废除之前生成过的合同 - var resultStatus = RunJavaMethodTrans("com.tenwa.action.channelportal.businesshanding.contractaward.CreditAuthAward","updateDocContractStatusContract","contract_id=<%=ContractId%>,CustomerType=<%=customerType%>,FlowUnid=<%=applyId%>"); + var resultStatus = RunJavaMethodTrans("com.tenwa.action.channelportal.businesshanding.contractaward.ContractAward","updateDocContractStatusContract","contract_id=<%=ContractId%>,CustomerType=<%=customerType%>,FlowUnid=<%=applyId%>"); if("error"==resultStatus){ AsDebug.showMessage("提示","修改失败!","","",true); return; diff --git a/WebContent/Tenwa/alpha/creditAuth/creditAuthList2.jsp b/WebContent/Tenwa/alpha/creditAuth/creditAuthList2.jsp index b19a10d5f..10ee3d88c 100644 --- a/WebContent/Tenwa/alpha/creditAuth/creditAuthList2.jsp +++ b/WebContent/Tenwa/alpha/creditAuth/creditAuthList2.jsp @@ -14,15 +14,19 @@ ASObjectWindow dwTemp = new ASObjectWindow(CurPage,doTemp,request); dwTemp.Style="1"; //--设置为Grid风格-- dwTemp.ReadOnly = "1"; //只读模式 + dwTemp.MultiSelect=true; //多选 dwTemp.setPageSize(10); dwTemp.genHTMLObjectWindow(sFlowUnid); - + String flag = "false"; + if(CurUser.hasRole("401")){ + flag = "true"; + } //0、是否展示 1、 权限控制 2、 展示类型 3、按钮显示名称 4、按钮解释文字 5、按钮触发事件代码 6、 7、 8、 9、图标,CSS层叠样式 10、风格 String sButtons[][] = { - {"true","All","Button","生成征信授权书","生成征信授权书","createCreditPdf()","","","","btn_icon_generate",""}, - {"true","All","Button","发起电子签约","发起电子签约","signOnLine()","","","","btn_icon_generate",""}, - {"true","All","Button","查看签约状态","查看签约状态","getStatus()","","","","btn_icon_detail",""}, - {"true","All","Button","重发签约短信","重发签约短信","sendMessageAgain()","","","","btn_icon_refresh",""}, + {flag,"All","Button","生成征信授权书","生成征信授权书","createCreditPdf()","","","","btn_icon_generate",""}, + {flag,"All","Button","发起电子签约","发起电子签约","signOnLine()","","","","btn_icon_generate",""}, + {flag,"All","Button","查看签约状态","查看签约状态","getStatus()","","","","btn_icon_detail",""}, + {flag,"All","Button","重发签约短信","重发签约短信","sendMessageAgain()","","","","btn_icon_refresh",""}, }; %><%@include file="/Frame/resources/include/ui/include_list.jspf"%>