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.
 
 
 

64 lines
2.2 KiB

/***************************************************************
* <p>ProName:LinqQuery.js</p>
* <p>Title:查看调查</p>
* <p>Description:查看调查</p>
* <p>Copyright:Copyright (c) 2014</p>
* <p>Company:Sinosoft</p>
* @author : nsk
* @version : 1.0
* @date : 2024-11-13
****************************************************************/
var showInfo;
var turnPage = new turnPageClass();
function queryInqQueryGrid(){
tSQLInfo = new SqlClass();
tSQLInfo.setModule("grp_claim");
tSQLInfo.setResourceName("g_claim.LLClaimPreinvestSql");
tSQLInfo.setSqlId("LLClaimPreinvestSql7");
tSQLInfo.addSubPara(mRgtNo);
turnPage.queryModal(tSQLInfo.getString(),InqQueryGrid,1,0);
}
function showApplyDetails(){
var tSelNo = InqQueryGrid.getSelNo()-1;
if (tSelNo<0) {
i18nAlert("请选中一条调查信息", "");
return false;
}
var inqNo = InqQueryGrid.getRowColData(tSelNo,1);
var RptNo = InqQueryGrid.getRowColData(tSelNo,2);
var RgtNo = InqQueryGrid.getRowColData(tSelNo,3);
var applytype = InqQueryGrid.getRowColData(tSelNo,8);
var clmno = "";
if (applytype == "前置调查"){
clmno = RptNo;
}
else {
clmno = RgtNo;
}
tSQLInfo = new SqlClass();
tSQLInfo.setModule("grp_claim");
tSQLInfo.setResourceName("g_claim.LLClaimPreinvestSql");
tSQLInfo.setSqlId("LLClaimPreinvestSql8");
tSQLInfo.addSubPara(clmno);
tSQLInfo.addSubPara(inqNo);
var tSSRS = easyExecSql(tSQLInfo.getString())
var userStr= "LLClaimCheckSurveyInput.jsp?State=0&InqNo="+inqNo+"&RgtNo="+clmno+"&mode=5"+"&CustomerNo="+tSSRS[0][1];
var name='提示'; //网页名称,可为空;
var iWidth=550; //弹出窗口的宽度;
var iHeight=250; //弹出窗口的高度;
var iTop = (window.screen.availHeight - iHeight) / 2; //获得窗口的垂直位置
var iLeft = (window.screen.availWidth - iWidth) / 2; //获得窗口的水平位置
var showInfo = window.open (userStr,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();
}