| 
					
				 | 
			
			
				@@ -2,8 +2,8 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  * 子女就学管理初始化 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  */ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 var EducationSchool = { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    id: "EducationSchoolTable",	//表格id 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    seItem: null,		//选中的条目 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    id: "EducationSchoolTable", //表格id 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    seItem: null, //选中的条目 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     table: null, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     layerIndex: -1 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 }; 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -14,66 +14,73 @@ var EducationSchool = { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 EducationSchool.initColumn = function () { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     return [ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         {field: 'selectItem', radio: true}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        {title: '申报年度', field: 'year', visible: true, align: 'center', valign: 'middle',width:"80px",'class': 'uitd_showTip'}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        {title: '申报项目', field: 'projectName', visible: true, align: 'center', valign: 'middle',width:"80px",'class': 'uitd_showTip'}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        {title: '父母姓名', field: 'pName', visible: true, align: 'center', valign: 'middle',width:"80px",'class': 'uitd_showTip'}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        {title: '父母性别', field: 'pSex', visible: true, align: 'center', valign: 'middle',width:"80px",'class': 'uitd_showTip', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            formatter : function (value,row,index) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                if(value==1){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        {title: '申报年度', field: 'year', visible: true, align: 'center', valign: 'middle', width: "80px", 'class': 'uitd_showTip'}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        {title: '申报项目', field: 'projectName', visible: true, align: 'center', valign: 'middle', width: "80px", 'class': 'uitd_showTip'}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        {title: '父母姓名', field: 'pName', visible: true, align: 'center', valign: 'middle', width: "80px", 'class': 'uitd_showTip'}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        {title: '父母性别', field: 'pSex', visible: true, align: 'center', valign: 'middle', width: "80px", 'class': 'uitd_showTip', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            formatter: function (value, row, index) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                if (value == 1) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     return '男'; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                }if(value==2){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                if (value == 2) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     return '女'; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        {title: '父母证件号码', field: 'pIdcard', visible: true, align: 'center', valign: 'middle',width:"150px",'class': 'uitd_showTip'}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        {title: '工作单位', field: 'enterpriseName', visible: true, align: 'center', valign: 'middle',width:"120px",'class': 'uitd_showTip'}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        {title: '人才层次', field: 'talentArrangeName', visible: true, align: 'center', valign: 'middle',width:"80px",'class': 'uitd_showTip'}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        {title: '认定条件', field: 'identifyCondition', visible: true, align: 'center', valign: 'middle',width:"120px",'class': 'uitd_showTip'}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        {title: '人才证书有效期', field: 'certificateNo', visible: true, align: 'center', valign: 'middle',width:"140px",'class': 'uitd_showTip', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            formatter : function (value,row,index) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        {title: '父母证件号码', field: 'pIdcard', visible: true, align: 'center', valign: 'middle', width: "150px", 'class': 'uitd_showTip'}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        {title: '工作单位', field: 'enterpriseName', visible: true, align: 'center', valign: 'middle', width: "120px", 'class': 'uitd_showTip'}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        {title: '人才层次', field: 'talentArrangeName', visible: true, align: 'center', valign: 'middle', width: "80px", 'class': 'uitd_showTip'}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        {title: '认定条件', field: 'identifyCondition', visible: true, align: 'center', valign: 'middle', width: "120px", 'class': 'uitd_showTip'}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        {title: '人才证书有效期', field: 'certificateNo', visible: true, align: 'center', valign: 'middle', width: "140px", 'class': 'uitd_showTip', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            formatter: function (value, row, index) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 return row.certificateStartTime + "至" + row.qzgccrcActiveTime; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        {title: '联系电话', field: 'phone', visible: true, align: 'center', valign: 'middle',width:"80px",'class': 'uitd_showTip'}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        {title: '子女姓名', field: 'cName', visible: true, align: 'center', valign: 'middle',width:"100px",'class': 'uitd_showTip'}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        {title: '子女性别', field: 'cSex', visible: true, align: 'center', valign: 'middle',width:"80px", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            formatter : function (value,row,index) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                if(value==1){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        {title: '联系电话', field: 'phone', visible: true, align: 'center', valign: 'middle', width: "80px", 'class': 'uitd_showTip'}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        {title: '子女姓名', field: 'cName', visible: true, align: 'center', valign: 'middle', width: "100px", 'class': 'uitd_showTip'}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        {title: '子女性别', field: 'cSex', visible: true, align: 'center', valign: 'middle', width: "80px", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            formatter: function (value, row, index) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                if (value == 1) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     return '男'; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                }if(value==2){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                if (value == 2) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     return '女'; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        {title: '与申报人关系', field: 'cRelationName', visible: true, align: 'center', valign: 'middle',width:"100px",'class': 'uitd_showTip'}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        {title: '现就读学校', field: 'nowSchool', visible: true, align: 'center', valign: 'middle',width:"100px",'class': 'uitd_showTip'}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        {title: '现就读年级', field: 'nowGradeName', visible: true, align: 'center', valign: 'middle',width:"100px",'class': 'uitd_showTip'}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        {title: '拟申请学校', field: 'applySchoolName', visible: true, align: 'center', valign: 'middle',width:"100px",'class': 'uitd_showTip'}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        {title: '首次提交时间', field: 'firstSubmitTime', visible: true, align: 'center', valign: 'middle',width:"100px",'class': 'uitd_showTip'}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        {title: '最新提交时间', field: 'newSubmitTime', visible: true, align: 'center', valign: 'middle',width:"100px",'class': 'uitd_showTip'}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        {title: '审核状态', field: 'checkState', visible: true, align: 'center', valign: 'middle',width:"100px", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            formatter : function (value,row,index) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                if(value==-2){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        {title: '与申报人关系', field: 'cRelationName', visible: true, align: 'center', valign: 'middle', width: "100px", 'class': 'uitd_showTip'}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        {title: '现就读学校', field: 'nowSchool', visible: true, align: 'center', valign: 'middle', width: "100px", 'class': 'uitd_showTip'}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        {title: '现就读年级', field: 'nowGradeName', visible: true, align: 'center', valign: 'middle', width: "100px", 'class': 'uitd_showTip'}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        {title: '拟申请学校', field: 'applySchoolName', visible: true, align: 'center', valign: 'middle', width: "100px", 'class': 'uitd_showTip'}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        {title: '首次提交时间', field: 'firstSubmitTime', visible: true, align: 'center', valign: 'middle', width: "100px", 'class': 'uitd_showTip'}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        {title: '最新提交时间', field: 'newSubmitTime', visible: true, align: 'center', valign: 'middle', width: "100px", 'class': 'uitd_showTip'}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        {title: '审核状态', field: 'checkState', visible: true, align: 'center', valign: 'middle', width: "100px", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            formatter: function (value, row, index) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                if (value == -2) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     return '<span class="label label-default">待提交</span>'; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                }if(value==-1){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                if (value == -1) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     return '<span class="label label-danger">审核不通过</span>'; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                }if(value==1){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                if (value == 1) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     return '<span class="label label-success">待审核</span>'; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                }if(value==2){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                if (value == 2) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     return '<span class="label label-danger">审核驳回</span>'; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                }if(value==3){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                if (value == 3) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     return '<span class="label label-primary">审核通过</span>'; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                }if(value==9){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                if (value == 9) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     return '<span class="label label-success">重新提交</span>'; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        {title: '操作', field: 'id', visible: true, align: 'center', valign: 'middle',width:"80px", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            formatter : function (value,row,index){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                return "<span class='label label-success' onclick=\"EducationSchool.showLog('"+value+"')\" >" + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    "<i class=\"fa fa-book\"></i>日志" + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    "</span>"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        {title: '操作', field: 'id', visible: true, align: 'center', valign: 'middle', width: "80px", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            formatter: function (value, row, index) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                return "<span class='label label-success' onclick=\"EducationSchool.showLog('" + value + "')\" >" + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                        "<i class=\"fa fa-book\"></i>日志" + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                        "</span>"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     ]; 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -84,10 +91,10 @@ EducationSchool.initColumn = function () { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  */ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 EducationSchool.check = function () { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     var selected = $('#' + this.id).bootstrapTable('getSelections'); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    if(selected.length == 0){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    if (selected.length == 0) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         Feng.info("请先选中表格中的某一记录!"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         return false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    }else{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    } else { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         EducationSchool.seItem = selected[0]; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         return true; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     } 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -97,28 +104,28 @@ EducationSchool.check = function () { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  * 审核 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  */ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 EducationSchool.toCheckPage = function () { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    if (this.check()){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    if (this.check()) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         var index = layer.open({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             type: 2, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             title: '子女就学申报', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             area: 'auto', //宽高 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             fix: false, //不固定 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             maxmin: true, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            content: Feng.ctxPath + '/educationSchool/toCheckPage/' + EducationSchool.seItem.id, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            btn: ['<i class="fa fa-eye"></i>  保存未提交','<i class="fa fa-check layui-bg-green"></i>  提交审核', '<i class="fa fa-eraser"></i>  取消'], 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            content: Feng.ctxPath + '/admin/education_school/detail/id/' + EducationSchool.seItem.id, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            btn: ['<i class="fa fa-eye"></i>  保存未提交', '<i class="fa fa-check layui-bg-green"></i>  提交审核', '<i class="fa fa-eraser"></i>  取消'], 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             btnAlign: 'c', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             btn1: function (index, layero) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 var obj = layero.find("iframe")[0].contentWindow; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 obj.EducationSchoolInfoDlg.showCheckModal(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            },btn2: function(index, layero){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            }, btn2: function (index, layero) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 var obj = layero.find("iframe")[0].contentWindow; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 obj.EducationSchoolInfoDlg.submitCheck(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 return false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            success :function (layero, index) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                layer.tips('审核完成并确认无误后点击','.layui-layer-btn1',{tips:[1,"#78BA32"],time:0,closeBtn :2}); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            success: function (layero, index) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                layer.tips('审核完成并确认无误后点击', '.layui-layer-btn1', {tips: [1, "#78BA32"], time: 0, closeBtn: 2}); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            end :function () { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            end: function () { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 layer.closeAll('tips'); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         }); 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -132,7 +139,7 @@ EducationSchool.toCheckPage = function () { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 /** 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  * 收集数据 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  */ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-EducationSchool.formParams = function(){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+EducationSchool.formParams = function () { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     var queryData = {}; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     queryData['year'] = $("#year").val(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     queryData['enterpriseName'] = $("#enterpriseName").val(); 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -154,14 +161,16 @@ EducationSchool.formParams = function(){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     queryData['companyStreet'] = $("#companyStreet").val(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     queryData['houseStreet'] = $("#houseStreet").val(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     queryData['checkState'] = $("#checkState").val(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    queryData['isDoctor'] = $("#isDoctor").val(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     return queryData; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 /** 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  * 重置 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  */ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-EducationSchool.reset = function(){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+EducationSchool.reset = function () { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     $("#year").val(""); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    $("#isDoctor").val(""); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     $("#enterpriseName").val(""); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     $("#pName").val(""); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     $("#pSex").val(""); 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -193,16 +202,16 @@ EducationSchool.search = function () { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 /** 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  * 显示审核日志 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  */ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-EducationSchool.showLog = function (id){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+EducationSchool.showLog = function (id) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     layer.open({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         type: 1, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        title:"日志", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        fixed:false, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        content: '<table id="'+id+'"></table>', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        title: "日志", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        fixed: false, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        content: '<table id="' + id + '"></table>', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         area: ['80%', '80%'], 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         maxmin: true, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        success :function (layero, index) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            Feng.getCheckLog(id,{"type":CONFIG.project_school,"mainId":id,"typeFileId":"","active":1}) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        success: function (layero, index) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            Feng.getCheckLog(id, {"type": CONFIG.project_school, "mainId": id, "typeFileId": "", "active": 1}) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 } 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -210,7 +219,7 @@ EducationSchool.showLog = function (id){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 /** 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  * 显示导出 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  */ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-EducationSchool.showExportModel = function(){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+EducationSchool.showExportModel = function () { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     $("#exportForm")[0].reset(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     $("#commonExportModal").modal("show"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 } 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -218,44 +227,45 @@ EducationSchool.showExportModel = function(){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 /** 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  * 导出 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  */ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-EducationSchool.export = function(){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+EducationSchool.export = function () { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     var names = ''; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     var values = ''; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    $("#field_info li input").each(function(index){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        if($(this).is(":checked")){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    $("#field_info li input").each(function (index) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        if ($(this).is(":checked")) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             values = values + $(this).val() + ","; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             names = names + $(this).next().text() + ","; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     var queryData = EducationSchool.formParams(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     $("#commonExportModal").modal('hide'); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    var url = Feng.ctxPath + "/educationSchoolExport/export?names="+names+"&values="+values + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        "&year=" + queryData.year + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        "&enterpriseName=" + queryData.enterpriseName + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        "&pName=" + queryData.pName + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        "&pSex=" + queryData.pSex + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        "&pIdcard=" + queryData.pIdcard + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        "&talentArrange=" + queryData.talentArrange + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        "&certificateNo=" + queryData.certificateNo + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        "&address=" + queryData.address + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        "&phone=" + queryData.phone + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        "&project="+queryData.project+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        "&cName=" + queryData.cName + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        "&cSex=" + queryData.cSex + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        "&cIdcard=" + queryData.cIdcard + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        "&cRelation=" + queryData.cRelation + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        "&nowSchool=" + queryData.nowSchool + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        "&nowGrade=" + queryData.nowGrade + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        "&applySchool=" + queryData.applySchool + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        "&companyStreet=" + queryData.companyStreet + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        "&houseStreet=" + queryData.houseStreet + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        "&checkState=" + queryData.checkState; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    var url = Feng.ctxPath + "/admin/education_school/export?names=" + names + "&values=" + values + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            "&isDoctor=" + queryData.isDoctor + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            "&year=" + queryData.year + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            "&enterpriseName=" + queryData.enterpriseName + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            "&pName=" + queryData.pName + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            "&pSex=" + queryData.pSex + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            "&pIdcard=" + queryData.pIdcard + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            "&talentArrange=" + queryData.talentArrange + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            "&certificateNo=" + queryData.certificateNo + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            "&address=" + queryData.address + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            "&phone=" + queryData.phone + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            "&project=" + queryData.project + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            "&cName=" + queryData.cName + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            "&cSex=" + queryData.cSex + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            "&cIdcard=" + queryData.cIdcard + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            "&cRelation=" + queryData.cRelation + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            "&nowSchool=" + queryData.nowSchool + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            "&nowGrade=" + queryData.nowGrade + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            "&applySchool=" + queryData.applySchool + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            "&companyStreet=" + queryData.companyStreet + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            "&houseStreet=" + queryData.houseStreet + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            "&checkState=" + queryData.checkState; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     window.location.href = encodeURI(encodeURI(url)); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 $(function () { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     var defaultColunms = EducationSchool.initColumn(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    var table = new BSTable(EducationSchool.id, "/educationSchool/list", defaultColunms); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    var table = new BSTable(EducationSchool.id, "/admin/education_school/list", defaultColunms); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     table.setPaginationType("server"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     table.setOnDblClickRow(function () { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         EducationSchool.toCheckPage(); 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -263,21 +273,21 @@ $(function () { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     EducationSchool.table = table.init(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     //批量加载字典表数据 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     var arr = [ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        {"name":"companyStreet","code":"un_street"}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        {"name":"houseStreet","code":"un_street"}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        {"name":"talentArrange","code":"un_talentLevel"}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        {"name":"cRelation","code":"un_education_relation"}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        {"name":"nowGrade","code":"un_grade"}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        {"name":"project","code":"un_educationSchool_project"}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        {"name":"applySchool","code":"un_school_pool"}]; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        {"name": "companyStreet", "code": "street"}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        {"name": "houseStreet", "code": "street"}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        {"name": "talentArrange", "code": "talent_arrange"}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        {"name": "cRelation", "code": "education_relation"}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        {"name": "nowGrade", "code": "education_grade"}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        {"name": "project", "code": "education_project"}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        {"name": "applySchool", "code": "education_school_pool"}]; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     Feng.findChildDictBatch(JSON.stringify(arr)); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    $("#applySchool").on('chosen:ready', function(e, params) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        $(".chosen-container-single .chosen-single").css("padding","4px 0px 0px 4px"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    $("#applySchool").on('chosen:ready', function (e, params) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        $(".chosen-container-single .chosen-single").css("padding", "4px 0px 0px 4px"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     $("#applySchool").chosen({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        search_contains:true,       //关键字模糊搜索。设置为true,只要选项包含搜索词就会显示;设置为false,则要求从选项开头开始匹配 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        search_contains: true,       //关键字模糊搜索。设置为true,只要选项包含搜索词就会显示;设置为false,则要求从选项开头开始匹配 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         disable_search: false, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        width:"100%", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        width: "100%", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         enable_split_word_search: true 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 }); 
			 |