|
@@ -790,7 +790,7 @@ TalentInfoInfoDlg.submitCallback = function (data) {
|
|
|
*/
|
|
|
TalentInfoInfoDlg.validateIsEdit = function () {
|
|
|
var checkState = $("#checkState").val();
|
|
|
- if (checkState != 0 && checkState != 1 && checkState != 3 && checkState != 8) {
|
|
|
+ if (checkState != 0 && checkState != 1 && checkState != 3 && checkState != 5 && checkState != 8) {
|
|
|
if (checkState == 16 || checkState == -1 || checkState == -2 || checkState == 7) {
|
|
|
Feng.error("您的申报审核不通过,无法再修改");
|
|
|
return false;
|
|
@@ -822,7 +822,8 @@ TalentInfoInfoDlg.validUploadButton = function (type, fileTypeId, fileId, tableI
|
|
|
files = files.split(",");
|
|
|
var checkState = $("#checkState").val();
|
|
|
var realState = $("#realState").val();
|
|
|
- if (Feng.isEmptyStr(checkState) || checkState == 0 || checkState == 1 || checkState == 3 || (checkState == 8 && realState != 11) || (realState == 8 && files.indexOf(fileTypeId.toString()) != -1)) {
|
|
|
+ console.log(checkState,realState);
|
|
|
+ if (Feng.isEmptyStr(checkState) || checkState == 0 || checkState == 1 || checkState == 3 || (checkState == 5 && realState == 5) || (checkState == 11 && realState != 14) || (realState == 11 && files.indexOf(fileTypeId.toString()) != -1)) {
|
|
|
if (type == 1) { //上传
|
|
|
return "<button type='button' onclick=\"TalentInfoInfoDlg.checkFile(this," + fileTypeId + "," + null + "," + tableIndex + "," + trIndex + ")\" style='margin-right: 10px' class=\"btn btn-xs btn-info\">" +
|
|
|
"<i class=\"fa fa-upload\"></i>上传" +
|
|
@@ -884,7 +885,7 @@ TalentInfoInfoDlg.setNoChangeField = function () {
|
|
|
var checkState = $("#checkState").val();
|
|
|
var fields = $("#fields").val();
|
|
|
var realState = $("#realState").val();
|
|
|
- if (realState == 8) {
|
|
|
+ if (realState == 11) {
|
|
|
$("input,textarea").each(function () {
|
|
|
$(this).attr("readonly", "readonly");
|
|
|
});
|
|
@@ -1121,6 +1122,10 @@ $(function () {
|
|
|
});
|
|
|
}
|
|
|
TalentInfoInfoDlg.initFileTable();
|
|
|
+ var is_abroad = $("#study_abroad").val();
|
|
|
+ if (is_abroad == "1") {
|
|
|
+ TalentInfoInfoDlg.changeStudyAbroad();
|
|
|
+ }
|
|
|
});
|
|
|
|
|
|
|