| 
					
				 | 
			
			
				@@ -257,20 +257,27 @@ TalentInfoInfoDlg.submitCallback = function (data) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  * 获取人才认定 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  */ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 TalentInfoInfoDlg.getIdentifyCondition = function () { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    $("#talent_condition").html("<option value=''>---请选择---</option>"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     var level = $("#talent_arrange").val(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    var cat = $("#talent_arrange_category").val(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    var id = $('#id').val(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    if (cat) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        Feng.addAjaxSelect({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            "id": "talent_condition", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            "displayCode": "id", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            "displayName": "name", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            "type": "GET", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            "url": Feng.ctxPath + "/common/api/findIdentifyConditionByLevel/level/" + level + "/cat/" + cat + "/id/" + id 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    var type = $("#type").val(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    if (level == null || level == '') { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        $("#talent_condition").empty(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        $("#talent_condition").trigger('chosen:updated'); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        TalentInfoInfoDlg.changeIdentifyCondition(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        return; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    if (type == null || type == '') { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        Feng.info("请先选择人才类别"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        return; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    Feng.addAjaxSelect({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        "id": "talent_condition", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        "displayCode": "id", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        "displayName": "name", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        "type": "GET", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        "url": Feng.ctxPath + "/common/api/findIdentifyConditionByLevel?level=" + level + "&type=" + type 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     $("#talent_condition").trigger('chosen:updated'); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    TalentInfoInfoDlg.changeIdentifyCondition(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -289,7 +296,7 @@ TalentInfoInfoDlg.getLayerCatdByLayer = function () { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 TalentInfoInfoDlg.changeIdentifyCondition = function () { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    if (TalentInfoInfoDlg.initTalentCondtion != $("#talent_condition").val() && $("#talent_condition").val() != "") { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    if ((TalentInfoInfoDlg.initTalentCondtion != $("#talent_condition").val() && $("#talent_condition").val() != "") || (TalentInfoInfoDlg.initTalentCondtion != "" && $("#talent_condition").val() == "")) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         $("#fileTable").bootstrapTable("destroy", {}); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         TalentInfoInfoDlg.initFileTable(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         //$("#fileTable").bootstrapTable("refresh", {}); 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -732,10 +739,6 @@ $(function () { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         Feng.getCheckLog("logTable", {"type": CONFIG.project_rcrd, "mainId": id, "typeFileId": "", "active": 1}) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    $("#talent_arrange").val($("#talent_arrange").attr("value")); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    TalentInfoInfoDlg.getIdentifyCondition(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    $("#talent_arrange").val($("#talent_arrange").attr("value")); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    $("#talent_condition").val($("#talent_condition").attr("value")); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     TalentInfoInfoDlg.validId(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     $("#photo").change(function (e) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         var tag = e.target; 
			 |