riyenas0925 / Sejong_Track_Management

:school: 세종대학교 트랙관리 프로그램
Apache License 2.0
6 stars 2 forks source link

[CLN, ENH] 트랙 판정시 이수율이 100%가 넘는 오류 수정, 이수율로 그래프 색상을 반환하는 기능 추가 #191

Closed riyenas0925 closed 4 years ago

riyenas0925 commented 4 years ago

@kimhanui @2kyung19

riyenas0925 commented 4 years ago

참고 @kimhanui @2kyung19

{
   "percent":100,
   "totalCourseCredit":30,
   "totalRuleCredit":27,
   "percentColor":"#11cdef",
   "trackJudge":{
      "APPLIED":{
         "PASS":{
            "sumCredit":0,
            "ruleCredit":0,
            "minSumAndRuleCredit":0,
            "percent":"NaN",
            "courses":[

            ]
         },
         "NON_PASS":{
            "sumCredit":21,
            "ruleCredit":18,
            "minSumAndRuleCredit":18,
            "percent":100,
            "courses":[
               {
                  "courseNo":"000004",
                  "title":"영상처리",
                  "completionType":null,
                  "selectedArea":null,
                  "credit":3
               },
               {
                  "courseNo":"000005",
                  "title":"HCI개론",
                  "completionType":null,
                  "selectedArea":null,
                  "credit":3
               },
               {
                  "courseNo":"000006",
                  "title":"웹프로그래밍설계",
                  "completionType":null,
                  "selectedArea":null,
                  "credit":3
               },
               {
                  "courseNo":"000007",
                  "title":"웹기반시스템",
                  "completionType":null,
                  "selectedArea":null,
                  "credit":3
               },
               {
                  "courseNo":"000008",
                  "title":"윈도우즈프로그래밍",
                  "completionType":null,
                  "selectedArea":null,
                  "credit":3
               },
               {
                  "courseNo":"000009",
                  "title":"XML 프로그래밍",
                  "completionType":null,
                  "selectedArea":null,
                  "credit":3
               },
               {
                  "courseNo":"000010",
                  "title":"데이터컴퓨팅",
                  "completionType":null,
                  "selectedArea":null,
                  "credit":3
               }
            ]
         }
      },
      "BASIC":{
         "PASS":{
            "sumCredit":0,
            "ruleCredit":0,
            "minSumAndRuleCredit":0,
            "percent":"NaN",
            "courses":[

            ]
         },
         "NON_PASS":{
            "sumCredit":9,
            "ruleCredit":9,
            "minSumAndRuleCredit":9,
            "percent":100,
            "courses":[
               {
                  "courseNo":"000001",
                  "title":"선형대수및프로그래밍",
                  "completionType":null,
                  "selectedArea":null,
                  "credit":3
               },
               {
                  "courseNo":"000002",
                  "title":"컴퓨터그래픽스",
                  "completionType":null,
                  "selectedArea":null,
                  "credit":3
               },
               {
                  "courseNo":"000003",
                  "title":"웹프로그래밍",
                  "completionType":null,
                  "selectedArea":null,
                  "credit":3
               }
            ]
         }
      }
   }
}