var showInfo; var tSQLInfo; var turnPage = new turnPageClass(); var turnPage1 = new turnPageClass(); var turnPage2 = new turnPageClass(); /* * 提取按钮 */ function extractClick(){ if(!verifyDiv("divMissFind")){ return false; } var CaseCount = fm.CaseCount.value; if(CaseCount == null || CaseCount === ""){ i18nAlert("请录入提取案件数!", ""); return; } fm.Operate.value="EXTRACT"; submitForm(); } /* * 查询提取结果列表 */ function selectLLReviewExtractInfo(){ tSQLInfo = new SqlClass(); tSQLInfo.setModule("grp_claim"); tSQLInfo.setResourceName("g_claim.LLReviewExtractSql"); tSQLInfo.setSqlId("LLReviewExtractSql0"); turnPage.queryModal(tSQLInfo.getString(),ExtractResultGrid, 2); if (!turnPage.strQueryResult) { //i18nAlert("未查询到符合条件的查询结果!", "LIS-03016"); return false; } } /* * 查询审查已分配列表 */ function selectReviewOverAllocationInfo(){ tSQLInfo = new SqlClass(); tSQLInfo.setModule("grp_claim"); tSQLInfo.setResourceName("g_claim.LLReviewExtractSql"); tSQLInfo.setSqlId("LLReviewExtractSql1"); turnPage.queryModal(tSQLInfo.getString(),ReviewOverAllocationGrid, 2); if (!turnPage.strQueryResult) { //i18nAlert("未查询到符合条件的查询结果!", "LIS-03016"); return false; } } /* * 查询提取结果 */ // function getLLReviewExtractInfo(tExtractPatchNo){ // // tSQLInfo = new SqlClass(); // tSQLInfo.setModule("grp_claim"); // tSQLInfo.setResourceName("g_claim.LLReviewExtractSql"); // tSQLInfo.setSqlId("LLReviewExtractSql0"); // tSQLInfo.addSubPara(tExtractPatchNo); // turnPage.queryModal(tSQLInfo.getString(),ExtractResultGrid, 2); // if (!turnPage.strQueryResult) { // i18nAlert("未查询到符合条件的查询结果!", "LIS-03016"); // return false; // } // } /* * 审查分配 */ function reviewAllocationClick() { var tSelNo = ExtractResultGrid.getSelNo()-1; if (tSelNo<0) { i18nAlert("请先选择提取结果中的数据!", ""); return false; } fm.ExtractPatchNo.value = ExtractResultGrid.getRowColData(tSelNo, 1);//提取批次号 var ttExtractCount = ExtractResultGrid.getRowColData(tSelNo, 2);//提取赔案总数 fm.ExtractCount.value = ttExtractCount; var tExtractCount = parseInt(ttExtractCount); var tempCount = 0; if (ReviewAllocationGrid.getChkCount()<1) { i18nAlert("请勾选审查分配列表信息", ""); return false; } for (var i=0; i tExtractCount){ i18nAlert("分配案件数不能大于提取案件数!", ""); return false; } fm.Operate.value="Allocation"; submitForm(); } /* * 审查分配取回 */ function getAllocationClick() { if (ReviewOverAllocationGrid.getChkCount()<1) { i18nAlert("请勾选审查已分配列表信息", ""); return false; } fm.Operate.value="GetAllocation"; submitForm(); } /* * 提交数据 */ function submitForm() { var showStr = i18nMessage("正在处理数据,请您稍候并且不要修改屏幕上的值或链接其他页面!", "LIS-04535"); 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(); ajaxSubmit2(document.getElementById("fm"),afterExtractClick); } function afterExtractClick(flagStr,content,result){ afterSubmit(flagStr, content, result.PatchNo); } /** * 提交数据后返回操作 */ function afterSubmit(FlagStr, content, PatchNo) { 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(); initForm(); //getLLReviewExtractInfo(PatchNo); } }