123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787 |
- <!-- 街办审核页面 -->
- <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
- <script type="text/javascript">
-
- var securityPersonApplyId = null;
-
- var familyNum = 0;
-
- var securityNum = 0;
- var isLive;//初审入户调查
- var type;
- var addType;
- var state;
-
- /**家庭关系格式*/
- var relativeFormatter = function(value , row , index){
- var relative = "";
- for(var nItem = 0; nItem < relativeObj.length; nItem++ ){
- if(relativeObj[nItem].code == row.relative){
- relative = relativeObj[nItem].value;
- break;
- }
- }
- return relative;
- };
-
- /**婚姻状况格式*/
- var maritalStatusFormatter = function(value , row , index){
- var maritalStatus = "";
- for(var nItem = 0; nItem < maritalStatusObj.length; nItem++ ){
- if(maritalStatusObj[nItem].code == row.maritalStatus){
- maritalStatus = maritalStatusObj[nItem].value;
- break;
- }
- }
- return maritalStatus;
- };
-
- /**是否在保障范围内格式*/
- var yesOrNoFormatter = function(value , row , index){
- var yesOrNo = "";
- for(var nItem = 0; nItem < yesOrNoObj.length; nItem++ ){
- if(yesOrNoObj[nItem].code == value){
- yesOrNo = yesOrNoObj[nItem].value;
- break;
- }
- }
- return yesOrNo;
- };
- var task_submit = function(id){
- if($("#opinion_update").val()==2){
- $.messager.confirm('提示', '确定审核不符合吗?', function(r){
- if(r){
- if($("#remark_update").val()!=''){
- submit1();
- }else{
- $.messager.alert("提醒","请填写不符合备注");
- return false;
- }
- }
- });
- }else{
- submit1();
- }
- }
-
- function submit1(){
- parent.$.messager.progress({
- title : '提示',
- text : '数据处理中,请稍候....'
- });
- var rows = $("#dg_detail_1").datagrid("getRows");
- familyNum = rows.length;
- $("#familyNum_update").val(familyNum);
- var ids = new Array();
- for(var i=0,l=rows.length;i<l;i++){
- if(rows[i].isInRange==1){
- securityNum++;
- }
- if(typeof(rows[i].isInRange)=="undefined"){
- var edIsUrban = $('#dg_detail_1').datagrid('getEditor', {index:i,field:'isUrban'});
- var edIsInRange = $('#dg_detail_1').datagrid('getEditor', {index:i,field:'isInRange'});
- if(edIsUrban!=null&&edIsInRange!=null){
- var isUrban = $(edIsUrban.target).combobox('getValue');
- var isInRange = $(edIsInRange.target).combobox('getValue');
- if(isInRange==1){
- securityNum++;
- }
- data = {"securityPersonApplyRelative.securityPersonApply.id":securityPersonApplyId ,
- "securityPersonApplyRelative.isUrban":isUrban ,
- "securityPersonApplyRelative.isInRange":isInRange ,
- "securityPersonApplyRelative.id":rows[i].id
- };
- $.ajax({
- type: "post",//使用post方法访问后台
- dataType: "json",//返回json格式的数据
- async: false,
- url: whzl.basePath+"/securityPersonApply2Action_mergeSecurityPersonApplyRelative",//要访问的后台地址
- data:data,
- error: function(msg){//msg为返回的数据,在这里做数据绑定
- $.messager.alert("提示","更新失败!");
- },
- success:function(msg){
- var parseResult = $.parseJSON(msg);
- if(msg.success){
- $("#securityPersonApplyDataGrid").datagrid("reload");
- }
- }
- });
- }else{
- parent.$.messager.progress('close');
- $.messager.alert("提醒","请审核家庭成员信息");
- return false;
- }
- }
- }
- $("#securityNum_update").val(securityNum);
- var str="2,4,";
- if(isLive==undefined && addType==2 && str.indexOf(type)!=-1 && state==2){
- parent.$.messager.progress('close');
- $.messager.alert("提醒","请上传入户调查信息");
- return false;
- }else{
- $('#securityPersonApplyForm').form('submit',{
- url : whzl.basePath+'/securityPersonApplyAction_reviewCommunity',
- success : function(result){
- var parseResult = $.parseJSON(result);
- if(parseResult.success){
- $("#reviewDialog").dialog("close");
- if($('#securityPersonApplyDataGrid') != null){
- $('#securityPersonApplyDataGrid').datagrid('reload');
- }
- if($('#taskDataGrid') != null){
- $('#taskDataGrid').datagrid('reload');
- }
- parent.$.messager.progress('close');
- }else{
- parent.$.messager.progress('close');
- $.messager.alert("提示",parseResult.message);
- }
- }
- });
- }
- securityNum = 0;
- }
-
- var task_load = function(id){
- $("#tabs_detail_1").tabs("select",1);
- securityPersonApplyId = id;
- $("#securityPersonApplyId_update").val(id)
- $.ajax({
- type: "post",//使用get方法访问后台
- dataType: "json",//返回json格式的数据
- url: "securityPersonApply2Action_findById",//要访问的后台地址
- data: "securityPersonApply.id="+id,//要发送的数据
- complete :function(){$("#load").hide();},//AJAX请求完成时隐藏loading提示
- success: function(msg){//msg为返回的数据,在这里做数据绑定
- isLive = msg.obj.isLive;
- type = msg.obj.type;
- addType = msg.obj.addType;
- state = msg.obj.state;
- //基本信息
- $("#name_review").text(msg.obj.securityPersonName);
- $("#idCard_review").text(msg.obj.securityPersonIdCard);
- var maritalStatus = "";
- for(var nItem = 0; nItem < maritalStatusObj.length; nItem++ ){
- if(maritalStatusObj[nItem].code == msg.obj.maritalStatus){
- maritalStatus = maritalStatusObj[nItem].value;
- }
- }
- $("#maritalStatus_review").text(maritalStatus);
- $("#phone_review").text(msg.obj.phone);
- $("#company_review").text(msg.obj.company);
- $("#workPlace_review").text(msg.obj.workPlace)
- $("#residence_review").text(msg.obj.applyDepartmentName+"-"+msg.obj.community);
- $("#temporaryDate_review").text(dealDate(msg.obj.temporaryDate));
- $("#securityNum_review").text(msg.obj.securityNum);
- $("#familyNum_review").text(msg.obj.familyNum);
- $("#avgIncome_review_th").show();
- $("#avgIncome_review_td").show();
- $("#avgIncome_review").text(msg.obj.avgIncome);
- var applyType = "";
- for(var nItem = 0; nItem < applyTypeObj.length; nItem++ ){
- if(applyTypeObj[nItem].code == msg.obj.applyType){
- applyType = applyTypeObj[nItem].value;
- }
- }
- $("#applyType_review").text(applyType);
-
- //家庭住房情况
- $("#existArea_detail_1").text(msg.obj.existArea);
- $("#avgArea_detail_1").text(msg.obj.avgArea);
- if(msg.obj.diffcultType=="2"){
- $("#area_review_tr").show();
- }
- var education;
- for(var nItem = 0; nItem < educationObj.length; nItem++ ){
- if(educationObj[nItem].code == msg.obj.education){
- education = educationObj[nItem].value;
- }
- }
- $("#education_detail_1").text(education);
- $("#graduationDate_detail_1").text(dealDate(msg.obj.graduationDate));
- //是否残疾人
- var isDisability;
- for(var nItem = 0; nItem < yesOrNoObj.length; nItem++ ){
- if(yesOrNoObj[nItem].code == msg.obj.isDisability){
- isDisability = yesOrNoObj[nItem].value;
- }
- }
- $("#isDisability_review").text(isDisability);
-
- //是否退伍军人
- var isExServicemen;
- for(var nItem = 0; nItem < yesOrNoObj.length; nItem++ ){
- if(yesOrNoObj[nItem].code == msg.obj.isExServicemen){
- isExServicemen = yesOrNoObj[nItem].value;
- }
- }
- $("#isExServicemen_review").text(isExServicemen);
-
- //社保
- var pension;
- for(var nItem = 0; nItem < yesOrNoObj.length; nItem++ ){
- if(yesOrNoObj[nItem].code == msg.obj.pension){
- pension = yesOrNoObj[nItem].value;
- }
- }
- $("#pension_review").text(pension);
- $("#pensionDate_review").text(msg.obj.pensionDate);
-
- var isAssignmentHouse = "";
- var hasUsed = "";
- for(var nItem = 0; nItem < yesOrNoObj.length; nItem++ ){
- if(yesOrNoObj[nItem].code == msg.obj.isAssignmentHouse){
- isAssignmentHouse = yesOrNoObj[nItem].value;
- }
- if(yesOrNoObj[nItem].code == msg.obj.hasUsed){
- hasUsed = yesOrNoObj[nItem].value;
- }
- }
- $("#isAssignmentHouse_detail_1").text(isAssignmentHouse);
- $("#hasUsed_detail_1").text(hasUsed);
-
- for(var nItem = 0; nItem < propertyTypeObj.length; nItem++ ){
- if(propertyTypeObj[nItem].code == msg.obj.currentHouseSituation){
- currentHouseSituation = propertyTypeObj[nItem].value;
- }
- }
- $("#currentHouseSituation_detail_1").text(currentHouseSituation);
- currentHouseSituationInfo ="房屋坐落:"+ msg.obj.existReal+",面积:"+ msg.obj.existArea+",产权人:"+ msg.obj.propertyPerson;
- $("#propertyCompany_detail_1").text(msg.obj.propertyCompany)
- $("#existReal_detail_1").text(msg.obj.existReal)
- $("#existArea_detail_1").text(msg.obj.existArea)
-
-
- //上传图片材料
- for(var i=0;i< msg.obj.applyMaterialsFile.length;i++){
- var $image = $("<img src='../" + msg.obj.applyMaterialsFile[i].filePath + "' width='100' height='40' onclick = 'openImg("+msg.obj.applyMaterialsFile[i].sprId+",\""+msg.obj.applyMaterialsFile[i].propertyName+"\",\""+msg.obj.securityPersonName+"\")'/>");
- $("#applyMaterialsFile_detail_1").append ($image);
- }
- for(var i=0;i< msg.obj.idCardFile.length;i++){
- var $image = $("<img src='../" + msg.obj.idCardFile[i].filePath + "' width='100' height='40' onclick = 'openImg("+msg.obj.idCardFile[i].sprId+",\""+msg.obj.idCardFile[i].propertyName+"\",\""+msg.obj.securityPersonName+"\")'/>");
- $("#idCardFile_detail_1").append ($image);
- }
- for(var i=0;i< msg.obj.residenceFile.length;i++){
- var $image = $("<img src='../" + msg.obj.residenceFile[i].filePath + "' width='100' height='40' onclick = 'openImg("+msg.obj.residenceFile[i].sprId+",\""+msg.obj.residenceFile[i].propertyName+"\",\""+msg.obj.securityPersonName+"\")'/>");
- $("#residenceFile_detail_1").append ($image);
- }
- for(var i=0;i< msg.obj.incomeFile.length;i++){
- var $image = $("<img src='../" + msg.obj.incomeFile[i].filePath + "' width='100' height='40' onclick = 'openImg("+msg.obj.incomeFile[i].sprId+",\""+msg.obj.incomeFile[i].propertyName+"\",\""+msg.obj.securityPersonName+"\")'/>");
- $("#incomeFile_detail_1").append ($image);
- }
- for(var i=0;i< msg.obj.propertyCommissionFile.length;i++){
- var $image = $("<img src='../" + msg.obj.propertyCommissionFile[i].filePath + "' width='100' height='40' onclick = 'openImg("+msg.obj.propertyCommissionFile[i].sprId+",\""+msg.obj.propertyCommissionFile[i].propertyName+"\",\""+msg.obj.securityPersonName+"\")'/>");
- $("#propertyCommissionFile_detail_1").append ($image);
- }
- for(var i=0;i< msg.obj.proofOfMarriageFile.length;i++){
- var $image = $("<img src='../" + msg.obj.proofOfMarriageFile[i].filePath + "' width='100' height='40' onclick = 'openImg("+msg.obj.proofOfMarriageFile[i].sprId+",\""+msg.obj.proofOfMarriageFile[i].propertyName+"\",\""+msg.obj.securityPersonName+"\")'/>");
- $("#proofOfMarriageFile_detail_1").append ($image);
- }
- for(var i=0;i< msg.obj.rentalAgreementFile.length;i++){
- var $image = $("<img src='../" + msg.obj.rentalAgreementFile[i].filePath + "' width='100' height='40' onclick = 'openImg("+msg.obj.rentalAgreementFile[i].sprId+",\""+msg.obj.rentalAgreementFile[i].propertyName+"\",\""+msg.obj.securityPersonName+"\")'/>");
- $("#rentalAgreementFile_detail_1").append ($image);
- }
- for(var i=0;i< msg.obj.otherFile.length;i++){
- var $image = $("<img src='../" + msg.obj.otherFile[i].filePath + "' width='100' height='40' onclick = 'openImg("+msg.obj.otherFile[i].sprId+",\""+msg.obj.otherFile[i].propertyName+"\",\""+msg.obj.securityPersonName+"\")'/>");
- $("#otherFile_detail_1").append ($image);
- }
- for(var i=0;i< msg.obj.temporaryPermitFile.length;i++){
- var $image = $("<img src='../" + msg.obj.temporaryPermitFile[i].filePath + "' width='100' height='40' onclick = 'openImg("+msg.obj.temporaryPermitFile[i].sprId+",\""+msg.obj.temporaryPermitFile[i].propertyName+"\",\""+msg.obj.securityPersonName+"\")'/>");
- $("#temporaryPermitFile_detail_1").append ($image);
- }
- for(var i=0;i< msg.obj.laborContractFile.length;i++){
- var $image = $("<img src='../" + msg.obj.laborContractFile[i].filePath + "' width='100' height='40' onclick = 'openImg("+msg.obj.laborContractFile[i].sprId+",\""+msg.obj.laborContractFile[i].propertyName+"\",\""+msg.obj.securityPersonName+"\")'/>");
- $("#laborContractFile_detail_1").append ($image);
- }
- for(var i=0;i< msg.obj.diplomaFile.length;i++){
- var $image = $("<img src='../" + msg.obj.diplomaFile[i].filePath + "' width='100' height='40' onclick = 'openImg("+msg.obj.diplomaFile[i].sprId+",\""+msg.obj.diplomaFile[i].propertyName+"\",\""+msg.obj.securityPersonName+"\")'/>");
- $("#diplomaFile_detail_1").append ($image);
- }
- for(var i=0;i< msg.obj.companyProofFile.length;i++){
- var $image = $("<img src='../" + msg.obj.companyProofFile[i].filePath + "' width='100' height='40' onclick = 'openImg("+msg.obj.companyProofFile[i].sprId+",\""+msg.obj.companyProofFile[i].propertyName+"\",\""+msg.obj.securityPersonName+"\")'/>");
- $("#companyProofFile_detail_1").append ($image);
- }
- for(var i=0;i< msg.obj.relationshipProofFile.length;i++){
- var $image = $("<img src='../" + msg.obj.relationshipProofFile[i].filePath + "' width='100' height='40' onclick = 'openImg("+msg.obj.relationshipProofFile[i].sprId+",\""+msg.obj.relationshipProofFile[i].propertyName+"\",\""+msg.obj.securityPersonName+"\")'/>");
- $("#relationshipProofFile_detail_1").append ($image);
- }
-
- if(msg.obj.carFile.length>0){
- $("#carFile_tr").show();
- for(var i=0;i< msg.obj.carFile.length;i++){
- var $image = $("<img src='../" + msg.obj.carFile[i].filePath + "' width='100' height='40' onclick = 'openImg("+msg.obj.carFile[i].sprId+",\""+msg.obj.carFile[i].propertyName+"\",\""+msg.obj.securityPersonName+"\")'/>");
- $("#carFile_detail_1").append ($image);
- }
- }
- if(msg.obj.businessFile.length>0){
- $("#businessFile_tr").show();
- for(var i=0;i< msg.obj.businessFile.length;i++){
- var $image = $("<img src='../" + msg.obj.businessFile[i].filePath + "' width='100' height='40' onclick = 'openImg("+msg.obj.businessFile[i].sprId+",\""+msg.obj.businessFile[i].propertyName+"\",\""+msg.obj.securityPersonName+"\")'/>");
- $("#businessFile_detail_1").append ($image);
- }
- }
-
- if(msg.obj.applyType==1){//补贴
- $("#applyMaterialsFile_review_th").text("公租房租赁补贴申请表");
- $("#propertyCommissionFile_tr_1").show();
- $("#rentalAgreementFile_tr_1").show();
- $("#relationshipProofFile_tr_1").show();
- $("#otherInfo_review_tr").show();
- $("#isDisability_review_th").show();
- $("#isDisability_review_td").show();
- if(msg.obj.type==11||msg.obj.type==17){//大中专
- $("#laborContractFile_tr_1").show();
- $("#diplomaFile_tr_1").show();
- }
- }
- if(msg.obj.applyType==2){//公租房
- $("#applyMaterialsFile_review_th").text("公租房实物配租申请表");
- if(msg.obj.type==2){//中等偏下
- $("#temporaryPermitFile_tr_1").show();
- $("#propertyCommissionFile_tr_1").show();
- $("#otherInfo_review_tr").show();
- $("#isExServicemen_review_th").show();
- $("#isExServicemen_review_td").show();
- }
- if(msg.obj.type==4){//外来务工
- $("#incomeFile_tr_1").show();
- $("#laborContractFile_tr_1").show();
- }
- if(msg.obj.type==5){//清江浦
- $("#laborContractFile_tr_1").show();
- $("#companyProofFile_tr_1").show();
- }
- }
- if(msg.obj.applyType==3){//共有产权房
- $("#applyMaterialsFile_review_th").text("共有产权住房申请表");
- if(msg.obj.type==7){//外来务工
- $("#incomeFile_tr_1").show();
- $("#laborContractFile_tr_1").show();
- }
- if(msg.obj.type==8){//农民
- $("#relationshipProofFile_tr_1").show();
- }
- if(msg.obj.type==10){//中等偏下
- $("#temporaryPermitFile_tr_1").show();
- $("#propertyCommissionFile_tr_1").show();
- }
- }
-
- if(typeof(msg.obj.communityUserId) != "undefined"){
- var communityOpinion = "";
- for(var nItem = 0; nItem < opinionObj.length; nItem++ ){
- if(opinionObj[nItem].code == msg.obj.communityOpinion){
- communityOpinion = opinionObj[nItem].value;
- }
- }
- $("#shyj_table").append("<tr><th width = '20%'>街道办</th><td width = '80%'>"+
- "<span style='width:115px;display:inline-block;'>"+msg.obj.communityUserName+"</span>"+
- "<span>"+dealDate(msg.obj.communityDate)+" 审核意见:"+communityOpinion+" 备注:"+msg.obj.communityRemark+"</span></td></tr>");
- }
- if(typeof(msg.obj.streetUserId) != "undefined"){
- var streetOpinion = "";
- for(var nItem = 0; nItem < opinionObj.length; nItem++ ){
- if(opinionObj[nItem].code == msg.obj.streetOpinion){
- streetOpinion = opinionObj[nItem].value;
- }
- }
- $("#shyj_table").append("<tr><th width = '20%'>区住建局</th><td width = '80%'>"+
- "<span style='width:115px;display:inline-block;'>"+msg.obj.streetUserName+"</span>"+
- "<span>"+dealDate(msg.obj.streetDate)+" 审核意见:"+streetOpinion+" 备注:"+msg.obj.streetRemark+"</span></td></tr>");
- }
- if(typeof(msg.obj.housesOwnershipUserId) != "undefined"){
- var housesOwnershipOpinion = "";
- for(var nItem = 0; nItem < opinionObj.length; nItem++ ){
- if(opinionObj[nItem].code == msg.obj.housesOwnershipOpinion){
- housesOwnershipOpinion = opinionObj[nItem].value;
- }
- }
- $("#shyj_table").append("<tr><th width = '20%'>市房屋登记机构</th><td width = '80%'>"+
- "<span style='width:115px;display:inline-block;'>"+msg.obj.housesOwnershipUserName+"</span>"+
- "<span>"+dealDate(msg.obj.housesOwnershipDate)+"</span></td></tr>");
- }
- if(typeof(msg.obj.civilUserId) != "undefined"){
- var civilOpinion = "";
- for(var nItem = 0; nItem < opinionObj.length; nItem++ ){
- if(opinionObj[nItem].code == msg.obj.civilOpinion){
- civilOpinion = opinionObj[nItem].value;
- }
- }
- $("#shyj_table").append("<tr><th width = '20%'>市民政</th><td width = '80%'>"+
- "<span style='width:115px;display:inline-block;'>"+msg.obj.civilUserName+"</span>"+
- "<span>"+dealDate(msg.obj.civilDate)+"</span></td></tr>");
- }
- if(typeof(msg.obj.guaranteeUserId) != "undefined"){
- var guaranteeOpinion = "";
- for(var nItem = 0; nItem < opinionObj.length; nItem++ ){
- if(opinionObj[nItem].code == msg.obj.guaranteeOpinion){
- guaranteeOpinion = opinionObj[nItem].value;
- }
- }
- $("#shyj_table").append("<tr><th width = '20%'>区住建局</th><td width = '80%'>"+
- "<span style='width:115px;display:inline-block;'>"+msg.obj.guaranteeUserName+"</span>"+
- "<span>"+dealDate(msg.obj.guaranteeDate)+" 审核意见:"+guaranteeOpinion+" 备注:"+msg.obj.guaranteeRemark+"</span></td></tr>");
- }
- }
- });
- //家庭关系列表
- $('#dg_detail_1').datagrid({
- rownumbers:true,
- border:false,
- sortOrder:'desc',
- url:whzl.basePath + '/securityPersonApplyAction_listSecurityPersonApplyRelative?securityPersonApplyId='+id,
- checkOnSelect:true,
- selectOnCheck:false,
- loadFilter:function(result){
- if(result.success){
- return result.obj;
- }else{
- $.messager.alert("提示",result.message);
- return ;
- }
- }
- });
- }
-
- function updateTask(){
- $("#taskDataGrid").datagrid("reload");
- }
- var updateFormatter = function(value , row , index){
- return "<a onclick='updateRow("+index+")' style='cursor:pointer'>更新</a> "
- }
-
- function openImg(id,name,personName){
- window.open ('securityPersonApply2Action_viewImg?id='+id+"&name="+name+"&personName="+personName,'newwindow_'+new Date().getTime(),'height=400,width=500,top=0,left=800,toolbar=no,menubar=no,scrollbars=no, resizable=no,location=no, status=no,titlebar=no');
- }
-
- var viewImgsFormatter = function(value , row , index){
- return value + " <a onclick='openImg("+row.id+",\"\",\""+row.name+"\")' style='cursor:pointer'>【查看附件】</a>"
- }
-
- function updateRow(index){
- $('#dg_detail_1').datagrid('selectRow', index)
- .datagrid('beginEdit', index);
- }
-
- function deleteRow(id,index){
- $.messager.confirm('提醒','是否删除该家庭成员?',function(r){
- $('#dg_detail_1').datagrid('deleteRow',index);
- if(id!=null){
- $.ajax({
- type: "post",//使用get方法访问后台
- dataType: "json",//返回json格式的数据
- url: "securityPersonApply2Action_deleteSecurityPersonApplyRelative",//要访问的后台地址
- data: "securityPersonApplyRelative.id="+id,//要发送的数据
- complete :function(){$("#load").hide();},//AJAX请求完成时隐藏loading提示
- success: function(msg){
-
- }
- })
- }
- })
- }
- var editIndex = undefined;
- function addRelative(){
- $('#dg_detail_1').datagrid('appendRow',{residenceNo:'',name:'',relative:'',idCard:'',maritalStatus:'',isUrban:'',company:''});
- editIndex = $('#dg_detail_1').datagrid('getRows').length-1;
- $('#dg_detail_1').datagrid('selectRow', editIndex).datagrid('beginEdit', editIndex);
- }
-
- </script>
- <div style="width: 100%;">
- <div class="easyui-tabs" id="tabs_detail_1" style="height:350px;" >
- <div title="个人信息" id="grxx_detail_1">
- <table class="mytable" style="width: 100%;">
- <tr>
- <th width="20%">身份证号</th>
- <td width="30%">
- <span id="idCard_review"></span>
- </td>
- <th width="20%">申请人姓名</th>
- <td width="30%">
- <span id="name_review"></span>
- </td>
- </tr>
-
- <tr>
- <th>婚姻状况</th>
- <td>
- <span id="maritalStatus_review"></span>
- </td>
- <th>联系电话</th>
- <td >
- <span id="phone_review"></span>
- </td>
- </tr>
- <tr>
- <th>家庭人均收入</th>
- <td>
- <span id="avgIncome_review"></span>
- </td>
- <th>申请类型</th>
- <td>
- <span id="applyType_review"></span>
- </td>
- </tr>
- <tr>
- <th>户口所在地</th>
- <td>
- <span id="residence_review"></span>
- </td>
- <th id="temporaryDate_review_th" style="display: none;">
- 取得市区户口时间
- </th>
- <td id="temporaryDate_review_td" style="display: none;">
- <span id="temporaryDate_review"></span>
- </td>
- </tr>
-
- <tr>
- <th>家庭总人口数</th>
- <td>
- <span id="familyNum_review"></span>
- </td>
- <th>保障人员数量</th>
- <td>
- <span id="securityNum_review"></span>
- </td>
- </tr>
- <tr>
- <th>工作单位名称</th>
- <td >
- <span id="company_review"></span>
- </td>
- <th>工作单位地址</th>
- <td>
- <span id="workPlace_review"></span>
- </td>
- </tr>
-
- <tr id="otherInfo_review_tr" style="display: none;">
- <th id="isDisability_review_th" style="display: none;">
- 是否残疾人员
- </th>
- <td id="isDisability_review_td" style="display: none;">
- <span id="isDisability_review"></span>
- </td>
- <th id="isExServicemen_review_th" style="display: none;">
- 是否是退役军人
- </th>
- <td id="isExServicemen_review_td" style="display: none;">
- <span id="isExServicemen_review"></span>
- </td>
- </tr>
-
- </table>
- </div>
- <div title="同户籍家庭其他成员" id="qtcy_detail_1">
- <table id="dg_detail_1" title="同户籍家庭其他成员 " style="width: 100%;">
- <thead frozen="true">
- <tr>
- <th data-options="field:'residenceNo',sortable:true,width:100,align:'center'">户号</th>
- <th data-options="field:'name',sortable:true,width:80,align:'center'">姓名</th>
- </tr>
- </thead>
- <thead>
- <tr>
- <th data-options="field:'relative',sortable:true,width:100,align:'center',formatter:relativeFormatter">与户主关系</th>
- <th data-options="field:'idCard',sortable:true,width:200,align:'center'">身份证号</th>
- <th data-options="field:'maritalStatus',sortable:true,width:130,align:'center',formatter:maritalStatusFormatter">婚姻状况</th>
- <th data-options="field:'isUrban',sortable:true,width:130,align:'center',editor:yesOrNoEditor,formatter:yesOrNoFormatter">是否市区户口</th>
- <th data-options="field:'isInRange',width:130,align:'center',formatter:yesOrNoFormatter,editor:yesOrNoEditor">是否在保障范围</th>
- <th data-options="field:'update',width:130,align:'center',formatter:updateFormatter">操作</th>
- </tr>
- </thead>
- </table>
-
- </div>
- <div title="家庭现住房情况" ireviewdetail_1">
- <table class="mytable" style="width: 100%;" id="zfqk_table_detail_1">
- <tr>
- <th>
- 家庭现住房情况
- </th>
- <td>
- <span id="currentHouseSituation_detail_1"></span>
- </td>
- <th>产权人、产权公司</th>
- <td>
- <span id="propertyCompany_detail_1"></span>
- </td>
- </tr>
- <tr>
- <th>现住房地址</th>
- <td>
- <span id="existReal_detail_1"></span>
- </td>
- <th>现住房面积</th>
- <td>
- <span id="existArea_detail_1"></span>
- </td>
- </tr>
- <tr>
- <th width="30%">申请之日前两年在市区是否转让房产(含拆迁货币安置)</th>
- <td width="20%">
- <span id="isAssignmentHouse_detail_1"></span>
- </td>
- <th width="30%">申请之日前两年是否享受过房改房、政策性商品房或其他住房保障政策:</th>
- <td width="20%">
- <span id="hasUsed_detail_1"></span>
- </td>
- </tr>
- </table>
-
- </div>
- <div title="材料文件上传" id="wjsc_detail_1">
- <table class="mytable" style="width: 100%;" >
- <tr >
- <th width = "30%" id="applyMaterialsFile_review_th">
- 申请家庭提出的书面申请
- </th>
- <td width = "70%">
- <span id="applyMaterialsFile_detail_1"></span>
- </td>
- </tr>
-
- <tr>
- <th width = "30%">
- 身份证正反面
- </th>
- <td width = "70%">
- <span id="idCardFile_detail_1"></span>
- </td>
- </tr>
-
- <tr >
- <th width = "30%">
- 户口簿
- </th>
- <td width = "70%">
- <span id="residenceFile_detail_1"></span>
- </td>
- </tr>
-
- <tr >
- <th width = "30%">
- 婚姻状况证明(单身证明)
- </th>
- <td width = "70%">
- <span id="proofOfMarriageFile_detail_1"></span>
- </td>
- </tr>
-
- <tr id="incomeFile_tr_1" style="display: none;">
- <th width = "30%" >
- 家庭收入书面声明
- </th>
- <td width = "70%">
- <span id="incomeFile_detail_1"></span>
- </td>
- </tr>
-
- <tr id="temporaryPermitFile_tr_1" style="display: none;">
- <th>暂住证</th>
- <td>
- <span id="temporaryPermitFile_detail_1"></span>
- </td>
- </tr>
-
- <tr id="diplomaFile_tr_1" style="display: none;">
- <th>大中专院校毕业证书,公务员应提供所在单位证明</th>
- <td>
- <span id="diplomaFile_detail_1"></span>
- </td>
- </tr>
-
- <tr id="companyProofFile_tr_1" style="display: none;">
- <th>国家工作人员提供所在单位证明</th>
- <td>
- <span id="companyProofFile_detail_1"></span>
- </td>
- </tr>
-
- <tr id="relationshipProofFile_tr_1" style="display: none;">
- <th>申请人与共同申请人关系证明</th>
- <td>
- <span id="relationshipProofFile_detail_1"></span>
- </td>
- </tr>
-
- <tr id="propertyCommissionFile_tr_1" style="display: none;">
- <th width = "30%">
- 代为查询、核对家庭收入、财产状况的委托书
- </th>
- <td width = "70%">
- <span id="propertyCommissionFile_detail_1"></span>
- </td>
- </tr>
-
- <tr id="rentalAgreementFile_tr_1" style="display: none;">
- <th width = "30%">
- 租赁住房协议或拆迁补偿协议
- </th>
- <td width = "70%">
- <span id="rentalAgreementFile_detail_1"></span>
- </td>
- </tr>
-
- <tr id="carFile_tr" style="display: none;">
- <th>车辆保险单</th>
- <td>
- <span id="carFile_detail_1"></span>
- </td>
- </tr>
-
- <tr id="businessFile_tr" style="display: none;">
- <th>工商材料</th>
- <td>
- <span id="businessFile_detail_1"></span>
- </td>
- </tr>
-
- <tr>
- <th width = "30%">
- 其他信息上传
- </th>
- <td width = "70%">
- <span id="otherFile_detail_1"></span>
- </td>
- </tr>
- </table>
- </div>
- </div>
- <form id="securityPersonApplyForm" method="post">
- <input type="hidden" id="securityPersonApplyId_update" name="securityPersonApply.id">
- <input type="hidden" id="department" value="${session.user.department.id}">
- <input type="hidden" id="familyNum_update" name="securityPersonApply.familyNum"/>
- <input type="hidden" id="securityNum_update" name="securityPersonApply.securityNum"/>
- <table class="mytable" style="width:100%;">
- <tr>
- <th>审核人</th>
- <td>
- ${session.user.fullName}
- </td>
- <th id="opinion_th">审核意见</th>
- <td>
- <select id="opinion_update" name="opinion" class="easyui-validatebox" required="true">
- <option value="">请选择</option>
- <option value="1">符合</option>
- <option value="2">不符合</option>
- </select>
- </td>
- </tr>
- <tr>
- <th>审核意见说明</th>
- <td colspan="3" >
- <textarea rows="2" cols="50" id="remark_update" name="remark"></textarea>
- </td>
- </tr>
- </table>
- </form>
- </div>
|