|  | @@ -370,6 +370,7 @@ TalentInfoInfoDlg.showFirstCheckModal = function () {
 | 
	
		
			
				|  |  |                  success: function (layero, index) {
 | 
	
		
			
				|  |  |                      layer.setTop(layero);
 | 
	
		
			
				|  |  |                      var obj = data.obj.talentInfo;
 | 
	
		
			
				|  |  | +                    var companyList = data.obj.companys;
 | 
	
		
			
				|  |  |                      var fileList = data.obj.fileList;
 | 
	
		
			
				|  |  |                      var process = data.obj.process;
 | 
	
		
			
				|  |  |                      if (typeof data.obj.fieldList != "undefined" && data.obj.fieldList.length > 0) {
 | 
	
	
		
			
				|  | @@ -383,13 +384,18 @@ TalentInfoInfoDlg.showFirstCheckModal = function () {
 | 
	
		
			
				|  |  |                      for (var key in fileList) {
 | 
	
		
			
				|  |  |                          html2 = html2 + '<ul><li style="width: 100%"><input type="checkbox" value="' + fileList[key].id + '"><span>' + fileList[key].name + '</span></li></ul>';
 | 
	
		
			
				|  |  |                      }
 | 
	
		
			
				|  |  | -                    $("#field_info ul").css("overflow","hidden").empty().append(html1);
 | 
	
		
			
				|  |  | -                    $("#field_file").css("overflow","hidden").empty().append(html2);
 | 
	
		
			
				|  |  | +                    var html3 = '';
 | 
	
		
			
				|  |  | +                    for (var key in companyList) {
 | 
	
		
			
				|  |  | +                        html3 += '<li style="width: 100%"><input type="checkbox" value="' + companyList[key].id + '"><span>' + companyList[key].name + '</span></li>';
 | 
	
		
			
				|  |  | +                    }
 | 
	
		
			
				|  |  | +                    $("#field_info ul").css("overflow", "hidden").empty().append(html1);
 | 
	
		
			
				|  |  | +                    $("#field_file").css("overflow", "hidden").empty().append(html2);
 | 
	
		
			
				|  |  | +                    $("#company_list ul").css("overflow", "hidden").empty().append(html3);
 | 
	
		
			
				|  |  |                      var optionHtml = "";
 | 
	
		
			
				|  |  |                      if (process <= 4 && process != 2) {
 | 
	
		
			
				|  |  |                          optionHtml = '<option value="">请选择</option>\n' +
 | 
	
		
			
				|  |  | -                                '                            <option value="3">审核通过</option>\n' +
 | 
	
		
			
				|  |  | -                                (obj.highProcess >= 4 && process == 3 ? '<option value="4">审核通过(跳过部门并审)</option>\n' : "") +
 | 
	
		
			
				|  |  | +                                (obj.highProcess == 4 && process == 3 ? '<option value="5">审核通过(需要再次部门并审)</option>\n' : '<option value="3">审核通过</option>') +
 | 
	
		
			
				|  |  | +                                (obj.highProcess == 4 && process == 3 ? '<option value="4">审核通过(跳过部门并审)</option>\n' : "") +
 | 
	
		
			
				|  |  |                                  '                            <option value="2">审核驳回</option>\n';
 | 
	
		
			
				|  |  |                      }
 | 
	
		
			
				|  |  |                      if (process == 5 || process == 2) {
 | 
	
	
		
			
				|  | @@ -458,15 +464,19 @@ TalentInfoInfoDlg.toggledepField = function () {
 | 
	
		
			
				|  |  |  TalentInfoInfoDlg.toggleField = function () {
 | 
	
		
			
				|  |  |      var checkState = $("#checkStateFirstModal").val();
 | 
	
		
			
				|  |  |      var checkMsgFirst = $("#checkMsgFirst").val();
 | 
	
		
			
				|  |  | +    $("#company_list").hide();
 | 
	
		
			
				|  |  |      if (checkState == 2) {
 | 
	
		
			
				|  |  |          $("#field").show();
 | 
	
		
			
				|  |  |          $("#checkMsgFirst").val("");
 | 
	
		
			
				|  |  | -    } else if (checkState == 3 || checkState == 4) {
 | 
	
		
			
				|  |  | +    } else if (checkState == 3 || checkState == 4 || checkState == 5) {
 | 
	
		
			
				|  |  |          $("#field").hide();
 | 
	
		
			
				|  |  |          $("#field").find("input[type=checkbox]").removeAttr("checked");
 | 
	
		
			
				|  |  |          if (checkMsgFirst == null || checkMsgFirst == '') {
 | 
	
		
			
				|  |  |              $("#checkMsgFirst").val("审核通过");
 | 
	
		
			
				|  |  |          }
 | 
	
		
			
				|  |  | +        if (checkState == 5) {
 | 
	
		
			
				|  |  | +            $("#company_list").show();
 | 
	
		
			
				|  |  | +        }
 | 
	
		
			
				|  |  |      } else if (checkState == -1) {
 | 
	
		
			
				|  |  |          $("#field").hide();
 | 
	
		
			
				|  |  |          $("#checkMsgFirst").val("审核不通过");
 | 
	
	
		
			
				|  | @@ -545,6 +555,7 @@ TalentInfoInfoDlg.firstCheck = function (i) {
 | 
	
		
			
				|  |  |      }
 | 
	
		
			
				|  |  |      var fields = '';
 | 
	
		
			
				|  |  |      var files = '';
 | 
	
		
			
				|  |  | +    var companys = '';
 | 
	
		
			
				|  |  |      $("#field_info li input").each(function (index) {
 | 
	
		
			
				|  |  |          if ($(this).is(":checked")) {
 | 
	
		
			
				|  |  |              fields = fields + $(this).val() + ",";
 | 
	
	
		
			
				|  | @@ -555,10 +566,19 @@ TalentInfoInfoDlg.firstCheck = function (i) {
 | 
	
		
			
				|  |  |              files = files + $(this).val() + ",";
 | 
	
		
			
				|  |  |          }
 | 
	
		
			
				|  |  |      });
 | 
	
		
			
				|  |  | +    $("#company_list li input").each(function (index) {
 | 
	
		
			
				|  |  | +        if ($(this).is(":checked")) {
 | 
	
		
			
				|  |  | +            companys += $(this).val() + ",";
 | 
	
		
			
				|  |  | +        }
 | 
	
		
			
				|  |  | +    });
 | 
	
		
			
				|  |  |      if (checkState == 2 && fields == '' && files == '') {
 | 
	
		
			
				|  |  |          Feng.info("请选择可修改的字段或附件!");
 | 
	
		
			
				|  |  |          return;
 | 
	
		
			
				|  |  |      }
 | 
	
		
			
				|  |  | +    if(checkState == 5 && companys == ""){
 | 
	
		
			
				|  |  | +        Feng.info("请选择需要再次审核的部门!");
 | 
	
		
			
				|  |  | +        return;
 | 
	
		
			
				|  |  | +    }
 | 
	
		
			
				|  |  |      if (locked)
 | 
	
		
			
				|  |  |          return;
 | 
	
		
			
				|  |  |      locked = true;
 | 
	
	
		
			
				|  | @@ -576,7 +596,7 @@ TalentInfoInfoDlg.firstCheck = function (i) {
 | 
	
		
			
				|  |  |          locked = false;
 | 
	
		
			
				|  |  |      });
 | 
	
		
			
				|  |  |      ajax.setData({"id": $("#id").val(), "checkState": checkState, "checkMsg": checkMsg,
 | 
	
		
			
				|  |  | -        "process": $("#process").val(), "fields": fields, "files": files})
 | 
	
		
			
				|  |  | +        "process": $("#process").val(), "fields": fields, "files": files, "companys": companys})
 | 
	
		
			
				|  |  |      ajax.start();
 | 
	
		
			
				|  |  |  }
 | 
	
		
			
				|  |  |  
 | 
	
	
		
			
				|  | @@ -635,6 +655,12 @@ TalentInfoInfoDlg.creatFieldCheckModal = function () {
 | 
	
		
			
				|  |  |                  '                    <div class="form-group" style="margin: 10px;">\n' +
 | 
	
		
			
				|  |  |                  '                        <label for="checkMsg" class="control-label" >审核意见</label>\n' +
 | 
	
		
			
				|  |  |                  '                        <textarea class="form-control" id="checkMsgFirst" placeholder="审核状态属“审核通过”的,仅代表此步骤已操作完成,不代表用户提交的信息符合认定条件。若不符合认定条件的,请写明不符合原因。" rows="6"></textarea>\n' +
 | 
	
		
			
				|  |  | +                '                        <div id="company_list" style="padding-top:5px;display:none;">\n' +
 | 
	
		
			
				|  |  | +                '                            <label for="checkMsg" class="control-label">选择需要再次审核的部门</label>\n' +
 | 
	
		
			
				|  |  | +                '                            <div id="companys">' +
 | 
	
		
			
				|  |  | +                '                               <ul style="overflow:hidden;list-style:none;"></ul>' +
 | 
	
		
			
				|  |  | +                '                            </div>' +
 | 
	
		
			
				|  |  | +                '                        </div>\n' +
 | 
	
		
			
				|  |  |                  '                        <div id="field" style="padding-top: 5px;display: none">\n' +
 | 
	
		
			
				|  |  |                  '                            <label for="checkMsg" class="control-label">可修改字段</label>\n' +
 | 
	
		
			
				|  |  |                  '                            <div id="field_info">\n' +
 | 
	
	
		
			
				|  | @@ -703,10 +729,16 @@ TalentInfoInfoDlg.creatFieldCheckModal = function () {
 | 
	
		
			
				|  |  |                  '                    <div class="form-group" style="margin: 10px;">\n' +
 | 
	
		
			
				|  |  |                  '                        <label for="checkMsg" class="control-label" >审核意见</label>\n' +
 | 
	
		
			
				|  |  |                  '                        <textarea class="form-control" id="checkMsgFirst" placeholder="审核状态属“审核通过”的,仅代表此步骤已操作完成,不代表用户提交的信息符合认定条件。若不符合认定条件的,请写明不符合原因。" rows="6"></textarea>\n' +
 | 
	
		
			
				|  |  | +                '                        <div id="company_list" style="padding-top:5px;display:none;">\n' +
 | 
	
		
			
				|  |  | +                '                            <label for="checkMsg" class="control-label">选择需要再次审核的部门</label>\n' +
 | 
	
		
			
				|  |  | +                '                            <div id="companys">' +
 | 
	
		
			
				|  |  | +                '                               <ul style="overflow:hidden;list-style:none;"></ul>' +
 | 
	
		
			
				|  |  | +                '                            </div>' +
 | 
	
		
			
				|  |  | +                '                        </div>\n' +
 | 
	
		
			
				|  |  |                  '                        <div id="field" style="padding-top: 5px;display: none">\n' +
 | 
	
		
			
				|  |  |                  '                            <label for="checkMsg" class="control-label">可修改字段</label>\n' +
 | 
	
		
			
				|  |  |                  '                            <div id="field_info">\n' +
 | 
	
		
			
				|  |  | -                '                                <ul>\n' +
 | 
	
		
			
				|  |  | +                '                                <ul style="overflow:hidden;list-style:none;">\n' +
 | 
	
		
			
				|  |  |                  '                                <li style="width:10%"><input type="checkbox" value="name"><span>姓名</span></li>\n' +
 | 
	
		
			
				|  |  |                  '                                <li style="width:10%"><input type="checkbox" value="sex"><span>性别</span></li>\n' +
 | 
	
		
			
				|  |  |                  '                                <li style="width:10%"><input type="checkbox" value="birthday"><span>出生日期</span></li>\n' +
 |