You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
FZ/lis-module-grp-nb-web/src/main/webapp/g_app/GrpRiskQueryThreeInput.js

178 lines
7.9 KiB

/***************************************************************
* <p>ProName:LCPropDownLoadInput.js</p>
* <p>Title:客户风险等级查询</p>
* <p>Description:客户风险等级查询</p>
* <p>Copyright:Copyright (c) 2012</p>
* <p>Company:Sinosoft</p>
* @author : 蔡云聪
* @version : 8.0
* @date : 2014-04-22
****************************************************************/
var showInfo;
var mDebug="1";
var tSaveFlag = "0";
var turnPage = new turnPageClass();
var turnPage1 = new turnPageClass();
var turnPage2 = new turnPageClass();
var mOperate = "";
var mySql=new SqlClass();
//点击定量MulLine单选按钮
function clicklxgreatraceGrid(){
var selno=lxgreatraceGrid.getSelNo()-1;
var BatchNo = lxgreatraceGrid.getRowColData(selno,4);
window.location.href="./GrpRiskQueryFourInput.jsp?BatchNo="+BatchNo+"&flag=0";
}
//点击定性MulLine单选按钮
function clicklxgrevdealGrid(){
var selno=lxgrevdealGrid.getSelNo()-1;
var BatchNo = lxgrevdealGrid.getRowColData(selno,8);
var quanTrailId = lxgrevdealGrid.getRowColData(selno,9);
window.location.href="./GrpRiskQueryFourInput.jsp?BatchNo="+BatchNo+"&flag=1"+"&quanTrailId="+quanTrailId;
}
function easyQueryHistory(){
var mGrpName = GrpName;
window.location.href="./GrpRiskQueryTwoInput.jsp?GrpName="+mGrpName;
}
function easyQueryClick()
{
// lxgreatraceGrid.setRowColData(0,1,"18.25");
// lxgreatraceGrid.setRowColData(0,2,"低风险");
// lxgreatraceGrid.setRowColData(0,3,"2018-09-08");
//
// lxgrevdealGrid.setRowColData(0,1,"撒旦撒");
// lxgrevdealGrid.setRowColData(0,2,"较高风险");
// lxgrevdealGrid.setRowColData(0,3,"2025-02-13");
// lxgrevdealGrid.setRowColData(0,4,"001");
// lxgrevdealGrid.setRowColData(0,5,"2025-02-13");
// lxgrevdealGrid.setRowColData(0,6,"001");
// lxgrevdealGrid.setRowColData(0,7,"2025-02-13");
var tSQLInfo = new SqlClass();
tSQLInfo.setResourceName("g_app.GrpHighRiskQuerySql");
tSQLInfo.setSqlId("GrpHighRiskQuerySql8");
tSQLInfo.setModule("grp_nb");
tSQLInfo.addSubPara(id);
turnPage1.queryModal(tSQLInfo.getString(),lxgreatraceGrid);
var tSQLInfo = new SqlClass();
tSQLInfo.setResourceName("g_app.GrpHighRiskQuerySql");
tSQLInfo.setSqlId("GrpHighRiskQuerySql9");
tSQLInfo.setModule("grp_nb");
tSQLInfo.addSubPara(id);
turnPage2.queryModal(tSQLInfo.getString(),lxgrevdealGrid);
}
function clickRiskGrid(){
var selno=RiskGrid.getSelNo()-1;
var ManageCom = RiskGrid.getRowColData(selno,1);
var AppntNo = RiskGrid.getRowColData(selno,2);
var GrpName = RiskGrid.getRowColData(selno,3);
var CusRiskLevel = RiskGrid.getRowColData(selno,4);
var AssType = RiskGrid.getRowColData(selno,5);
if(GrpName == null || GrpName == ""){
alert("请先查询!");
return;
}
window.open("./GrpRiskQueryTwo.jsp?GrpName="+GrpName+"&ManageCom="+ManageCom+"&AppntNo="+AppntNo+"&CusRiskLevel="+CusRiskLevel+"&AssType="+AssType);
}
/**
* 重置录入框
*/
function submitFunc(){
var showStr=i18nMessage("正在保存数据,请您稍候并且不要修改屏幕上的值或链接其他页面", "LIS-04525");
var urlStr="../common/jsp/MessagePage.jsp?picture=C&content=" + encodeURIComponent(showStr);
//showInfo=window.showModelessDialog(urlStr,window,"status:no;help:0;close:0;dialogWidth:550px;dialogHeight:250px");
var name='提示'; //网页名称,可为空;
var iWidth=550; //弹出窗口的宽度;
var iHeight=250; //弹出窗口的高度;
var iTop = (window.screen.availHeight - iHeight) / 2; //获得窗口的垂直位置
var iLeft = (window.screen.availWidth - iWidth) / 2; //获得窗口的水平位置
showInfo = window.open (urlStr,name, "status=no,toolbar=no,menubar=no,location=no,resizable=no,scrollbars=0,titlebar=no,height="+ iHeight+",width="+iWidth+",innerHeight="+iHeight+",innerWidth=" +iWidth+",left="+iLeft+",top="+iTop,false);
showInfo.focus();
}
/**
* 提交数据后返回操作
*/
function afterSubmit(FlagStr, content, vGrpPropNo) {
if (typeof(showInfo)=="object" && typeof(showInfo)!="unknown") {
showInfo.close();
}
if (FlagStr=="Fail") {
var urlStr = "../common/jsp/MessagePage.jsp?picture=C&content="+ encodeURIComponent(content);
//showModalDialog(urlStr,window,"status:no;help:0;close:0;dialogWidth:550px;dialogHeight:250px");
var name='提示'; //网页名称,可为空;
var iWidth=550; //弹出窗口的宽度;
var iHeight=250; //弹出窗口的高度;
var iTop = (window.screen.availHeight - iHeight) / 2; //获得窗口的垂直位置
var iLeft = (window.screen.availWidth - iWidth) / 2; //获得窗口的水平位置
showInfo = window.open (urlStr,name, "status=no,toolbar=no,menubar=no,location=no,resizable=no,scrollbars=0,titlebar=no,height="+ iHeight+",width="+iWidth+",innerHeight="+iHeight+",innerWidth=" +iWidth+",left="+iLeft+",top="+iTop,false);
showInfo.focus();
} else {
var urlStr = "../common/jsp/MessagePage.jsp?picture=S&content="+ encodeURIComponent(content);
//showModalDialog(urlStr,window,"status:no;help:0;close:0;dialogWidth:550px;dialogHeight:250px");
var name='提示'; //网页名称,可为空;
var iWidth=550; //弹出窗口的宽度;
var iHeight=250; //弹出窗口的高度;
var iTop = (window.screen.availHeight - iHeight) / 2; //获得窗口的垂直位置
var iLeft = (window.screen.availWidth - iWidth) / 2; //获得窗口的水平位置
showInfo = window.open (urlStr,name, "status=no,toolbar=no,menubar=no,location=no,resizable=no,scrollbars=0,titlebar=no,height="+ iHeight+",width="+iWidth+",innerHeight="+iHeight+",innerWidth=" +iWidth+",left="+iLeft+",top="+iTop,false);
showInfo.focus();
}
}
function pIafterSubmit(FlagStr, content, vGrpPropNo){
if (typeof(showInfo)=="object" && typeof(showInfo)!="unknown") {
showInfo.close();
}
if (FlagStr=="Fail") {
var urlStr = "../common/jsp/MessagePage.jsp?picture=C&content="+ encodeURIComponent(content);
//showModalDialog(urlStr,window,"status:no;help:0;close:0;dialogWidth:550px;dialogHeight:250px");
var name='提示'; //网页名称,可为空;
var iWidth=550; //弹出窗口的宽度;
var iHeight=250; //弹出窗口的高度;
var iTop = (window.screen.availHeight - iHeight) / 2; //获得窗口的垂直位置
var iLeft = (window.screen.availWidth - iWidth) / 2; //获得窗口的水平位置
showInfo = window.open (urlStr,name, "status=no,toolbar=no,menubar=no,location=no,resizable=no,scrollbars=0,titlebar=no,height="+ iHeight+",width="+iWidth+",innerHeight="+iHeight+",innerWidth=" +iWidth+",left="+iLeft+",top="+iTop,false);
showInfo.focus();
} else {
fm.GrpPropNoQ.value= vGrpPropNo;
queryPropInfo();
var tMissionID = PropInfoGrid.getRowColData(0, 9);
var tSubMissionID = PropInfoGrid.getRowColData(0, 10);
var tActivityID = PropInfoGrid.getRowColData(0, 11);
var tGrpPropNo = PropInfoGrid.getRowColData(0, 1);
var tQuotNo = PropInfoGrid.getRowColData(0, 2);
var tContPlanType = PropInfoGrid.getRowColData(0, 12);
var tQuotType = PropInfoGrid.getRowColData(0, 13);
//跳转到新单录入界面
var strUrl ="./LCGrpContPolESMain.jsp?GrpContNo="+ tGrpPropNo+"&GrpPropNo="+tGrpPropNo+"&ContPlanType="+tContPlanType+"&QuotNo="+tQuotNo+"&QuotType="+tQuotType
+"&MissionID="+tMissionID+"&ActivityID="+tActivityID+"&SubMissionID="+tSubMissionID+"&Flag=0&ScanFlag=1&BussType=G_NB&SubType=21001,21002,21003,21004,21005,21006,21007,21008,21009";
window.open(strUrl,'LCGrpContPolESMain','width='+screen.availWidth+',height='+screen.availHeight+',channelmode=yes,top=0,left=0,toolbar=0,location=0,directories=0,menubar=0,scrollbars=1,resizable=1,status=0');
}
}