From e874fe836c16751f0716450a3451b5a290af4b56 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=9D=A4=20=E6=A2=81?= Date: Sat, 11 Jun 2022 23:14:43 +0800 Subject: [PATCH] =?UTF-8?q?=E7=85=A7=E7=89=87=E9=A2=84=E8=A7=88=E8=A7=A3?= =?UTF-8?q?=E5=86=B3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../EducationalAdministration/Views/StuInfoBasic/FormTran.js | 2 +- .../Areas/LR_SystemModule/Controllers/AnnexesController.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/FormTran.js b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/FormTran.js index 409c5ff0e..a0a1b37ac 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/FormTran.js +++ b/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' }); diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_SystemModule/Controllers/AnnexesController.cs b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_SystemModule/Controllers/AnnexesController.cs index 6b3f94a69..f82ee1ab0 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_SystemModule/Controllers/AnnexesController.cs +++ b/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";