From c75c8a7228be21520a179a0fd7dbd440bc0164cc Mon Sep 17 00:00:00 2001 From: wyu <kknd09321@nate.com> Date: 수, 08 12월 2021 10:51:01 +0900 Subject: [PATCH] 이슈 제목 on/off 기능 추가 --- src/main/webapp/scripts/app/issue/issueAddTableConfig.controller.js | 28 +++++++++++++++++++--------- src/main/webapp/views/issue/issueAddTableConfig.html | 6 ++++-- src/main/webapp/scripts/app/issue/issueList.controller.js | 14 ++++++++++---- 3 files changed, 33 insertions(+), 15 deletions(-) diff --git a/src/main/webapp/scripts/app/issue/issueAddTableConfig.controller.js b/src/main/webapp/scripts/app/issue/issueAddTableConfig.controller.js index 1ddebb6..0f8743d 100644 --- a/src/main/webapp/scripts/app/issue/issueAddTableConfig.controller.js +++ b/src/main/webapp/scripts/app/issue/issueAddTableConfig.controller.js @@ -27,55 +27,64 @@ key : "ISSUE_TITLE", width : "width-140-p", position : 1, - display : true + display : true, + checkboxShow : false }, { name : $filter("translate")("common.priority"), // �슦�꽑�닚�쐞 key : "PRIORITY", width : "width-80-p", position : 2, - display : true + display : true, + checkboxShow : true }, { name : $filter("translate")("common.importance"), // 以묒슂�룄 key : "SEVERITY", width : "width-80-p", position : 3, - display : true + display : true, + checkboxShow : true }, { name : $filter("translate")("issue.issueType"), // �씠�뒋 ���엯 key : "ISSUE_TYPE", width : "width-140-p", position : 4, - display : true + display : true, + checkboxShow : true }, { name : $filter("translate")("common.assigneeTeam"), // �떞�떦遺��꽌 key : "ASSIGNEE_TEAM", width : "width-100-p", position : 5, - display : true + display : true, + checkboxShow : true }, { name : $filter("translate")("common.countDownIssue"), // �븯�쐞�씠�뒋 移댁슫�듃 key : "COUNT_DOWN_ISSUE", width : "width-100-p", position : 6, - display : false + display : false, + checkboxShow : true }, { name : $filter("translate")("common.register"), // �벑濡앹옄 key : "REGISTER", width : "width-100-p", position : 7, - display : false + display : false, + checkboxShow : true }, { name : $filter("translate")("common.period"), // 湲곌컙 key : "PERIOD", width : "width-140-p", position : 8, - display : false + display : false, + checkboxShow : true }, { name : $filter("translate")("common.lastChangeDate"), // 理쒓렐 蹂�寃쎌씪 key : "MODIFY_DATE", width : "width-100-p", position : 9, - display : false + display : false, + checkboxShow : true }, { }] }; @@ -179,6 +188,7 @@ key : "CUSTOM_FIELD_" + customField.id, width : "width-100-p", display : false, + checkboxShow : true, position : count }); diff --git a/src/main/webapp/scripts/app/issue/issueList.controller.js b/src/main/webapp/scripts/app/issue/issueList.controller.js index bacce25..4d49b24 100644 --- a/src/main/webapp/scripts/app/issue/issueList.controller.js +++ b/src/main/webapp/scripts/app/issue/issueList.controller.js @@ -1001,28 +1001,34 @@ else { // 理쒖큹 �뾽臾� 怨듦컙�뿉 �뱾�뼱�솕�쓣 寃쎌슦 $scope.vm.issueTableConfigs = [{ + name : $filter("translate")("issue.issueTitle"), // �씠�뒋 �젣紐� + key : "ISSUE_TITLE", + width : "width-140-p", + position : 1, + display : true + }, { name : $filter("translate")("common.priority"), // �슦�꽑�닚�쐞 key : "PRIORITY", width : "width-80-p", - position : 1, + position : 2, display : true }, { name : $filter("translate")("common.importance"), // 以묒슂�룄 key : "SEVERITY", width : "width-80-p", - position : 2, + position : 3, display : true }, { name : $filter("translate")("issue.issueType"), // �씠�뒋 ���엯 key : "ISSUE_TYPE", width : "width-140-p", - position : 3, + position : 4, display : true }, { name : $filter("translate")("common.assigneeTeam"), // �떞�떦遺��꽌 key : "ASSIGNEE_TEAM", width : "width-140-p", - position : 4, + position : 5, display : true }]; } diff --git a/src/main/webapp/views/issue/issueAddTableConfig.html b/src/main/webapp/views/issue/issueAddTableConfig.html index 9a2065f..4d77ebc 100644 --- a/src/main/webapp/views/issue/issueAddTableConfig.html +++ b/src/main/webapp/views/issue/issueAddTableConfig.html @@ -72,9 +72,11 @@ <option value="width-40">40%</option> <option value="width-50">50%</option> </select> - </td> <td class="text-center"> - <label class='switch'><input type='checkbox' ng-model='issueTableConfig.display'><span class='slider round'></span></label> + <!-- �씠�뒋 �젣紐� �몴�떆 踰꾪듉 disabled --> + <label ng-if="!issueTableConfig.checkboxShow" class='switch'><input type="text" ng-model="issueTableConfig.display"><span class='slider round'></span ></label> + <!-- �굹癒몄� 踰꾪듉 �몴�떆 --> + <label ng-if="issueTableConfig.checkboxShow" class='switch'><input type="checkbox" ng-model="issueTableConfig.display"><span class='slider round'></span ></label> </td> <td class="text-center"> <input type="text" class="form-control" ng-model="issueTableConfig.position" maxlength="2" input-regex="[^0-9]"> -- Gitblit v1.8.0