公安身份信息核验,如果姓名、身份证信息不一致,字体标红

This commit is contained in:
zhangjun 2019-11-30 20:30:21 +08:00
parent 35b75f3414
commit 630048e548
2 changed files with 16 additions and 2 deletions

View File

@ -8,12 +8,15 @@
String sFlowUnid = CurPage.getParameter("FlowUnid");//流程编号
String fullName = CurPage.getParameter("fullName");//流程编号
String CertId = CurPage.getParameter("CertId");//流程编号
//String Result = CurPage.getParameter("result");//流程编号
ASObjectModel doTemp = new ASObjectModel("LC_IDENTITY_CHECK_RESULT_TEMP");
ASObjectWindow dwTemp = new ASObjectWindow(CurPage,doTemp,request);
String Result = Sqlca.getString("select result from LC_IDENTITY_CHECK_RESULT_TEMP where flowunid = '"+sFlowUnid+"'");
dwTemp.Style="1"; //--设置为Grid风格--
dwTemp.ReadOnly = "1"; //只读模式
dwTemp.setPageSize(10);
dwTemp.genHTMLObjectWindow(sFlowUnid+","+fullName+","+CertId);
dwTemp.genHTMLObjectWindow(sFlowUnid+","+fullName+","+CertId+","+Result);
//0、是否展示 1、 权限控制 2、 展示类型 3、按钮显示名称 4、按钮解释文字 5、按钮触发事件代码 6、 7、 8、 9、图标CSS层叠样式 10、风格
String sButtons[][] = {
@ -39,5 +42,16 @@
alert('数据清空失败!');
}
}
//校验身份信息不一致时,信息标红
var jq_trs = $("tr[id^=TR_Right]")
for(var i=0; i<jq_trs.length; i++){
var jq_tr = jq_trs.eq(i);
//console.info(jq_tr[0]);
var jq_tds=jq_tr.find('td');
if(jq_tds.eq(1).find('span').text() == '身份证校验结果:不一致,姓名校验结果:不一致'){
jq_tds.eq(1).find('span').css('color','red')
}
}
</script>
<%@ include file="/Frame/resources/include/include_end.jspf"%>

View File

@ -5124,6 +5124,7 @@
<attribute name="acc_number" label="银行账号" type="STRING" length="200"/>
<attribute name="branch_title" label="开户分行" type="STRING" length="200"/>
<attribute name="BANK_NAME" label="银行名称" type="STRING" length="200"/>
<attribute name="NEW_DATE" label="新增时间" type="STRING" length="32"/>
<attribute name="start_time" label="开始时间" type="STRING" length="32"/>
<attribute name="end_time" label="截止时间" type="STRING" length="32"/>
<attribute name="is_enable" label="是否启用" type="STRING" length="2"/>
@ -5137,7 +5138,6 @@
<manager>
<managerProperties>
<property name="table" value="lb_many_subject" />
<property name="createKey" value="true" />
</managerProperties>
</manager>
</class>