From da69fe52a1e6e137ab2180247a2c02f8c0139caa Mon Sep 17 00:00:00 2001 From: liuz Date: Tue, 31 Jul 2018 17:37:36 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E8=B4=A6=E6=88=B7=E4=BF=A1?= =?UTF-8?q?=E6=81=AF=E8=AF=A6=E6=83=85=E9=A1=B5=E9=9D=A2=E4=B8=8E=E5=8F=AA?= =?UTF-8?q?=E8=AF=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../LDistributorAccountList.jsp | 14 +++++++++++++- .../DistributorChange/LDistributorAccountList.jsp | 2 +- .../LDistributorChangeAccountHis.jsp | 2 +- 3 files changed, 15 insertions(+), 3 deletions(-) diff --git a/WebContent/Tenwa/Lease/DistributorManage/DistributorApproval/LDistributorAccountList.jsp b/WebContent/Tenwa/Lease/DistributorManage/DistributorApproval/LDistributorAccountList.jsp index eaabd9fd4..4bcea2eea 100644 --- a/WebContent/Tenwa/Lease/DistributorManage/DistributorApproval/LDistributorAccountList.jsp +++ b/WebContent/Tenwa/Lease/DistributorManage/DistributorApproval/LDistributorAccountList.jsp @@ -47,8 +47,8 @@ }else{ sButtons=new String[][] { {temp,"All","Button","新增","新增","newRecord()","","","","btn_icon_add",""}, - //{temp,"","Button","详情","查看/修改详情","view()","","","","btn_icon_detail"}, {temp,"","Button","修改","修改","viewAndEdit()","","","","btn_icon_detail",""}, + {temp,"","Button","详情","查看/修改详情","view()","","","","btn_icon_detail"}, //{"true","All","Button","删除","删除","if(confirm('确实要删除吗?'))as_delete(0)","","","","btn_icon_delete",""}, {temp,"All","Button","删除","删除","if(confirm('确实要删除吗?'))as_delete(0)","","","","btn_icon_delete",""}, }; @@ -80,5 +80,17 @@ },"修改"); } + + function view(){ + var sUrl = "/Tenwa/Lease/DistributorManage/DistributorApproval/LDistributorAccountInfo.jsp"; + var sPara = getItemValue(0,getRow(0),'id'); + if(typeof(sPara)=="undefined" || sPara.length==0 ){ + alert("参数不能为空!"); + return ; + } + AsDialog.PopView(sUrl,"id="+sPara+"&flowunid="+"<%=sFlowUnid%>"+"&RightType=ReadOnly","dialogWidth=900px;dialogHeight=200px;resizable=no;scrollbars=no;status:yes;maximize:no;help:no;",function(){ + reloadSelf(); + },"详情"); + } <%@ include file="/Frame/resources/include/include_end.jspf"%> \ No newline at end of file diff --git a/WebContent/Tenwa/Lease/DistributorManage/DistributorChange/LDistributorAccountList.jsp b/WebContent/Tenwa/Lease/DistributorManage/DistributorChange/LDistributorAccountList.jsp index 702c62000..eb69c7cdf 100644 --- a/WebContent/Tenwa/Lease/DistributorManage/DistributorChange/LDistributorAccountList.jsp +++ b/WebContent/Tenwa/Lease/DistributorManage/DistributorChange/LDistributorAccountList.jsp @@ -58,7 +58,7 @@ } AsDialog.PopView(sUrl,"id="+sPara+"&flowunid="+"<%=sFlowUnid%>","dialogWidth=900px;dialogHeight=200px;resizable=no;scrollbars=no;status:yes;maximize:no;help:no;",function(){ reloadSelf(); - },"详情"); + },"修改"); } <%@ include file="/Frame/resources/include/include_end.jspf"%> \ No newline at end of file diff --git a/WebContent/Tenwa/Lease/DistributorManage/DistributorChange/LDistributorChangeAccountHis.jsp b/WebContent/Tenwa/Lease/DistributorManage/DistributorChange/LDistributorChangeAccountHis.jsp index 75ad47049..9a9efaba5 100644 --- a/WebContent/Tenwa/Lease/DistributorManage/DistributorChange/LDistributorChangeAccountHis.jsp +++ b/WebContent/Tenwa/Lease/DistributorManage/DistributorChange/LDistributorChangeAccountHis.jsp @@ -37,7 +37,7 @@ alert("参数不能为空!"); return ; } - AsDialog.PopView(sUrl,"id="+sPara,"dialogWidth=900px;dialogHeight=200px;resizable=no;scrollbars=no;status:yes;maximize:no;help:no;",function(){ + AsDialog.PopView(sUrl,"id="+sPara+"&RightType=ReadOnly","dialogWidth=900px;dialogHeight=200px;resizable=no;scrollbars=no;status:yes;maximize:no;help:no;",function(){ //reloadSelf(); },"详情"); }