Kaynağa Gözat

人才引进 文件下载及优化

娄底高职分支
ndbs 2 yıl önce
ebeveyn
işleme
978e61ab17
2 değiştirilmiş dosya ile 63 ekleme ve 4 silme
  1. +43
    -4
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/TalentsJoinInfo/Index.js
  2. +20
    -0
      Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/TalentsJoinInfo/TalentsJoinInfoEntity.cs

+ 43
- 4
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/TalentsJoinInfo/Index.js Dosyayı Görüntüle

@@ -84,9 +84,13 @@ var bootstrap = function ($, learun) {
},
{ label: "民族", name: "Nationality", width: 100, align: "left"},
{ label: "文化程度", name: "CultureDegree", width: 100, align: "left"},
{ label: "婚姻状况", name: "Marriage", width: 100, align: "left"},
{ label: "毕业院校", name: "WilliamsSchool", width: 100, align: "left"},
{ label: "所学专业", name: "Major", width: 100, align: "left"},
{ label: "婚姻状况", name: "Marriage", width: 100, align: "left" },
{ label: "第一学历毕业院校", name: "WilliamsSchool", width: 100, align: "left" },
{ label: "第一学历专业", name: "Major", width: 100, align: "left" },
{ label: "硕士毕业院校", name: "MasterSchool", width: 100, align: "left" },
{ label: "硕士专业", name: "MasterMajor", width: 100, align: "left" },
{ label: "博士毕业院校", name: "DoctorSchool", width: 100, align: "left"},
{ label: "博士专业", name: "DoctorMajor", width: 100, align: "left"},
{
label: "毕业时间", name: "GraduateTime", width: 100, align: "left",
},
@@ -107,7 +111,34 @@ var bootstrap = function ($, learun) {
{ label: "联系电话", name: "Phone", width: 100, align: "left"},
{ label: "手机", name: "Mobile", width: 100, align: "left" },
{ label: "邮箱", name: "Email", width: 100, align: "left" },
{ label: "简历", name: "Resume", width: 100, align: "left"},
{ label: "简历", name: "Resume", width: 100, align: "left" },
{
label: "附件", name: "FilePath", width: 500, align: "center",
formatterAsync: function (callback, value, row, op, $cell) {
$.ajax({
url: '/LR_SystemModule/Annexes/GetAnnexesFileList',
data: { folderId: value },
type: 'GET',
dataType: "json",
async: false,
cache: false,
success: function (res) {
var bb = '';
//$.each(res.data, function (i, item) {
// bb += item.F_FileName.substring(0, item.F_FileName.indexOf(".")) + ','
//})
$.each(res.data, function (i, item) {
bb += '<span onclick="downLoad(\'' +
item.F_Id +
'\')" style="color:blue">' +
item.F_FileName.substring(0, item.F_FileName.indexOf(".")) +
'</span>,&nbsp;&nbsp;&nbsp;';
})
callback(bb);
}
});
}
},
],
mainId:'ID',
isPage: true
@@ -124,3 +155,11 @@ var bootstrap = function ($, learun) {
};
page.init();
}
function downLoad(fileId, fileTwo) {
if (fileTwo) {
top.learun.postFormSilence(top.$.rootUrl + '/PersonnelManagement/MP_QualityObjectives/AddRecord', { fileId: fileTwo }, function () {

});
}
top.learun.download({ url: top.$.rootUrl + '/LR_SystemModule/Annexes/DownAnnexesFile', param: { fileId: fileId, __RequestVerificationToken: $.lrToken }, method: 'POST' });
}

+ 20
- 0
Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/TalentsJoinInfo/TalentsJoinInfoEntity.cs Dosyayı Görüntüle

@@ -159,6 +159,26 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration
/// </summary>
[Column("FILEPATH")]
public string FilePath { get; set; }
/// <summary>
/// FilePath
/// </summary>
[Column("MasterSchool")]
public string MasterSchool { get; set; }
/// <summary>
/// FilePath
/// </summary>
[Column("MasterMajor")]
public string MasterMajor { get; set; }
/// <summary>
/// FilePath
/// </summary>
[Column("FILEPATH")]
public string DoctorSchool { get; set; }
/// <summary>
/// FilePath
/// </summary>
[Column("FILEPATH")]
public string DoctorMajor { get; set; }
#endregion

#region 扩展操作


Yükleniyor…
İptal
Kaydet