From b38e869e7c9348093494d821471f3cc55d81d5e9 Mon Sep 17 00:00:00 2001 From: jity7777 Date: Mon, 16 Jan 2023 05:45:33 +0000 Subject: [PATCH] =?UTF-8?q?-----------------------------------------------?= =?UTF-8?q?-------------=20<=EA=B8=B0=EB=8A=A5=EA=B0=9C=EC=84=A0>=201.=20P?= =?UTF-8?q?MS=20NO=20:=202.=20(=EC=A3=BC=EC=9A=94)=EC=9E=91=EC=97=85?= =?UTF-8?q?=EB=82=B4=EC=9A=A9=20(1)=20202212=20=EC=B6=94=EA=B0=80=EA=B0=9C?= =?UTF-8?q?=EB=B0=9C=EA=B1=B4=20=EC=9D=BC=EA=B4=84=20=EC=BB=A4=EB=B0=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- BO/Controllers/croomController.cs | 1 + BO/Views/Shared/Partial/ScdScript.cshtml | 83 +++++- BO/Views/cm/cmregeduschedule.cshtml | 1 - BO/Views/croom/cmlects.cshtml | 2 + BO/Views/croom/completions.cshtml | 44 ++- BO/Views/croom/grade0.cshtml | 26 +- BO/Views/user/ur.cshtml | 7 +- Base/Controller/ACommonCRoom.cs | 4 +- Base/Controller/FCommonCRoom.cs | 1 + Dao/MyBatis/Maps/CM.xml | 36 ++- Dao/MyBatis/Maps/Grade.xml | 354 ++++++++++++++++++++++- Dao/MyBatis/Maps/Lect.xml | 57 ++++ FO/Controllers/CRoomController.cs | 3 +- 13 files changed, 576 insertions(+), 43 deletions(-) diff --git a/BO/Controllers/croomController.cs b/BO/Controllers/croomController.cs index fc9e340..7cc8a8d 100644 --- a/BO/Controllers/croomController.cs +++ b/BO/Controllers/croomController.cs @@ -621,6 +621,7 @@ namespace NP.BO.Controllers if (searchCheck) { vm.Lects = Dao.Get("grade.lectgradesToAll", new System.Collections.Hashtable() { { "cmno", vm.CM.cmno }, { "ustatus", 1 }, { "isrebate", vm.addstringval }, { "iscomplete", vm.addstringval2 }, { "cmisno", vm.addstringval3 }, { "ispasss", vm.addstringval4 }, { "ispassa", vm.addstringval5 }, { "ispassex", vm.addstringval6 }, { "usernameid", vm.addstringval7 }, { "orderby", "ua.asname,ua.asno,u.username" } }); + //vm.Lects = Dao.Get("grade.lectgrades", new System.Collections.Hashtable() { { "cmno", vm.CM.cmno }, { "ustatus", 1 }, { "isrebate", vm.addstringval }, { "iscomplete", vm.addstringval2 }, { "cmisno", vm.addstringval3 }, { "ispasss", vm.addstringval4 }, { "ispassa", vm.addstringval5 }, { "ispassex", vm.addstringval6 }, { "usernameid", vm.addstringval7 }, { "orderby", "ua.asname,ua.asno,u.username" } }); } else { diff --git a/BO/Views/Shared/Partial/ScdScript.cshtml b/BO/Views/Shared/Partial/ScdScript.cshtml index 4b463d0..daa95f3 100644 --- a/BO/Views/Shared/Partial/ScdScript.cshtml +++ b/BO/Views/Shared/Partial/ScdScript.cshtml @@ -5,13 +5,15 @@ overflow-y: auto; } - \ No newline at end of file + + function setCmisno() { + switch (scdReturnType) { + case "ur": + $("#lect_" + selectedLectno + "_cmisno").data("cmisno", selectedCmisno) + break; + default: + break; + } + } + \ No newline at end of file diff --git a/BO/Views/cm/cmregeduschedule.cshtml b/BO/Views/cm/cmregeduschedule.cshtml index 115e4fc..af2605c 100644 --- a/BO/Views/cm/cmregeduschedule.cshtml +++ b/BO/Views/cm/cmregeduschedule.cshtml @@ -207,7 +207,6 @@ $(".troff").show(); $(".idoff").show(); } - }); function save() { diff --git a/BO/Views/croom/cmlects.cshtml b/BO/Views/croom/cmlects.cshtml index 87e6e28..2b8d7eb 100644 --- a/BO/Views/croom/cmlects.cshtml +++ b/BO/Views/croom/cmlects.cshtml @@ -311,6 +311,8 @@ submit(); } }); + + scdallCheck = true; setScd2(@Model.CM.cmno); }); function leave() { diff --git a/BO/Views/croom/completions.cshtml b/BO/Views/croom/completions.cshtml index e1bb210..a056aac 100644 --- a/BO/Views/croom/completions.cshtml +++ b/BO/Views/croom/completions.cshtml @@ -101,9 +101,9 @@
- @* 엑셀다운로드*@ + @* 엑셀다운로드*@ 엑셀다운로드 -

+
@Html.Partial("./Partial/pagerow", new ViewDataDictionary { { "tbodyid", "tbody1" }, { "searchmethod", "submit()" }, { "pagesize", Model.pagerowcount } })
@@ -396,11 +396,25 @@ 수정 + +
+

교육일정변경닫기

+
    + +
    + @Html.Partial("./Partial/AssignBox2", "bindAssign;고객사 검색;1") -@Html.Partial("./Partial/CMScdBox2", "bindCMScd;교육일정선택;1") +@*@Html.Partial("./Partial/CMScdBox2", "bindCMScd;교육일정선택;1")*@ +@Html.Partial("./Partial/ScdScript", "bindCMScd;교육일정선택;1") @section scriptsHeader{ @Html.Partial("./Partial/ScriptDate") @Html.Partial("./Partial/ScriptPost") @@ -409,17 +423,33 @@ @section scripts{