瀏覽代碼

照片预览解决

临城职教中职
坤 梁 2 年之前
父節點
當前提交
e874fe836c
共有 2 個檔案被更改,包括 2 行新增2 行删除
  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 查看文件

@@ -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 查看文件

@@ -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";


Loading…
取消
儲存