|
@@ -822,8 +822,8 @@ TalentInfoInfoDlg.validUploadButton = function (type, fileTypeId, fileId, tableI
|
|
|
files = files.split(",");
|
|
|
var checkState = $("#checkState").val();
|
|
|
var realState = $("#realState").val();
|
|
|
- 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)) {
|
|
|
+ console.log(checkState, realState);
|
|
|
+ if (Feng.isEmptyStr(checkState) || checkState == 0 || checkState == 1 || checkState == 3 || (checkState == 5 && realState == 5) || (checkState == 8 && realState == 8) || (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>上传" +
|