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.
151 lines
4.9 KiB
151 lines
4.9 KiB
/***************************************************************
|
|
* <p>ProName:LLClaimLastCaseInput.js</p>
|
|
* <p>Title:赔案流程查询</p>
|
|
* <p>Description:赔案流程查询</p>
|
|
* <p>Copyright:Copyright (c) 2014</p>
|
|
* <p>Company:Sinosoft</p>
|
|
* @author : lixf
|
|
* @version : 1.0
|
|
* @date : 2014-04-20
|
|
****************************************************************/
|
|
var showInfo;
|
|
var tSQLInfo;
|
|
var turnPage = new turnPageClass();
|
|
var turnPage1 = new turnPageClass();
|
|
var turnPage2 = new turnPageClass();
|
|
turnPage2.pageLineNum = 100;
|
|
|
|
/**
|
|
* 查询赔案
|
|
*/
|
|
function queryClick() {
|
|
|
|
tSQLInfo = new SqlClass();
|
|
tSQLInfo.setModule("grp_claim");
|
|
tSQLInfo.setResourceName("g_claim.LLClaimCaseFlowSql");
|
|
if ((document.all('CustomerName').value !=null && document.all('CustomerName').value != "") || (document.all('IDNo').value != null && document.all('IDNo').value != "")){
|
|
tSQLInfo.setSqlId("LLClaimCaseFlowSql2");
|
|
tSQLInfo.addSubPara(document.all('RgtNo').value);
|
|
tSQLInfo.addSubPara(document.all('CustomerName').value);
|
|
tSQLInfo.addSubPara(document.all('IDNo').value);
|
|
tSQLInfo.addSubPara(document.all('FlowState').value);
|
|
tSQLInfo.addSubPara(mManageCom);
|
|
tSQLInfo.addSubPara(document.all('RgtNo').value);
|
|
tSQLInfo.addSubPara(document.all('CustomerName').value);
|
|
tSQLInfo.addSubPara(document.all('IDNo').value);
|
|
tSQLInfo.addSubPara(mManageCom);
|
|
}else {
|
|
tSQLInfo.setSqlId("LLClaimCaseFlowSql");
|
|
tSQLInfo.addSubPara(document.all('RgtNo').value);
|
|
tSQLInfo.addSubPara(document.all('CustomerName').value);
|
|
tSQLInfo.addSubPara(document.all('IDNo').value);
|
|
tSQLInfo.addSubPara(document.all('FlowState').value);
|
|
tSQLInfo.addSubPara(mManageCom);
|
|
tSQLInfo.addSubPara(document.all('RgtNo').value);
|
|
tSQLInfo.addSubPara(mManageCom);
|
|
}
|
|
turnPage1.queryModal(tSQLInfo.getString(),LastCaseListGrid, 2);
|
|
if (!turnPage1.strQueryResult) {
|
|
i18nAlert("未查询到符合条件的查询结果!", "LIS-03016");
|
|
return false;
|
|
}
|
|
}
|
|
|
|
/**
|
|
* 查询赔案轨迹
|
|
*/
|
|
function showTrace() {
|
|
|
|
turnPage2.pageLineNum = 10;
|
|
var i = LastCaseListGrid.getSelNo()-1;
|
|
var tRegisterNo = LastCaseListGrid.getRowColData(i,4);
|
|
|
|
tSQLInfo = new SqlClass();
|
|
tSQLInfo.setModule("grp_claim");
|
|
tSQLInfo.setResourceName("g_claim.LLClaimCaseFlowSql");
|
|
tSQLInfo.setSqlId("LLClaimCaseFlowSql1");
|
|
|
|
tSQLInfo.addSubPara(tRegisterNo);
|
|
tSQLInfo.addSubPara(tRegisterNo);
|
|
tSQLInfo.addSubPara(tRegisterNo);
|
|
tSQLInfo.addSubPara(tRegisterNo);//add by renwj 2025-9-3 特殊立案
|
|
|
|
turnPage2.queryModal(tSQLInfo.getString(),LastCaseFlowGrid, 2);
|
|
}
|
|
|
|
/**
|
|
* 返回
|
|
*/
|
|
function goBack() {
|
|
top.close();
|
|
}
|
|
|
|
/**
|
|
* 提交数据
|
|
*/
|
|
function submitForm() {
|
|
|
|
var showStr = i18nMessage("正在处理数据,请您稍候并且不要修改屏幕上的值或链接其他页面!", "LIS-04535");
|
|
var urlStr = "../common/jsp/MessagePage.jsp?picture=C&content="+ encodeURIComponent(showStr);
|
|
showInfo = showDialogWindow(urlStr, 0);
|
|
ajaxSubmit2(document.getElementById("fm"));
|
|
}
|
|
|
|
/**
|
|
* 提交数据后返回操作
|
|
*/
|
|
function afterSubmit(FlagStr, content) {
|
|
|
|
if (typeof(showInfo)=="object" && typeof(showInfo)!="unknown") {
|
|
showInfo.close();
|
|
}
|
|
|
|
if (FlagStr=="Fail") {
|
|
var urlStr = "../common/jsp/MessagePage.jsp?picture=C&content="+ encodeURIComponent(content);
|
|
showDialogWindow(urlStr, 1);
|
|
} else {
|
|
var urlStr = "../common/jsp/MessagePage.jsp?picture=S&content="+ encodeURIComponent(content);
|
|
showDialogWindow(urlStr, 1);
|
|
}
|
|
}
|
|
//数据导出
|
|
function exportData() {
|
|
|
|
if (!i18nConfirm("确认要导出数据?", "LIS-00694")) {
|
|
return false;
|
|
}
|
|
|
|
//报表标题
|
|
var tTitle = "批次号^|案件类型^|受理机构^|"
|
|
+"案件号^|客户号^|出险人姓名^|证件号码^|立案日期^|流程状态^|当前操作人^|"
|
|
+"索赔金额^|";
|
|
|
|
tSQLInfo = new SqlClass();
|
|
tSQLInfo.setModule("grp_claim");
|
|
tSQLInfo.setResourceName("g_claim.LLClaimCaseFlowSql");
|
|
tSQLInfo.setSqlId("LLClaimCaseFlowSql");
|
|
|
|
// tSQLInfo.addSubPara(document.all('GrpRgtNo').value);
|
|
// tSQLInfo.addSubPara(document.all('GrpName').value);
|
|
// tSQLInfo.addSubPara(document.all('AcceptCom').value);
|
|
// tSQLInfo.addSubPara(document.all('CustomerName').value);
|
|
// tSQLInfo.addSubPara(document.all('IDNo').value);
|
|
// tSQLInfo.addSubPara(document.all('RgtNo').value);
|
|
// tSQLInfo.addSubPara(document.all('FlowState').value);
|
|
// tSQLInfo.addSubPara(document.all('ClaimUserCode').value);
|
|
// tSQLInfo.addSubPara(document.all('PageNo').value);
|
|
// tSQLInfo.addSubPara(mManageCom);
|
|
|
|
tSQLInfo.addSubPara(document.all('RgtNo').value);
|
|
tSQLInfo.addSubPara(document.all('CustomerName').value);
|
|
tSQLInfo.addSubPara(document.all('IDNo').value);
|
|
tSQLInfo.addSubPara(document.all('FlowState').value);
|
|
/* tSQLInfo.addSubPara(document.all('ClaimUserCode').value);
|
|
tSQLInfo.addSubPara(document.all('AcceptCom').value);*/
|
|
|
|
var tQuerySQL = tSQLInfo.getString();
|
|
|
|
fm.action = "../API/grp_common/jsp/QueryDataExport/EXPORT";
|
|
|
|
ajaxSubmit2(document.getElementById("fm"), null, null, true, tTitle, tQuerySQL);
|
|
}
|
|
|