Parcourir la source

照片预览解决

临城职教中职
坤 梁 il y a 2 ans
Parent
révision
e874fe836c
2 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. +1
    -1
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/FormTran.js
  2. +1
    -1
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_SystemModule/Controllers/AnnexesController.cs

+ 1
- 1
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/FormTran.js Voir le fichier

@@ -182,7 +182,7 @@ var bootstrap = function ($, learun) {
$('#RecruitObject').lrDataItemSelect({ code: 'RecruitObject' });
$('#RecruitWay').lrDataItemSelect({ code: 'RecruitWay' });
$('#RecruitCooperateType').lrDataItemSelect({ code: 'RecruitCooperateType' });
$('#StuOrigin').lrDataItemSelect({ code: 'AdmissionsDataSource' });
$('#StuOrigin').lrDataItemSelect({ code: 'StuOrigin' });
$('#EntranceWay').lrDataItemSelect({ code: 'EntranceWay' });
$('#RecruitCooperateForm').lrDataItemSelect({ code: 'RecruitCooperateForm' });
$('#MajorDetailNo').lrDataItemSelect({ code: 'MajorDetail' });


+ 1
- 1
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_SystemModule/Controllers/AnnexesController.cs Voir le fichier

@@ -222,7 +222,7 @@ namespace Learun.Application.Web.Areas.LR_SystemModule.Controllers
}
}
Response.ClearContent();
switch (data.F_FileType)
switch (data.F_FileType.ToLower())
{
case "jpg":
Response.ContentType = "image/jpeg";


Chargement…
Annuler
Enregistrer